diff --git a/code-generation/language-go/src/main/resources/templates/go/complex-type-template.go.ftlh b/code-generation/language-go/src/main/resources/templates/go/complex-type-template.go.ftlh index f86d98c926..0df9ff553b 100644 --- a/code-generation/language-go/src/main/resources/templates/go/complex-type-template.go.ftlh +++ b/code-generation/language-go/src/main/resources/templates/go/complex-type-template.go.ftlh @@ -345,7 +345,7 @@ type ${type.name}Builder interface { <#assign typeRef=field.asTypedField().orElseThrow().type> // With${field.name?cap_first} adds ${field.name?cap_first} (property field) With<#if field.isOptionalField()>Optional${field.name?cap_first}(${helper.getLanguageTypeNameForTypeReference(typeRef, true)}) ${type.name}Builder - <#if typeRef.isComplexTypeReference()> + <#if typeRef.isComplexTypeReference() && !typeRef.asComplexTypeReference().orElseThrow().typeDefinition.isAbstract()> // With<#if field.isOptionalField()>Optional${field.name?cap_first}Builder adds ${field.name?cap_first} (property field) which is build by the builder With<#if field.isOptionalField()>Optional${field.name?cap_first}Builder(func(${helper.getLanguageTypeNameForTypeReference(typeRef)}Builder)${helper.getLanguageTypeNameForTypeReference(typeRef)}Builder) ${type.name}Builder @@ -395,7 +395,7 @@ func (m *_${type.name}Builder) With<#if field.isOptionalField()>Optional${ return m } - <#if typeRef.isComplexTypeReference()> + <#if typeRef.isComplexTypeReference() && !typeRef.asComplexTypeReference().orElseThrow().typeDefinition.isAbstract()> func (m *_${type.name}Builder) With<#if field.isOptionalField()>Optional${field.name?cap_first}Builder(builderSupplier func(${helper.getLanguageTypeNameForTypeReference(typeRef)}Builder)${helper.getLanguageTypeNameForTypeReference(typeRef)}Builder) ${type.name}Builder { builder:=builderSupplier(m.${field.name?cap_first}.Create${helper.getLanguageTypeNameForField(field)}Builder()) var err error diff --git a/plc4go/internal/ads/Subscriber.go b/plc4go/internal/ads/Subscriber.go index 2949fcbd24..5f32f4435c 100644 --- a/plc4go/internal/ads/Subscriber.go +++ b/plc4go/internal/ads/Subscriber.go @@ -21,7 +21,6 @@ package ads import ( "context" - "errors" "runtime/debug" "time" diff --git a/plc4go/internal/bacnetip/bacgopes/apdu/apdu_ComplexAckPDU.go b/plc4go/internal/bacnetip/bacgopes/apdu/apdu_ComplexAckPDU.go index df9ee03707..ba1e97cb4e 100644 --- a/plc4go/internal/bacnetip/bacgopes/apdu/apdu_ComplexAckPDU.go +++ b/plc4go/internal/bacnetip/bacgopes/apdu/apdu_ComplexAckPDU.go @@ -28,6 +28,10 @@ type ComplexAckPDU struct { var _ readWriteModel.APDUComplexAck = (*ComplexAckPDU)(nil) +func (c *ComplexAckPDU) CreateAPDUComplexAckBuilder() readWriteModel.APDUComplexAckBuilder { + panic("implement me") +} + func (c *ComplexAckPDU) GetSegmentedMessage() bool { //TODO implement me panic("implement me") diff --git a/plc4go/internal/bacnetip/bacgopes/apdu/apdu_ConfirmedRequestPDU.go b/plc4go/internal/bacnetip/bacgopes/apdu/apdu_ConfirmedRequestPDU.go index 57c03897e3..f756ed695a 100644 --- a/plc4go/internal/bacnetip/bacgopes/apdu/apdu_ConfirmedRequestPDU.go +++ b/plc4go/internal/bacnetip/bacgopes/apdu/apdu_ConfirmedRequestPDU.go @@ -86,6 +86,11 @@ func (c *ConfirmedRequestPDU) buildConfirmedRequest(serviceRequest readWriteMode ) } +func (c *ConfirmedRequestPDU) CreateAPDUConfirmedRequestBuilder() readWriteModel.APDUConfirmedRequestBuilder { + //TODO implement me + panic("implement me") +} + func (c *ConfirmedRequestPDU) GetSegmentedMessage() bool { return c.apduSeg } diff --git a/plc4go/internal/bacnetip/bacgopes/apdu/apdu_ErrorPDU.go b/plc4go/internal/bacnetip/bacgopes/apdu/apdu_ErrorPDU.go index 8bdbb9b68c..cc55cfd36a 100644 --- a/plc4go/internal/bacnetip/bacgopes/apdu/apdu_ErrorPDU.go +++ b/plc4go/internal/bacnetip/bacgopes/apdu/apdu_ErrorPDU.go @@ -88,6 +88,11 @@ func (e *ErrorPDU) buildConfirmedRequest(bacnetError readWriteModel.BACnetError) ) } +func (e *ErrorPDU) CreateAPDUErrorBuilder() readWriteModel.APDUErrorBuilder { + //TODO implement me + panic("implement me") +} + func (e *ErrorPDU) GetSegmentedMessage() bool { return e.apduSeg } diff --git a/plc4go/internal/bacnetip/bacgopes/apdu/apdu_SimpleAckPDU.go b/plc4go/internal/bacnetip/bacgopes/apdu/apdu_SimpleAckPDU.go index 1e87bdacdc..6d2e8e87ad 100644 --- a/plc4go/internal/bacnetip/bacgopes/apdu/apdu_SimpleAckPDU.go +++ b/plc4go/internal/bacnetip/bacgopes/apdu/apdu_SimpleAckPDU.go @@ -28,6 +28,10 @@ type SimpleAckPDU struct { var _ readWriteModel.APDUComplexAck = (*SimpleAckPDU)(nil) +func (s *SimpleAckPDU) CreateAPDUComplexAckBuilder() readWriteModel.APDUComplexAckBuilder { + panic("implement me") +} + func (s *SimpleAckPDU) GetSegmentedMessage() bool { //TODO implement me panic("implement me") diff --git a/plc4go/internal/bacnetip/bacgopes/apdu/apdu_UnconfirmedRequestPDU.go b/plc4go/internal/bacnetip/bacgopes/apdu/apdu_UnconfirmedRequestPDU.go index d30bb00495..c068e1975b 100644 --- a/plc4go/internal/bacnetip/bacgopes/apdu/apdu_UnconfirmedRequestPDU.go +++ b/plc4go/internal/bacnetip/bacgopes/apdu/apdu_UnconfirmedRequestPDU.go @@ -68,6 +68,10 @@ func (u *UnconfirmedRequestPDU) buildUnconfirmedServiceRequest(serviceRequest re return readWriteModel.NewAPDUUnconfirmedRequest(serviceRequest, 0) } +func (u *UnconfirmedRequestPDU) CreateAPDUUnconfirmedRequestBuilder() readWriteModel.APDUUnconfirmedRequestBuilder { + panic("implement me") +} + func (u *UnconfirmedRequestPDU) GetServiceRequest() readWriteModel.BACnetUnconfirmedServiceRequest { return u.serviceRequest } diff --git a/plc4go/protocols/abeth/readwrite/ParserHelper.go b/plc4go/protocols/abeth/readwrite/ParserHelper.go index 76092c7cec..f906d2e999 100644 --- a/plc4go/protocols/abeth/readwrite/ParserHelper.go +++ b/plc4go/protocols/abeth/readwrite/ParserHelper.go @@ -22,9 +22,10 @@ package readwrite import ( "context" + "github.com/pkg/errors" + . "github.com/apache/plc4x/plc4go/protocols/abeth/readwrite/model" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/abeth/readwrite/XmlParserHelper.go b/plc4go/protocols/abeth/readwrite/XmlParserHelper.go index 83f579220b..cffba92bf7 100644 --- a/plc4go/protocols/abeth/readwrite/XmlParserHelper.go +++ b/plc4go/protocols/abeth/readwrite/XmlParserHelper.go @@ -24,9 +24,10 @@ import ( "strconv" "strings" + "github.com/pkg/errors" + . "github.com/apache/plc4x/plc4go/protocols/abeth/readwrite/model" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/abeth/readwrite/model/CIPEncapsulationConnectionRequest.go b/plc4go/protocols/abeth/readwrite/model/CIPEncapsulationConnectionRequest.go index b0dc3d38dd..d4a8eefd42 100644 --- a/plc4go/protocols/abeth/readwrite/model/CIPEncapsulationConnectionRequest.go +++ b/plc4go/protocols/abeth/readwrite/model/CIPEncapsulationConnectionRequest.go @@ -23,9 +23,11 @@ import ( "context" "encoding/binary" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/abeth/readwrite/model/CIPEncapsulationConnectionResponse.go b/plc4go/protocols/abeth/readwrite/model/CIPEncapsulationConnectionResponse.go index 2909c1ebd1..1c1b6f4bf4 100644 --- a/plc4go/protocols/abeth/readwrite/model/CIPEncapsulationConnectionResponse.go +++ b/plc4go/protocols/abeth/readwrite/model/CIPEncapsulationConnectionResponse.go @@ -23,9 +23,11 @@ import ( "context" "encoding/binary" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/abeth/readwrite/model/CIPEncapsulationPacket.go b/plc4go/protocols/abeth/readwrite/model/CIPEncapsulationPacket.go index ecfef52a2f..7d6737a57b 100644 --- a/plc4go/protocols/abeth/readwrite/model/CIPEncapsulationPacket.go +++ b/plc4go/protocols/abeth/readwrite/model/CIPEncapsulationPacket.go @@ -23,12 +23,14 @@ import ( "context" "encoding/binary" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + "github.com/apache/plc4x/plc4go/spi/codegen" . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/abeth/readwrite/model/CIPEncapsulationReadRequest.go b/plc4go/protocols/abeth/readwrite/model/CIPEncapsulationReadRequest.go index 4f584656a0..447b212157 100644 --- a/plc4go/protocols/abeth/readwrite/model/CIPEncapsulationReadRequest.go +++ b/plc4go/protocols/abeth/readwrite/model/CIPEncapsulationReadRequest.go @@ -23,12 +23,14 @@ import ( "context" "encoding/binary" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + "github.com/apache/plc4x/plc4go/spi/codegen" . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -82,8 +84,6 @@ type CIPEncapsulationReadRequestBuilder interface { WithMandatoryFields(request DF1RequestMessage) CIPEncapsulationReadRequestBuilder // WithRequest adds Request (property field) WithRequest(DF1RequestMessage) CIPEncapsulationReadRequestBuilder - // WithRequestBuilder adds Request (property field) which is build by the builder - WithRequestBuilder(func(DF1RequestMessageBuilder) DF1RequestMessageBuilder) CIPEncapsulationReadRequestBuilder // Build builds the CIPEncapsulationReadRequest or returns an error if something is wrong Build() (CIPEncapsulationReadRequest, error) // MustBuild does the same as Build but panics on error @@ -112,19 +112,6 @@ func (m *_CIPEncapsulationReadRequestBuilder) WithRequest(request DF1RequestMess return m } -func (m *_CIPEncapsulationReadRequestBuilder) WithRequestBuilder(builderSupplier func(DF1RequestMessageBuilder) DF1RequestMessageBuilder) CIPEncapsulationReadRequestBuilder { - builder := builderSupplier(m.Request.CreateDF1RequestMessageBuilder()) - var err error - m.Request, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "DF1RequestMessageBuilder failed")) - } - return m -} - func (m *_CIPEncapsulationReadRequestBuilder) Build() (CIPEncapsulationReadRequest, error) { if m.Request == nil { if m.err == nil { diff --git a/plc4go/protocols/abeth/readwrite/model/CIPEncapsulationReadResponse.go b/plc4go/protocols/abeth/readwrite/model/CIPEncapsulationReadResponse.go index 1e9b9196e1..257cb35320 100644 --- a/plc4go/protocols/abeth/readwrite/model/CIPEncapsulationReadResponse.go +++ b/plc4go/protocols/abeth/readwrite/model/CIPEncapsulationReadResponse.go @@ -23,12 +23,14 @@ import ( "context" "encoding/binary" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + "github.com/apache/plc4x/plc4go/spi/codegen" . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -85,8 +87,6 @@ type CIPEncapsulationReadResponseBuilder interface { WithMandatoryFields(response DF1ResponseMessage) CIPEncapsulationReadResponseBuilder // WithResponse adds Response (property field) WithResponse(DF1ResponseMessage) CIPEncapsulationReadResponseBuilder - // WithResponseBuilder adds Response (property field) which is build by the builder - WithResponseBuilder(func(DF1ResponseMessageBuilder) DF1ResponseMessageBuilder) CIPEncapsulationReadResponseBuilder // Build builds the CIPEncapsulationReadResponse or returns an error if something is wrong Build() (CIPEncapsulationReadResponse, error) // MustBuild does the same as Build but panics on error @@ -115,19 +115,6 @@ func (m *_CIPEncapsulationReadResponseBuilder) WithResponse(response DF1Response return m } -func (m *_CIPEncapsulationReadResponseBuilder) WithResponseBuilder(builderSupplier func(DF1ResponseMessageBuilder) DF1ResponseMessageBuilder) CIPEncapsulationReadResponseBuilder { - builder := builderSupplier(m.Response.CreateDF1ResponseMessageBuilder()) - var err error - m.Response, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "DF1ResponseMessageBuilder failed")) - } - return m -} - func (m *_CIPEncapsulationReadResponseBuilder) Build() (CIPEncapsulationReadResponse, error) { if m.Response == nil { if m.err == nil { diff --git a/plc4go/protocols/abeth/readwrite/model/DF1CommandRequestMessage.go b/plc4go/protocols/abeth/readwrite/model/DF1CommandRequestMessage.go index 6de9583e74..7ae608be34 100644 --- a/plc4go/protocols/abeth/readwrite/model/DF1CommandRequestMessage.go +++ b/plc4go/protocols/abeth/readwrite/model/DF1CommandRequestMessage.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -80,8 +82,6 @@ type DF1CommandRequestMessageBuilder interface { WithMandatoryFields(command DF1RequestCommand) DF1CommandRequestMessageBuilder // WithCommand adds Command (property field) WithCommand(DF1RequestCommand) DF1CommandRequestMessageBuilder - // WithCommandBuilder adds Command (property field) which is build by the builder - WithCommandBuilder(func(DF1RequestCommandBuilder) DF1RequestCommandBuilder) DF1CommandRequestMessageBuilder // Build builds the DF1CommandRequestMessage or returns an error if something is wrong Build() (DF1CommandRequestMessage, error) // MustBuild does the same as Build but panics on error @@ -110,19 +110,6 @@ func (m *_DF1CommandRequestMessageBuilder) WithCommand(command DF1RequestCommand return m } -func (m *_DF1CommandRequestMessageBuilder) WithCommandBuilder(builderSupplier func(DF1RequestCommandBuilder) DF1RequestCommandBuilder) DF1CommandRequestMessageBuilder { - builder := builderSupplier(m.Command.CreateDF1RequestCommandBuilder()) - var err error - m.Command, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "DF1RequestCommandBuilder failed")) - } - return m -} - func (m *_DF1CommandRequestMessageBuilder) Build() (DF1CommandRequestMessage, error) { if m.Command == nil { if m.err == nil { diff --git a/plc4go/protocols/abeth/readwrite/model/DF1CommandResponseMessageProtectedTypedLogicalRead.go b/plc4go/protocols/abeth/readwrite/model/DF1CommandResponseMessageProtectedTypedLogicalRead.go index 5f7a83bef1..c7f512bf81 100644 --- a/plc4go/protocols/abeth/readwrite/model/DF1CommandResponseMessageProtectedTypedLogicalRead.go +++ b/plc4go/protocols/abeth/readwrite/model/DF1CommandResponseMessageProtectedTypedLogicalRead.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/abeth/readwrite/model/DF1RequestCommand.go b/plc4go/protocols/abeth/readwrite/model/DF1RequestCommand.go index 85a25679ef..a827530b09 100644 --- a/plc4go/protocols/abeth/readwrite/model/DF1RequestCommand.go +++ b/plc4go/protocols/abeth/readwrite/model/DF1RequestCommand.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/abeth/readwrite/model/DF1RequestMessage.go b/plc4go/protocols/abeth/readwrite/model/DF1RequestMessage.go index 06bff80cb0..80193b4bfc 100644 --- a/plc4go/protocols/abeth/readwrite/model/DF1RequestMessage.go +++ b/plc4go/protocols/abeth/readwrite/model/DF1RequestMessage.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/abeth/readwrite/model/DF1RequestProtectedTypedLogicalRead.go b/plc4go/protocols/abeth/readwrite/model/DF1RequestProtectedTypedLogicalRead.go index 41cb77ff52..b77b6fa310 100644 --- a/plc4go/protocols/abeth/readwrite/model/DF1RequestProtectedTypedLogicalRead.go +++ b/plc4go/protocols/abeth/readwrite/model/DF1RequestProtectedTypedLogicalRead.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/abeth/readwrite/model/DF1ResponseMessage.go b/plc4go/protocols/abeth/readwrite/model/DF1ResponseMessage.go index 0f67bf15b9..0035236c8d 100644 --- a/plc4go/protocols/abeth/readwrite/model/DF1ResponseMessage.go +++ b/plc4go/protocols/abeth/readwrite/model/DF1ResponseMessage.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/ads/discovery/readwrite/ParserHelper.go b/plc4go/protocols/ads/discovery/readwrite/ParserHelper.go index 4e5a0e28cb..00c6b44047 100644 --- a/plc4go/protocols/ads/discovery/readwrite/ParserHelper.go +++ b/plc4go/protocols/ads/discovery/readwrite/ParserHelper.go @@ -22,9 +22,10 @@ package readwrite import ( "context" + "github.com/pkg/errors" + . "github.com/apache/plc4x/plc4go/protocols/ads/discovery/readwrite/model" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/ads/discovery/readwrite/XmlParserHelper.go b/plc4go/protocols/ads/discovery/readwrite/XmlParserHelper.go index 4966edb17d..0617588c59 100644 --- a/plc4go/protocols/ads/discovery/readwrite/XmlParserHelper.go +++ b/plc4go/protocols/ads/discovery/readwrite/XmlParserHelper.go @@ -24,9 +24,10 @@ import ( "strconv" "strings" + "github.com/pkg/errors" + . "github.com/apache/plc4x/plc4go/protocols/ads/discovery/readwrite/model" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscovery.go b/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscovery.go index 33a55f2bce..8f8c4370b9 100644 --- a/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscovery.go +++ b/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscovery.go @@ -23,12 +23,14 @@ import ( "context" "encoding/binary" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + "github.com/apache/plc4x/plc4go/spi/codegen" . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlock.go b/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlock.go index 42e3b77d2e..9870c2eec7 100644 --- a/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlock.go +++ b/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlock.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockAmsNetId.go b/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockAmsNetId.go index 8baf434b44..1eacaea9b0 100644 --- a/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockAmsNetId.go +++ b/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockAmsNetId.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockFingerprint.go b/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockFingerprint.go index 2a21852ab3..0db261a93d 100644 --- a/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockFingerprint.go +++ b/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockFingerprint.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockHostName.go b/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockHostName.go index 3dd683177b..7690374cfd 100644 --- a/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockHostName.go +++ b/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockHostName.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockOsData.go b/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockOsData.go index c9800d5911..a47c79f134 100644 --- a/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockOsData.go +++ b/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockOsData.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockPassword.go b/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockPassword.go index 5cc3e76c84..f5e64af642 100644 --- a/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockPassword.go +++ b/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockPassword.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockRouteName.go b/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockRouteName.go index 5dc57ee160..7fdc1d81aa 100644 --- a/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockRouteName.go +++ b/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockRouteName.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockStatus.go b/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockStatus.go index 32dae17b8d..a69fecba2b 100644 --- a/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockStatus.go +++ b/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockStatus.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockType.go b/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockType.go index 7f660a63ec..dcc0732211 100644 --- a/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockType.go +++ b/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockType.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockUserName.go b/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockUserName.go index 67ab817502..de5545e90e 100644 --- a/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockUserName.go +++ b/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockUserName.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockVersion.go b/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockVersion.go index 4c9c1d5b49..8b70711ddd 100644 --- a/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockVersion.go +++ b/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockVersion.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryConstants.go b/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryConstants.go index fc41e36d86..757cc9360b 100644 --- a/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryConstants.go +++ b/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryConstants.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/ads/discovery/readwrite/model/AdsPortNumbers.go b/plc4go/protocols/ads/discovery/readwrite/model/AdsPortNumbers.go index e7e49deeeb..778e070078 100644 --- a/plc4go/protocols/ads/discovery/readwrite/model/AdsPortNumbers.go +++ b/plc4go/protocols/ads/discovery/readwrite/model/AdsPortNumbers.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/ads/discovery/readwrite/model/AmsNetId.go b/plc4go/protocols/ads/discovery/readwrite/model/AmsNetId.go index 7debb8c8ae..b3d00bbe00 100644 --- a/plc4go/protocols/ads/discovery/readwrite/model/AmsNetId.go +++ b/plc4go/protocols/ads/discovery/readwrite/model/AmsNetId.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/ads/discovery/readwrite/model/AmsString.go b/plc4go/protocols/ads/discovery/readwrite/model/AmsString.go index 69b4d6e6d4..e47e0b2548 100644 --- a/plc4go/protocols/ads/discovery/readwrite/model/AmsString.go +++ b/plc4go/protocols/ads/discovery/readwrite/model/AmsString.go @@ -22,12 +22,14 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + "github.com/apache/plc4x/plc4go/spi/codegen" . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/ads/discovery/readwrite/model/Operation.go b/plc4go/protocols/ads/discovery/readwrite/model/Operation.go index 1806d80e68..2dfecb8c2d 100644 --- a/plc4go/protocols/ads/discovery/readwrite/model/Operation.go +++ b/plc4go/protocols/ads/discovery/readwrite/model/Operation.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/ads/discovery/readwrite/model/Status.go b/plc4go/protocols/ads/discovery/readwrite/model/Status.go index 7218c3982c..7c70cb971d 100644 --- a/plc4go/protocols/ads/discovery/readwrite/model/Status.go +++ b/plc4go/protocols/ads/discovery/readwrite/model/Status.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/ads/readwrite/ParserHelper.go b/plc4go/protocols/ads/readwrite/ParserHelper.go index c1e93471a4..50fdbe34b6 100644 --- a/plc4go/protocols/ads/readwrite/ParserHelper.go +++ b/plc4go/protocols/ads/readwrite/ParserHelper.go @@ -22,9 +22,10 @@ package readwrite import ( "context" + "github.com/pkg/errors" + . "github.com/apache/plc4x/plc4go/protocols/ads/readwrite/model" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/ads/readwrite/XmlParserHelper.go b/plc4go/protocols/ads/readwrite/XmlParserHelper.go index 294f113a7d..124aaf7ae1 100644 --- a/plc4go/protocols/ads/readwrite/XmlParserHelper.go +++ b/plc4go/protocols/ads/readwrite/XmlParserHelper.go @@ -24,9 +24,10 @@ import ( "strconv" "strings" + "github.com/pkg/errors" + . "github.com/apache/plc4x/plc4go/protocols/ads/readwrite/model" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/ads/readwrite/model/AdsAddDeviceNotificationRequest.go b/plc4go/protocols/ads/readwrite/model/AdsAddDeviceNotificationRequest.go index 83cf9ba21f..e08b110896 100644 --- a/plc4go/protocols/ads/readwrite/model/AdsAddDeviceNotificationRequest.go +++ b/plc4go/protocols/ads/readwrite/model/AdsAddDeviceNotificationRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/ads/readwrite/model/AdsAddDeviceNotificationResponse.go b/plc4go/protocols/ads/readwrite/model/AdsAddDeviceNotificationResponse.go index a1bac212c5..c560aa90f2 100644 --- a/plc4go/protocols/ads/readwrite/model/AdsAddDeviceNotificationResponse.go +++ b/plc4go/protocols/ads/readwrite/model/AdsAddDeviceNotificationResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/ads/readwrite/model/AdsConstants.go b/plc4go/protocols/ads/readwrite/model/AdsConstants.go index 00c74313cf..0d6c3fcad2 100644 --- a/plc4go/protocols/ads/readwrite/model/AdsConstants.go +++ b/plc4go/protocols/ads/readwrite/model/AdsConstants.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/ads/readwrite/model/AdsDataType.go b/plc4go/protocols/ads/readwrite/model/AdsDataType.go index f10ec39047..744f89cadf 100644 --- a/plc4go/protocols/ads/readwrite/model/AdsDataType.go +++ b/plc4go/protocols/ads/readwrite/model/AdsDataType.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/ads/readwrite/model/AdsDataTypeArrayInfo.go b/plc4go/protocols/ads/readwrite/model/AdsDataTypeArrayInfo.go index 3258492af9..7897012852 100644 --- a/plc4go/protocols/ads/readwrite/model/AdsDataTypeArrayInfo.go +++ b/plc4go/protocols/ads/readwrite/model/AdsDataTypeArrayInfo.go @@ -23,12 +23,14 @@ import ( "context" "encoding/binary" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + "github.com/apache/plc4x/plc4go/spi/codegen" . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/ads/readwrite/model/AdsDataTypeTableChildEntry.go b/plc4go/protocols/ads/readwrite/model/AdsDataTypeTableChildEntry.go index 694c40b206..71797fa3d3 100644 --- a/plc4go/protocols/ads/readwrite/model/AdsDataTypeTableChildEntry.go +++ b/plc4go/protocols/ads/readwrite/model/AdsDataTypeTableChildEntry.go @@ -23,12 +23,14 @@ import ( "context" "encoding/binary" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + "github.com/apache/plc4x/plc4go/spi/codegen" . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/ads/readwrite/model/AdsDataTypeTableEntry.go b/plc4go/protocols/ads/readwrite/model/AdsDataTypeTableEntry.go index fbebfa4ce6..28c5212a11 100644 --- a/plc4go/protocols/ads/readwrite/model/AdsDataTypeTableEntry.go +++ b/plc4go/protocols/ads/readwrite/model/AdsDataTypeTableEntry.go @@ -23,12 +23,14 @@ import ( "context" "encoding/binary" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + "github.com/apache/plc4x/plc4go/spi/codegen" . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/ads/readwrite/model/AdsDeleteDeviceNotificationRequest.go b/plc4go/protocols/ads/readwrite/model/AdsDeleteDeviceNotificationRequest.go index 9e3a18b62a..28169d7b58 100644 --- a/plc4go/protocols/ads/readwrite/model/AdsDeleteDeviceNotificationRequest.go +++ b/plc4go/protocols/ads/readwrite/model/AdsDeleteDeviceNotificationRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/ads/readwrite/model/AdsDeleteDeviceNotificationResponse.go b/plc4go/protocols/ads/readwrite/model/AdsDeleteDeviceNotificationResponse.go index 16faf0d647..0e11b61e5f 100644 --- a/plc4go/protocols/ads/readwrite/model/AdsDeleteDeviceNotificationResponse.go +++ b/plc4go/protocols/ads/readwrite/model/AdsDeleteDeviceNotificationResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/ads/readwrite/model/AdsDeviceNotificationRequest.go b/plc4go/protocols/ads/readwrite/model/AdsDeviceNotificationRequest.go index 54089dd3da..7031f9c7e6 100644 --- a/plc4go/protocols/ads/readwrite/model/AdsDeviceNotificationRequest.go +++ b/plc4go/protocols/ads/readwrite/model/AdsDeviceNotificationRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/ads/readwrite/model/AdsDeviceNotificationResponse.go b/plc4go/protocols/ads/readwrite/model/AdsDeviceNotificationResponse.go index d301cf0f83..31ebaf2bd4 100644 --- a/plc4go/protocols/ads/readwrite/model/AdsDeviceNotificationResponse.go +++ b/plc4go/protocols/ads/readwrite/model/AdsDeviceNotificationResponse.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/ads/readwrite/model/AdsInvalidRequest.go b/plc4go/protocols/ads/readwrite/model/AdsInvalidRequest.go index 3b780283bb..8b77fc9f01 100644 --- a/plc4go/protocols/ads/readwrite/model/AdsInvalidRequest.go +++ b/plc4go/protocols/ads/readwrite/model/AdsInvalidRequest.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/ads/readwrite/model/AdsInvalidResponse.go b/plc4go/protocols/ads/readwrite/model/AdsInvalidResponse.go index 847137c566..16a853f755 100644 --- a/plc4go/protocols/ads/readwrite/model/AdsInvalidResponse.go +++ b/plc4go/protocols/ads/readwrite/model/AdsInvalidResponse.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/ads/readwrite/model/AdsMultiRequestItem.go b/plc4go/protocols/ads/readwrite/model/AdsMultiRequestItem.go index f88d21bc11..6e9bb873f6 100644 --- a/plc4go/protocols/ads/readwrite/model/AdsMultiRequestItem.go +++ b/plc4go/protocols/ads/readwrite/model/AdsMultiRequestItem.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/ads/readwrite/model/AdsMultiRequestItemRead.go b/plc4go/protocols/ads/readwrite/model/AdsMultiRequestItemRead.go index 5c55812f46..36ac47ccdd 100644 --- a/plc4go/protocols/ads/readwrite/model/AdsMultiRequestItemRead.go +++ b/plc4go/protocols/ads/readwrite/model/AdsMultiRequestItemRead.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/ads/readwrite/model/AdsMultiRequestItemReadWrite.go b/plc4go/protocols/ads/readwrite/model/AdsMultiRequestItemReadWrite.go index 0edce992ae..471904ab91 100644 --- a/plc4go/protocols/ads/readwrite/model/AdsMultiRequestItemReadWrite.go +++ b/plc4go/protocols/ads/readwrite/model/AdsMultiRequestItemReadWrite.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/ads/readwrite/model/AdsMultiRequestItemWrite.go b/plc4go/protocols/ads/readwrite/model/AdsMultiRequestItemWrite.go index f97dcf9601..c0d6177c90 100644 --- a/plc4go/protocols/ads/readwrite/model/AdsMultiRequestItemWrite.go +++ b/plc4go/protocols/ads/readwrite/model/AdsMultiRequestItemWrite.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/ads/readwrite/model/AdsNotificationSample.go b/plc4go/protocols/ads/readwrite/model/AdsNotificationSample.go index 7a286b95c4..524ba2786b 100644 --- a/plc4go/protocols/ads/readwrite/model/AdsNotificationSample.go +++ b/plc4go/protocols/ads/readwrite/model/AdsNotificationSample.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/ads/readwrite/model/AdsReadDeviceInfoRequest.go b/plc4go/protocols/ads/readwrite/model/AdsReadDeviceInfoRequest.go index 3693da39c6..26ae34ba8f 100644 --- a/plc4go/protocols/ads/readwrite/model/AdsReadDeviceInfoRequest.go +++ b/plc4go/protocols/ads/readwrite/model/AdsReadDeviceInfoRequest.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/ads/readwrite/model/AdsReadDeviceInfoResponse.go b/plc4go/protocols/ads/readwrite/model/AdsReadDeviceInfoResponse.go index dcaefa0421..0c525204b8 100644 --- a/plc4go/protocols/ads/readwrite/model/AdsReadDeviceInfoResponse.go +++ b/plc4go/protocols/ads/readwrite/model/AdsReadDeviceInfoResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/ads/readwrite/model/AdsReadRequest.go b/plc4go/protocols/ads/readwrite/model/AdsReadRequest.go index d7e9e79db6..14d1c82dcd 100644 --- a/plc4go/protocols/ads/readwrite/model/AdsReadRequest.go +++ b/plc4go/protocols/ads/readwrite/model/AdsReadRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/ads/readwrite/model/AdsReadResponse.go b/plc4go/protocols/ads/readwrite/model/AdsReadResponse.go index ad402488a0..3a8c49fd0c 100644 --- a/plc4go/protocols/ads/readwrite/model/AdsReadResponse.go +++ b/plc4go/protocols/ads/readwrite/model/AdsReadResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/ads/readwrite/model/AdsReadStateRequest.go b/plc4go/protocols/ads/readwrite/model/AdsReadStateRequest.go index 4ba824071e..5638f5c3a7 100644 --- a/plc4go/protocols/ads/readwrite/model/AdsReadStateRequest.go +++ b/plc4go/protocols/ads/readwrite/model/AdsReadStateRequest.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/ads/readwrite/model/AdsReadStateResponse.go b/plc4go/protocols/ads/readwrite/model/AdsReadStateResponse.go index fd6e4b24eb..aaa973ef4d 100644 --- a/plc4go/protocols/ads/readwrite/model/AdsReadStateResponse.go +++ b/plc4go/protocols/ads/readwrite/model/AdsReadStateResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/ads/readwrite/model/AdsReadWriteRequest.go b/plc4go/protocols/ads/readwrite/model/AdsReadWriteRequest.go index c6be6c696a..9e1d80639d 100644 --- a/plc4go/protocols/ads/readwrite/model/AdsReadWriteRequest.go +++ b/plc4go/protocols/ads/readwrite/model/AdsReadWriteRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/ads/readwrite/model/AdsReadWriteResponse.go b/plc4go/protocols/ads/readwrite/model/AdsReadWriteResponse.go index 210ff701ca..e467c58f9f 100644 --- a/plc4go/protocols/ads/readwrite/model/AdsReadWriteResponse.go +++ b/plc4go/protocols/ads/readwrite/model/AdsReadWriteResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/ads/readwrite/model/AdsStampHeader.go b/plc4go/protocols/ads/readwrite/model/AdsStampHeader.go index b12847acad..8bf3227013 100644 --- a/plc4go/protocols/ads/readwrite/model/AdsStampHeader.go +++ b/plc4go/protocols/ads/readwrite/model/AdsStampHeader.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/ads/readwrite/model/AdsSymbolTableEntry.go b/plc4go/protocols/ads/readwrite/model/AdsSymbolTableEntry.go index 0b6e451ef2..dfe0728dc4 100644 --- a/plc4go/protocols/ads/readwrite/model/AdsSymbolTableEntry.go +++ b/plc4go/protocols/ads/readwrite/model/AdsSymbolTableEntry.go @@ -23,12 +23,14 @@ import ( "context" "encoding/binary" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + "github.com/apache/plc4x/plc4go/spi/codegen" . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/ads/readwrite/model/AdsTableSizes.go b/plc4go/protocols/ads/readwrite/model/AdsTableSizes.go index fa84e0f51f..5f210494c4 100644 --- a/plc4go/protocols/ads/readwrite/model/AdsTableSizes.go +++ b/plc4go/protocols/ads/readwrite/model/AdsTableSizes.go @@ -23,12 +23,14 @@ import ( "context" "encoding/binary" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + "github.com/apache/plc4x/plc4go/spi/codegen" . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/ads/readwrite/model/AdsTransMode.go b/plc4go/protocols/ads/readwrite/model/AdsTransMode.go index 424c110393..945f1eb80e 100644 --- a/plc4go/protocols/ads/readwrite/model/AdsTransMode.go +++ b/plc4go/protocols/ads/readwrite/model/AdsTransMode.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/ads/readwrite/model/AdsWriteControlRequest.go b/plc4go/protocols/ads/readwrite/model/AdsWriteControlRequest.go index b3865e9fcb..7d2b6eebc9 100644 --- a/plc4go/protocols/ads/readwrite/model/AdsWriteControlRequest.go +++ b/plc4go/protocols/ads/readwrite/model/AdsWriteControlRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/ads/readwrite/model/AdsWriteControlResponse.go b/plc4go/protocols/ads/readwrite/model/AdsWriteControlResponse.go index b7a2d4d1cd..bc6386e2eb 100644 --- a/plc4go/protocols/ads/readwrite/model/AdsWriteControlResponse.go +++ b/plc4go/protocols/ads/readwrite/model/AdsWriteControlResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/ads/readwrite/model/AdsWriteRequest.go b/plc4go/protocols/ads/readwrite/model/AdsWriteRequest.go index 96f9a89447..7ad3bdc9c3 100644 --- a/plc4go/protocols/ads/readwrite/model/AdsWriteRequest.go +++ b/plc4go/protocols/ads/readwrite/model/AdsWriteRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/ads/readwrite/model/AdsWriteResponse.go b/plc4go/protocols/ads/readwrite/model/AdsWriteResponse.go index 7b61c7eeec..03b6fdd23e 100644 --- a/plc4go/protocols/ads/readwrite/model/AdsWriteResponse.go +++ b/plc4go/protocols/ads/readwrite/model/AdsWriteResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/ads/readwrite/model/AmsNetId.go b/plc4go/protocols/ads/readwrite/model/AmsNetId.go index 7debb8c8ae..b3d00bbe00 100644 --- a/plc4go/protocols/ads/readwrite/model/AmsNetId.go +++ b/plc4go/protocols/ads/readwrite/model/AmsNetId.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/ads/readwrite/model/AmsPacket.go b/plc4go/protocols/ads/readwrite/model/AmsPacket.go index 2b59d56a4f..b02b9825b7 100644 --- a/plc4go/protocols/ads/readwrite/model/AmsPacket.go +++ b/plc4go/protocols/ads/readwrite/model/AmsPacket.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/ads/readwrite/model/AmsSerialAcknowledgeFrame.go b/plc4go/protocols/ads/readwrite/model/AmsSerialAcknowledgeFrame.go index 6b77bb9906..ba087fc87b 100644 --- a/plc4go/protocols/ads/readwrite/model/AmsSerialAcknowledgeFrame.go +++ b/plc4go/protocols/ads/readwrite/model/AmsSerialAcknowledgeFrame.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/ads/readwrite/model/AmsSerialFrame.go b/plc4go/protocols/ads/readwrite/model/AmsSerialFrame.go index bdf0d7af89..27bace51af 100644 --- a/plc4go/protocols/ads/readwrite/model/AmsSerialFrame.go +++ b/plc4go/protocols/ads/readwrite/model/AmsSerialFrame.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -100,8 +102,6 @@ type AmsSerialFrameBuilder interface { WithLength(int8) AmsSerialFrameBuilder // WithUserdata adds Userdata (property field) WithUserdata(AmsPacket) AmsSerialFrameBuilder - // WithUserdataBuilder adds Userdata (property field) which is build by the builder - WithUserdataBuilder(func(AmsPacketBuilder) AmsPacketBuilder) AmsSerialFrameBuilder // WithCrc adds Crc (property field) WithCrc(uint16) AmsSerialFrameBuilder // Build builds the AmsSerialFrame or returns an error if something is wrong @@ -157,19 +157,6 @@ func (m *_AmsSerialFrameBuilder) WithUserdata(userdata AmsPacket) AmsSerialFrame return m } -func (m *_AmsSerialFrameBuilder) WithUserdataBuilder(builderSupplier func(AmsPacketBuilder) AmsPacketBuilder) AmsSerialFrameBuilder { - builder := builderSupplier(m.Userdata.CreateAmsPacketBuilder()) - var err error - m.Userdata, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "AmsPacketBuilder failed")) - } - return m -} - func (m *_AmsSerialFrameBuilder) WithCrc(crc uint16) AmsSerialFrameBuilder { m.Crc = crc return m diff --git a/plc4go/protocols/ads/readwrite/model/AmsSerialResetFrame.go b/plc4go/protocols/ads/readwrite/model/AmsSerialResetFrame.go index 229fa8e33f..a6e96c6de9 100644 --- a/plc4go/protocols/ads/readwrite/model/AmsSerialResetFrame.go +++ b/plc4go/protocols/ads/readwrite/model/AmsSerialResetFrame.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/ads/readwrite/model/AmsTCPPacket.go b/plc4go/protocols/ads/readwrite/model/AmsTCPPacket.go index 4759699fe6..bee4da6601 100644 --- a/plc4go/protocols/ads/readwrite/model/AmsTCPPacket.go +++ b/plc4go/protocols/ads/readwrite/model/AmsTCPPacket.go @@ -23,12 +23,14 @@ import ( "context" "encoding/binary" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + "github.com/apache/plc4x/plc4go/spi/codegen" . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -76,8 +78,6 @@ type AmsTCPPacketBuilder interface { WithMandatoryFields(userdata AmsPacket) AmsTCPPacketBuilder // WithUserdata adds Userdata (property field) WithUserdata(AmsPacket) AmsTCPPacketBuilder - // WithUserdataBuilder adds Userdata (property field) which is build by the builder - WithUserdataBuilder(func(AmsPacketBuilder) AmsPacketBuilder) AmsTCPPacketBuilder // Build builds the AmsTCPPacket or returns an error if something is wrong Build() (AmsTCPPacket, error) // MustBuild does the same as Build but panics on error @@ -106,19 +106,6 @@ func (m *_AmsTCPPacketBuilder) WithUserdata(userdata AmsPacket) AmsTCPPacketBuil return m } -func (m *_AmsTCPPacketBuilder) WithUserdataBuilder(builderSupplier func(AmsPacketBuilder) AmsPacketBuilder) AmsTCPPacketBuilder { - builder := builderSupplier(m.Userdata.CreateAmsPacketBuilder()) - var err error - m.Userdata, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "AmsPacketBuilder failed")) - } - return m -} - func (m *_AmsTCPPacketBuilder) Build() (AmsTCPPacket, error) { if m.Userdata == nil { if m.err == nil { diff --git a/plc4go/protocols/ads/readwrite/model/CommandId.go b/plc4go/protocols/ads/readwrite/model/CommandId.go index ee98d66c76..0443491b2a 100644 --- a/plc4go/protocols/ads/readwrite/model/CommandId.go +++ b/plc4go/protocols/ads/readwrite/model/CommandId.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/ads/readwrite/model/DataItem.go b/plc4go/protocols/ads/readwrite/model/DataItem.go index 6875c51533..18199ebd24 100644 --- a/plc4go/protocols/ads/readwrite/model/DataItem.go +++ b/plc4go/protocols/ads/readwrite/model/DataItem.go @@ -21,11 +21,13 @@ package model import ( "context" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + api "github.com/apache/plc4x/plc4go/pkg/api/values" "github.com/apache/plc4x/plc4go/spi/utils" "github.com/apache/plc4x/plc4go/spi/values" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/ads/readwrite/model/DefaultAmsPorts.go b/plc4go/protocols/ads/readwrite/model/DefaultAmsPorts.go index cf13cc8e3b..8c84d99abe 100644 --- a/plc4go/protocols/ads/readwrite/model/DefaultAmsPorts.go +++ b/plc4go/protocols/ads/readwrite/model/DefaultAmsPorts.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/ads/readwrite/model/ErrorResponse.go b/plc4go/protocols/ads/readwrite/model/ErrorResponse.go index 3727122955..36710d58c7 100644 --- a/plc4go/protocols/ads/readwrite/model/ErrorResponse.go +++ b/plc4go/protocols/ads/readwrite/model/ErrorResponse.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/ads/readwrite/model/PlcValueType.go b/plc4go/protocols/ads/readwrite/model/PlcValueType.go index f5db823dcd..a7d553d6dd 100644 --- a/plc4go/protocols/ads/readwrite/model/PlcValueType.go +++ b/plc4go/protocols/ads/readwrite/model/PlcValueType.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/ads/readwrite/model/ReservedIndexGroups.go b/plc4go/protocols/ads/readwrite/model/ReservedIndexGroups.go index 78ca9e9139..cb55a1566e 100644 --- a/plc4go/protocols/ads/readwrite/model/ReservedIndexGroups.go +++ b/plc4go/protocols/ads/readwrite/model/ReservedIndexGroups.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/ads/readwrite/model/ReturnCode.go b/plc4go/protocols/ads/readwrite/model/ReturnCode.go index cc0e05e7c8..8497e84410 100644 --- a/plc4go/protocols/ads/readwrite/model/ReturnCode.go +++ b/plc4go/protocols/ads/readwrite/model/ReturnCode.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/ParserHelper.go b/plc4go/protocols/bacnetip/readwrite/ParserHelper.go index def6731096..ff36f50cb2 100644 --- a/plc4go/protocols/bacnetip/readwrite/ParserHelper.go +++ b/plc4go/protocols/bacnetip/readwrite/ParserHelper.go @@ -22,9 +22,10 @@ package readwrite import ( "context" + "github.com/pkg/errors" + . "github.com/apache/plc4x/plc4go/protocols/bacnetip/readwrite/model" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/XmlParserHelper.go b/plc4go/protocols/bacnetip/readwrite/XmlParserHelper.go index 718abcaaf2..e6275e708f 100644 --- a/plc4go/protocols/bacnetip/readwrite/XmlParserHelper.go +++ b/plc4go/protocols/bacnetip/readwrite/XmlParserHelper.go @@ -24,9 +24,10 @@ import ( "strconv" "strings" + "github.com/pkg/errors" + . "github.com/apache/plc4x/plc4go/protocols/bacnetip/readwrite/model" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/APDU.go b/plc4go/protocols/bacnetip/readwrite/model/APDU.go index 718481e5a3..514d811de5 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/APDU.go +++ b/plc4go/protocols/bacnetip/readwrite/model/APDU.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/APDUAbort.go b/plc4go/protocols/bacnetip/readwrite/model/APDUAbort.go index ad443a3b6a..ff3b1a404a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/APDUAbort.go +++ b/plc4go/protocols/bacnetip/readwrite/model/APDUAbort.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/APDUComplexAck.go b/plc4go/protocols/bacnetip/readwrite/model/APDUComplexAck.go index 03680c4a9f..e645594202 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/APDUComplexAck.go +++ b/plc4go/protocols/bacnetip/readwrite/model/APDUComplexAck.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -121,8 +123,6 @@ type APDUComplexAckBuilder interface { WithOptionalProposedWindowSize(uint8) APDUComplexAckBuilder // WithServiceAck adds ServiceAck (property field) WithOptionalServiceAck(BACnetServiceAck) APDUComplexAckBuilder - // WithOptionalServiceAckBuilder adds ServiceAck (property field) which is build by the builder - WithOptionalServiceAckBuilder(func(BACnetServiceAckBuilder) BACnetServiceAckBuilder) APDUComplexAckBuilder // WithSegmentServiceChoice adds SegmentServiceChoice (property field) WithOptionalSegmentServiceChoice(BACnetConfirmedServiceChoice) APDUComplexAckBuilder // WithSegment adds Segment (property field) @@ -180,19 +180,6 @@ func (m *_APDUComplexAckBuilder) WithOptionalServiceAck(serviceAck BACnetService return m } -func (m *_APDUComplexAckBuilder) WithOptionalServiceAckBuilder(builderSupplier func(BACnetServiceAckBuilder) BACnetServiceAckBuilder) APDUComplexAckBuilder { - builder := builderSupplier(m.ServiceAck.CreateBACnetServiceAckBuilder()) - var err error - m.ServiceAck, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetServiceAckBuilder failed")) - } - return m -} - func (m *_APDUComplexAckBuilder) WithOptionalSegmentServiceChoice(segmentServiceChoice BACnetConfirmedServiceChoice) APDUComplexAckBuilder { m.SegmentServiceChoice = &segmentServiceChoice return m diff --git a/plc4go/protocols/bacnetip/readwrite/model/APDUConfirmedRequest.go b/plc4go/protocols/bacnetip/readwrite/model/APDUConfirmedRequest.go index cc864e4e6e..7755117b0d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/APDUConfirmedRequest.go +++ b/plc4go/protocols/bacnetip/readwrite/model/APDUConfirmedRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -139,8 +141,6 @@ type APDUConfirmedRequestBuilder interface { WithOptionalProposedWindowSize(uint8) APDUConfirmedRequestBuilder // WithServiceRequest adds ServiceRequest (property field) WithOptionalServiceRequest(BACnetConfirmedServiceRequest) APDUConfirmedRequestBuilder - // WithOptionalServiceRequestBuilder adds ServiceRequest (property field) which is build by the builder - WithOptionalServiceRequestBuilder(func(BACnetConfirmedServiceRequestBuilder) BACnetConfirmedServiceRequestBuilder) APDUConfirmedRequestBuilder // WithSegmentServiceChoice adds SegmentServiceChoice (property field) WithOptionalSegmentServiceChoice(BACnetConfirmedServiceChoice) APDUConfirmedRequestBuilder // WithSegment adds Segment (property field) @@ -213,19 +213,6 @@ func (m *_APDUConfirmedRequestBuilder) WithOptionalServiceRequest(serviceRequest return m } -func (m *_APDUConfirmedRequestBuilder) WithOptionalServiceRequestBuilder(builderSupplier func(BACnetConfirmedServiceRequestBuilder) BACnetConfirmedServiceRequestBuilder) APDUConfirmedRequestBuilder { - builder := builderSupplier(m.ServiceRequest.CreateBACnetConfirmedServiceRequestBuilder()) - var err error - m.ServiceRequest, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetConfirmedServiceRequestBuilder failed")) - } - return m -} - func (m *_APDUConfirmedRequestBuilder) WithOptionalSegmentServiceChoice(segmentServiceChoice BACnetConfirmedServiceChoice) APDUConfirmedRequestBuilder { m.SegmentServiceChoice = &segmentServiceChoice return m diff --git a/plc4go/protocols/bacnetip/readwrite/model/APDUError.go b/plc4go/protocols/bacnetip/readwrite/model/APDUError.go index b92071be2a..619c640b83 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/APDUError.go +++ b/plc4go/protocols/bacnetip/readwrite/model/APDUError.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -94,8 +96,6 @@ type APDUErrorBuilder interface { WithErrorChoice(BACnetConfirmedServiceChoice) APDUErrorBuilder // WithError adds Error (property field) WithError(BACnetError) APDUErrorBuilder - // WithErrorBuilder adds Error (property field) which is build by the builder - WithErrorBuilder(func(BACnetErrorBuilder) BACnetErrorBuilder) APDUErrorBuilder // Build builds the APDUError or returns an error if something is wrong Build() (APDUError, error) // MustBuild does the same as Build but panics on error @@ -134,19 +134,6 @@ func (m *_APDUErrorBuilder) WithError(error BACnetError) APDUErrorBuilder { return m } -func (m *_APDUErrorBuilder) WithErrorBuilder(builderSupplier func(BACnetErrorBuilder) BACnetErrorBuilder) APDUErrorBuilder { - builder := builderSupplier(m.Error.CreateBACnetErrorBuilder()) - var err error - m.Error, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetErrorBuilder failed")) - } - return m -} - func (m *_APDUErrorBuilder) Build() (APDUError, error) { if m.Error == nil { if m.err == nil { diff --git a/plc4go/protocols/bacnetip/readwrite/model/APDUReject.go b/plc4go/protocols/bacnetip/readwrite/model/APDUReject.go index 98d2a3e120..8789de3504 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/APDUReject.go +++ b/plc4go/protocols/bacnetip/readwrite/model/APDUReject.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/APDUSegmentAck.go b/plc4go/protocols/bacnetip/readwrite/model/APDUSegmentAck.go index 3d9f386ebc..2b069db1d5 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/APDUSegmentAck.go +++ b/plc4go/protocols/bacnetip/readwrite/model/APDUSegmentAck.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/APDUSimpleAck.go b/plc4go/protocols/bacnetip/readwrite/model/APDUSimpleAck.go index 15996f3bdc..f30ba587a7 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/APDUSimpleAck.go +++ b/plc4go/protocols/bacnetip/readwrite/model/APDUSimpleAck.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/APDUUnconfirmedRequest.go b/plc4go/protocols/bacnetip/readwrite/model/APDUUnconfirmedRequest.go index 2ce8e37d02..a90dfd6a07 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/APDUUnconfirmedRequest.go +++ b/plc4go/protocols/bacnetip/readwrite/model/APDUUnconfirmedRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -82,8 +84,6 @@ type APDUUnconfirmedRequestBuilder interface { WithMandatoryFields(serviceRequest BACnetUnconfirmedServiceRequest) APDUUnconfirmedRequestBuilder // WithServiceRequest adds ServiceRequest (property field) WithServiceRequest(BACnetUnconfirmedServiceRequest) APDUUnconfirmedRequestBuilder - // WithServiceRequestBuilder adds ServiceRequest (property field) which is build by the builder - WithServiceRequestBuilder(func(BACnetUnconfirmedServiceRequestBuilder) BACnetUnconfirmedServiceRequestBuilder) APDUUnconfirmedRequestBuilder // Build builds the APDUUnconfirmedRequest or returns an error if something is wrong Build() (APDUUnconfirmedRequest, error) // MustBuild does the same as Build but panics on error @@ -112,19 +112,6 @@ func (m *_APDUUnconfirmedRequestBuilder) WithServiceRequest(serviceRequest BACne return m } -func (m *_APDUUnconfirmedRequestBuilder) WithServiceRequestBuilder(builderSupplier func(BACnetUnconfirmedServiceRequestBuilder) BACnetUnconfirmedServiceRequestBuilder) APDUUnconfirmedRequestBuilder { - builder := builderSupplier(m.ServiceRequest.CreateBACnetUnconfirmedServiceRequestBuilder()) - var err error - m.ServiceRequest, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetUnconfirmedServiceRequestBuilder failed")) - } - return m -} - func (m *_APDUUnconfirmedRequestBuilder) Build() (APDUUnconfirmedRequest, error) { if m.ServiceRequest == nil { if m.err == nil { diff --git a/plc4go/protocols/bacnetip/readwrite/model/APDUUnknown.go b/plc4go/protocols/bacnetip/readwrite/model/APDUUnknown.go index 3c6645f398..8ff2990a03 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/APDUUnknown.go +++ b/plc4go/protocols/bacnetip/readwrite/model/APDUUnknown.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/ApduType.go b/plc4go/protocols/bacnetip/readwrite/model/ApduType.go index 964a56fdd6..2c05b8cd63 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/ApduType.go +++ b/plc4go/protocols/bacnetip/readwrite/model/ApduType.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAbortReason.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAbortReason.go index 95a17327d8..2df46b7392 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAbortReason.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAbortReason.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAbortReasonTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAbortReasonTagged.go index f769bf6f9b..7ab91ba0b2 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAbortReasonTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAbortReasonTagged.go @@ -22,10 +22,12 @@ package model import ( "context" "fmt" - . "github.com/apache/plc4x/plc4go/spi/codegen/fields" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessAuthenticationFactorDisable.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessAuthenticationFactorDisable.go index 3881839690..24dead340d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessAuthenticationFactorDisable.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessAuthenticationFactorDisable.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessAuthenticationFactorDisableTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessAuthenticationFactorDisableTagged.go index a19a484168..b4e19739f5 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessAuthenticationFactorDisableTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessAuthenticationFactorDisableTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessCredentialDisable.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessCredentialDisable.go index df3eaa2f6e..6436a295ab 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessCredentialDisable.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessCredentialDisable.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessCredentialDisableReason.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessCredentialDisableReason.go index 97df87d913..8ab8d409b4 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessCredentialDisableReason.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessCredentialDisableReason.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessCredentialDisableReasonTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessCredentialDisableReasonTagged.go index cf20785263..167c6234fd 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessCredentialDisableReasonTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessCredentialDisableReasonTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessCredentialDisableTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessCredentialDisableTagged.go index ec74c7e535..4b56d050f9 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessCredentialDisableTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessCredentialDisableTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessEvent.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessEvent.go index 4d63805b93..0edc250963 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessEvent.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessEvent.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessEventTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessEventTagged.go index 3f0693edd3..fa245a0982 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessEventTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessEventTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessPassbackMode.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessPassbackMode.go index d21fac26d3..b056590cc9 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessPassbackMode.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessPassbackMode.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessPassbackModeTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessPassbackModeTagged.go index de1eebedd3..e8e01c2a9d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessPassbackModeTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessPassbackModeTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessRule.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessRule.go index d9d6019d50..5ff588bf18 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessRule.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessRule.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessRuleLocationSpecifier.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessRuleLocationSpecifier.go index 1b24426f61..4030fd4cbb 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessRuleLocationSpecifier.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessRuleLocationSpecifier.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessRuleLocationSpecifierTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessRuleLocationSpecifierTagged.go index b10af26e9c..c4f3e11fab 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessRuleLocationSpecifierTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessRuleLocationSpecifierTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessRuleTimeRangeSpecifier.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessRuleTimeRangeSpecifier.go index b4aca7e886..af28d57899 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessRuleTimeRangeSpecifier.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessRuleTimeRangeSpecifier.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessRuleTimeRangeSpecifierTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessRuleTimeRangeSpecifierTagged.go index aefd9aaf07..c3a2300be4 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessRuleTimeRangeSpecifierTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessRuleTimeRangeSpecifierTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessThreatLevel.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessThreatLevel.go index 334a365887..0910653e4b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessThreatLevel.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessThreatLevel.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessUserType.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessUserType.go index 2132195bcf..7ccfcb3ce3 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessUserType.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessUserType.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessUserTypeTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessUserTypeTagged.go index 7df7b3ebed..0fbfa343dd 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessUserTypeTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessUserTypeTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessZoneOccupancyState.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessZoneOccupancyState.go index 68d68eab84..d0e43da87b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessZoneOccupancyState.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessZoneOccupancyState.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessZoneOccupancyStateTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessZoneOccupancyStateTagged.go index 12ac2ac9c4..715cf257ca 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessZoneOccupancyStateTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccessZoneOccupancyStateTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccumulatorRecord.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccumulatorRecord.go index 9332259411..3d71356b38 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccumulatorRecord.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccumulatorRecord.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccumulatorRecordAccumulatorStatus.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccumulatorRecordAccumulatorStatus.go index abe6f14532..c966ec1e5c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccumulatorRecordAccumulatorStatus.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccumulatorRecordAccumulatorStatus.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccumulatorRecordAccumulatorStatusTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccumulatorRecordAccumulatorStatusTagged.go index 7b400df5a7..d7a7f26130 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAccumulatorRecordAccumulatorStatusTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAccumulatorRecordAccumulatorStatusTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAction.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAction.go index 98fb0e798d..2fb4cf1cf2 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAction.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAction.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetActionCommand.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetActionCommand.go index b4235dfba6..8ac6192029 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetActionCommand.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetActionCommand.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -121,8 +123,6 @@ type BACnetActionCommandBuilder interface { WithOptionalArrayIndexBuilder(func(BACnetContextTagUnsignedIntegerBuilder) BACnetContextTagUnsignedIntegerBuilder) BACnetActionCommandBuilder // WithPropertyValue adds PropertyValue (property field) WithOptionalPropertyValue(BACnetConstructedData) BACnetActionCommandBuilder - // WithOptionalPropertyValueBuilder adds PropertyValue (property field) which is build by the builder - WithOptionalPropertyValueBuilder(func(BACnetConstructedDataBuilder) BACnetConstructedDataBuilder) BACnetActionCommandBuilder // WithPriority adds Priority (property field) WithOptionalPriority(BACnetContextTagUnsignedInteger) BACnetActionCommandBuilder // WithOptionalPriorityBuilder adds Priority (property field) which is build by the builder @@ -239,19 +239,6 @@ func (m *_BACnetActionCommandBuilder) WithOptionalPropertyValue(propertyValue BA return m } -func (m *_BACnetActionCommandBuilder) WithOptionalPropertyValueBuilder(builderSupplier func(BACnetConstructedDataBuilder) BACnetConstructedDataBuilder) BACnetActionCommandBuilder { - builder := builderSupplier(m.PropertyValue.CreateBACnetConstructedDataBuilder()) - var err error - m.PropertyValue, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetConstructedDataBuilder failed")) - } - return m -} - func (m *_BACnetActionCommandBuilder) WithOptionalPriority(priority BACnetContextTagUnsignedInteger) BACnetActionCommandBuilder { m.Priority = priority return m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetActionList.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetActionList.go index 23db2a2714..4a64a2a2bc 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetActionList.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetActionList.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetActionTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetActionTagged.go index 850a99d1be..cc1bd188e4 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetActionTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetActionTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAddress.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAddress.go index 38566afb13..82146ff3fd 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAddress.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAddress.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAddressBinding.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAddressBinding.go index 0e1e62171e..c497570faf 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAddressBinding.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAddressBinding.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAddressEnclosed.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAddressEnclosed.go index dbe09318fb..0ca9210536 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAddressEnclosed.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAddressEnclosed.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTag.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTag.go index 396f256531..12988a9611 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTag.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTag.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagBitString.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagBitString.go index 670a8377cf..9bfac74ba7 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagBitString.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagBitString.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagBoolean.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagBoolean.go index 197cd058e7..7b1b2cf99d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagBoolean.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagBoolean.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagCharacterString.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagCharacterString.go index 13b9852138..d99222ebc5 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagCharacterString.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagCharacterString.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagDate.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagDate.go index 1b55cec325..23260d9a93 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagDate.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagDate.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagDouble.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagDouble.go index 29434fd25b..5b7a88ea06 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagDouble.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagDouble.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagEnumerated.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagEnumerated.go index f772c6ab40..1b074e99f7 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagEnumerated.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagEnumerated.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagNull.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagNull.go index 58c1134174..311cc12987 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagNull.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagNull.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagObjectIdentifier.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagObjectIdentifier.go index 76f533fb4e..a52ca284d5 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagObjectIdentifier.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagObjectIdentifier.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagOctetString.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagOctetString.go index f40ea5a201..84afaf8a07 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagOctetString.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagOctetString.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagReal.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagReal.go index a158b700c0..4be6e2bdfc 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagReal.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagReal.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagSignedInteger.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagSignedInteger.go index c425e11c27..976ceaafba 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagSignedInteger.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagSignedInteger.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagTime.go index 950e33f107..0d9dcccf49 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagTime.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagUnsignedInteger.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagUnsignedInteger.go index 055ab07b1d..b96fec02ba 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagUnsignedInteger.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagUnsignedInteger.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAssignedAccessRights.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAssignedAccessRights.go index b4366606d5..5878e070e9 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAssignedAccessRights.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAssignedAccessRights.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAssignedLandingCalls.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAssignedLandingCalls.go index c00434ec48..ed6e17704f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAssignedLandingCalls.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAssignedLandingCalls.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAssignedLandingCallsLandingCallsList.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAssignedLandingCallsLandingCallsList.go index 805caf96c2..ac309fcf1e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAssignedLandingCallsLandingCallsList.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAssignedLandingCallsLandingCallsList.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAssignedLandingCallsLandingCallsListEntry.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAssignedLandingCallsLandingCallsListEntry.go index 34fcc8f107..fe72d23239 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAssignedLandingCallsLandingCallsListEntry.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAssignedLandingCallsLandingCallsListEntry.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationFactor.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationFactor.go index 83ce9ea892..3172dade35 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationFactor.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationFactor.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationFactorEnclosed.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationFactorEnclosed.go index 5a4af70e84..381f9d9511 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationFactorEnclosed.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationFactorEnclosed.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationFactorFormat.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationFactorFormat.go index add2e4ff84..8ccc3c10b0 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationFactorFormat.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationFactorFormat.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationFactorType.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationFactorType.go index f9071a905b..e017acdb38 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationFactorType.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationFactorType.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationFactorTypeTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationFactorTypeTagged.go index 161b277c85..15c8908002 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationFactorTypeTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationFactorTypeTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationPolicy.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationPolicy.go index 21cdd576e5..559fec513b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationPolicy.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationPolicy.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationPolicyList.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationPolicyList.go index 4ca4e1df6f..e366d4faa0 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationPolicyList.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationPolicyList.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationPolicyListEntry.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationPolicyListEntry.go index 04f6ed5484..7eff41de6b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationPolicyListEntry.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationPolicyListEntry.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationStatus.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationStatus.go index 40016505f8..b1eb793c71 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationStatus.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationStatus.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationStatusTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationStatusTagged.go index 9ba2901fee..4accf6ee5e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationStatusTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthenticationStatusTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthorizationExemption.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthorizationExemption.go index 8d6aabeada..d51cab9c77 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthorizationExemption.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthorizationExemption.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthorizationExemptionTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthorizationExemptionTagged.go index 4bd9fd0efe..3d7291cb95 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthorizationExemptionTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthorizationExemptionTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthorizationMode.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthorizationMode.go index c3ac6ca739..246525584b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthorizationMode.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthorizationMode.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthorizationModeTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthorizationModeTagged.go index f064e3ba69..018c514cf2 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthorizationModeTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetAuthorizationModeTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetBDTEntry.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetBDTEntry.go index cd65e04c00..61403994e1 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetBDTEntry.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetBDTEntry.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetBackupState.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetBackupState.go index 99f1992657..80967d7480 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetBackupState.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetBackupState.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetBackupStateTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetBackupStateTagged.go index 962320b608..e33bad5ea9 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetBackupStateTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetBackupStateTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetBinaryLightingPV.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetBinaryLightingPV.go index 47c8285c11..c9b5d7286d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetBinaryLightingPV.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetBinaryLightingPV.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetBinaryLightingPVTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetBinaryLightingPVTagged.go index cbe4416003..9e7d12f02e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetBinaryLightingPVTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetBinaryLightingPVTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetBinaryPV.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetBinaryPV.go index 99ad363d8a..140c09ae81 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetBinaryPV.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetBinaryPV.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetBinaryPVTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetBinaryPVTagged.go index c9fe95a539..a5419c4fa9 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetBinaryPVTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetBinaryPVTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetCOVMultipleSubscription.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetCOVMultipleSubscription.go index 93da4b4747..2c3c6f6125 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetCOVMultipleSubscription.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetCOVMultipleSubscription.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetCOVMultipleSubscriptionListOfCovSubscriptionSpecification.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetCOVMultipleSubscriptionListOfCovSubscriptionSpecification.go index 6f13a7ad8b..497e3296d8 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetCOVMultipleSubscriptionListOfCovSubscriptionSpecification.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetCOVMultipleSubscriptionListOfCovSubscriptionSpecification.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetCOVMultipleSubscriptionListOfCovSubscriptionSpecificationEntry.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetCOVMultipleSubscriptionListOfCovSubscriptionSpecificationEntry.go index 997a2e2faf..168abe52b1 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetCOVMultipleSubscriptionListOfCovSubscriptionSpecificationEntry.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetCOVMultipleSubscriptionListOfCovSubscriptionSpecificationEntry.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetCOVMultipleSubscriptionListOfCovSubscriptionSpecificationEntryListOfCovReferences.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetCOVMultipleSubscriptionListOfCovSubscriptionSpecificationEntryListOfCovReferences.go index 1134056ddf..c7910137c5 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetCOVMultipleSubscriptionListOfCovSubscriptionSpecificationEntryListOfCovReferences.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetCOVMultipleSubscriptionListOfCovSubscriptionSpecificationEntryListOfCovReferences.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetCOVMultipleSubscriptionListOfCovSubscriptionSpecificationEntryListOfCovReferencesEntry.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetCOVMultipleSubscriptionListOfCovSubscriptionSpecificationEntryListOfCovReferencesEntry.go index f9e994c7fa..6b0149124a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetCOVMultipleSubscriptionListOfCovSubscriptionSpecificationEntryListOfCovReferencesEntry.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetCOVMultipleSubscriptionListOfCovSubscriptionSpecificationEntryListOfCovReferencesEntry.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetCOVSubscription.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetCOVSubscription.go index 52924911b0..4592cdac08 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetCOVSubscription.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetCOVSubscription.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetCalendarEntry.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetCalendarEntry.go index 46395c8efe..21441e5b96 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetCalendarEntry.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetCalendarEntry.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetCalendarEntryDate.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetCalendarEntryDate.go index 3aef7abd9d..79cd072ae1 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetCalendarEntryDate.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetCalendarEntryDate.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetCalendarEntryDateRange.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetCalendarEntryDateRange.go index 9cd12862e8..f0b684ba01 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetCalendarEntryDateRange.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetCalendarEntryDateRange.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetCalendarEntryEnclosed.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetCalendarEntryEnclosed.go index 2047f61773..946b8d6e08 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetCalendarEntryEnclosed.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetCalendarEntryEnclosed.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -91,8 +93,6 @@ type BACnetCalendarEntryEnclosedBuilder interface { WithOpeningTagBuilder(func(BACnetOpeningTagBuilder) BACnetOpeningTagBuilder) BACnetCalendarEntryEnclosedBuilder // WithCalendarEntry adds CalendarEntry (property field) WithCalendarEntry(BACnetCalendarEntry) BACnetCalendarEntryEnclosedBuilder - // WithCalendarEntryBuilder adds CalendarEntry (property field) which is build by the builder - WithCalendarEntryBuilder(func(BACnetCalendarEntryBuilder) BACnetCalendarEntryBuilder) BACnetCalendarEntryEnclosedBuilder // WithClosingTag adds ClosingTag (property field) WithClosingTag(BACnetClosingTag) BACnetCalendarEntryEnclosedBuilder // WithClosingTagBuilder adds ClosingTag (property field) which is build by the builder @@ -143,19 +143,6 @@ func (m *_BACnetCalendarEntryEnclosedBuilder) WithCalendarEntry(calendarEntry BA return m } -func (m *_BACnetCalendarEntryEnclosedBuilder) WithCalendarEntryBuilder(builderSupplier func(BACnetCalendarEntryBuilder) BACnetCalendarEntryBuilder) BACnetCalendarEntryEnclosedBuilder { - builder := builderSupplier(m.CalendarEntry.CreateBACnetCalendarEntryBuilder()) - var err error - m.CalendarEntry, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetCalendarEntryBuilder failed")) - } - return m -} - func (m *_BACnetCalendarEntryEnclosedBuilder) WithClosingTag(closingTag BACnetClosingTag) BACnetCalendarEntryEnclosedBuilder { m.ClosingTag = closingTag return m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetCalendarEntryWeekNDay.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetCalendarEntryWeekNDay.go index 2eb2a4ac12..864edb9a03 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetCalendarEntryWeekNDay.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetCalendarEntryWeekNDay.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValue.go index 9ef65f6ae2..e4e64177a2 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueBitString.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueBitString.go index f21dc0dac6..c00bfe04c7 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueBitString.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueBitString.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueBoolean.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueBoolean.go index 0fe4e06f54..fe675d41b5 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueBoolean.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueBoolean.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueCharacterString.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueCharacterString.go index 7ccf64891d..eb2040481e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueCharacterString.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueCharacterString.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueDate.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueDate.go index c7269d4de4..1508b49d3c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueDate.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueDate.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueDouble.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueDouble.go index 0088cd2d9e..a27d4bbe93 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueDouble.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueDouble.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueEnumerated.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueEnumerated.go index 20f4222fd9..4abfe00e4b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueEnumerated.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueEnumerated.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueInteger.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueInteger.go index 3b3e05a1eb..456ef83fd0 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueInteger.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueInteger.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueLightingCommand.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueLightingCommand.go index 2f348e71a7..896e7c301f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueLightingCommand.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueLightingCommand.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueNull.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueNull.go index 95cbd5ba9e..deadb57e7d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueNull.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueNull.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueObjectidentifier.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueObjectidentifier.go index 6becb0dad4..fbe09ff645 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueObjectidentifier.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueObjectidentifier.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueOctetString.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueOctetString.go index eeb4e1a635..355cd5c3eb 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueOctetString.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueOctetString.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueReal.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueReal.go index da091ccc00..8541f8eb71 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueReal.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueReal.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueTime.go index 256af5c64a..1819824702 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueTime.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueUnsigned.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueUnsigned.go index 4a7b5f6807..6eb3df868b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueUnsigned.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueUnsigned.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetCharacterEncoding.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetCharacterEncoding.go index 175b0a3266..20f7145c44 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetCharacterEncoding.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetCharacterEncoding.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetClientCOV.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetClientCOV.go index 7835fd0446..2c7fa56ced 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetClientCOV.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetClientCOV.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetClientCOVNone.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetClientCOVNone.go index 654d34de27..1e7a5b991a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetClientCOVNone.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetClientCOVNone.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetClientCOVObject.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetClientCOVObject.go index fa1272dbf7..5b3bf447ff 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetClientCOVObject.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetClientCOVObject.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetClosingTag.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetClosingTag.go index ace99ebe2b..ede46ff5bf 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetClosingTag.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetClosingTag.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceChoice.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceChoice.go index 4ea33e2825..2e680d99ce 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceChoice.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceChoice.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequest.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequest.go index 1434b28879..8a732db90d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequest.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAcknowledgeAlarm.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAcknowledgeAlarm.go index 82234005e6..1ce9a51612 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAcknowledgeAlarm.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAcknowledgeAlarm.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAddListElement.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAddListElement.go index bff04aeffd..a7373bc919 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAddListElement.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAddListElement.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -107,8 +109,6 @@ type BACnetConfirmedServiceRequestAddListElementBuilder interface { WithOptionalArrayIndexBuilder(func(BACnetContextTagUnsignedIntegerBuilder) BACnetContextTagUnsignedIntegerBuilder) BACnetConfirmedServiceRequestAddListElementBuilder // WithListOfElements adds ListOfElements (property field) WithOptionalListOfElements(BACnetConstructedData) BACnetConfirmedServiceRequestAddListElementBuilder - // WithOptionalListOfElementsBuilder adds ListOfElements (property field) which is build by the builder - WithOptionalListOfElementsBuilder(func(BACnetConstructedDataBuilder) BACnetConstructedDataBuilder) BACnetConfirmedServiceRequestAddListElementBuilder // Build builds the BACnetConfirmedServiceRequestAddListElement or returns an error if something is wrong Build() (BACnetConfirmedServiceRequestAddListElement, error) // MustBuild does the same as Build but panics on error @@ -191,19 +191,6 @@ func (m *_BACnetConfirmedServiceRequestAddListElementBuilder) WithOptionalListOf return m } -func (m *_BACnetConfirmedServiceRequestAddListElementBuilder) WithOptionalListOfElementsBuilder(builderSupplier func(BACnetConstructedDataBuilder) BACnetConstructedDataBuilder) BACnetConfirmedServiceRequestAddListElementBuilder { - builder := builderSupplier(m.ListOfElements.CreateBACnetConstructedDataBuilder()) - var err error - m.ListOfElements, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetConstructedDataBuilder failed")) - } - return m -} - func (m *_BACnetConfirmedServiceRequestAddListElementBuilder) Build() (BACnetConfirmedServiceRequestAddListElement, error) { if m.ObjectIdentifier == nil { if m.err == nil { diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAtomicReadFile.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAtomicReadFile.go index 5e2798805f..d741ff0c54 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAtomicReadFile.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAtomicReadFile.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -91,8 +93,6 @@ type BACnetConfirmedServiceRequestAtomicReadFileBuilder interface { WithFileIdentifierBuilder(func(BACnetApplicationTagObjectIdentifierBuilder) BACnetApplicationTagObjectIdentifierBuilder) BACnetConfirmedServiceRequestAtomicReadFileBuilder // WithAccessMethod adds AccessMethod (property field) WithAccessMethod(BACnetConfirmedServiceRequestAtomicReadFileStreamOrRecord) BACnetConfirmedServiceRequestAtomicReadFileBuilder - // WithAccessMethodBuilder adds AccessMethod (property field) which is build by the builder - WithAccessMethodBuilder(func(BACnetConfirmedServiceRequestAtomicReadFileStreamOrRecordBuilder) BACnetConfirmedServiceRequestAtomicReadFileStreamOrRecordBuilder) BACnetConfirmedServiceRequestAtomicReadFileBuilder // Build builds the BACnetConfirmedServiceRequestAtomicReadFile or returns an error if something is wrong Build() (BACnetConfirmedServiceRequestAtomicReadFile, error) // MustBuild does the same as Build but panics on error @@ -139,19 +139,6 @@ func (m *_BACnetConfirmedServiceRequestAtomicReadFileBuilder) WithAccessMethod(a return m } -func (m *_BACnetConfirmedServiceRequestAtomicReadFileBuilder) WithAccessMethodBuilder(builderSupplier func(BACnetConfirmedServiceRequestAtomicReadFileStreamOrRecordBuilder) BACnetConfirmedServiceRequestAtomicReadFileStreamOrRecordBuilder) BACnetConfirmedServiceRequestAtomicReadFileBuilder { - builder := builderSupplier(m.AccessMethod.CreateBACnetConfirmedServiceRequestAtomicReadFileStreamOrRecordBuilder()) - var err error - m.AccessMethod, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetConfirmedServiceRequestAtomicReadFileStreamOrRecordBuilder failed")) - } - return m -} - func (m *_BACnetConfirmedServiceRequestAtomicReadFileBuilder) Build() (BACnetConfirmedServiceRequestAtomicReadFile, error) { if m.FileIdentifier == nil { if m.err == nil { diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAtomicReadFileRecord.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAtomicReadFileRecord.go index e61685abd3..ca9d54af03 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAtomicReadFileRecord.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAtomicReadFileRecord.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAtomicReadFileStream.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAtomicReadFileStream.go index 2a081f8160..b13eddd047 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAtomicReadFileStream.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAtomicReadFileStream.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAtomicReadFileStreamOrRecord.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAtomicReadFileStreamOrRecord.go index 9e9726fed9..566d68a1d7 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAtomicReadFileStreamOrRecord.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAtomicReadFileStreamOrRecord.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAtomicWriteFile.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAtomicWriteFile.go index 82643bf888..f7c98381d1 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAtomicWriteFile.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAtomicWriteFile.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAuthenticate.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAuthenticate.go index d94b246301..ed86ab5074 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAuthenticate.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAuthenticate.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedCOVNotification.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedCOVNotification.go index bd775c6a58..4945d060b9 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedCOVNotification.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedCOVNotification.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedCOVNotificationMultiple.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedCOVNotificationMultiple.go index a8e3dd067c..51770edc57 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedCOVNotificationMultiple.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedCOVNotificationMultiple.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedEventNotification.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedEventNotification.go index 1c52fe5a20..dd03831c27 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedEventNotification.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedEventNotification.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -200,8 +202,6 @@ type BACnetConfirmedServiceRequestConfirmedEventNotificationBuilder interface { WithToStateBuilder(func(BACnetEventStateTaggedBuilder) BACnetEventStateTaggedBuilder) BACnetConfirmedServiceRequestConfirmedEventNotificationBuilder // WithEventValues adds EventValues (property field) WithOptionalEventValues(BACnetNotificationParameters) BACnetConfirmedServiceRequestConfirmedEventNotificationBuilder - // WithOptionalEventValuesBuilder adds EventValues (property field) which is build by the builder - WithOptionalEventValuesBuilder(func(BACnetNotificationParametersBuilder) BACnetNotificationParametersBuilder) BACnetConfirmedServiceRequestConfirmedEventNotificationBuilder // Build builds the BACnetConfirmedServiceRequestConfirmedEventNotification or returns an error if something is wrong Build() (BACnetConfirmedServiceRequestConfirmedEventNotification, error) // MustBuild does the same as Build but panics on error @@ -446,19 +446,6 @@ func (m *_BACnetConfirmedServiceRequestConfirmedEventNotificationBuilder) WithOp return m } -func (m *_BACnetConfirmedServiceRequestConfirmedEventNotificationBuilder) WithOptionalEventValuesBuilder(builderSupplier func(BACnetNotificationParametersBuilder) BACnetNotificationParametersBuilder) BACnetConfirmedServiceRequestConfirmedEventNotificationBuilder { - builder := builderSupplier(m.EventValues.CreateBACnetNotificationParametersBuilder()) - var err error - m.EventValues, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetNotificationParametersBuilder failed")) - } - return m -} - func (m *_BACnetConfirmedServiceRequestConfirmedEventNotificationBuilder) Build() (BACnetConfirmedServiceRequestConfirmedEventNotification, error) { if m.ProcessIdentifier == nil { if m.err == nil { diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedPrivateTransfer.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedPrivateTransfer.go index 59d6b23f6d..db16efb558 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedPrivateTransfer.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedPrivateTransfer.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -99,8 +101,6 @@ type BACnetConfirmedServiceRequestConfirmedPrivateTransferBuilder interface { WithServiceNumberBuilder(func(BACnetContextTagUnsignedIntegerBuilder) BACnetContextTagUnsignedIntegerBuilder) BACnetConfirmedServiceRequestConfirmedPrivateTransferBuilder // WithServiceParameters adds ServiceParameters (property field) WithOptionalServiceParameters(BACnetConstructedData) BACnetConfirmedServiceRequestConfirmedPrivateTransferBuilder - // WithOptionalServiceParametersBuilder adds ServiceParameters (property field) which is build by the builder - WithOptionalServiceParametersBuilder(func(BACnetConstructedDataBuilder) BACnetConstructedDataBuilder) BACnetConfirmedServiceRequestConfirmedPrivateTransferBuilder // Build builds the BACnetConfirmedServiceRequestConfirmedPrivateTransfer or returns an error if something is wrong Build() (BACnetConfirmedServiceRequestConfirmedPrivateTransfer, error) // MustBuild does the same as Build but panics on error @@ -165,19 +165,6 @@ func (m *_BACnetConfirmedServiceRequestConfirmedPrivateTransferBuilder) WithOpti return m } -func (m *_BACnetConfirmedServiceRequestConfirmedPrivateTransferBuilder) WithOptionalServiceParametersBuilder(builderSupplier func(BACnetConstructedDataBuilder) BACnetConstructedDataBuilder) BACnetConfirmedServiceRequestConfirmedPrivateTransferBuilder { - builder := builderSupplier(m.ServiceParameters.CreateBACnetConstructedDataBuilder()) - var err error - m.ServiceParameters, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetConstructedDataBuilder failed")) - } - return m -} - func (m *_BACnetConfirmedServiceRequestConfirmedPrivateTransferBuilder) Build() (BACnetConfirmedServiceRequestConfirmedPrivateTransfer, error) { if m.VendorId == nil { if m.err == nil { diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedTextMessage.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedTextMessage.go index ba48d30628..1a68408b5e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedTextMessage.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedTextMessage.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -102,8 +104,6 @@ type BACnetConfirmedServiceRequestConfirmedTextMessageBuilder interface { WithTextMessageSourceDeviceBuilder(func(BACnetContextTagObjectIdentifierBuilder) BACnetContextTagObjectIdentifierBuilder) BACnetConfirmedServiceRequestConfirmedTextMessageBuilder // WithMessageClass adds MessageClass (property field) WithOptionalMessageClass(BACnetConfirmedServiceRequestConfirmedTextMessageMessageClass) BACnetConfirmedServiceRequestConfirmedTextMessageBuilder - // WithOptionalMessageClassBuilder adds MessageClass (property field) which is build by the builder - WithOptionalMessageClassBuilder(func(BACnetConfirmedServiceRequestConfirmedTextMessageMessageClassBuilder) BACnetConfirmedServiceRequestConfirmedTextMessageMessageClassBuilder) BACnetConfirmedServiceRequestConfirmedTextMessageBuilder // WithMessagePriority adds MessagePriority (property field) WithMessagePriority(BACnetConfirmedServiceRequestConfirmedTextMessageMessagePriorityTagged) BACnetConfirmedServiceRequestConfirmedTextMessageBuilder // WithMessagePriorityBuilder adds MessagePriority (property field) which is build by the builder @@ -158,19 +158,6 @@ func (m *_BACnetConfirmedServiceRequestConfirmedTextMessageBuilder) WithOptional return m } -func (m *_BACnetConfirmedServiceRequestConfirmedTextMessageBuilder) WithOptionalMessageClassBuilder(builderSupplier func(BACnetConfirmedServiceRequestConfirmedTextMessageMessageClassBuilder) BACnetConfirmedServiceRequestConfirmedTextMessageMessageClassBuilder) BACnetConfirmedServiceRequestConfirmedTextMessageBuilder { - builder := builderSupplier(m.MessageClass.CreateBACnetConfirmedServiceRequestConfirmedTextMessageMessageClassBuilder()) - var err error - m.MessageClass, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetConfirmedServiceRequestConfirmedTextMessageMessageClassBuilder failed")) - } - return m -} - func (m *_BACnetConfirmedServiceRequestConfirmedTextMessageBuilder) WithMessagePriority(messagePriority BACnetConfirmedServiceRequestConfirmedTextMessageMessagePriorityTagged) BACnetConfirmedServiceRequestConfirmedTextMessageBuilder { m.MessagePriority = messagePriority return m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedTextMessageMessageClass.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedTextMessageMessageClass.go index 20b10e2d7f..c9b2694aac 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedTextMessageMessageClass.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedTextMessageMessageClass.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedTextMessageMessageClassCharacter.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedTextMessageMessageClassCharacter.go index 416763a599..23c3d51975 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedTextMessageMessageClassCharacter.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedTextMessageMessageClassCharacter.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedTextMessageMessageClassNumeric.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedTextMessageMessageClassNumeric.go index 65e38a50ab..7485eda5e4 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedTextMessageMessageClassNumeric.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedTextMessageMessageClassNumeric.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedTextMessageMessagePriority.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedTextMessageMessagePriority.go index 33ff20bc98..3d9b723b8d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedTextMessageMessagePriority.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedTextMessageMessagePriority.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedTextMessageMessagePriorityTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedTextMessageMessagePriorityTagged.go index 72fdb5adaf..570a11a4f1 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedTextMessageMessagePriorityTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedTextMessageMessagePriorityTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestCreateObject.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestCreateObject.go index c820c6ce60..1e5f69e4f7 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestCreateObject.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestCreateObject.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestCreateObjectObjectSpecifier.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestCreateObjectObjectSpecifier.go index 172ebda11e..7571f7e73b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestCreateObjectObjectSpecifier.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestCreateObjectObjectSpecifier.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestDeleteObject.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestDeleteObject.go index 4ea0eecbc4..f4a6f400d2 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestDeleteObject.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestDeleteObject.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestDeviceCommunicationControl.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestDeviceCommunicationControl.go index 40b6f9eb7b..76a0ee4c91 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestDeviceCommunicationControl.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestDeviceCommunicationControl.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestDeviceCommunicationControlEnableDisable.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestDeviceCommunicationControlEnableDisable.go index 51117b2ca5..644304ac64 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestDeviceCommunicationControlEnableDisable.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestDeviceCommunicationControlEnableDisable.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestDeviceCommunicationControlEnableDisableTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestDeviceCommunicationControlEnableDisableTagged.go index 0f7c16aa35..2ca0a1b843 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestDeviceCommunicationControlEnableDisableTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestDeviceCommunicationControlEnableDisableTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestGetEnrollmentSummary.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestGetEnrollmentSummary.go index d35b3b3c0d..037e2f9a33 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestGetEnrollmentSummary.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestGetEnrollmentSummary.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestGetEnrollmentSummaryAcknowledgementFilter.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestGetEnrollmentSummaryAcknowledgementFilter.go index 480b8dd9b5..a23e336c6b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestGetEnrollmentSummaryAcknowledgementFilter.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestGetEnrollmentSummaryAcknowledgementFilter.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestGetEnrollmentSummaryAcknowledgementFilterTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestGetEnrollmentSummaryAcknowledgementFilterTagged.go index d3ebcfe70c..e30a058fc2 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestGetEnrollmentSummaryAcknowledgementFilterTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestGetEnrollmentSummaryAcknowledgementFilterTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestGetEnrollmentSummaryEventStateFilter.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestGetEnrollmentSummaryEventStateFilter.go index c3f28e0be7..0866e00da3 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestGetEnrollmentSummaryEventStateFilter.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestGetEnrollmentSummaryEventStateFilter.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestGetEnrollmentSummaryEventStateFilterTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestGetEnrollmentSummaryEventStateFilterTagged.go index 8124c7d04b..634e7e8ca0 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestGetEnrollmentSummaryEventStateFilterTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestGetEnrollmentSummaryEventStateFilterTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestGetEnrollmentSummaryPriorityFilter.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestGetEnrollmentSummaryPriorityFilter.go index 9099615059..4c01ea436e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestGetEnrollmentSummaryPriorityFilter.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestGetEnrollmentSummaryPriorityFilter.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestGetEventInformation.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestGetEventInformation.go index 1692557928..f1481f37ce 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestGetEventInformation.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestGetEventInformation.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestLifeSafetyOperation.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestLifeSafetyOperation.go index ea293da7db..6882fd3e4f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestLifeSafetyOperation.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestLifeSafetyOperation.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadProperty.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadProperty.go index afa0a69e70..1c68f56382 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadProperty.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadProperty.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadPropertyConditional.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadPropertyConditional.go index 59566f0b30..2603852445 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadPropertyConditional.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadPropertyConditional.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadPropertyMultiple.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadPropertyMultiple.go index e6a5d4d9c2..5c63fbad81 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadPropertyMultiple.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadPropertyMultiple.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadRange.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadRange.go index 85dbd97ae2..f9477585a1 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadRange.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadRange.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -107,8 +109,6 @@ type BACnetConfirmedServiceRequestReadRangeBuilder interface { WithOptionalPropertyArrayIndexBuilder(func(BACnetContextTagUnsignedIntegerBuilder) BACnetContextTagUnsignedIntegerBuilder) BACnetConfirmedServiceRequestReadRangeBuilder // WithReadRange adds ReadRange (property field) WithOptionalReadRange(BACnetConfirmedServiceRequestReadRangeRange) BACnetConfirmedServiceRequestReadRangeBuilder - // WithOptionalReadRangeBuilder adds ReadRange (property field) which is build by the builder - WithOptionalReadRangeBuilder(func(BACnetConfirmedServiceRequestReadRangeRangeBuilder) BACnetConfirmedServiceRequestReadRangeRangeBuilder) BACnetConfirmedServiceRequestReadRangeBuilder // Build builds the BACnetConfirmedServiceRequestReadRange or returns an error if something is wrong Build() (BACnetConfirmedServiceRequestReadRange, error) // MustBuild does the same as Build but panics on error @@ -191,19 +191,6 @@ func (m *_BACnetConfirmedServiceRequestReadRangeBuilder) WithOptionalReadRange(r return m } -func (m *_BACnetConfirmedServiceRequestReadRangeBuilder) WithOptionalReadRangeBuilder(builderSupplier func(BACnetConfirmedServiceRequestReadRangeRangeBuilder) BACnetConfirmedServiceRequestReadRangeRangeBuilder) BACnetConfirmedServiceRequestReadRangeBuilder { - builder := builderSupplier(m.ReadRange.CreateBACnetConfirmedServiceRequestReadRangeRangeBuilder()) - var err error - m.ReadRange, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetConfirmedServiceRequestReadRangeRangeBuilder failed")) - } - return m -} - func (m *_BACnetConfirmedServiceRequestReadRangeBuilder) Build() (BACnetConfirmedServiceRequestReadRange, error) { if m.ObjectIdentifier == nil { if m.err == nil { diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadRangeRange.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadRangeRange.go index f758942173..88dad254c6 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadRangeRange.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadRangeRange.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadRangeRangeByPosition.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadRangeRangeByPosition.go index a4f832df8e..25d75a45f2 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadRangeRangeByPosition.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadRangeRangeByPosition.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadRangeRangeBySequenceNumber.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadRangeRangeBySequenceNumber.go index bc949e10de..e948fda581 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadRangeRangeBySequenceNumber.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadRangeRangeBySequenceNumber.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadRangeRangeByTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadRangeRangeByTime.go index 0a6ea87408..7d90f96323 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadRangeRangeByTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadRangeRangeByTime.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReinitializeDevice.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReinitializeDevice.go index 418db9892a..283ba0a26f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReinitializeDevice.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReinitializeDevice.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReinitializeDeviceReinitializedStateOfDevice.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReinitializeDeviceReinitializedStateOfDevice.go index 23b7eb304d..48214bb8c5 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReinitializeDeviceReinitializedStateOfDevice.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReinitializeDeviceReinitializedStateOfDevice.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReinitializeDeviceReinitializedStateOfDeviceTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReinitializeDeviceReinitializedStateOfDeviceTagged.go index 7730b5b089..ad7ef92bb2 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReinitializeDeviceReinitializedStateOfDeviceTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReinitializeDeviceReinitializedStateOfDeviceTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestRemoveListElement.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestRemoveListElement.go index 0a5e80f79b..12a1ba7b49 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestRemoveListElement.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestRemoveListElement.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -107,8 +109,6 @@ type BACnetConfirmedServiceRequestRemoveListElementBuilder interface { WithOptionalArrayIndexBuilder(func(BACnetContextTagUnsignedIntegerBuilder) BACnetContextTagUnsignedIntegerBuilder) BACnetConfirmedServiceRequestRemoveListElementBuilder // WithListOfElements adds ListOfElements (property field) WithOptionalListOfElements(BACnetConstructedData) BACnetConfirmedServiceRequestRemoveListElementBuilder - // WithOptionalListOfElementsBuilder adds ListOfElements (property field) which is build by the builder - WithOptionalListOfElementsBuilder(func(BACnetConstructedDataBuilder) BACnetConstructedDataBuilder) BACnetConfirmedServiceRequestRemoveListElementBuilder // Build builds the BACnetConfirmedServiceRequestRemoveListElement or returns an error if something is wrong Build() (BACnetConfirmedServiceRequestRemoveListElement, error) // MustBuild does the same as Build but panics on error @@ -191,19 +191,6 @@ func (m *_BACnetConfirmedServiceRequestRemoveListElementBuilder) WithOptionalLis return m } -func (m *_BACnetConfirmedServiceRequestRemoveListElementBuilder) WithOptionalListOfElementsBuilder(builderSupplier func(BACnetConstructedDataBuilder) BACnetConstructedDataBuilder) BACnetConfirmedServiceRequestRemoveListElementBuilder { - builder := builderSupplier(m.ListOfElements.CreateBACnetConstructedDataBuilder()) - var err error - m.ListOfElements, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetConstructedDataBuilder failed")) - } - return m -} - func (m *_BACnetConfirmedServiceRequestRemoveListElementBuilder) Build() (BACnetConfirmedServiceRequestRemoveListElement, error) { if m.ObjectIdentifier == nil { if m.err == nil { diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestRequestKey.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestRequestKey.go index 0f0ee0ac82..b919047a49 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestRequestKey.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestRequestKey.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestSubscribeCOV.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestSubscribeCOV.go index f5ac39ba7a..c4f3135cfe 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestSubscribeCOV.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestSubscribeCOV.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestSubscribeCOVProperty.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestSubscribeCOVProperty.go index f717997f82..7caddd917a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestSubscribeCOVProperty.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestSubscribeCOVProperty.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestSubscribeCOVPropertyMultiple.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestSubscribeCOVPropertyMultiple.go index c2c4d57ebb..157db48540 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestSubscribeCOVPropertyMultiple.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestSubscribeCOVPropertyMultiple.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestSubscribeCOVPropertyMultipleListOfCovSubscriptionSpecifications.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestSubscribeCOVPropertyMultipleListOfCovSubscriptionSpecifications.go index 8629386c8d..bcea4e30d3 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestSubscribeCOVPropertyMultipleListOfCovSubscriptionSpecifications.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestSubscribeCOVPropertyMultipleListOfCovSubscriptionSpecifications.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestSubscribeCOVPropertyMultipleListOfCovSubscriptionSpecificationsList.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestSubscribeCOVPropertyMultipleListOfCovSubscriptionSpecificationsList.go index a939f43632..1b93ad96b0 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestSubscribeCOVPropertyMultipleListOfCovSubscriptionSpecificationsList.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestSubscribeCOVPropertyMultipleListOfCovSubscriptionSpecificationsList.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestSubscribeCOVPropertyMultipleListOfCovSubscriptionSpecificationsReference.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestSubscribeCOVPropertyMultipleListOfCovSubscriptionSpecificationsReference.go index e0cddcc231..bd8f93f272 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestSubscribeCOVPropertyMultipleListOfCovSubscriptionSpecificationsReference.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestSubscribeCOVPropertyMultipleListOfCovSubscriptionSpecificationsReference.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestUnknown.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestUnknown.go index 60e4e8f2e4..a0463f494c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestUnknown.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestUnknown.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestVTClose.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestVTClose.go index 3dadbc3335..9c1fd0fe09 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestVTClose.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestVTClose.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestVTData.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestVTData.go index a59685ebe8..5ee49fdd1f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestVTData.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestVTData.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestVTOpen.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestVTOpen.go index c1cb04dba1..371f483069 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestVTOpen.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestVTOpen.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestWriteProperty.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestWriteProperty.go index c097cce221..c3f25fcb09 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestWriteProperty.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestWriteProperty.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -114,8 +116,6 @@ type BACnetConfirmedServiceRequestWritePropertyBuilder interface { WithOptionalArrayIndexBuilder(func(BACnetContextTagUnsignedIntegerBuilder) BACnetContextTagUnsignedIntegerBuilder) BACnetConfirmedServiceRequestWritePropertyBuilder // WithPropertyValue adds PropertyValue (property field) WithPropertyValue(BACnetConstructedData) BACnetConfirmedServiceRequestWritePropertyBuilder - // WithPropertyValueBuilder adds PropertyValue (property field) which is build by the builder - WithPropertyValueBuilder(func(BACnetConstructedDataBuilder) BACnetConstructedDataBuilder) BACnetConfirmedServiceRequestWritePropertyBuilder // WithPriority adds Priority (property field) WithOptionalPriority(BACnetContextTagUnsignedInteger) BACnetConfirmedServiceRequestWritePropertyBuilder // WithOptionalPriorityBuilder adds Priority (property field) which is build by the builder @@ -202,19 +202,6 @@ func (m *_BACnetConfirmedServiceRequestWritePropertyBuilder) WithPropertyValue(p return m } -func (m *_BACnetConfirmedServiceRequestWritePropertyBuilder) WithPropertyValueBuilder(builderSupplier func(BACnetConstructedDataBuilder) BACnetConstructedDataBuilder) BACnetConfirmedServiceRequestWritePropertyBuilder { - builder := builderSupplier(m.PropertyValue.CreateBACnetConstructedDataBuilder()) - var err error - m.PropertyValue, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetConstructedDataBuilder failed")) - } - return m -} - func (m *_BACnetConfirmedServiceRequestWritePropertyBuilder) WithOptionalPriority(priority BACnetContextTagUnsignedInteger) BACnetConfirmedServiceRequestWritePropertyBuilder { m.Priority = priority return m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestWritePropertyMultiple.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestWritePropertyMultiple.go index 0a4a6937ee..25ec458ff0 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestWritePropertyMultiple.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestWritePropertyMultiple.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedData.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedData.go index 0ae4f0c90f..a805ab0ba7 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedData.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedData.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAPDULength.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAPDULength.go index 3d48175962..375ef8c533 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAPDULength.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAPDULength.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAPDUSegmentTimeout.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAPDUSegmentTimeout.go index d0154b248c..4aa9cc5703 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAPDUSegmentTimeout.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAPDUSegmentTimeout.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAPDUTimeout.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAPDUTimeout.go index 0caa467d44..287e89bd0a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAPDUTimeout.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAPDUTimeout.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAbsenteeLimit.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAbsenteeLimit.go index 4f4d9a057d..f327cbcc27 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAbsenteeLimit.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAbsenteeLimit.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAcceptedModes.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAcceptedModes.go index 28810db505..68f4fca8ff 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAcceptedModes.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAcceptedModes.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessAlarmEvents.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessAlarmEvents.go index bf764159ea..d2a2b3f9be 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessAlarmEvents.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessAlarmEvents.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessCredentialAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessCredentialAll.go index f003acce95..0fed005f52 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessCredentialAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessCredentialAll.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessDoorAlarmValues.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessDoorAlarmValues.go index d24fd37f9b..fc3fa6887f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessDoorAlarmValues.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessDoorAlarmValues.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessDoorAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessDoorAll.go index e95f03e840..6e9d5fec37 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessDoorAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessDoorAll.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessDoorFaultValues.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessDoorFaultValues.go index 3934a641d3..9f1bb956e4 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessDoorFaultValues.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessDoorFaultValues.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessDoorPresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessDoorPresentValue.go index bebdcf80a7..fd296c3c6d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessDoorPresentValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessDoorPresentValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessDoorRelinquishDefault.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessDoorRelinquishDefault.go index b760afbdf9..74bf35bdc7 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessDoorRelinquishDefault.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessDoorRelinquishDefault.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessDoors.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessDoors.go index e48b8d65f0..eafa9fb172 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessDoors.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessDoors.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessEvent.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessEvent.go index 925a2f8fe5..10439fb834 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessEvent.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessEvent.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessEventAuthenticationFactor.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessEventAuthenticationFactor.go index 892568d468..5895b67b48 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessEventAuthenticationFactor.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessEventAuthenticationFactor.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessEventCredential.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessEventCredential.go index 6ec7c9afd3..2599fbbc3b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessEventCredential.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessEventCredential.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessEventTag.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessEventTag.go index bf4af25717..1f183e3418 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessEventTag.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessEventTag.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessEventTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessEventTime.go index d519b165bf..159a5d53cb 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessEventTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessEventTime.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -82,8 +84,6 @@ type BACnetConstructedDataAccessEventTimeBuilder interface { WithMandatoryFields(accessEventTime BACnetTimeStamp) BACnetConstructedDataAccessEventTimeBuilder // WithAccessEventTime adds AccessEventTime (property field) WithAccessEventTime(BACnetTimeStamp) BACnetConstructedDataAccessEventTimeBuilder - // WithAccessEventTimeBuilder adds AccessEventTime (property field) which is build by the builder - WithAccessEventTimeBuilder(func(BACnetTimeStampBuilder) BACnetTimeStampBuilder) BACnetConstructedDataAccessEventTimeBuilder // Build builds the BACnetConstructedDataAccessEventTime or returns an error if something is wrong Build() (BACnetConstructedDataAccessEventTime, error) // MustBuild does the same as Build but panics on error @@ -112,19 +112,6 @@ func (m *_BACnetConstructedDataAccessEventTimeBuilder) WithAccessEventTime(acces return m } -func (m *_BACnetConstructedDataAccessEventTimeBuilder) WithAccessEventTimeBuilder(builderSupplier func(BACnetTimeStampBuilder) BACnetTimeStampBuilder) BACnetConstructedDataAccessEventTimeBuilder { - builder := builderSupplier(m.AccessEventTime.CreateBACnetTimeStampBuilder()) - var err error - m.AccessEventTime, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetTimeStampBuilder failed")) - } - return m -} - func (m *_BACnetConstructedDataAccessEventTimeBuilder) Build() (BACnetConstructedDataAccessEventTime, error) { if m.AccessEventTime == nil { if m.err == nil { diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessPointAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessPointAll.go index 1b850702b2..560238e7e5 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessPointAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessPointAll.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessRightsAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessRightsAll.go index df6c038e41..303ada040c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessRightsAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessRightsAll.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessTransactionEvents.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessTransactionEvents.go index 8eaef20ebd..5a872759f7 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessTransactionEvents.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessTransactionEvents.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessUserAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessUserAll.go index 37c07405e6..4a06bfbe1b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessUserAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessUserAll.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessZoneAdjustValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessZoneAdjustValue.go index fdbd436e78..04de91db28 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessZoneAdjustValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessZoneAdjustValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessZoneAlarmValues.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessZoneAlarmValues.go index 5d06979aad..4d06be7e15 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessZoneAlarmValues.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessZoneAlarmValues.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessZoneAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessZoneAll.go index edb8f65e1f..5ca27d2f04 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessZoneAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessZoneAll.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccompaniment.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccompaniment.go index dab694c46e..4c4e70656b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccompaniment.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccompaniment.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccompanimentTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccompanimentTime.go index d4758665dc..07047dfd6d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccompanimentTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccompanimentTime.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorAll.go index f62d5013be..87f5985334 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorAll.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorFaultHighLimit.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorFaultHighLimit.go index dde298c5f5..153dcf6b07 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorFaultHighLimit.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorFaultHighLimit.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorFaultLowLimit.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorFaultLowLimit.go index bb748aecb5..677b29ab94 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorFaultLowLimit.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorFaultLowLimit.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorHighLimit.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorHighLimit.go index 7d43284804..c285d2664b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorHighLimit.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorHighLimit.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorLowLimit.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorLowLimit.go index 30a1922e39..875829f1d4 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorLowLimit.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorLowLimit.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorMaxPresValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorMaxPresValue.go index 7900909bf7..d749e1fa0f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorMaxPresValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorMaxPresValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorMinPresValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorMinPresValue.go index af78699a90..8dda55fe94 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorMinPresValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorMinPresValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAckRequired.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAckRequired.go index 6cbd3b5f0f..3b7ae8fc18 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAckRequired.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAckRequired.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAckedTransitions.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAckedTransitions.go index 1565f992d6..c64da8addb 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAckedTransitions.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAckedTransitions.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAction.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAction.go index 2ada440468..62d24a5793 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAction.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAction.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActionText.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActionText.go index 40ac91aff3..d368406bda 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActionText.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActionText.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActivationTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActivationTime.go index 77668caa37..7b9633610c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActivationTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActivationTime.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActiveAuthenticationPolicy.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActiveAuthenticationPolicy.go index 2ec115d4c2..565ac95207 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActiveAuthenticationPolicy.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActiveAuthenticationPolicy.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActiveCOVMultipleSubscriptions.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActiveCOVMultipleSubscriptions.go index 27b02d7f71..afed27e6e8 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActiveCOVMultipleSubscriptions.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActiveCOVMultipleSubscriptions.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActiveCOVSubscriptions.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActiveCOVSubscriptions.go index a8c59c571a..8b3063e09d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActiveCOVSubscriptions.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActiveCOVSubscriptions.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActiveText.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActiveText.go index 8bd5ca28f6..ed8359fb0c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActiveText.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActiveText.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActiveVTSessions.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActiveVTSessions.go index 625b678424..f4e50ac085 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActiveVTSessions.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActiveVTSessions.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActualShedLevel.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActualShedLevel.go index c14db0bae6..b5a1069c18 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActualShedLevel.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActualShedLevel.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -82,8 +84,6 @@ type BACnetConstructedDataActualShedLevelBuilder interface { WithMandatoryFields(actualShedLevel BACnetShedLevel) BACnetConstructedDataActualShedLevelBuilder // WithActualShedLevel adds ActualShedLevel (property field) WithActualShedLevel(BACnetShedLevel) BACnetConstructedDataActualShedLevelBuilder - // WithActualShedLevelBuilder adds ActualShedLevel (property field) which is build by the builder - WithActualShedLevelBuilder(func(BACnetShedLevelBuilder) BACnetShedLevelBuilder) BACnetConstructedDataActualShedLevelBuilder // Build builds the BACnetConstructedDataActualShedLevel or returns an error if something is wrong Build() (BACnetConstructedDataActualShedLevel, error) // MustBuild does the same as Build but panics on error @@ -112,19 +112,6 @@ func (m *_BACnetConstructedDataActualShedLevelBuilder) WithActualShedLevel(actua return m } -func (m *_BACnetConstructedDataActualShedLevelBuilder) WithActualShedLevelBuilder(builderSupplier func(BACnetShedLevelBuilder) BACnetShedLevelBuilder) BACnetConstructedDataActualShedLevelBuilder { - builder := builderSupplier(m.ActualShedLevel.CreateBACnetShedLevelBuilder()) - var err error - m.ActualShedLevel, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetShedLevelBuilder failed")) - } - return m -} - func (m *_BACnetConstructedDataActualShedLevelBuilder) Build() (BACnetConstructedDataActualShedLevel, error) { if m.ActualShedLevel == nil { if m.err == nil { diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAdjustValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAdjustValue.go index a17be2ee80..805afdce42 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAdjustValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAdjustValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAlarmValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAlarmValue.go index 9cd9727603..9042f314d4 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAlarmValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAlarmValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAlarmValues.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAlarmValues.go index 46b1232990..3c01f8ddce 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAlarmValues.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAlarmValues.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAlertEnrollmentAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAlertEnrollmentAll.go index 2589237eed..23a208a8a2 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAlertEnrollmentAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAlertEnrollmentAll.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAlertEnrollmentPresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAlertEnrollmentPresentValue.go index 80123cc63d..e9eed629bc 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAlertEnrollmentPresentValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAlertEnrollmentPresentValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAlignIntervals.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAlignIntervals.go index c86dfc3de5..09e92697cf 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAlignIntervals.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAlignIntervals.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAllWritesSuccessful.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAllWritesSuccessful.go index 9a23477e72..b942a0c827 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAllWritesSuccessful.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAllWritesSuccessful.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAllowGroupDelayInhibit.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAllowGroupDelayInhibit.go index 1c56214292..ca06570dc9 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAllowGroupDelayInhibit.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAllowGroupDelayInhibit.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogInputAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogInputAll.go index ca46dd93cd..5d9fe217ae 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogInputAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogInputAll.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogInputFaultHighLimit.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogInputFaultHighLimit.go index 9955930ce1..c38c70eb45 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogInputFaultHighLimit.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogInputFaultHighLimit.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogInputFaultLowLimit.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogInputFaultLowLimit.go index e22f0fc479..0f6dbf22fb 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogInputFaultLowLimit.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogInputFaultLowLimit.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogInputInterfaceValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogInputInterfaceValue.go index adbc9e4574..8dbb7209ef 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogInputInterfaceValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogInputInterfaceValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -82,8 +84,6 @@ type BACnetConstructedDataAnalogInputInterfaceValueBuilder interface { WithMandatoryFields(interfaceValue BACnetOptionalREAL) BACnetConstructedDataAnalogInputInterfaceValueBuilder // WithInterfaceValue adds InterfaceValue (property field) WithInterfaceValue(BACnetOptionalREAL) BACnetConstructedDataAnalogInputInterfaceValueBuilder - // WithInterfaceValueBuilder adds InterfaceValue (property field) which is build by the builder - WithInterfaceValueBuilder(func(BACnetOptionalREALBuilder) BACnetOptionalREALBuilder) BACnetConstructedDataAnalogInputInterfaceValueBuilder // Build builds the BACnetConstructedDataAnalogInputInterfaceValue or returns an error if something is wrong Build() (BACnetConstructedDataAnalogInputInterfaceValue, error) // MustBuild does the same as Build but panics on error @@ -112,19 +112,6 @@ func (m *_BACnetConstructedDataAnalogInputInterfaceValueBuilder) WithInterfaceVa return m } -func (m *_BACnetConstructedDataAnalogInputInterfaceValueBuilder) WithInterfaceValueBuilder(builderSupplier func(BACnetOptionalREALBuilder) BACnetOptionalREALBuilder) BACnetConstructedDataAnalogInputInterfaceValueBuilder { - builder := builderSupplier(m.InterfaceValue.CreateBACnetOptionalREALBuilder()) - var err error - m.InterfaceValue, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetOptionalREALBuilder failed")) - } - return m -} - func (m *_BACnetConstructedDataAnalogInputInterfaceValueBuilder) Build() (BACnetConstructedDataAnalogInputInterfaceValue, error) { if m.InterfaceValue == nil { if m.err == nil { diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogInputMaxPresValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogInputMaxPresValue.go index 30604bbf84..4a58cd32c4 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogInputMaxPresValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogInputMaxPresValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogInputPresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogInputPresentValue.go index b4cf1f6afc..d244bd4313 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogInputPresentValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogInputPresentValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogOutputAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogOutputAll.go index 72ec4af597..110dedcd35 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogOutputAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogOutputAll.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogOutputInterfaceValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogOutputInterfaceValue.go index 0a62173bf9..d203043e22 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogOutputInterfaceValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogOutputInterfaceValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -82,8 +84,6 @@ type BACnetConstructedDataAnalogOutputInterfaceValueBuilder interface { WithMandatoryFields(interfaceValue BACnetOptionalREAL) BACnetConstructedDataAnalogOutputInterfaceValueBuilder // WithInterfaceValue adds InterfaceValue (property field) WithInterfaceValue(BACnetOptionalREAL) BACnetConstructedDataAnalogOutputInterfaceValueBuilder - // WithInterfaceValueBuilder adds InterfaceValue (property field) which is build by the builder - WithInterfaceValueBuilder(func(BACnetOptionalREALBuilder) BACnetOptionalREALBuilder) BACnetConstructedDataAnalogOutputInterfaceValueBuilder // Build builds the BACnetConstructedDataAnalogOutputInterfaceValue or returns an error if something is wrong Build() (BACnetConstructedDataAnalogOutputInterfaceValue, error) // MustBuild does the same as Build but panics on error @@ -112,19 +112,6 @@ func (m *_BACnetConstructedDataAnalogOutputInterfaceValueBuilder) WithInterfaceV return m } -func (m *_BACnetConstructedDataAnalogOutputInterfaceValueBuilder) WithInterfaceValueBuilder(builderSupplier func(BACnetOptionalREALBuilder) BACnetOptionalREALBuilder) BACnetConstructedDataAnalogOutputInterfaceValueBuilder { - builder := builderSupplier(m.InterfaceValue.CreateBACnetOptionalREALBuilder()) - var err error - m.InterfaceValue, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetOptionalREALBuilder failed")) - } - return m -} - func (m *_BACnetConstructedDataAnalogOutputInterfaceValueBuilder) Build() (BACnetConstructedDataAnalogOutputInterfaceValue, error) { if m.InterfaceValue == nil { if m.err == nil { diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogOutputMaxPresValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogOutputMaxPresValue.go index 75cc381b9a..ea4f676dec 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogOutputMaxPresValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogOutputMaxPresValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogOutputPresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogOutputPresentValue.go index 0f15cde61e..edd467654e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogOutputPresentValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogOutputPresentValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogOutputRelinquishDefault.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogOutputRelinquishDefault.go index 054cf494ec..e1ed8b2b40 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogOutputRelinquishDefault.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogOutputRelinquishDefault.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogValueAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogValueAll.go index 339cc929eb..203c608ef4 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogValueAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogValueAll.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogValueFaultHighLimit.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogValueFaultHighLimit.go index 4bc4484a41..74ba4800fa 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogValueFaultHighLimit.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogValueFaultHighLimit.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogValueFaultLowLimit.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogValueFaultLowLimit.go index eee5aae3ef..caa0a27f4d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogValueFaultLowLimit.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogValueFaultLowLimit.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogValueMaxPresValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogValueMaxPresValue.go index 2e20e6c118..0104f97157 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogValueMaxPresValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogValueMaxPresValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogValuePresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogValuePresentValue.go index 01d11e39c2..1ac0506391 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogValuePresentValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogValuePresentValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogValueRelinquishDefault.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogValueRelinquishDefault.go index fc926ecbcd..384ef42344 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogValueRelinquishDefault.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogValueRelinquishDefault.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataApplicationSoftwareVersion.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataApplicationSoftwareVersion.go index bb4c1d4026..ded96f7411 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataApplicationSoftwareVersion.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataApplicationSoftwareVersion.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataArchive.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataArchive.go index cd4c116321..5eca99f9d9 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataArchive.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataArchive.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAssignedAccessRights.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAssignedAccessRights.go index 39a73c40f2..47b6311b18 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAssignedAccessRights.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAssignedAccessRights.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAssignedLandingCalls.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAssignedLandingCalls.go index 514bf37669..6ae872f4c1 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAssignedLandingCalls.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAssignedLandingCalls.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAttemptedSamples.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAttemptedSamples.go index 37339f5ce1..1c59120f3a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAttemptedSamples.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAttemptedSamples.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAuthenticationFactors.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAuthenticationFactors.go index 0e3db38d19..e262b08837 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAuthenticationFactors.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAuthenticationFactors.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAuthenticationPolicyList.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAuthenticationPolicyList.go index cd38ae5fab..731bae1091 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAuthenticationPolicyList.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAuthenticationPolicyList.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAuthenticationPolicyNames.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAuthenticationPolicyNames.go index 9722c5e88a..f08ac0eceb 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAuthenticationPolicyNames.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAuthenticationPolicyNames.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAuthenticationStatus.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAuthenticationStatus.go index 83b7a854ba..26f32e16d3 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAuthenticationStatus.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAuthenticationStatus.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAuthorizationExemptions.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAuthorizationExemptions.go index 0dacbb4882..44785545a8 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAuthorizationExemptions.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAuthorizationExemptions.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAuthorizationMode.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAuthorizationMode.go index 83ee46f389..0698b208f5 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAuthorizationMode.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAuthorizationMode.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAutoSlaveDiscovery.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAutoSlaveDiscovery.go index 03b545a4bc..a655f8add0 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAutoSlaveDiscovery.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAutoSlaveDiscovery.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAverageValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAverageValue.go index be04826826..697122ada7 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAverageValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAverageValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAveragingAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAveragingAll.go index c5ea986b82..65e511f114 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAveragingAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAveragingAll.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPGlobalAddress.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPGlobalAddress.go index b4808883fe..061aac8283 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPGlobalAddress.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPGlobalAddress.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPMode.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPMode.go index 50934a616f..23cf1acb43 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPMode.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPMode.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPMulticastAddress.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPMulticastAddress.go index 406a44e72f..1134f0e6fe 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPMulticastAddress.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPMulticastAddress.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPNATTraversal.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPNATTraversal.go index 93116fb830..3fcdb6e128 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPNATTraversal.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPNATTraversal.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPUDPPort.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPUDPPort.go index 4f51fc9050..50cbc17890 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPUDPPort.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPUDPPort.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPv6Mode.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPv6Mode.go index 37588a189f..602c5f1a4c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPv6Mode.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPv6Mode.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPv6MulticastAddress.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPv6MulticastAddress.go index f19eb43b81..51348f28d5 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPv6MulticastAddress.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPv6MulticastAddress.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPv6UDPPort.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPv6UDPPort.go index d21b3d20cd..313b005353 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPv6UDPPort.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPv6UDPPort.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBBMDAcceptFDRegistrations.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBBMDAcceptFDRegistrations.go index 9aa20126d9..1e432332b2 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBBMDAcceptFDRegistrations.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBBMDAcceptFDRegistrations.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBBMDBroadcastDistributionTable.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBBMDBroadcastDistributionTable.go index 6e65b450b3..0fba79edb7 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBBMDBroadcastDistributionTable.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBBMDBroadcastDistributionTable.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBBMDForeignDeviceTable.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBBMDForeignDeviceTable.go index 957070adf6..ef46d8c4f5 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBBMDForeignDeviceTable.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBBMDForeignDeviceTable.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBackupAndRestoreState.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBackupAndRestoreState.go index 7e1be23591..311be16461 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBackupAndRestoreState.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBackupAndRestoreState.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBackupFailureTimeout.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBackupFailureTimeout.go index 29b3e9fa63..bec7714c4e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBackupFailureTimeout.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBackupFailureTimeout.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBackupPreparationTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBackupPreparationTime.go index 0b6aaefb5d..6cce655701 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBackupPreparationTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBackupPreparationTime.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBaseDeviceSecurityPolicy.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBaseDeviceSecurityPolicy.go index ae0cdd906f..6cebf08973 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBaseDeviceSecurityPolicy.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBaseDeviceSecurityPolicy.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBelongsTo.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBelongsTo.go index fac8adc527..12201d15bd 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBelongsTo.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBelongsTo.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBias.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBias.go index 9711002ad0..4022cabed0 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBias.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBias.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryInputAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryInputAll.go index b1e0794590..697f494d2b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryInputAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryInputAll.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryInputInterfaceValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryInputInterfaceValue.go index a98136f985..d1ae215b86 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryInputInterfaceValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryInputInterfaceValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -82,8 +84,6 @@ type BACnetConstructedDataBinaryInputInterfaceValueBuilder interface { WithMandatoryFields(interfaceValue BACnetOptionalBinaryPV) BACnetConstructedDataBinaryInputInterfaceValueBuilder // WithInterfaceValue adds InterfaceValue (property field) WithInterfaceValue(BACnetOptionalBinaryPV) BACnetConstructedDataBinaryInputInterfaceValueBuilder - // WithInterfaceValueBuilder adds InterfaceValue (property field) which is build by the builder - WithInterfaceValueBuilder(func(BACnetOptionalBinaryPVBuilder) BACnetOptionalBinaryPVBuilder) BACnetConstructedDataBinaryInputInterfaceValueBuilder // Build builds the BACnetConstructedDataBinaryInputInterfaceValue or returns an error if something is wrong Build() (BACnetConstructedDataBinaryInputInterfaceValue, error) // MustBuild does the same as Build but panics on error @@ -112,19 +112,6 @@ func (m *_BACnetConstructedDataBinaryInputInterfaceValueBuilder) WithInterfaceVa return m } -func (m *_BACnetConstructedDataBinaryInputInterfaceValueBuilder) WithInterfaceValueBuilder(builderSupplier func(BACnetOptionalBinaryPVBuilder) BACnetOptionalBinaryPVBuilder) BACnetConstructedDataBinaryInputInterfaceValueBuilder { - builder := builderSupplier(m.InterfaceValue.CreateBACnetOptionalBinaryPVBuilder()) - var err error - m.InterfaceValue, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetOptionalBinaryPVBuilder failed")) - } - return m -} - func (m *_BACnetConstructedDataBinaryInputInterfaceValueBuilder) Build() (BACnetConstructedDataBinaryInputInterfaceValue, error) { if m.InterfaceValue == nil { if m.err == nil { diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryInputPresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryInputPresentValue.go index f2dc027f9f..7313ffabcd 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryInputPresentValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryInputPresentValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryLightingOutputAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryLightingOutputAll.go index 4903516bfd..601ae42a13 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryLightingOutputAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryLightingOutputAll.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryLightingOutputFeedbackValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryLightingOutputFeedbackValue.go index d6143ba4f3..47eb16c98a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryLightingOutputFeedbackValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryLightingOutputFeedbackValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryLightingOutputPresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryLightingOutputPresentValue.go index 293ff4b731..25bbd246f8 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryLightingOutputPresentValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryLightingOutputPresentValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryLightingOutputRelinquishDefault.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryLightingOutputRelinquishDefault.go index f281e07c7b..e7828ed488 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryLightingOutputRelinquishDefault.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryLightingOutputRelinquishDefault.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryOutputAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryOutputAll.go index 228ff6cc69..03a86308d0 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryOutputAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryOutputAll.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryOutputFeedbackValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryOutputFeedbackValue.go index fb66f8f3b2..1fdc06f62e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryOutputFeedbackValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryOutputFeedbackValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryOutputInterfaceValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryOutputInterfaceValue.go index 67eaba822a..c82cb62ba9 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryOutputInterfaceValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryOutputInterfaceValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -82,8 +84,6 @@ type BACnetConstructedDataBinaryOutputInterfaceValueBuilder interface { WithMandatoryFields(interfaceValue BACnetOptionalBinaryPV) BACnetConstructedDataBinaryOutputInterfaceValueBuilder // WithInterfaceValue adds InterfaceValue (property field) WithInterfaceValue(BACnetOptionalBinaryPV) BACnetConstructedDataBinaryOutputInterfaceValueBuilder - // WithInterfaceValueBuilder adds InterfaceValue (property field) which is build by the builder - WithInterfaceValueBuilder(func(BACnetOptionalBinaryPVBuilder) BACnetOptionalBinaryPVBuilder) BACnetConstructedDataBinaryOutputInterfaceValueBuilder // Build builds the BACnetConstructedDataBinaryOutputInterfaceValue or returns an error if something is wrong Build() (BACnetConstructedDataBinaryOutputInterfaceValue, error) // MustBuild does the same as Build but panics on error @@ -112,19 +112,6 @@ func (m *_BACnetConstructedDataBinaryOutputInterfaceValueBuilder) WithInterfaceV return m } -func (m *_BACnetConstructedDataBinaryOutputInterfaceValueBuilder) WithInterfaceValueBuilder(builderSupplier func(BACnetOptionalBinaryPVBuilder) BACnetOptionalBinaryPVBuilder) BACnetConstructedDataBinaryOutputInterfaceValueBuilder { - builder := builderSupplier(m.InterfaceValue.CreateBACnetOptionalBinaryPVBuilder()) - var err error - m.InterfaceValue, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetOptionalBinaryPVBuilder failed")) - } - return m -} - func (m *_BACnetConstructedDataBinaryOutputInterfaceValueBuilder) Build() (BACnetConstructedDataBinaryOutputInterfaceValue, error) { if m.InterfaceValue == nil { if m.err == nil { diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryOutputPresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryOutputPresentValue.go index b7aaed7a64..a56633935e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryOutputPresentValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryOutputPresentValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryOutputRelinquishDefault.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryOutputRelinquishDefault.go index 8d5efb7ab3..845b51b85f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryOutputRelinquishDefault.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryOutputRelinquishDefault.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryValueAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryValueAll.go index 036cbb3b31..82c76079cb 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryValueAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryValueAll.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryValuePresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryValuePresentValue.go index 16d6707f6f..e3912d084c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryValuePresentValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryValuePresentValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryValueRelinquishDefault.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryValueRelinquishDefault.go index b06078c0e9..3f8009eba8 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryValueRelinquishDefault.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryValueRelinquishDefault.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBitMask.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBitMask.go index 4083d2938e..ee05b89fae 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBitMask.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBitMask.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBitStringValueAlarmValues.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBitStringValueAlarmValues.go index d612ba2a8b..4c5ed17415 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBitStringValueAlarmValues.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBitStringValueAlarmValues.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBitStringValuePresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBitStringValuePresentValue.go index 5ab84612fd..f94dc11b69 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBitStringValuePresentValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBitStringValuePresentValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBitStringValueRelinquishDefault.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBitStringValueRelinquishDefault.go index 4879bc7a31..3e7ab648a8 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBitStringValueRelinquishDefault.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBitStringValueRelinquishDefault.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBitText.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBitText.go index 8c241bd24c..658586311d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBitText.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBitText.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBitstringValueAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBitstringValueAll.go index 93473e9d05..7b697dcf09 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBitstringValueAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBitstringValueAll.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBlinkWarnEnable.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBlinkWarnEnable.go index bbcf62bef3..a604de41b0 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBlinkWarnEnable.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBlinkWarnEnable.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBufferSize.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBufferSize.go index 0fc263a198..79502213b3 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBufferSize.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBufferSize.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCOVIncrement.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCOVIncrement.go index eec4ecf8dd..08dad411b6 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCOVIncrement.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCOVIncrement.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCOVPeriod.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCOVPeriod.go index 54aec06282..3fecf0281a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCOVPeriod.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCOVPeriod.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCOVResubscriptionInterval.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCOVResubscriptionInterval.go index 1c09f628cf..94a2490bfc 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCOVResubscriptionInterval.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCOVResubscriptionInterval.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCOVUPeriod.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCOVUPeriod.go index b575909775..f91a1dff9d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCOVUPeriod.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCOVUPeriod.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCOVURecipients.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCOVURecipients.go index 5242c6b6e0..21f2e6a03d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCOVURecipients.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCOVURecipients.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCalendarAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCalendarAll.go index 05a663d9de..d16208bcf7 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCalendarAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCalendarAll.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCalendarPresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCalendarPresentValue.go index 96dd925bf5..cbaf477c90 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCalendarPresentValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCalendarPresentValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarAssignedDirection.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarAssignedDirection.go index c5ddb7fd62..d13792387f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarAssignedDirection.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarAssignedDirection.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarDoorCommand.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarDoorCommand.go index b7aaecb724..8c4347b264 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarDoorCommand.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarDoorCommand.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarDoorStatus.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarDoorStatus.go index b9514bd3a9..877f6b630e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarDoorStatus.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarDoorStatus.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarDoorText.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarDoorText.go index 249009769a..8c59b2184d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarDoorText.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarDoorText.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarDoorZone.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarDoorZone.go index fade5022a7..edc8f844d2 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarDoorZone.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarDoorZone.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarDriveStatus.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarDriveStatus.go index b4250200aa..f9ddeeb63b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarDriveStatus.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarDriveStatus.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarLoad.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarLoad.go index 556fda0e9a..a849372b99 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarLoad.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarLoad.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarLoadUnits.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarLoadUnits.go index a8bd0293d6..6d22d7390d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarLoadUnits.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarLoadUnits.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarMode.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarMode.go index 5d6184a8b0..4796965c2f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarMode.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarMode.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarMovingDirection.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarMovingDirection.go index 6f370feb17..55186553a8 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarMovingDirection.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarMovingDirection.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarPosition.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarPosition.go index e260a6f288..ba4db92048 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarPosition.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarPosition.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChangeOfStateCount.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChangeOfStateCount.go index d0b715b6b4..789f9df4d1 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChangeOfStateCount.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChangeOfStateCount.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChangeOfStateTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChangeOfStateTime.go index 839bb218af..02f5351f09 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChangeOfStateTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChangeOfStateTime.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChangesPending.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChangesPending.go index 52f1d81b59..c4125d701d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChangesPending.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChangesPending.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChannelAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChannelAll.go index fbdfda5b39..9bc35b5f8d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChannelAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChannelAll.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChannelListOfObjectPropertyReferences.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChannelListOfObjectPropertyReferences.go index b3178e0c9e..1e9e277311 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChannelListOfObjectPropertyReferences.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChannelListOfObjectPropertyReferences.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChannelNumber.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChannelNumber.go index 5317cdfab8..936b723cae 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChannelNumber.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChannelNumber.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChannelPresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChannelPresentValue.go index 6fba3ffcc7..ff54b28ac5 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChannelPresentValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChannelPresentValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -82,8 +84,6 @@ type BACnetConstructedDataChannelPresentValueBuilder interface { WithMandatoryFields(presentValue BACnetChannelValue) BACnetConstructedDataChannelPresentValueBuilder // WithPresentValue adds PresentValue (property field) WithPresentValue(BACnetChannelValue) BACnetConstructedDataChannelPresentValueBuilder - // WithPresentValueBuilder adds PresentValue (property field) which is build by the builder - WithPresentValueBuilder(func(BACnetChannelValueBuilder) BACnetChannelValueBuilder) BACnetConstructedDataChannelPresentValueBuilder // Build builds the BACnetConstructedDataChannelPresentValue or returns an error if something is wrong Build() (BACnetConstructedDataChannelPresentValue, error) // MustBuild does the same as Build but panics on error @@ -112,19 +112,6 @@ func (m *_BACnetConstructedDataChannelPresentValueBuilder) WithPresentValue(pres return m } -func (m *_BACnetConstructedDataChannelPresentValueBuilder) WithPresentValueBuilder(builderSupplier func(BACnetChannelValueBuilder) BACnetChannelValueBuilder) BACnetConstructedDataChannelPresentValueBuilder { - builder := builderSupplier(m.PresentValue.CreateBACnetChannelValueBuilder()) - var err error - m.PresentValue, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetChannelValueBuilder failed")) - } - return m -} - func (m *_BACnetConstructedDataChannelPresentValueBuilder) Build() (BACnetConstructedDataChannelPresentValue, error) { if m.PresentValue == nil { if m.err == nil { diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCharacterStringValueAlarmValues.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCharacterStringValueAlarmValues.go index 13854f6d53..f218f695b3 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCharacterStringValueAlarmValues.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCharacterStringValueAlarmValues.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCharacterStringValueFaultValues.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCharacterStringValueFaultValues.go index ca550e0edf..d0734b445e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCharacterStringValueFaultValues.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCharacterStringValueFaultValues.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCharacterStringValuePresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCharacterStringValuePresentValue.go index 4de51ae9a9..570b258b15 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCharacterStringValuePresentValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCharacterStringValuePresentValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCharacterStringValueRelinquishDefault.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCharacterStringValueRelinquishDefault.go index 7068750a99..dc6f0f70e3 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCharacterStringValueRelinquishDefault.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCharacterStringValueRelinquishDefault.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCharacterstringValueAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCharacterstringValueAll.go index 3951ba9e43..287742cbfc 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCharacterstringValueAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCharacterstringValueAll.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataClientCOVIncrement.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataClientCOVIncrement.go index 952647be31..717e893089 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataClientCOVIncrement.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataClientCOVIncrement.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -82,8 +84,6 @@ type BACnetConstructedDataClientCOVIncrementBuilder interface { WithMandatoryFields(covIncrement BACnetClientCOV) BACnetConstructedDataClientCOVIncrementBuilder // WithCovIncrement adds CovIncrement (property field) WithCovIncrement(BACnetClientCOV) BACnetConstructedDataClientCOVIncrementBuilder - // WithCovIncrementBuilder adds CovIncrement (property field) which is build by the builder - WithCovIncrementBuilder(func(BACnetClientCOVBuilder) BACnetClientCOVBuilder) BACnetConstructedDataClientCOVIncrementBuilder // Build builds the BACnetConstructedDataClientCOVIncrement or returns an error if something is wrong Build() (BACnetConstructedDataClientCOVIncrement, error) // MustBuild does the same as Build but panics on error @@ -112,19 +112,6 @@ func (m *_BACnetConstructedDataClientCOVIncrementBuilder) WithCovIncrement(covIn return m } -func (m *_BACnetConstructedDataClientCOVIncrementBuilder) WithCovIncrementBuilder(builderSupplier func(BACnetClientCOVBuilder) BACnetClientCOVBuilder) BACnetConstructedDataClientCOVIncrementBuilder { - builder := builderSupplier(m.CovIncrement.CreateBACnetClientCOVBuilder()) - var err error - m.CovIncrement, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetClientCOVBuilder failed")) - } - return m -} - func (m *_BACnetConstructedDataClientCOVIncrementBuilder) Build() (BACnetConstructedDataClientCOVIncrement, error) { if m.CovIncrement == nil { if m.err == nil { diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCommand.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCommand.go index 7700eea91d..d5b1e32d0f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCommand.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCommand.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCommandAction.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCommandAction.go index 517128e089..d3156ffc17 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCommandAction.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCommandAction.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCommandAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCommandAll.go index 5e24347b5a..9984dfc5a4 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCommandAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCommandAll.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCommandTimeArray.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCommandTimeArray.go index adf987eda9..80cb1a6459 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCommandTimeArray.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCommandTimeArray.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataConfigurationFiles.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataConfigurationFiles.go index 52288438af..209e054d4b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataConfigurationFiles.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataConfigurationFiles.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataControlGroups.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataControlGroups.go index 12fee2918f..6af8a30a3b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataControlGroups.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataControlGroups.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataControlledVariableReference.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataControlledVariableReference.go index ec45ca6be7..b38da83d3c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataControlledVariableReference.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataControlledVariableReference.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataControlledVariableUnits.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataControlledVariableUnits.go index 1873d4b045..bcfcd162cf 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataControlledVariableUnits.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataControlledVariableUnits.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataControlledVariableValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataControlledVariableValue.go index c992d8494b..86148460c0 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataControlledVariableValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataControlledVariableValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCount.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCount.go index 345c99524c..955aa9d7ef 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCount.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCount.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCountBeforeChange.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCountBeforeChange.go index aec6a55130..33b2192969 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCountBeforeChange.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCountBeforeChange.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCountChangeTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCountChangeTime.go index c74450e5fe..358f16a4a9 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCountChangeTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCountChangeTime.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentialDataInputAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentialDataInputAll.go index 1df0687f0a..f94d05cc13 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentialDataInputAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentialDataInputAll.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentialDataInputPresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentialDataInputPresentValue.go index 58341719c9..006436ae96 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentialDataInputPresentValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentialDataInputPresentValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentialDataInputUpdateTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentialDataInputUpdateTime.go index e6b4bd4278..a6bbadfc8e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentialDataInputUpdateTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentialDataInputUpdateTime.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -82,8 +84,6 @@ type BACnetConstructedDataCredentialDataInputUpdateTimeBuilder interface { WithMandatoryFields(updateTime BACnetTimeStamp) BACnetConstructedDataCredentialDataInputUpdateTimeBuilder // WithUpdateTime adds UpdateTime (property field) WithUpdateTime(BACnetTimeStamp) BACnetConstructedDataCredentialDataInputUpdateTimeBuilder - // WithUpdateTimeBuilder adds UpdateTime (property field) which is build by the builder - WithUpdateTimeBuilder(func(BACnetTimeStampBuilder) BACnetTimeStampBuilder) BACnetConstructedDataCredentialDataInputUpdateTimeBuilder // Build builds the BACnetConstructedDataCredentialDataInputUpdateTime or returns an error if something is wrong Build() (BACnetConstructedDataCredentialDataInputUpdateTime, error) // MustBuild does the same as Build but panics on error @@ -112,19 +112,6 @@ func (m *_BACnetConstructedDataCredentialDataInputUpdateTimeBuilder) WithUpdateT return m } -func (m *_BACnetConstructedDataCredentialDataInputUpdateTimeBuilder) WithUpdateTimeBuilder(builderSupplier func(BACnetTimeStampBuilder) BACnetTimeStampBuilder) BACnetConstructedDataCredentialDataInputUpdateTimeBuilder { - builder := builderSupplier(m.UpdateTime.CreateBACnetTimeStampBuilder()) - var err error - m.UpdateTime, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetTimeStampBuilder failed")) - } - return m -} - func (m *_BACnetConstructedDataCredentialDataInputUpdateTimeBuilder) Build() (BACnetConstructedDataCredentialDataInputUpdateTime, error) { if m.UpdateTime == nil { if m.err == nil { diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentialDisable.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentialDisable.go index 3eca104391..76af2a9637 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentialDisable.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentialDisable.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentialStatus.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentialStatus.go index c69218b99f..fc6c56dc9a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentialStatus.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentialStatus.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentials.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentials.go index 2b4ee75e30..c068285ee9 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentials.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentials.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentialsInZone.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentialsInZone.go index a54f10a31f..2cb2939560 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentialsInZone.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentialsInZone.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCurrentCommandPriority.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCurrentCommandPriority.go index c0eefd1a4f..98657feff1 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCurrentCommandPriority.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCurrentCommandPriority.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -82,8 +84,6 @@ type BACnetConstructedDataCurrentCommandPriorityBuilder interface { WithMandatoryFields(currentCommandPriority BACnetOptionalUnsigned) BACnetConstructedDataCurrentCommandPriorityBuilder // WithCurrentCommandPriority adds CurrentCommandPriority (property field) WithCurrentCommandPriority(BACnetOptionalUnsigned) BACnetConstructedDataCurrentCommandPriorityBuilder - // WithCurrentCommandPriorityBuilder adds CurrentCommandPriority (property field) which is build by the builder - WithCurrentCommandPriorityBuilder(func(BACnetOptionalUnsignedBuilder) BACnetOptionalUnsignedBuilder) BACnetConstructedDataCurrentCommandPriorityBuilder // Build builds the BACnetConstructedDataCurrentCommandPriority or returns an error if something is wrong Build() (BACnetConstructedDataCurrentCommandPriority, error) // MustBuild does the same as Build but panics on error @@ -112,19 +112,6 @@ func (m *_BACnetConstructedDataCurrentCommandPriorityBuilder) WithCurrentCommand return m } -func (m *_BACnetConstructedDataCurrentCommandPriorityBuilder) WithCurrentCommandPriorityBuilder(builderSupplier func(BACnetOptionalUnsignedBuilder) BACnetOptionalUnsignedBuilder) BACnetConstructedDataCurrentCommandPriorityBuilder { - builder := builderSupplier(m.CurrentCommandPriority.CreateBACnetOptionalUnsignedBuilder()) - var err error - m.CurrentCommandPriority, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetOptionalUnsignedBuilder failed")) - } - return m -} - func (m *_BACnetConstructedDataCurrentCommandPriorityBuilder) Build() (BACnetConstructedDataCurrentCommandPriority, error) { if m.CurrentCommandPriority == nil { if m.err == nil { diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDatabaseRevision.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDatabaseRevision.go index ba0761fe86..598a06a5c6 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDatabaseRevision.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDatabaseRevision.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateList.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateList.go index 3d8c458a25..a58859c24d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateList.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateList.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDatePatternValuePresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDatePatternValuePresentValue.go index 243f447a63..2a175f2090 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDatePatternValuePresentValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDatePatternValuePresentValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDatePatternValueRelinquishDefault.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDatePatternValueRelinquishDefault.go index fbbd1d42c8..e60b1e7cc2 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDatePatternValueRelinquishDefault.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDatePatternValueRelinquishDefault.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateTimePatternValuePresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateTimePatternValuePresentValue.go index 2f06f598c3..7f64f4a7fd 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateTimePatternValuePresentValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateTimePatternValuePresentValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateTimePatternValueRelinquishDefault.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateTimePatternValueRelinquishDefault.go index f4ce412cbb..fd074514f9 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateTimePatternValueRelinquishDefault.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateTimePatternValueRelinquishDefault.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateTimeValuePresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateTimeValuePresentValue.go index 57b14ab529..8aacca586b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateTimeValuePresentValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateTimeValuePresentValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateTimeValueRelinquishDefault.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateTimeValueRelinquishDefault.go index 9811bfe850..372f2f5d3c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateTimeValueRelinquishDefault.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateTimeValueRelinquishDefault.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateValueAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateValueAll.go index 61adf2c949..55d9ebf9db 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateValueAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateValueAll.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateValuePresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateValuePresentValue.go index 8189bac07a..102d7fd0d2 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateValuePresentValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateValuePresentValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateValueRelinquishDefault.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateValueRelinquishDefault.go index da4ca31598..1aae56439b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateValueRelinquishDefault.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateValueRelinquishDefault.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDatepatternValueAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDatepatternValueAll.go index 85df20fbea..027592cd4f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDatepatternValueAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDatepatternValueAll.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDatetimeValueAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDatetimeValueAll.go index b7fe24fd27..c92375efe7 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDatetimeValueAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDatetimeValueAll.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDatetimepatternValueAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDatetimepatternValueAll.go index 2a12fa2c26..feb3ff5140 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDatetimepatternValueAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDatetimepatternValueAll.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDaylightSavingsStatus.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDaylightSavingsStatus.go index 08abaa6a7f..95f07e4625 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDaylightSavingsStatus.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDaylightSavingsStatus.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDaysRemaining.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDaysRemaining.go index a1038dd314..f7d06c3c3a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDaysRemaining.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDaysRemaining.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeadband.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeadband.go index ab7ed9191a..222b8d745e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeadband.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeadband.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDefaultFadeTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDefaultFadeTime.go index 14cf460359..f23c78a705 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDefaultFadeTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDefaultFadeTime.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDefaultRampRate.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDefaultRampRate.go index 381b26aee0..432d792dd5 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDefaultRampRate.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDefaultRampRate.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDefaultStepIncrement.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDefaultStepIncrement.go index 2791f699d4..3ce6bfc159 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDefaultStepIncrement.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDefaultStepIncrement.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDefaultSubordinateRelationship.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDefaultSubordinateRelationship.go index 5e4c271deb..1da5ba5720 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDefaultSubordinateRelationship.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDefaultSubordinateRelationship.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDefaultTimeout.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDefaultTimeout.go index b212a99c3b..c1277fc464 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDefaultTimeout.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDefaultTimeout.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeployedProfileLocation.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeployedProfileLocation.go index 70cf483167..94113f0396 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeployedProfileLocation.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeployedProfileLocation.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDerivativeConstant.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDerivativeConstant.go index 07b350b8c1..2de5f0f97c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDerivativeConstant.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDerivativeConstant.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDerivativeConstantUnits.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDerivativeConstantUnits.go index 06f9847846..03e9dc0143 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDerivativeConstantUnits.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDerivativeConstantUnits.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDescription.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDescription.go index 4a355acbe4..ecb0fac7f7 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDescription.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDescription.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDescriptionOfHalt.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDescriptionOfHalt.go index d853dbbf96..4fac454642 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDescriptionOfHalt.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDescriptionOfHalt.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeviceAddressBinding.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeviceAddressBinding.go index d921757e3d..a981f16f86 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeviceAddressBinding.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeviceAddressBinding.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeviceAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeviceAll.go index 2b5877637f..5c815172d6 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeviceAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeviceAll.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeviceMaxInfoFrames.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeviceMaxInfoFrames.go index 7d1d0b7de6..844193b9da 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeviceMaxInfoFrames.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeviceMaxInfoFrames.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeviceMaxMaster.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeviceMaxMaster.go index 4f01cd8281..92dd3db1fd 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeviceMaxMaster.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeviceMaxMaster.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeviceType.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeviceType.go index a189efa7fe..cb8dde20e1 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeviceType.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeviceType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDirectReading.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDirectReading.go index 96ff95c61f..d27fd3dd58 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDirectReading.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDirectReading.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDistributionKeyRevision.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDistributionKeyRevision.go index d61abc4624..5a1c88b22d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDistributionKeyRevision.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDistributionKeyRevision.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDoNotHide.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDoNotHide.go index 9a7fa3ab00..ee1135324d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDoNotHide.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDoNotHide.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDoorAlarmState.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDoorAlarmState.go index 8a3dfad01c..cd86aa431a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDoorAlarmState.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDoorAlarmState.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDoorExtendedPulseTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDoorExtendedPulseTime.go index ad4a7be4f6..c7b163f89e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDoorExtendedPulseTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDoorExtendedPulseTime.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDoorMembers.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDoorMembers.go index 23a0b5b122..dbe950a426 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDoorMembers.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDoorMembers.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDoorOpenTooLongTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDoorOpenTooLongTime.go index 251d5d5a43..e62d64a4e1 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDoorOpenTooLongTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDoorOpenTooLongTime.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDoorPulseTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDoorPulseTime.go index ef8c347757..af7104cac9 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDoorPulseTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDoorPulseTime.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDoorStatus.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDoorStatus.go index c2429e29a0..739f324e63 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDoorStatus.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDoorStatus.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDoorUnlockDelayTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDoorUnlockDelayTime.go index 214f198af7..90935e89b5 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDoorUnlockDelayTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDoorUnlockDelayTime.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDutyWindow.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDutyWindow.go index 54311db9e4..4c465ad2e3 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDutyWindow.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDutyWindow.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEffectivePeriod.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEffectivePeriod.go index 43953d2ce7..c31daeea14 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEffectivePeriod.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEffectivePeriod.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEgressActive.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEgressActive.go index 0e9490e9cb..52a14d7492 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEgressActive.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEgressActive.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEgressTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEgressTime.go index c8674a415c..5f47704610 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEgressTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEgressTime.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataElapsedActiveTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataElapsedActiveTime.go index 6090a3cbc5..a174e556d7 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataElapsedActiveTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataElapsedActiveTime.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataElement.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataElement.go index a1f86dc919..d302189dd4 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataElement.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataElement.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -98,16 +100,10 @@ type BACnetConstructedDataElementBuilder interface { WithPeekedTagHeaderBuilder(func(BACnetTagHeaderBuilder) BACnetTagHeaderBuilder) BACnetConstructedDataElementBuilder // WithApplicationTag adds ApplicationTag (property field) WithOptionalApplicationTag(BACnetApplicationTag) BACnetConstructedDataElementBuilder - // WithOptionalApplicationTagBuilder adds ApplicationTag (property field) which is build by the builder - WithOptionalApplicationTagBuilder(func(BACnetApplicationTagBuilder) BACnetApplicationTagBuilder) BACnetConstructedDataElementBuilder // WithContextTag adds ContextTag (property field) WithOptionalContextTag(BACnetContextTag) BACnetConstructedDataElementBuilder - // WithOptionalContextTagBuilder adds ContextTag (property field) which is build by the builder - WithOptionalContextTagBuilder(func(BACnetContextTagBuilder) BACnetContextTagBuilder) BACnetConstructedDataElementBuilder // WithConstructedData adds ConstructedData (property field) WithOptionalConstructedData(BACnetConstructedData) BACnetConstructedDataElementBuilder - // WithOptionalConstructedDataBuilder adds ConstructedData (property field) which is build by the builder - WithOptionalConstructedDataBuilder(func(BACnetConstructedDataBuilder) BACnetConstructedDataBuilder) BACnetConstructedDataElementBuilder // Build builds the BACnetConstructedDataElement or returns an error if something is wrong Build() (BACnetConstructedDataElement, error) // MustBuild does the same as Build but panics on error @@ -154,55 +150,16 @@ func (m *_BACnetConstructedDataElementBuilder) WithOptionalApplicationTag(applic return m } -func (m *_BACnetConstructedDataElementBuilder) WithOptionalApplicationTagBuilder(builderSupplier func(BACnetApplicationTagBuilder) BACnetApplicationTagBuilder) BACnetConstructedDataElementBuilder { - builder := builderSupplier(m.ApplicationTag.CreateBACnetApplicationTagBuilder()) - var err error - m.ApplicationTag, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetApplicationTagBuilder failed")) - } - return m -} - func (m *_BACnetConstructedDataElementBuilder) WithOptionalContextTag(contextTag BACnetContextTag) BACnetConstructedDataElementBuilder { m.ContextTag = contextTag return m } -func (m *_BACnetConstructedDataElementBuilder) WithOptionalContextTagBuilder(builderSupplier func(BACnetContextTagBuilder) BACnetContextTagBuilder) BACnetConstructedDataElementBuilder { - builder := builderSupplier(m.ContextTag.CreateBACnetContextTagBuilder()) - var err error - m.ContextTag, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetContextTagBuilder failed")) - } - return m -} - func (m *_BACnetConstructedDataElementBuilder) WithOptionalConstructedData(constructedData BACnetConstructedData) BACnetConstructedDataElementBuilder { m.ConstructedData = constructedData return m } -func (m *_BACnetConstructedDataElementBuilder) WithOptionalConstructedDataBuilder(builderSupplier func(BACnetConstructedDataBuilder) BACnetConstructedDataBuilder) BACnetConstructedDataElementBuilder { - builder := builderSupplier(m.ConstructedData.CreateBACnetConstructedDataBuilder()) - var err error - m.ConstructedData, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetConstructedDataBuilder failed")) - } - return m -} - func (m *_BACnetConstructedDataElementBuilder) Build() (BACnetConstructedDataElement, error) { if m.PeekedTagHeader == nil { if m.err == nil { diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataElevatorGroup.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataElevatorGroup.go index 77e3bb02c2..e4addf0f5d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataElevatorGroup.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataElevatorGroup.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataElevatorGroupAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataElevatorGroupAll.go index bdf3d1140a..580a8cce5e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataElevatorGroupAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataElevatorGroupAll.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataElevatorGroupGroupMembers.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataElevatorGroupGroupMembers.go index c4d1d1fc32..d5a55409e2 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataElevatorGroupGroupMembers.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataElevatorGroupGroupMembers.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEnable.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEnable.go index 016a0956d3..c1e293d51d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEnable.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEnable.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEnergyMeter.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEnergyMeter.go index a07cc88913..db80973c09 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEnergyMeter.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEnergyMeter.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEnergyMeterRef.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEnergyMeterRef.go index eba3a068f7..eae4d432d2 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEnergyMeterRef.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEnergyMeterRef.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEntryPoints.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEntryPoints.go index 8af6f93634..7d8cb31a1b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEntryPoints.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEntryPoints.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataErrorLimit.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataErrorLimit.go index 745d5aac94..8e479ecff2 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataErrorLimit.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataErrorLimit.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEscalatorAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEscalatorAll.go index 565ce2567d..a29b94ca7b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEscalatorAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEscalatorAll.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEscalatorFaultSignals.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEscalatorFaultSignals.go index 60b8ac6733..3649a69507 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEscalatorFaultSignals.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEscalatorFaultSignals.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEscalatorMode.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEscalatorMode.go index 05551861d3..e8c1872eb7 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEscalatorMode.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEscalatorMode.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventAlgorithmInhibit.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventAlgorithmInhibit.go index ab422a779d..99675d5472 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventAlgorithmInhibit.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventAlgorithmInhibit.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventAlgorithmInhibitRef.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventAlgorithmInhibitRef.go index 7105369665..7fbae3debf 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventAlgorithmInhibitRef.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventAlgorithmInhibitRef.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventDetectionEnable.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventDetectionEnable.go index aea1b9f294..dd9638abaf 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventDetectionEnable.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventDetectionEnable.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventEnable.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventEnable.go index b3fd16cf93..6c34fdeb6c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventEnable.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventEnable.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventEnrollmentAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventEnrollmentAll.go index 4bc4bdf296..ce390078a7 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventEnrollmentAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventEnrollmentAll.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventLogAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventLogAll.go index b7eac7415c..26cdfb4f19 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventLogAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventLogAll.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventLogLogBuffer.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventLogLogBuffer.go index c1ff3a7347..4e2f16aa93 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventLogLogBuffer.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventLogLogBuffer.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventMessageTexts.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventMessageTexts.go index a0fdf4f50b..26cdaf46f4 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventMessageTexts.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventMessageTexts.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventMessageTextsConfig.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventMessageTextsConfig.go index d51e4001cd..888c999017 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventMessageTextsConfig.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventMessageTextsConfig.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventParameters.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventParameters.go index ce23d1a134..136b4ca97f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventParameters.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventParameters.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -82,8 +84,6 @@ type BACnetConstructedDataEventParametersBuilder interface { WithMandatoryFields(eventParameter BACnetEventParameter) BACnetConstructedDataEventParametersBuilder // WithEventParameter adds EventParameter (property field) WithEventParameter(BACnetEventParameter) BACnetConstructedDataEventParametersBuilder - // WithEventParameterBuilder adds EventParameter (property field) which is build by the builder - WithEventParameterBuilder(func(BACnetEventParameterBuilder) BACnetEventParameterBuilder) BACnetConstructedDataEventParametersBuilder // Build builds the BACnetConstructedDataEventParameters or returns an error if something is wrong Build() (BACnetConstructedDataEventParameters, error) // MustBuild does the same as Build but panics on error @@ -112,19 +112,6 @@ func (m *_BACnetConstructedDataEventParametersBuilder) WithEventParameter(eventP return m } -func (m *_BACnetConstructedDataEventParametersBuilder) WithEventParameterBuilder(builderSupplier func(BACnetEventParameterBuilder) BACnetEventParameterBuilder) BACnetConstructedDataEventParametersBuilder { - builder := builderSupplier(m.EventParameter.CreateBACnetEventParameterBuilder()) - var err error - m.EventParameter, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetEventParameterBuilder failed")) - } - return m -} - func (m *_BACnetConstructedDataEventParametersBuilder) Build() (BACnetConstructedDataEventParameters, error) { if m.EventParameter == nil { if m.err == nil { diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventState.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventState.go index be6b3b5668..af862119f0 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventState.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventState.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventTimeStamps.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventTimeStamps.go index 5b26ea7441..d3fca37a3a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventTimeStamps.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventTimeStamps.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventType.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventType.go index f27b1efda6..18348d4987 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventType.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataExceptionSchedule.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataExceptionSchedule.go index 8360338c84..b1798d2560 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataExceptionSchedule.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataExceptionSchedule.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataExecutionDelay.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataExecutionDelay.go index fd63e563f0..69d771ece8 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataExecutionDelay.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataExecutionDelay.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataExitPoints.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataExitPoints.go index 7e428743da..686c77b89e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataExitPoints.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataExitPoints.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataExpectedShedLevel.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataExpectedShedLevel.go index 2bd981c6a1..dfe31e2b16 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataExpectedShedLevel.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataExpectedShedLevel.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -82,8 +84,6 @@ type BACnetConstructedDataExpectedShedLevelBuilder interface { WithMandatoryFields(expectedShedLevel BACnetShedLevel) BACnetConstructedDataExpectedShedLevelBuilder // WithExpectedShedLevel adds ExpectedShedLevel (property field) WithExpectedShedLevel(BACnetShedLevel) BACnetConstructedDataExpectedShedLevelBuilder - // WithExpectedShedLevelBuilder adds ExpectedShedLevel (property field) which is build by the builder - WithExpectedShedLevelBuilder(func(BACnetShedLevelBuilder) BACnetShedLevelBuilder) BACnetConstructedDataExpectedShedLevelBuilder // Build builds the BACnetConstructedDataExpectedShedLevel or returns an error if something is wrong Build() (BACnetConstructedDataExpectedShedLevel, error) // MustBuild does the same as Build but panics on error @@ -112,19 +112,6 @@ func (m *_BACnetConstructedDataExpectedShedLevelBuilder) WithExpectedShedLevel(e return m } -func (m *_BACnetConstructedDataExpectedShedLevelBuilder) WithExpectedShedLevelBuilder(builderSupplier func(BACnetShedLevelBuilder) BACnetShedLevelBuilder) BACnetConstructedDataExpectedShedLevelBuilder { - builder := builderSupplier(m.ExpectedShedLevel.CreateBACnetShedLevelBuilder()) - var err error - m.ExpectedShedLevel, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetShedLevelBuilder failed")) - } - return m -} - func (m *_BACnetConstructedDataExpectedShedLevelBuilder) Build() (BACnetConstructedDataExpectedShedLevel, error) { if m.ExpectedShedLevel == nil { if m.err == nil { diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataExpirationTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataExpirationTime.go index a9591e7986..f069fe85d3 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataExpirationTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataExpirationTime.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataExtendedTimeEnable.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataExtendedTimeEnable.go index cd67959d12..8b6639c5c9 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataExtendedTimeEnable.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataExtendedTimeEnable.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFDBBMDAddress.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFDBBMDAddress.go index 8a96789221..f0f67a94a6 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFDBBMDAddress.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFDBBMDAddress.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFDSubscriptionLifetime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFDSubscriptionLifetime.go index 2df5f54887..27e2a46ebe 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFDSubscriptionLifetime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFDSubscriptionLifetime.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFailedAttemptEvents.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFailedAttemptEvents.go index 6f8a5c0a2e..df4950413f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFailedAttemptEvents.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFailedAttemptEvents.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFailedAttempts.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFailedAttempts.go index cdaa0b931b..6b890c4fc6 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFailedAttempts.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFailedAttempts.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFailedAttemptsTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFailedAttemptsTime.go index 7820f08caf..dc6bb53005 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFailedAttemptsTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFailedAttemptsTime.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFaultHighLimit.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFaultHighLimit.go index d4c5e25bdf..5da088e548 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFaultHighLimit.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFaultHighLimit.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFaultLowLimit.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFaultLowLimit.go index a3db89cdf4..1e503248d6 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFaultLowLimit.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFaultLowLimit.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFaultParameters.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFaultParameters.go index 5ea6677d56..453c77c7bf 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFaultParameters.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFaultParameters.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -82,8 +84,6 @@ type BACnetConstructedDataFaultParametersBuilder interface { WithMandatoryFields(faultParameters BACnetFaultParameter) BACnetConstructedDataFaultParametersBuilder // WithFaultParameters adds FaultParameters (property field) WithFaultParameters(BACnetFaultParameter) BACnetConstructedDataFaultParametersBuilder - // WithFaultParametersBuilder adds FaultParameters (property field) which is build by the builder - WithFaultParametersBuilder(func(BACnetFaultParameterBuilder) BACnetFaultParameterBuilder) BACnetConstructedDataFaultParametersBuilder // Build builds the BACnetConstructedDataFaultParameters or returns an error if something is wrong Build() (BACnetConstructedDataFaultParameters, error) // MustBuild does the same as Build but panics on error @@ -112,19 +112,6 @@ func (m *_BACnetConstructedDataFaultParametersBuilder) WithFaultParameters(fault return m } -func (m *_BACnetConstructedDataFaultParametersBuilder) WithFaultParametersBuilder(builderSupplier func(BACnetFaultParameterBuilder) BACnetFaultParameterBuilder) BACnetConstructedDataFaultParametersBuilder { - builder := builderSupplier(m.FaultParameters.CreateBACnetFaultParameterBuilder()) - var err error - m.FaultParameters, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetFaultParameterBuilder failed")) - } - return m -} - func (m *_BACnetConstructedDataFaultParametersBuilder) Build() (BACnetConstructedDataFaultParameters, error) { if m.FaultParameters == nil { if m.err == nil { diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFaultSignals.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFaultSignals.go index dbe5f6d811..36fce0d29b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFaultSignals.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFaultSignals.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFaultType.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFaultType.go index c9470f1e88..05f2741e4f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFaultType.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFaultType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFaultValues.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFaultValues.go index b1b9564ec4..d20b972140 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFaultValues.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFaultValues.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFileAccessMethod.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFileAccessMethod.go index c0828f1466..1db0537193 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFileAccessMethod.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFileAccessMethod.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFileAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFileAll.go index a91d09f537..3e8fac9453 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFileAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFileAll.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFileRecordCount.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFileRecordCount.go index 3ec52dc9ed..c20b7821cc 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFileRecordCount.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFileRecordCount.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFileSize.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFileSize.go index 29744d8a0e..71a3149616 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFileSize.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFileSize.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFileType.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFileType.go index c191a2d90c..8b5911fe41 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFileType.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFileType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFirmwareRevision.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFirmwareRevision.go index 01b698be5a..793fb4eeb7 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFirmwareRevision.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFirmwareRevision.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFloorText.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFloorText.go index d414075574..cdc76893a8 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFloorText.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFloorText.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFullDutyBaseline.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFullDutyBaseline.go index 0a1a1826bf..6384ba512c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFullDutyBaseline.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFullDutyBaseline.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGlobalGroupAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGlobalGroupAll.go index e7f519890a..00dfd3f13b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGlobalGroupAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGlobalGroupAll.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGlobalGroupGroupMembers.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGlobalGroupGroupMembers.go index 21a9219cf1..cf4223aac5 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGlobalGroupGroupMembers.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGlobalGroupGroupMembers.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGlobalGroupPresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGlobalGroupPresentValue.go index ab1eb77eaa..c1b1e95f48 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGlobalGroupPresentValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGlobalGroupPresentValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGlobalIdentifier.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGlobalIdentifier.go index 87752e1316..0545e8789f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGlobalIdentifier.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGlobalIdentifier.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGroupAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGroupAll.go index aef9a1be2c..6586bcd0d3 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGroupAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGroupAll.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGroupID.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGroupID.go index f2c450eb9c..79da1e1267 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGroupID.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGroupID.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGroupMemberNames.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGroupMemberNames.go index be58ad2823..16469396b3 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGroupMemberNames.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGroupMemberNames.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGroupMembers.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGroupMembers.go index cd3b72260b..e067b93eaf 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGroupMembers.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGroupMembers.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGroupMode.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGroupMode.go index 98844cdf2c..4379569fde 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGroupMode.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGroupMode.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGroupPresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGroupPresentValue.go index a3ac63a748..59d8c55afb 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGroupPresentValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGroupPresentValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataHighLimit.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataHighLimit.go index cf9c1237b8..9a24b397f7 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataHighLimit.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataHighLimit.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataHigherDeck.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataHigherDeck.go index f85813c89e..f4bbf97bba 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataHigherDeck.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataHigherDeck.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPAddress.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPAddress.go index ee153dd1a7..9c9bab384a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPAddress.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPAddress.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPDHCPEnable.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPDHCPEnable.go index a436c5827e..a83939d3eb 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPDHCPEnable.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPDHCPEnable.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPDHCPLeaseTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPDHCPLeaseTime.go index f2eaa897e4..e72011df81 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPDHCPLeaseTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPDHCPLeaseTime.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPDHCPLeaseTimeRemaining.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPDHCPLeaseTimeRemaining.go index 1a38926adf..464859e264 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPDHCPLeaseTimeRemaining.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPDHCPLeaseTimeRemaining.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPDHCPServer.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPDHCPServer.go index a7f38ceb24..e44769f397 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPDHCPServer.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPDHCPServer.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPDNSServer.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPDNSServer.go index 618aa91262..8cbdf37846 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPDNSServer.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPDNSServer.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPDefaultGateway.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPDefaultGateway.go index c1714f68ba..15e9bc4ebf 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPDefaultGateway.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPDefaultGateway.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPSubnetMask.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPSubnetMask.go index 3d37ed2e7e..d85f81f52a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPSubnetMask.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPSubnetMask.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPv6Address.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPv6Address.go index d2f6042904..95d91dd849 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPv6Address.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPv6Address.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPv6AutoAddressingEnable.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPv6AutoAddressingEnable.go index 4c83eecd95..66231a2b98 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPv6AutoAddressingEnable.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPv6AutoAddressingEnable.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPv6DHCPLeaseTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPv6DHCPLeaseTime.go index 46ed20876e..afa3ca389b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPv6DHCPLeaseTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPv6DHCPLeaseTime.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPv6DHCPLeaseTimeRemaining.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPv6DHCPLeaseTimeRemaining.go index 54bcc04520..285a7bcb9c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPv6DHCPLeaseTimeRemaining.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPv6DHCPLeaseTimeRemaining.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPv6DHCPServer.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPv6DHCPServer.go index 942ec066ee..8fad73fe9b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPv6DHCPServer.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPv6DHCPServer.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPv6DNSServer.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPv6DNSServer.go index 70d7e2d94f..4dbbbe919c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPv6DNSServer.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPv6DNSServer.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPv6DefaultGateway.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPv6DefaultGateway.go index 524b61a97e..33f77d589b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPv6DefaultGateway.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPv6DefaultGateway.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPv6PrefixLength.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPv6PrefixLength.go index 2fa63b77b7..ddcfea7add 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPv6PrefixLength.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPv6PrefixLength.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPv6ZoneIndex.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPv6ZoneIndex.go index bfb877d4bf..a07ebf76de 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPv6ZoneIndex.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPv6ZoneIndex.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataInProcess.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataInProcess.go index 6c362e6a03..d93224dd1e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataInProcess.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataInProcess.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataInProgress.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataInProgress.go index 344fafb0d4..9448a81d08 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataInProgress.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataInProgress.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataInactiveText.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataInactiveText.go index ae252506da..30d42ad4ea 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataInactiveText.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataInactiveText.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataInitialTimeout.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataInitialTimeout.go index c402d70b17..48613d4ddf 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataInitialTimeout.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataInitialTimeout.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataInputReference.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataInputReference.go index b25b1c5188..b68f2dcec2 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataInputReference.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataInputReference.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataInstallationID.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataInstallationID.go index d1f277043a..e20800fc8c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataInstallationID.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataInstallationID.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataInstanceOf.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataInstanceOf.go index abfc7f6f5a..b5a0a5db14 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataInstanceOf.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataInstanceOf.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataInstantaneousPower.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataInstantaneousPower.go index 58b1e2abf3..24b6230598 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataInstantaneousPower.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataInstantaneousPower.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueAll.go index b6a37d87d5..d4ecf7cc95 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueAll.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueCOVIncrement.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueCOVIncrement.go index 64c5c25eea..5a95c57ef2 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueCOVIncrement.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueCOVIncrement.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueDeadband.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueDeadband.go index 2ca274561c..b789a57491 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueDeadband.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueDeadband.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueFaultHighLimit.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueFaultHighLimit.go index f57f2fb94e..750b069648 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueFaultHighLimit.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueFaultHighLimit.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueFaultLowLimit.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueFaultLowLimit.go index ff1b5e68f6..a2682eddeb 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueFaultLowLimit.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueFaultLowLimit.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueHighLimit.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueHighLimit.go index 20caa0205b..f2b33dbb98 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueHighLimit.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueHighLimit.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueLowLimit.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueLowLimit.go index 392bdd94e6..7c90cd2b31 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueLowLimit.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueLowLimit.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueMaxPresValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueMaxPresValue.go index f3d74a0588..15edbbfd03 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueMaxPresValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueMaxPresValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueMinPresValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueMinPresValue.go index 6c4b6617cc..ac409666fb 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueMinPresValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueMinPresValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValuePresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValuePresentValue.go index fea8111421..0739d20318 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValuePresentValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValuePresentValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueRelinquishDefault.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueRelinquishDefault.go index 191f35b05b..e19b907e8d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueRelinquishDefault.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueRelinquishDefault.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueResolution.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueResolution.go index 239bc061f4..2dcff9ca3d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueResolution.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueResolution.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegralConstant.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegralConstant.go index da92eba17e..0005d00046 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegralConstant.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegralConstant.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegralConstantUnits.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegralConstantUnits.go index c7575d404d..fbe1890df1 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegralConstantUnits.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegralConstantUnits.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntervalOffset.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntervalOffset.go index a73a339738..0ac021a55a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntervalOffset.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntervalOffset.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIsUTC.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIsUTC.go index 4144eb71f3..a01372e4ef 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIsUTC.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIsUTC.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataKeySets.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataKeySets.go index cdb19241fb..8e63cb7694 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataKeySets.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataKeySets.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLandingCallControl.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLandingCallControl.go index 77b810166c..b55eeed079 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLandingCallControl.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLandingCallControl.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLandingCalls.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLandingCalls.go index cab4f8a717..94e3b345d2 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLandingCalls.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLandingCalls.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLandingDoorStatus.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLandingDoorStatus.go index aa3c0d05bf..a759b5e0b7 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLandingDoorStatus.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLandingDoorStatus.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueAll.go index 70f7a2a3eb..c855e92611 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueAll.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueCOVIncrement.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueCOVIncrement.go index a54f887328..f2d65daa1c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueCOVIncrement.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueCOVIncrement.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueDeadband.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueDeadband.go index 423b213ec7..305231d306 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueDeadband.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueDeadband.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueFaultHighLimit.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueFaultHighLimit.go index 4c34ed0ef3..e0da33a302 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueFaultHighLimit.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueFaultHighLimit.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueFaultLowLimit.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueFaultLowLimit.go index b1af1c7e43..441768a822 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueFaultLowLimit.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueFaultLowLimit.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueHighLimit.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueHighLimit.go index ecc72a9370..72556ab5e1 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueHighLimit.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueHighLimit.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueLowLimit.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueLowLimit.go index 3d0b918495..2c69c8ee06 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueLowLimit.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueLowLimit.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueMaxPresValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueMaxPresValue.go index 00fcb5d11c..714d9d7835 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueMaxPresValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueMaxPresValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueMinPresValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueMinPresValue.go index 9c0ca309f2..04a3664307 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueMinPresValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueMinPresValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValuePresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValuePresentValue.go index f55a432ce4..6e627ac78a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValuePresentValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValuePresentValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueRelinquishDefault.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueRelinquishDefault.go index 93d291d88d..f74ecbaffc 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueRelinquishDefault.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueRelinquishDefault.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueResolution.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueResolution.go index 0057c88a04..6a4072f65a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueResolution.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueResolution.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastAccessEvent.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastAccessEvent.go index e31c7b1d1e..94f455bebf 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastAccessEvent.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastAccessEvent.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastAccessPoint.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastAccessPoint.go index 492097f944..7dc7bdff0c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastAccessPoint.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastAccessPoint.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastCommandTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastCommandTime.go index d7dfc35421..31e23ab19f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastCommandTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastCommandTime.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -82,8 +84,6 @@ type BACnetConstructedDataLastCommandTimeBuilder interface { WithMandatoryFields(lastCommandTime BACnetTimeStamp) BACnetConstructedDataLastCommandTimeBuilder // WithLastCommandTime adds LastCommandTime (property field) WithLastCommandTime(BACnetTimeStamp) BACnetConstructedDataLastCommandTimeBuilder - // WithLastCommandTimeBuilder adds LastCommandTime (property field) which is build by the builder - WithLastCommandTimeBuilder(func(BACnetTimeStampBuilder) BACnetTimeStampBuilder) BACnetConstructedDataLastCommandTimeBuilder // Build builds the BACnetConstructedDataLastCommandTime or returns an error if something is wrong Build() (BACnetConstructedDataLastCommandTime, error) // MustBuild does the same as Build but panics on error @@ -112,19 +112,6 @@ func (m *_BACnetConstructedDataLastCommandTimeBuilder) WithLastCommandTime(lastC return m } -func (m *_BACnetConstructedDataLastCommandTimeBuilder) WithLastCommandTimeBuilder(builderSupplier func(BACnetTimeStampBuilder) BACnetTimeStampBuilder) BACnetConstructedDataLastCommandTimeBuilder { - builder := builderSupplier(m.LastCommandTime.CreateBACnetTimeStampBuilder()) - var err error - m.LastCommandTime, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetTimeStampBuilder failed")) - } - return m -} - func (m *_BACnetConstructedDataLastCommandTimeBuilder) Build() (BACnetConstructedDataLastCommandTime, error) { if m.LastCommandTime == nil { if m.err == nil { diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastCredentialAdded.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastCredentialAdded.go index 0d96943c8f..ef76ad382d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastCredentialAdded.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastCredentialAdded.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastCredentialAddedTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastCredentialAddedTime.go index 2a85e3dcea..c8db0a4265 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastCredentialAddedTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastCredentialAddedTime.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastCredentialRemoved.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastCredentialRemoved.go index f2bac83054..1339123d01 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastCredentialRemoved.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastCredentialRemoved.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastCredentialRemovedTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastCredentialRemovedTime.go index e67d480a26..dfbc14ce18 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastCredentialRemovedTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastCredentialRemovedTime.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastKeyServer.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastKeyServer.go index 90609bcc45..d960bbce0c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastKeyServer.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastKeyServer.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastNotifyRecord.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastNotifyRecord.go index 30a0498ee3..385e8d5f8a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastNotifyRecord.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastNotifyRecord.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastPriority.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastPriority.go index 13993f2d98..3cbc2032b5 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastPriority.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastPriority.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastRestartReason.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastRestartReason.go index 7474c80963..3ea23aee05 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastRestartReason.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastRestartReason.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastRestoreTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastRestoreTime.go index 9ddee3ac3d..136b8a1d91 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastRestoreTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastRestoreTime.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -82,8 +84,6 @@ type BACnetConstructedDataLastRestoreTimeBuilder interface { WithMandatoryFields(lastRestoreTime BACnetTimeStamp) BACnetConstructedDataLastRestoreTimeBuilder // WithLastRestoreTime adds LastRestoreTime (property field) WithLastRestoreTime(BACnetTimeStamp) BACnetConstructedDataLastRestoreTimeBuilder - // WithLastRestoreTimeBuilder adds LastRestoreTime (property field) which is build by the builder - WithLastRestoreTimeBuilder(func(BACnetTimeStampBuilder) BACnetTimeStampBuilder) BACnetConstructedDataLastRestoreTimeBuilder // Build builds the BACnetConstructedDataLastRestoreTime or returns an error if something is wrong Build() (BACnetConstructedDataLastRestoreTime, error) // MustBuild does the same as Build but panics on error @@ -112,19 +112,6 @@ func (m *_BACnetConstructedDataLastRestoreTimeBuilder) WithLastRestoreTime(lastR return m } -func (m *_BACnetConstructedDataLastRestoreTimeBuilder) WithLastRestoreTimeBuilder(builderSupplier func(BACnetTimeStampBuilder) BACnetTimeStampBuilder) BACnetConstructedDataLastRestoreTimeBuilder { - builder := builderSupplier(m.LastRestoreTime.CreateBACnetTimeStampBuilder()) - var err error - m.LastRestoreTime, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetTimeStampBuilder failed")) - } - return m -} - func (m *_BACnetConstructedDataLastRestoreTimeBuilder) Build() (BACnetConstructedDataLastRestoreTime, error) { if m.LastRestoreTime == nil { if m.err == nil { diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastStateChange.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastStateChange.go index c4afe164bb..98cded634c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastStateChange.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastStateChange.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastUseTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastUseTime.go index e16ad2cb1b..2493f4867b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastUseTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastUseTime.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyAlarmValues.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyAlarmValues.go index 1f627d78d9..6bfc384776 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyAlarmValues.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyAlarmValues.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyPointAlarmValues.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyPointAlarmValues.go index c8f25a8060..3e06c6df28 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyPointAlarmValues.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyPointAlarmValues.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyPointAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyPointAll.go index 5ca6e25a96..6f4fea05e9 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyPointAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyPointAll.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyPointFaultValues.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyPointFaultValues.go index 5b107dd878..35a6c14a4d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyPointFaultValues.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyPointFaultValues.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyPointPresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyPointPresentValue.go index fa64e317f2..79ec5edeb7 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyPointPresentValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyPointPresentValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyZoneAlarmValues.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyZoneAlarmValues.go index 7f044e5e7d..a9d2748443 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyZoneAlarmValues.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyZoneAlarmValues.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyZoneAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyZoneAll.go index 5e87109fbf..5fe22195b9 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyZoneAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyZoneAll.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyZoneFaultValues.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyZoneFaultValues.go index 55978d3098..910b7085af 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyZoneFaultValues.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyZoneFaultValues.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyZoneMaintenanceRequired.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyZoneMaintenanceRequired.go index 8469705c61..28c06870bb 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyZoneMaintenanceRequired.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyZoneMaintenanceRequired.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyZonePresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyZonePresentValue.go index 0a093867b9..d723bd91e8 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyZonePresentValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyZonePresentValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLiftAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLiftAll.go index a6b383ac4d..4fab33da85 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLiftAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLiftAll.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLiftFaultSignals.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLiftFaultSignals.go index f8f3220906..86475c5554 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLiftFaultSignals.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLiftFaultSignals.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLightingCommand.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLightingCommand.go index 424037c3ae..3a77834edc 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLightingCommand.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLightingCommand.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLightingCommandDefaultPriority.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLightingCommandDefaultPriority.go index 09da2ab8d4..f47d6cb907 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLightingCommandDefaultPriority.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLightingCommandDefaultPriority.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLightingOutputAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLightingOutputAll.go index e96a4b2055..57dfe920c6 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLightingOutputAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLightingOutputAll.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLightingOutputFeedbackValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLightingOutputFeedbackValue.go index 305f1e4a1d..6f8a30aa36 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLightingOutputFeedbackValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLightingOutputFeedbackValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLightingOutputPresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLightingOutputPresentValue.go index e96690ed71..6f2917b61f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLightingOutputPresentValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLightingOutputPresentValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLightingOutputRelinquishDefault.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLightingOutputRelinquishDefault.go index e2ce3d9f24..b0bcec094c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLightingOutputRelinquishDefault.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLightingOutputRelinquishDefault.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLightingOutputTrackingValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLightingOutputTrackingValue.go index 4f90d74f19..0ecaf8a74f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLightingOutputTrackingValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLightingOutputTrackingValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLimitEnable.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLimitEnable.go index 5f202826bb..8e8b48cf65 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLimitEnable.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLimitEnable.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLimitMonitoringInterval.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLimitMonitoringInterval.go index 6e099ee6ac..1e48355e7d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLimitMonitoringInterval.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLimitMonitoringInterval.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLinkSpeed.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLinkSpeed.go index 6908d1c3ce..b8ba5312b0 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLinkSpeed.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLinkSpeed.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLinkSpeedAutonegotiate.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLinkSpeedAutonegotiate.go index 0fbac6dd67..90564ec67c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLinkSpeedAutonegotiate.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLinkSpeedAutonegotiate.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLinkSpeeds.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLinkSpeeds.go index c0e9624cd4..6224bf5251 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLinkSpeeds.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLinkSpeeds.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataListOfGroupMembers.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataListOfGroupMembers.go index e4a4d30727..3b286b9a9a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataListOfGroupMembers.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataListOfGroupMembers.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataListOfObjectPropertyReferences.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataListOfObjectPropertyReferences.go index 0c397ce061..e99026eedc 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataListOfObjectPropertyReferences.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataListOfObjectPropertyReferences.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLoadControlAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLoadControlAll.go index c13461d74a..6ae8c17308 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLoadControlAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLoadControlAll.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLoadControlPresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLoadControlPresentValue.go index 5985cc0df9..0464c2aa87 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLoadControlPresentValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLoadControlPresentValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLocalDate.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLocalDate.go index 5f7ea6a355..148c955230 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLocalDate.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLocalDate.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLocalForwardingOnly.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLocalForwardingOnly.go index 95b57923c5..cd819abe7e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLocalForwardingOnly.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLocalForwardingOnly.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLocalTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLocalTime.go index decf730ef4..04070e3aa5 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLocalTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLocalTime.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLocation.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLocation.go index 7a59a68eed..877c4b42e8 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLocation.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLocation.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLockStatus.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLockStatus.go index 519ec547fb..7b42d66ee4 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLockStatus.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLockStatus.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLockout.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLockout.go index 7d8dad1b5a..e8092e1a31 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLockout.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLockout.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLockoutRelinquishTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLockoutRelinquishTime.go index 1706bc5b17..b3646cf58b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLockoutRelinquishTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLockoutRelinquishTime.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLogBuffer.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLogBuffer.go index 500f25194b..287fb11ce6 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLogBuffer.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLogBuffer.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLogDeviceObjectProperty.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLogDeviceObjectProperty.go index 13ea5f9189..35543eb6da 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLogDeviceObjectProperty.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLogDeviceObjectProperty.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLogInterval.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLogInterval.go index 66d43bad2e..c994a3f907 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLogInterval.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLogInterval.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLoggingObject.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLoggingObject.go index 788ad01973..498a0585cd 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLoggingObject.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLoggingObject.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLoggingRecord.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLoggingRecord.go index 76c9f7fc86..6db8936aa8 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLoggingRecord.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLoggingRecord.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLoggingType.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLoggingType.go index 086df26291..474ceb3c92 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLoggingType.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLoggingType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLoopAction.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLoopAction.go index c6e2e53314..efaeece3d1 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLoopAction.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLoopAction.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLoopAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLoopAll.go index 01984fef43..90d96be109 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLoopAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLoopAll.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLoopPresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLoopPresentValue.go index b2781cca89..f941a6de56 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLoopPresentValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLoopPresentValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLowDiffLimit.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLowDiffLimit.go index 11dfc741c4..15edfcd3af 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLowDiffLimit.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLowDiffLimit.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -82,8 +84,6 @@ type BACnetConstructedDataLowDiffLimitBuilder interface { WithMandatoryFields(lowDiffLimit BACnetOptionalREAL) BACnetConstructedDataLowDiffLimitBuilder // WithLowDiffLimit adds LowDiffLimit (property field) WithLowDiffLimit(BACnetOptionalREAL) BACnetConstructedDataLowDiffLimitBuilder - // WithLowDiffLimitBuilder adds LowDiffLimit (property field) which is build by the builder - WithLowDiffLimitBuilder(func(BACnetOptionalREALBuilder) BACnetOptionalREALBuilder) BACnetConstructedDataLowDiffLimitBuilder // Build builds the BACnetConstructedDataLowDiffLimit or returns an error if something is wrong Build() (BACnetConstructedDataLowDiffLimit, error) // MustBuild does the same as Build but panics on error @@ -112,19 +112,6 @@ func (m *_BACnetConstructedDataLowDiffLimitBuilder) WithLowDiffLimit(lowDiffLimi return m } -func (m *_BACnetConstructedDataLowDiffLimitBuilder) WithLowDiffLimitBuilder(builderSupplier func(BACnetOptionalREALBuilder) BACnetOptionalREALBuilder) BACnetConstructedDataLowDiffLimitBuilder { - builder := builderSupplier(m.LowDiffLimit.CreateBACnetOptionalREALBuilder()) - var err error - m.LowDiffLimit, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetOptionalREALBuilder failed")) - } - return m -} - func (m *_BACnetConstructedDataLowDiffLimitBuilder) Build() (BACnetConstructedDataLowDiffLimit, error) { if m.LowDiffLimit == nil { if m.err == nil { diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLowLimit.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLowLimit.go index 493f6ed574..47eca7e733 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLowLimit.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLowLimit.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLowerDeck.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLowerDeck.go index fb671538b0..2d23bf8fb6 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLowerDeck.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLowerDeck.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMACAddress.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMACAddress.go index 4e12a517f5..4dd4758efc 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMACAddress.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMACAddress.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMachineRoomID.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMachineRoomID.go index 2b3dbf2ffb..b6aeff756a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMachineRoomID.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMachineRoomID.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaintenanceRequired.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaintenanceRequired.go index c36a57360c..9ac81518bc 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaintenanceRequired.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaintenanceRequired.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMakingCarCall.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMakingCarCall.go index 6431b932d9..4fe5152d58 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMakingCarCall.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMakingCarCall.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataManipulatedVariableReference.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataManipulatedVariableReference.go index 2c4373718f..a73a6cd56e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataManipulatedVariableReference.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataManipulatedVariableReference.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataManualSlaveAddressBinding.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataManualSlaveAddressBinding.go index 6c1ed96e82..fb8704e3f7 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataManualSlaveAddressBinding.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataManualSlaveAddressBinding.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaskedAlarmValues.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaskedAlarmValues.go index 1dc5eac0bc..26900f9a7d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaskedAlarmValues.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaskedAlarmValues.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaxAPDULengthAccepted.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaxAPDULengthAccepted.go index 6dc434f418..0607283f2b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaxAPDULengthAccepted.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaxAPDULengthAccepted.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaxActualValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaxActualValue.go index 4ebdf9d4c4..94bb276099 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaxActualValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaxActualValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaxFailedAttempts.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaxFailedAttempts.go index 6a36d9fee0..7756ca225b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaxFailedAttempts.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaxFailedAttempts.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaxInfoFrames.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaxInfoFrames.go index 5a64b0ce10..62bef97d08 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaxInfoFrames.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaxInfoFrames.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaxMaster.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaxMaster.go index 9f676c2cfe..578e1f62e3 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaxMaster.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaxMaster.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaxPresValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaxPresValue.go index 59ab261e6a..68a01edb36 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaxPresValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaxPresValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaxSegmentsAccepted.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaxSegmentsAccepted.go index 689c2351a8..fc1dca3cce 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaxSegmentsAccepted.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaxSegmentsAccepted.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaximumOutput.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaximumOutput.go index 13bc5fe677..45b888a047 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaximumOutput.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaximumOutput.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaximumValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaximumValue.go index e65abe7bf7..f7af94c239 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaximumValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaximumValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaximumValueTimestamp.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaximumValueTimestamp.go index f446464963..22c9fb7bda 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaximumValueTimestamp.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaximumValueTimestamp.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMemberOf.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMemberOf.go index de734dfae3..9ef90d142e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMemberOf.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMemberOf.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMemberStatusFlags.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMemberStatusFlags.go index e39c70636e..23a4193997 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMemberStatusFlags.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMemberStatusFlags.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMembers.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMembers.go index 92758e4d44..8ba395c847 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMembers.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMembers.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMinActualValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMinActualValue.go index 3e40495e4b..9726e89ac6 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMinActualValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMinActualValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMinPresValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMinPresValue.go index 1297bc37a8..50861e49ed 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMinPresValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMinPresValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMinimumOffTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMinimumOffTime.go index b2f8ad5989..f6c744ba4f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMinimumOffTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMinimumOffTime.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMinimumOnTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMinimumOnTime.go index 0d21e91d91..a4f1a60a58 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMinimumOnTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMinimumOnTime.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMinimumOutput.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMinimumOutput.go index 032f00e118..e7bf5fbe23 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMinimumOutput.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMinimumOutput.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMinimumValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMinimumValue.go index 823f6a49d7..a42e8b7b36 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMinimumValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMinimumValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMinimumValueTimestamp.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMinimumValueTimestamp.go index 9900a380d1..15ce73aefd 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMinimumValueTimestamp.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMinimumValueTimestamp.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMode.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMode.go index 5428854e1d..6380be5d0a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMode.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMode.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataModelName.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataModelName.go index 212780defd..c7ea1ea056 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataModelName.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataModelName.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataModificationDate.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataModificationDate.go index 519a19c777..162d54064e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataModificationDate.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataModificationDate.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateInputAlarmValues.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateInputAlarmValues.go index 57888962c6..ef8752b178 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateInputAlarmValues.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateInputAlarmValues.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateInputAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateInputAll.go index f57e94860e..e4e1f5940d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateInputAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateInputAll.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateInputFaultValues.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateInputFaultValues.go index e2f4181bed..4ebccdb574 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateInputFaultValues.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateInputFaultValues.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateInputInterfaceValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateInputInterfaceValue.go index 5f4edb17f6..fc87ed2940 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateInputInterfaceValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateInputInterfaceValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -82,8 +84,6 @@ type BACnetConstructedDataMultiStateInputInterfaceValueBuilder interface { WithMandatoryFields(interfaceValue BACnetOptionalBinaryPV) BACnetConstructedDataMultiStateInputInterfaceValueBuilder // WithInterfaceValue adds InterfaceValue (property field) WithInterfaceValue(BACnetOptionalBinaryPV) BACnetConstructedDataMultiStateInputInterfaceValueBuilder - // WithInterfaceValueBuilder adds InterfaceValue (property field) which is build by the builder - WithInterfaceValueBuilder(func(BACnetOptionalBinaryPVBuilder) BACnetOptionalBinaryPVBuilder) BACnetConstructedDataMultiStateInputInterfaceValueBuilder // Build builds the BACnetConstructedDataMultiStateInputInterfaceValue or returns an error if something is wrong Build() (BACnetConstructedDataMultiStateInputInterfaceValue, error) // MustBuild does the same as Build but panics on error @@ -112,19 +112,6 @@ func (m *_BACnetConstructedDataMultiStateInputInterfaceValueBuilder) WithInterfa return m } -func (m *_BACnetConstructedDataMultiStateInputInterfaceValueBuilder) WithInterfaceValueBuilder(builderSupplier func(BACnetOptionalBinaryPVBuilder) BACnetOptionalBinaryPVBuilder) BACnetConstructedDataMultiStateInputInterfaceValueBuilder { - builder := builderSupplier(m.InterfaceValue.CreateBACnetOptionalBinaryPVBuilder()) - var err error - m.InterfaceValue, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetOptionalBinaryPVBuilder failed")) - } - return m -} - func (m *_BACnetConstructedDataMultiStateInputInterfaceValueBuilder) Build() (BACnetConstructedDataMultiStateInputInterfaceValue, error) { if m.InterfaceValue == nil { if m.err == nil { diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateOutputAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateOutputAll.go index be8318f7a0..badac116e3 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateOutputAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateOutputAll.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateOutputFeedbackValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateOutputFeedbackValue.go index e7e55c9d9d..79a30ae146 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateOutputFeedbackValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateOutputFeedbackValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateOutputInterfaceValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateOutputInterfaceValue.go index 12e855a559..9af7e3572c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateOutputInterfaceValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateOutputInterfaceValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -82,8 +84,6 @@ type BACnetConstructedDataMultiStateOutputInterfaceValueBuilder interface { WithMandatoryFields(interfaceValue BACnetOptionalBinaryPV) BACnetConstructedDataMultiStateOutputInterfaceValueBuilder // WithInterfaceValue adds InterfaceValue (property field) WithInterfaceValue(BACnetOptionalBinaryPV) BACnetConstructedDataMultiStateOutputInterfaceValueBuilder - // WithInterfaceValueBuilder adds InterfaceValue (property field) which is build by the builder - WithInterfaceValueBuilder(func(BACnetOptionalBinaryPVBuilder) BACnetOptionalBinaryPVBuilder) BACnetConstructedDataMultiStateOutputInterfaceValueBuilder // Build builds the BACnetConstructedDataMultiStateOutputInterfaceValue or returns an error if something is wrong Build() (BACnetConstructedDataMultiStateOutputInterfaceValue, error) // MustBuild does the same as Build but panics on error @@ -112,19 +112,6 @@ func (m *_BACnetConstructedDataMultiStateOutputInterfaceValueBuilder) WithInterf return m } -func (m *_BACnetConstructedDataMultiStateOutputInterfaceValueBuilder) WithInterfaceValueBuilder(builderSupplier func(BACnetOptionalBinaryPVBuilder) BACnetOptionalBinaryPVBuilder) BACnetConstructedDataMultiStateOutputInterfaceValueBuilder { - builder := builderSupplier(m.InterfaceValue.CreateBACnetOptionalBinaryPVBuilder()) - var err error - m.InterfaceValue, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetOptionalBinaryPVBuilder failed")) - } - return m -} - func (m *_BACnetConstructedDataMultiStateOutputInterfaceValueBuilder) Build() (BACnetConstructedDataMultiStateOutputInterfaceValue, error) { if m.InterfaceValue == nil { if m.err == nil { diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateOutputRelinquishDefault.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateOutputRelinquishDefault.go index 738b67f5dd..8e48f13061 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateOutputRelinquishDefault.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateOutputRelinquishDefault.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateValueAlarmValues.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateValueAlarmValues.go index ff1979db3d..01ca205015 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateValueAlarmValues.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateValueAlarmValues.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateValueAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateValueAll.go index b94c8b66d2..1b39d84210 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateValueAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateValueAll.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateValueFaultValues.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateValueFaultValues.go index 06fb9876b4..1e14071321 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateValueFaultValues.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateValueFaultValues.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateValueRelinquishDefault.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateValueRelinquishDefault.go index 0ffe956778..9db2d01421 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateValueRelinquishDefault.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateValueRelinquishDefault.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMusterPoint.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMusterPoint.go index 6d82897406..07e1f294a6 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMusterPoint.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMusterPoint.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNegativeAccessRules.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNegativeAccessRules.go index eb031a6000..572b38e0c0 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNegativeAccessRules.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNegativeAccessRules.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNetworkAccessSecurityPolicies.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNetworkAccessSecurityPolicies.go index 4bb750e221..f058b5bcd6 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNetworkAccessSecurityPolicies.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNetworkAccessSecurityPolicies.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNetworkInterfaceName.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNetworkInterfaceName.go index 8ba4b5c7f7..2b9b8da24f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNetworkInterfaceName.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNetworkInterfaceName.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNetworkNumber.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNetworkNumber.go index c53155657e..3c1c2edcdf 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNetworkNumber.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNetworkNumber.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNetworkNumberQuality.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNetworkNumberQuality.go index d6a7e76662..066998b8ba 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNetworkNumberQuality.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNetworkNumberQuality.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNetworkPortAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNetworkPortAll.go index ea95ac49b4..e858438395 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNetworkPortAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNetworkPortAll.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNetworkPortMaxInfoFrames.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNetworkPortMaxInfoFrames.go index c0d2db7c98..7813fbe8ae 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNetworkPortMaxInfoFrames.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNetworkPortMaxInfoFrames.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNetworkPortMaxMaster.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNetworkPortMaxMaster.go index 7159046a7d..aa588656d7 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNetworkPortMaxMaster.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNetworkPortMaxMaster.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNetworkSecurityAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNetworkSecurityAll.go index 71c0481975..72cc9b35f6 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNetworkSecurityAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNetworkSecurityAll.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNetworkType.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNetworkType.go index 3d9f1c4957..4aa2923784 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNetworkType.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNetworkType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNextStoppingFloor.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNextStoppingFloor.go index 4c38a5f353..f2674fd711 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNextStoppingFloor.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNextStoppingFloor.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNodeSubtype.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNodeSubtype.go index 6889581f0e..6f669217d7 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNodeSubtype.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNodeSubtype.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNodeType.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNodeType.go index 40ded40f37..757ba50a61 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNodeType.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNodeType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNotificationClass.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNotificationClass.go index cea01e9b2f..b8e155e768 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNotificationClass.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNotificationClass.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNotificationClassAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNotificationClassAll.go index 83db76bec9..fb7220daa7 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNotificationClassAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNotificationClassAll.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNotificationForwarderAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNotificationForwarderAll.go index b413089508..74c7c65a81 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNotificationForwarderAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNotificationForwarderAll.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNotificationThreshold.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNotificationThreshold.go index 0ab2456c95..898c7c6742 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNotificationThreshold.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNotificationThreshold.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNotifyType.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNotifyType.go index 25581f1a54..1add1a829a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNotifyType.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNotifyType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNumberOfAPDURetries.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNumberOfAPDURetries.go index b5803eb956..f9ae60e4da 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNumberOfAPDURetries.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNumberOfAPDURetries.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNumberOfAuthenticationPolicies.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNumberOfAuthenticationPolicies.go index 6802999eb9..50eef86588 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNumberOfAuthenticationPolicies.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNumberOfAuthenticationPolicies.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNumberOfStates.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNumberOfStates.go index 9feb4a9c44..e5610ba8ff 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNumberOfStates.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNumberOfStates.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataObjectIdentifier.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataObjectIdentifier.go index 8ca4d092ce..8895c3be26 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataObjectIdentifier.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataObjectIdentifier.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataObjectList.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataObjectList.go index b35d53032b..554ff1ff98 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataObjectList.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataObjectList.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataObjectName.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataObjectName.go index 8aa40c7d09..2cff5f8eba 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataObjectName.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataObjectName.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataObjectPropertyReference.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataObjectPropertyReference.go index c6a1ddfc5f..ff843fc65f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataObjectPropertyReference.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataObjectPropertyReference.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataObjectType.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataObjectType.go index c5278af86b..a5a98af191 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataObjectType.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataObjectType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOccupancyCount.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOccupancyCount.go index a7cd7613e4..e9c8fac0a2 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOccupancyCount.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOccupancyCount.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOccupancyCountAdjust.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOccupancyCountAdjust.go index d2548ffefa..789c27e023 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOccupancyCountAdjust.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOccupancyCountAdjust.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOccupancyCountEnable.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOccupancyCountEnable.go index e186c9fe54..6abfc571e1 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOccupancyCountEnable.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOccupancyCountEnable.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOccupancyLowerLimit.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOccupancyLowerLimit.go index 50ae478e62..3a4e75ac8f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOccupancyLowerLimit.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOccupancyLowerLimit.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOccupancyLowerLimitEnforced.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOccupancyLowerLimitEnforced.go index fed2b71a7b..deeb1d4909 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOccupancyLowerLimitEnforced.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOccupancyLowerLimitEnforced.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOccupancyState.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOccupancyState.go index 4f7c7a1238..7f8a9193f7 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOccupancyState.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOccupancyState.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOccupancyUpperLimit.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOccupancyUpperLimit.go index d9d4fcaaf4..252f48bb0a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOccupancyUpperLimit.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOccupancyUpperLimit.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOccupancyUpperLimitEnforced.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOccupancyUpperLimitEnforced.go index c6d3855639..190cac2633 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOccupancyUpperLimitEnforced.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOccupancyUpperLimitEnforced.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOctetStringValuePresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOctetStringValuePresentValue.go index aa5113df5a..89c80a582e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOctetStringValuePresentValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOctetStringValuePresentValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOctetStringValueRelinquishDefault.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOctetStringValueRelinquishDefault.go index ed490234ad..cb78b199ef 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOctetStringValueRelinquishDefault.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOctetStringValueRelinquishDefault.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOctetstringValueAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOctetstringValueAll.go index 4158eb3321..4f9f4696bd 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOctetstringValueAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOctetstringValueAll.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOperationDirection.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOperationDirection.go index 9b87cdbba2..669e34ed9c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOperationDirection.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOperationDirection.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOperationExpected.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOperationExpected.go index 591486277b..c88a9f64dd 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOperationExpected.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOperationExpected.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOptional.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOptional.go index 184821a338..dac4cbc3a0 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOptional.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOptional.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOutOfService.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOutOfService.go index 09698aa858..f1b597588f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOutOfService.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOutOfService.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOutputUnits.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOutputUnits.go index 12f63a65ae..d251254d4e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOutputUnits.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOutputUnits.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPacketReorderTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPacketReorderTime.go index fccbb7ab2e..d89fc62f42 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPacketReorderTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPacketReorderTime.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPassbackMode.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPassbackMode.go index 29b8e574c3..4b204b4a0f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPassbackMode.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPassbackMode.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPassbackTimeout.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPassbackTimeout.go index f96ba2d9a9..825ad50965 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPassbackTimeout.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPassbackTimeout.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPassengerAlarm.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPassengerAlarm.go index a580d76d11..f2cd91d94b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPassengerAlarm.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPassengerAlarm.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPolarity.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPolarity.go index e1c70284b1..b6498a5471 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPolarity.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPolarity.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPortFilter.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPortFilter.go index 1789d07550..e2f7b45ba8 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPortFilter.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPortFilter.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveAccessRules.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveAccessRules.go index 870c724b1a..7d3458092b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveAccessRules.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveAccessRules.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueAll.go index 589b3928d3..e08e72d371 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueAll.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueCOVIncrement.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueCOVIncrement.go index e5b0028242..f14433ea40 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueCOVIncrement.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueCOVIncrement.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueDeadband.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueDeadband.go index c45e3045f1..5954c668e7 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueDeadband.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueDeadband.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueFaultHighLimit.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueFaultHighLimit.go index 18d5e9a176..3132932a27 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueFaultHighLimit.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueFaultHighLimit.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueFaultLowLimit.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueFaultLowLimit.go index a736c31e89..83ec6f172a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueFaultLowLimit.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueFaultLowLimit.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueHighLimit.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueHighLimit.go index 7532c4305e..6241b63170 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueHighLimit.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueHighLimit.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueLowLimit.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueLowLimit.go index 792149b10a..691d3894b4 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueLowLimit.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueLowLimit.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueMaxPresValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueMaxPresValue.go index fa88b0bfb2..1930fe737f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueMaxPresValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueMaxPresValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueMinPresValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueMinPresValue.go index 52a8be9ccf..b91eda7f74 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueMinPresValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueMinPresValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueRelinquishDefault.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueRelinquishDefault.go index 0fec0331cc..f447a64ee5 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueRelinquishDefault.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueRelinquishDefault.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueResolution.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueResolution.go index f4d971a535..57f764c42c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueResolution.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueResolution.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPower.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPower.go index 246ef2a898..bae29529aa 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPower.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPower.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPowerMode.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPowerMode.go index 9019fa61aa..5bfd077e9c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPowerMode.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPowerMode.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPrescale.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPrescale.go index 9dd78bba17..ed77439cca 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPrescale.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPrescale.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPresentValue.go index b829d36a6d..869159a3ba 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPresentValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPresentValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPriority.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPriority.go index e0659fe123..37a727b5a9 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPriority.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPriority.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPriorityArray.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPriorityArray.go index 22d7ab41d2..9571e39bce 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPriorityArray.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPriorityArray.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPriorityForWriting.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPriorityForWriting.go index 8378f02e13..57d25c91ae 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPriorityForWriting.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPriorityForWriting.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProcessIdentifier.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProcessIdentifier.go index f8479bdf87..0c7e7bbace 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProcessIdentifier.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProcessIdentifier.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProcessIdentifierFilter.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProcessIdentifierFilter.go index 411aa8b59b..29e71a5006 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProcessIdentifierFilter.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProcessIdentifierFilter.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -82,8 +84,6 @@ type BACnetConstructedDataProcessIdentifierFilterBuilder interface { WithMandatoryFields(processIdentifierFilter BACnetProcessIdSelection) BACnetConstructedDataProcessIdentifierFilterBuilder // WithProcessIdentifierFilter adds ProcessIdentifierFilter (property field) WithProcessIdentifierFilter(BACnetProcessIdSelection) BACnetConstructedDataProcessIdentifierFilterBuilder - // WithProcessIdentifierFilterBuilder adds ProcessIdentifierFilter (property field) which is build by the builder - WithProcessIdentifierFilterBuilder(func(BACnetProcessIdSelectionBuilder) BACnetProcessIdSelectionBuilder) BACnetConstructedDataProcessIdentifierFilterBuilder // Build builds the BACnetConstructedDataProcessIdentifierFilter or returns an error if something is wrong Build() (BACnetConstructedDataProcessIdentifierFilter, error) // MustBuild does the same as Build but panics on error @@ -112,19 +112,6 @@ func (m *_BACnetConstructedDataProcessIdentifierFilterBuilder) WithProcessIdenti return m } -func (m *_BACnetConstructedDataProcessIdentifierFilterBuilder) WithProcessIdentifierFilterBuilder(builderSupplier func(BACnetProcessIdSelectionBuilder) BACnetProcessIdSelectionBuilder) BACnetConstructedDataProcessIdentifierFilterBuilder { - builder := builderSupplier(m.ProcessIdentifierFilter.CreateBACnetProcessIdSelectionBuilder()) - var err error - m.ProcessIdentifierFilter, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetProcessIdSelectionBuilder failed")) - } - return m -} - func (m *_BACnetConstructedDataProcessIdentifierFilterBuilder) Build() (BACnetConstructedDataProcessIdentifierFilter, error) { if m.ProcessIdentifierFilter == nil { if m.err == nil { diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProfileLocation.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProfileLocation.go index 714ce4f9d5..fe85d35c2e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProfileLocation.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProfileLocation.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProfileName.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProfileName.go index 8aba3520b8..417294097b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProfileName.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProfileName.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProgramAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProgramAll.go index 03af7b52b3..4ed706e8bf 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProgramAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProgramAll.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProgramChange.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProgramChange.go index 24caa26f01..0b43e1374c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProgramChange.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProgramChange.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProgramLocation.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProgramLocation.go index 9a51a7451f..77f6b71ed5 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProgramLocation.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProgramLocation.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProgramState.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProgramState.go index ec8ed3121b..43da6e26e6 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProgramState.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProgramState.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPropertyList.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPropertyList.go index 8352449283..6f8400af4e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPropertyList.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPropertyList.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProportionalConstant.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProportionalConstant.go index 8e6a9f0d1f..0bfe9f0d39 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProportionalConstant.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProportionalConstant.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProportionalConstantUnits.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProportionalConstantUnits.go index 81ac268a7c..38ac46a433 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProportionalConstantUnits.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProportionalConstantUnits.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProtocolLevel.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProtocolLevel.go index 10fe58fa55..ec9070f613 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProtocolLevel.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProtocolLevel.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProtocolObjectTypesSupported.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProtocolObjectTypesSupported.go index 590f709cd7..8b1abc2fe2 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProtocolObjectTypesSupported.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProtocolObjectTypesSupported.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProtocolRevision.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProtocolRevision.go index c58d1a8db1..e883e4b5b9 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProtocolRevision.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProtocolRevision.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProtocolServicesSupported.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProtocolServicesSupported.go index a7df3d340e..352316a13b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProtocolServicesSupported.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProtocolServicesSupported.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProtocolVersion.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProtocolVersion.go index 8d6c7763e9..2126833729 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProtocolVersion.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProtocolVersion.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPulseConverterAdjustValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPulseConverterAdjustValue.go index a60d338088..38b3f61844 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPulseConverterAdjustValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPulseConverterAdjustValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPulseConverterAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPulseConverterAll.go index c58ffc9a93..a935abe12f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPulseConverterAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPulseConverterAll.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPulseConverterPresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPulseConverterPresentValue.go index 66e57abc7a..1d6b6160f3 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPulseConverterPresentValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPulseConverterPresentValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPulseRate.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPulseRate.go index c9dac0b049..ff77dbede5 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPulseRate.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPulseRate.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataReadOnly.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataReadOnly.go index 1a9ff9dc87..d1b5dd0555 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataReadOnly.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataReadOnly.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataReasonForDisable.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataReasonForDisable.go index c079703da9..4bca8b748c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataReasonForDisable.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataReasonForDisable.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataReasonForHalt.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataReasonForHalt.go index a7d9d2823e..e02c5a7fd4 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataReasonForHalt.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataReasonForHalt.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRecipientList.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRecipientList.go index 487e60438d..b3698835c7 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRecipientList.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRecipientList.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRecordCount.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRecordCount.go index fce1138955..8ba52e96a8 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRecordCount.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRecordCount.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRecordsSinceNotification.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRecordsSinceNotification.go index bbe456470e..9aa47bea71 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRecordsSinceNotification.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRecordsSinceNotification.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataReferencePort.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataReferencePort.go index 2fbeaee498..76f99c99b5 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataReferencePort.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataReferencePort.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRegisteredCarCall.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRegisteredCarCall.go index d361782ebc..6f5acbc095 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRegisteredCarCall.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRegisteredCarCall.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataReliability.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataReliability.go index ba7cc10b5f..21404a4042 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataReliability.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataReliability.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataReliabilityEvaluationInhibit.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataReliabilityEvaluationInhibit.go index 28717b7424..af51142d53 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataReliabilityEvaluationInhibit.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataReliabilityEvaluationInhibit.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRelinquishDefault.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRelinquishDefault.go index cc99d7868f..5b282df5d7 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRelinquishDefault.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRelinquishDefault.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRepresents.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRepresents.go index 6fb9c8158b..654da83007 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRepresents.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRepresents.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRequestedShedLevel.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRequestedShedLevel.go index 3012434175..4f01f6e1f2 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRequestedShedLevel.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRequestedShedLevel.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -82,8 +84,6 @@ type BACnetConstructedDataRequestedShedLevelBuilder interface { WithMandatoryFields(requestedShedLevel BACnetShedLevel) BACnetConstructedDataRequestedShedLevelBuilder // WithRequestedShedLevel adds RequestedShedLevel (property field) WithRequestedShedLevel(BACnetShedLevel) BACnetConstructedDataRequestedShedLevelBuilder - // WithRequestedShedLevelBuilder adds RequestedShedLevel (property field) which is build by the builder - WithRequestedShedLevelBuilder(func(BACnetShedLevelBuilder) BACnetShedLevelBuilder) BACnetConstructedDataRequestedShedLevelBuilder // Build builds the BACnetConstructedDataRequestedShedLevel or returns an error if something is wrong Build() (BACnetConstructedDataRequestedShedLevel, error) // MustBuild does the same as Build but panics on error @@ -112,19 +112,6 @@ func (m *_BACnetConstructedDataRequestedShedLevelBuilder) WithRequestedShedLevel return m } -func (m *_BACnetConstructedDataRequestedShedLevelBuilder) WithRequestedShedLevelBuilder(builderSupplier func(BACnetShedLevelBuilder) BACnetShedLevelBuilder) BACnetConstructedDataRequestedShedLevelBuilder { - builder := builderSupplier(m.RequestedShedLevel.CreateBACnetShedLevelBuilder()) - var err error - m.RequestedShedLevel, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetShedLevelBuilder failed")) - } - return m -} - func (m *_BACnetConstructedDataRequestedShedLevelBuilder) Build() (BACnetConstructedDataRequestedShedLevel, error) { if m.RequestedShedLevel == nil { if m.err == nil { diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRequestedUpdateInterval.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRequestedUpdateInterval.go index 9b6021a7a7..caa16782a8 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRequestedUpdateInterval.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRequestedUpdateInterval.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRequired.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRequired.go index 34c4b393ec..1fe4ee37cb 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRequired.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRequired.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataResolution.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataResolution.go index 43664aa239..ea81a3915d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataResolution.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataResolution.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRestartNotificationRecipients.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRestartNotificationRecipients.go index 39166bfebe..8a15e2c6ad 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRestartNotificationRecipients.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRestartNotificationRecipients.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRestoreCompletionTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRestoreCompletionTime.go index 761896ba9c..8bcdedc42e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRestoreCompletionTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRestoreCompletionTime.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRestorePreparationTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRestorePreparationTime.go index 0288b6b34c..8f9755af07 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRestorePreparationTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRestorePreparationTime.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRoutingTable.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRoutingTable.go index 8ff0158d1f..709b9941aa 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRoutingTable.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRoutingTable.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataScale.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataScale.go index a46c90da2f..b45c074999 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataScale.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataScale.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -82,8 +84,6 @@ type BACnetConstructedDataScaleBuilder interface { WithMandatoryFields(scale BACnetScale) BACnetConstructedDataScaleBuilder // WithScale adds Scale (property field) WithScale(BACnetScale) BACnetConstructedDataScaleBuilder - // WithScaleBuilder adds Scale (property field) which is build by the builder - WithScaleBuilder(func(BACnetScaleBuilder) BACnetScaleBuilder) BACnetConstructedDataScaleBuilder // Build builds the BACnetConstructedDataScale or returns an error if something is wrong Build() (BACnetConstructedDataScale, error) // MustBuild does the same as Build but panics on error @@ -112,19 +112,6 @@ func (m *_BACnetConstructedDataScaleBuilder) WithScale(scale BACnetScale) BACnet return m } -func (m *_BACnetConstructedDataScaleBuilder) WithScaleBuilder(builderSupplier func(BACnetScaleBuilder) BACnetScaleBuilder) BACnetConstructedDataScaleBuilder { - builder := builderSupplier(m.Scale.CreateBACnetScaleBuilder()) - var err error - m.Scale, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetScaleBuilder failed")) - } - return m -} - func (m *_BACnetConstructedDataScaleBuilder) Build() (BACnetConstructedDataScale, error) { if m.Scale == nil { if m.err == nil { diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataScaleFactor.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataScaleFactor.go index 46fae8ee84..2f667e555f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataScaleFactor.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataScaleFactor.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataScheduleAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataScheduleAll.go index 0b0a7c7f02..e22d05c76e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataScheduleAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataScheduleAll.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataScheduleDefault.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataScheduleDefault.go index a608aa8a65..3a2722a076 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataScheduleDefault.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataScheduleDefault.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSchedulePresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSchedulePresentValue.go index 3c481a4acd..79f305da31 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSchedulePresentValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSchedulePresentValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSecuredStatus.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSecuredStatus.go index be571da7bc..dc8aa71ae4 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSecuredStatus.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSecuredStatus.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSecurityPDUTimeout.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSecurityPDUTimeout.go index 4a4620f377..5715f407b8 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSecurityPDUTimeout.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSecurityPDUTimeout.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSecurityTimeWindow.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSecurityTimeWindow.go index cea5a3110e..294bf10c0a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSecurityTimeWindow.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSecurityTimeWindow.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSegmentationSupported.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSegmentationSupported.go index 19edc63817..3662a40fd2 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSegmentationSupported.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSegmentationSupported.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSerialNumber.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSerialNumber.go index a1dfba1aee..acb0c09598 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSerialNumber.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSerialNumber.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSetpoint.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSetpoint.go index 7903e2c49f..2b0e9082c3 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSetpoint.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSetpoint.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSetpointReference.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSetpointReference.go index 9ac14030ba..34cd699333 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSetpointReference.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSetpointReference.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSetting.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSetting.go index c8b4418e1e..e7b4e001e4 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSetting.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSetting.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataShedDuration.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataShedDuration.go index b1ba052b6d..84b0155ee8 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataShedDuration.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataShedDuration.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataShedLevelDescriptions.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataShedLevelDescriptions.go index 3de39ff9fa..eaa7605fa6 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataShedLevelDescriptions.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataShedLevelDescriptions.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataShedLevels.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataShedLevels.go index a548ad306f..194aa4e298 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataShedLevels.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataShedLevels.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSilenced.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSilenced.go index f02a93cfea..105d89e1f7 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSilenced.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSilenced.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSlaveAddressBinding.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSlaveAddressBinding.go index cb7e86dadc..b614b6796b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSlaveAddressBinding.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSlaveAddressBinding.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSlaveProxyEnable.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSlaveProxyEnable.go index 8ca2cf8655..a74cee5da9 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSlaveProxyEnable.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSlaveProxyEnable.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStartTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStartTime.go index 1b0ba9eff3..3e2381c04b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStartTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStartTime.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStateChangeValues.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStateChangeValues.go index 1fbeec0bb3..eb2633167e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStateChangeValues.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStateChangeValues.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStateDescription.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStateDescription.go index f8bc241f20..5796784249 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStateDescription.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStateDescription.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStateText.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStateText.go index 48d76d8252..9f3c9bb45c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStateText.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStateText.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStatusFlags.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStatusFlags.go index 219831f7f4..db08cda096 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStatusFlags.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStatusFlags.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStopTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStopTime.go index 5963c9f80d..779b701974 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStopTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStopTime.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStopWhenFull.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStopWhenFull.go index 27ebd25c81..924c46bf62 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStopWhenFull.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStopWhenFull.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStrikeCount.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStrikeCount.go index 6c4edaab15..d3d9ccb161 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStrikeCount.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStrikeCount.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStructuredObjectList.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStructuredObjectList.go index d15723a17a..810213ca59 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStructuredObjectList.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStructuredObjectList.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStructuredViewAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStructuredViewAll.go index 92f55f7e3a..2b1ff0420c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStructuredViewAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStructuredViewAll.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSubordinateAnnotations.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSubordinateAnnotations.go index 86ac438339..88f332e94a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSubordinateAnnotations.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSubordinateAnnotations.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSubordinateList.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSubordinateList.go index 55c8ca6a28..17834996a9 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSubordinateList.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSubordinateList.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSubordinateNodeTypes.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSubordinateNodeTypes.go index c254f9ce2e..0668c42cd2 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSubordinateNodeTypes.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSubordinateNodeTypes.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSubordinateRelationships.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSubordinateRelationships.go index 2406bfa9a7..644bb6f128 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSubordinateRelationships.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSubordinateRelationships.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSubordinateTags.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSubordinateTags.go index 33ba36e61e..d6541af5e0 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSubordinateTags.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSubordinateTags.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSubscribedRecipients.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSubscribedRecipients.go index 204a9be51b..4bfc2cfc3d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSubscribedRecipients.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSubscribedRecipients.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSupportedFormatClasses.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSupportedFormatClasses.go index c496b5aded..52ea897aca 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSupportedFormatClasses.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSupportedFormatClasses.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSupportedFormats.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSupportedFormats.go index 465500e23c..e94982e815 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSupportedFormats.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSupportedFormats.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSupportedSecurityAlgorithms.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSupportedSecurityAlgorithms.go index 58e73acdc8..79b03d11d9 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSupportedSecurityAlgorithms.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSupportedSecurityAlgorithms.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSystemStatus.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSystemStatus.go index 83a79a0e61..a6df84add0 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSystemStatus.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSystemStatus.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTags.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTags.go index 60820783ae..6d11db1a88 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTags.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTags.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataThreatAuthority.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataThreatAuthority.go index 06833aebeb..17ceb79c6c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataThreatAuthority.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataThreatAuthority.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataThreatLevel.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataThreatLevel.go index 48da1ad4a3..8c84954a7e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataThreatLevel.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataThreatLevel.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeDelay.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeDelay.go index d5f022db39..42a722c316 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeDelay.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeDelay.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeDelayNormal.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeDelayNormal.go index d104f3e177..2f222975f4 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeDelayNormal.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeDelayNormal.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeOfActiveTimeReset.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeOfActiveTimeReset.go index fc0f797873..6219e86a4f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeOfActiveTimeReset.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeOfActiveTimeReset.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeOfDeviceRestart.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeOfDeviceRestart.go index 80778bc34c..d507321c2e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeOfDeviceRestart.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeOfDeviceRestart.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -82,8 +84,6 @@ type BACnetConstructedDataTimeOfDeviceRestartBuilder interface { WithMandatoryFields(timeOfDeviceRestart BACnetTimeStamp) BACnetConstructedDataTimeOfDeviceRestartBuilder // WithTimeOfDeviceRestart adds TimeOfDeviceRestart (property field) WithTimeOfDeviceRestart(BACnetTimeStamp) BACnetConstructedDataTimeOfDeviceRestartBuilder - // WithTimeOfDeviceRestartBuilder adds TimeOfDeviceRestart (property field) which is build by the builder - WithTimeOfDeviceRestartBuilder(func(BACnetTimeStampBuilder) BACnetTimeStampBuilder) BACnetConstructedDataTimeOfDeviceRestartBuilder // Build builds the BACnetConstructedDataTimeOfDeviceRestart or returns an error if something is wrong Build() (BACnetConstructedDataTimeOfDeviceRestart, error) // MustBuild does the same as Build but panics on error @@ -112,19 +112,6 @@ func (m *_BACnetConstructedDataTimeOfDeviceRestartBuilder) WithTimeOfDeviceResta return m } -func (m *_BACnetConstructedDataTimeOfDeviceRestartBuilder) WithTimeOfDeviceRestartBuilder(builderSupplier func(BACnetTimeStampBuilder) BACnetTimeStampBuilder) BACnetConstructedDataTimeOfDeviceRestartBuilder { - builder := builderSupplier(m.TimeOfDeviceRestart.CreateBACnetTimeStampBuilder()) - var err error - m.TimeOfDeviceRestart, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetTimeStampBuilder failed")) - } - return m -} - func (m *_BACnetConstructedDataTimeOfDeviceRestartBuilder) Build() (BACnetConstructedDataTimeOfDeviceRestart, error) { if m.TimeOfDeviceRestart == nil { if m.err == nil { diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeOfStateCountReset.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeOfStateCountReset.go index eca6e7d937..2481bbacbd 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeOfStateCountReset.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeOfStateCountReset.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeOfStrikeCountReset.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeOfStrikeCountReset.go index 5f66dbc81e..6d640e6724 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeOfStrikeCountReset.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeOfStrikeCountReset.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimePatternValuePresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimePatternValuePresentValue.go index 50c172e0f0..76e9cca94b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimePatternValuePresentValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimePatternValuePresentValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimePatternValueRelinquishDefault.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimePatternValueRelinquishDefault.go index 7f381c68dc..48b6acfde9 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimePatternValueRelinquishDefault.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimePatternValueRelinquishDefault.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeSynchronizationInterval.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeSynchronizationInterval.go index 3e2f7e1ab6..20e1e6e6ad 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeSynchronizationInterval.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeSynchronizationInterval.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeSynchronizationRecipients.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeSynchronizationRecipients.go index c3edb0838b..884b47d480 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeSynchronizationRecipients.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeSynchronizationRecipients.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeValueAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeValueAll.go index f4abdbe5af..6262a39746 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeValueAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeValueAll.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeValuePresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeValuePresentValue.go index 8c4be41b0c..9f0a1a731e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeValuePresentValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeValuePresentValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeValueRelinquishDefault.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeValueRelinquishDefault.go index c00ed11c0b..0838a7fddf 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeValueRelinquishDefault.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeValueRelinquishDefault.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimepatternValueAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimepatternValueAll.go index 8680a48caf..a1feb7ee1e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimepatternValueAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimepatternValueAll.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimerAlarmValues.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimerAlarmValues.go index 1efa83cdca..bd5a086b34 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimerAlarmValues.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimerAlarmValues.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimerAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimerAll.go index 722ab8cd78..256fddf6cc 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimerAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimerAll.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimerMaxPresValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimerMaxPresValue.go index 9df1d995c4..ae5b2fe54d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimerMaxPresValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimerMaxPresValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimerMinPresValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimerMinPresValue.go index 5990249309..24985ceb74 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimerMinPresValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimerMinPresValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimerResolution.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimerResolution.go index 074888d427..69ede3c2ed 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimerResolution.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimerResolution.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimerRunning.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimerRunning.go index f6eed526b3..29c743e74c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimerRunning.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimerRunning.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimerState.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimerState.go index e9a10634e6..8b5c754802 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimerState.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimerState.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTotalRecordCount.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTotalRecordCount.go index 8a4b2a7187..c063b0f677 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTotalRecordCount.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTotalRecordCount.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTraceFlag.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTraceFlag.go index 10bd69d97a..b3f87c80a2 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTraceFlag.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTraceFlag.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTrackingValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTrackingValue.go index 8472e7955a..3bb504dd3e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTrackingValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTrackingValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTransactionNotificationClass.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTransactionNotificationClass.go index 06b3b9ecba..371eecba79 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTransactionNotificationClass.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTransactionNotificationClass.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTransition.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTransition.go index c905330b42..1ef97b8662 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTransition.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTransition.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTrendLogAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTrendLogAll.go index 0346174ffa..dd0ef92d96 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTrendLogAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTrendLogAll.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTrendLogLogBuffer.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTrendLogLogBuffer.go index e3ff5c30c6..febc52d4d3 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTrendLogLogBuffer.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTrendLogLogBuffer.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTrendLogLogDeviceObjectProperty.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTrendLogLogDeviceObjectProperty.go index b36f982433..928346bfc6 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTrendLogLogDeviceObjectProperty.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTrendLogLogDeviceObjectProperty.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTrendLogMultipleAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTrendLogMultipleAll.go index 7efa9ece4c..aea80fba2e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTrendLogMultipleAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTrendLogMultipleAll.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTrendLogMultipleLogBuffer.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTrendLogMultipleLogBuffer.go index 003451b6b3..988f4c2791 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTrendLogMultipleLogBuffer.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTrendLogMultipleLogBuffer.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTrendLogMultipleLogDeviceObjectProperty.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTrendLogMultipleLogDeviceObjectProperty.go index 069d73d4e0..1fd9d90a3f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTrendLogMultipleLogDeviceObjectProperty.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTrendLogMultipleLogDeviceObjectProperty.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTrigger.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTrigger.go index b29f108e8d..bbfa98c267 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTrigger.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTrigger.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUTCOffset.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUTCOffset.go index 86b031cfbd..f19265eef1 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUTCOffset.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUTCOffset.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUTCTimeSynchronizationRecipients.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUTCTimeSynchronizationRecipients.go index 113b33a6d8..e636b295e8 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUTCTimeSynchronizationRecipients.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUTCTimeSynchronizationRecipients.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUnits.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUnits.go index 76006a2a20..47a814d164 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUnits.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUnits.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUnspecified.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUnspecified.go index 53289aaaeb..2227f12bad 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUnspecified.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUnspecified.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUpdateInterval.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUpdateInterval.go index 7666ad88b9..39410073d5 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUpdateInterval.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUpdateInterval.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUpdateKeySetTimeout.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUpdateKeySetTimeout.go index ae60cd19c7..f9d91403e7 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUpdateKeySetTimeout.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUpdateKeySetTimeout.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUpdateTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUpdateTime.go index d6d80bba9a..5429ba5781 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUpdateTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUpdateTime.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUserExternalIdentifier.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUserExternalIdentifier.go index fe04ba01b1..0cdf08a3db 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUserExternalIdentifier.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUserExternalIdentifier.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUserInformationReference.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUserInformationReference.go index 7c6a9d4c8a..4d33b04a39 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUserInformationReference.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUserInformationReference.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUserName.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUserName.go index 4d74dc8322..e3004af125 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUserName.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUserName.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUserType.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUserType.go index 5938801204..baf557a160 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUserType.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUserType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUsesRemaining.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUsesRemaining.go index 13e7935bfb..0b042a6f62 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUsesRemaining.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUsesRemaining.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataVTClassesSupported.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataVTClassesSupported.go index 31ed162868..8e2f5b8863 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataVTClassesSupported.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataVTClassesSupported.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataValidSamples.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataValidSamples.go index 6a9fd2680e..8f8925f7d3 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataValidSamples.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataValidSamples.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataValueBeforeChange.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataValueBeforeChange.go index 138175f85d..8909908581 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataValueBeforeChange.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataValueBeforeChange.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataValueChangeTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataValueChangeTime.go index af3b151a69..a8e12c5be5 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataValueChangeTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataValueChangeTime.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataValueSet.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataValueSet.go index d513dfb8a9..0c3fdbfe37 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataValueSet.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataValueSet.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataValueSource.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataValueSource.go index c067ccbd5d..74387a6f84 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataValueSource.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataValueSource.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -82,8 +84,6 @@ type BACnetConstructedDataValueSourceBuilder interface { WithMandatoryFields(valueSource BACnetValueSource) BACnetConstructedDataValueSourceBuilder // WithValueSource adds ValueSource (property field) WithValueSource(BACnetValueSource) BACnetConstructedDataValueSourceBuilder - // WithValueSourceBuilder adds ValueSource (property field) which is build by the builder - WithValueSourceBuilder(func(BACnetValueSourceBuilder) BACnetValueSourceBuilder) BACnetConstructedDataValueSourceBuilder // Build builds the BACnetConstructedDataValueSource or returns an error if something is wrong Build() (BACnetConstructedDataValueSource, error) // MustBuild does the same as Build but panics on error @@ -112,19 +112,6 @@ func (m *_BACnetConstructedDataValueSourceBuilder) WithValueSource(valueSource B return m } -func (m *_BACnetConstructedDataValueSourceBuilder) WithValueSourceBuilder(builderSupplier func(BACnetValueSourceBuilder) BACnetValueSourceBuilder) BACnetConstructedDataValueSourceBuilder { - builder := builderSupplier(m.ValueSource.CreateBACnetValueSourceBuilder()) - var err error - m.ValueSource, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetValueSourceBuilder failed")) - } - return m -} - func (m *_BACnetConstructedDataValueSourceBuilder) Build() (BACnetConstructedDataValueSource, error) { if m.ValueSource == nil { if m.err == nil { diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataValueSourceArray.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataValueSourceArray.go index 0cdb0fdc33..61b3005d1c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataValueSourceArray.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataValueSourceArray.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataVarianceValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataVarianceValue.go index 7a4bbe0e51..917ba77c0a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataVarianceValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataVarianceValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataVendorIdentifier.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataVendorIdentifier.go index a85220aafc..8f990e1012 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataVendorIdentifier.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataVendorIdentifier.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataVendorName.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataVendorName.go index fadef75778..d79cb92eaf 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataVendorName.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataVendorName.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataVerificationTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataVerificationTime.go index f760d3a4bb..63d9908c28 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataVerificationTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataVerificationTime.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataVirtualMACAddressTable.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataVirtualMACAddressTable.go index 7830c49fd7..1f42dc5b4b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataVirtualMACAddressTable.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataVirtualMACAddressTable.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataWeeklySchedule.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataWeeklySchedule.go index e1f9e08775..24945b9762 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataWeeklySchedule.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataWeeklySchedule.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataWindowInterval.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataWindowInterval.go index 0add76a7c7..f68d73bc7b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataWindowInterval.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataWindowInterval.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataWindowSamples.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataWindowSamples.go index 200c0ee820..e5fb3b940c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataWindowSamples.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataWindowSamples.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataWriteStatus.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataWriteStatus.go index 6fc65b3258..f5b92afce7 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataWriteStatus.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataWriteStatus.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataZoneFrom.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataZoneFrom.go index 0ddfda4653..3a56c1e52e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataZoneFrom.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataZoneFrom.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataZoneMembers.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataZoneMembers.go index d34d744475..a55db498aa 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataZoneMembers.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataZoneMembers.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataZoneTo.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataZoneTo.go index 60c9f4454d..fc13b10c6c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataZoneTo.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataZoneTo.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTag.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTag.go index f0c991c63b..d19c79d042 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTag.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTag.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagBitString.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagBitString.go index 5b74c111f0..ebc2b7cdec 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagBitString.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagBitString.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagBoolean.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagBoolean.go index ce78960173..5f986e6b6e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagBoolean.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagBoolean.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagCharacterString.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagCharacterString.go index d8cdae780c..07ab695d2e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagCharacterString.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagCharacterString.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagDate.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagDate.go index ec3eeb86ae..6eb3369afd 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagDate.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagDate.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagDouble.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagDouble.go index 7ddd77c0f7..ff072b2165 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagDouble.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagDouble.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagEnumerated.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagEnumerated.go index b87723e18c..62c1528bd4 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagEnumerated.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagEnumerated.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagNull.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagNull.go index 3380a59052..2874949065 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagNull.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagNull.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagObjectIdentifier.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagObjectIdentifier.go index bdf24d2744..a1ef296245 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagObjectIdentifier.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagObjectIdentifier.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagOctetString.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagOctetString.go index 4e7e84b157..d01eceedbc 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagOctetString.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagOctetString.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagReal.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagReal.go index 0f5ea8ef9a..78e1726a66 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagReal.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagReal.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagSignedInteger.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagSignedInteger.go index 9cc973e6bd..735babe5a7 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagSignedInteger.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagSignedInteger.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagTime.go index f6ce459565..968f80538c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagTime.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagUnknown.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagUnknown.go index db2603e1d9..1bb7b783e3 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagUnknown.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagUnknown.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagUnsignedInteger.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagUnsignedInteger.go index 3397f46a2a..81ae97be6a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagUnsignedInteger.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagUnsignedInteger.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetCredentialAuthenticationFactor.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetCredentialAuthenticationFactor.go index 30fa342d19..009c664916 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetCredentialAuthenticationFactor.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetCredentialAuthenticationFactor.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetDailySchedule.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetDailySchedule.go index 2cad0eab02..d9f8751f1d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetDailySchedule.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetDailySchedule.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetDataType.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetDataType.go index 20fd9b1261..c6cd859773 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetDataType.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetDataType.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetDateRange.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetDateRange.go index 0a683a5e17..47c3685968 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetDateRange.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetDateRange.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetDateRangeEnclosed.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetDateRangeEnclosed.go index 78ef1a6d15..d2e3257a31 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetDateRangeEnclosed.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetDateRangeEnclosed.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetDateTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetDateTime.go index 1540614580..f3401b24c0 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetDateTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetDateTime.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetDateTimeEnclosed.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetDateTimeEnclosed.go index 4a5f279745..c4477211ad 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetDateTimeEnclosed.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetDateTimeEnclosed.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetDaysOfWeek.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetDaysOfWeek.go index ecb07e48eb..2849dccac2 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetDaysOfWeek.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetDaysOfWeek.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetDaysOfWeekTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetDaysOfWeekTagged.go index 4cb368fadc..9394d18d10 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetDaysOfWeekTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetDaysOfWeekTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetDestination.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetDestination.go index a4eef3d0c5..72f8542cae 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetDestination.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetDestination.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -120,8 +122,6 @@ type BACnetDestinationBuilder interface { WithToTimeBuilder(func(BACnetApplicationTagTimeBuilder) BACnetApplicationTagTimeBuilder) BACnetDestinationBuilder // WithRecipient adds Recipient (property field) WithRecipient(BACnetRecipient) BACnetDestinationBuilder - // WithRecipientBuilder adds Recipient (property field) which is build by the builder - WithRecipientBuilder(func(BACnetRecipientBuilder) BACnetRecipientBuilder) BACnetDestinationBuilder // WithProcessIdentifier adds ProcessIdentifier (property field) WithProcessIdentifier(BACnetApplicationTagUnsignedInteger) BACnetDestinationBuilder // WithProcessIdentifierBuilder adds ProcessIdentifier (property field) which is build by the builder @@ -216,19 +216,6 @@ func (m *_BACnetDestinationBuilder) WithRecipient(recipient BACnetRecipient) BAC return m } -func (m *_BACnetDestinationBuilder) WithRecipientBuilder(builderSupplier func(BACnetRecipientBuilder) BACnetRecipientBuilder) BACnetDestinationBuilder { - builder := builderSupplier(m.Recipient.CreateBACnetRecipientBuilder()) - var err error - m.Recipient, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetRecipientBuilder failed")) - } - return m -} - func (m *_BACnetDestinationBuilder) WithProcessIdentifier(processIdentifier BACnetApplicationTagUnsignedInteger) BACnetDestinationBuilder { m.ProcessIdentifier = processIdentifier return m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetDeviceObjectPropertyReference.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetDeviceObjectPropertyReference.go index b91ec02f6f..8e7aeaa841 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetDeviceObjectPropertyReference.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetDeviceObjectPropertyReference.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetDeviceObjectPropertyReferenceEnclosed.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetDeviceObjectPropertyReferenceEnclosed.go index eff5b11b17..a1a3e78583 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetDeviceObjectPropertyReferenceEnclosed.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetDeviceObjectPropertyReferenceEnclosed.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetDeviceObjectReference.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetDeviceObjectReference.go index 52389c7d0f..c2186e7c55 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetDeviceObjectReference.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetDeviceObjectReference.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetDeviceObjectReferenceEnclosed.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetDeviceObjectReferenceEnclosed.go index 606fb71c7a..692f856675 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetDeviceObjectReferenceEnclosed.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetDeviceObjectReferenceEnclosed.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetDeviceStatus.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetDeviceStatus.go index ed739c3e66..9f23ed006e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetDeviceStatus.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetDeviceStatus.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetDeviceStatusTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetDeviceStatusTagged.go index 66dc012b63..ec0beef4a9 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetDeviceStatusTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetDeviceStatusTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetDoorAlarmState.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetDoorAlarmState.go index 4e29c4ac1d..5b199e48f5 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetDoorAlarmState.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetDoorAlarmState.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetDoorAlarmStateTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetDoorAlarmStateTagged.go index ff9a505e99..78b59ca529 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetDoorAlarmStateTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetDoorAlarmStateTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetDoorSecuredStatus.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetDoorSecuredStatus.go index 95a9fa4b8a..be8168914e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetDoorSecuredStatus.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetDoorSecuredStatus.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetDoorSecuredStatusTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetDoorSecuredStatusTagged.go index 35cf4d1709..95090d42d4 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetDoorSecuredStatusTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetDoorSecuredStatusTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetDoorStatus.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetDoorStatus.go index c6fdafcb62..8c731ccae0 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetDoorStatus.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetDoorStatus.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetDoorStatusTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetDoorStatusTagged.go index c79b8f75b0..140d570987 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetDoorStatusTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetDoorStatusTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetDoorValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetDoorValue.go index 2ec5f5b58d..fee12bbcd7 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetDoorValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetDoorValue.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetDoorValueTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetDoorValueTagged.go index 59c4a6dad6..e87c896614 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetDoorValueTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetDoorValueTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEngineeringUnits.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEngineeringUnits.go index cb5daba885..3c8ee003e6 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEngineeringUnits.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEngineeringUnits.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEngineeringUnitsTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEngineeringUnitsTagged.go index f592bc6361..ecd82ec899 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEngineeringUnitsTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEngineeringUnitsTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetError.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetError.go index d58dbe953e..4e2917a2cd 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetError.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetError.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetErrorGeneral.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetErrorGeneral.go index 824d581dca..db4021fe58 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetErrorGeneral.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetErrorGeneral.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEscalatorFault.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEscalatorFault.go index 271c0b191f..269d008a33 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEscalatorFault.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEscalatorFault.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEscalatorFaultTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEscalatorFaultTagged.go index 3eab8c471c..032be51bf2 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEscalatorFaultTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEscalatorFaultTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEscalatorMode.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEscalatorMode.go index 122ca1c0d7..a6bdc43fe8 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEscalatorMode.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEscalatorMode.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEscalatorModeTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEscalatorModeTagged.go index 1c1cfa507c..2c9f6a6115 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEscalatorModeTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEscalatorModeTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEscalatorOperationDirection.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEscalatorOperationDirection.go index bfbed6d468..afc849fd97 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEscalatorOperationDirection.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEscalatorOperationDirection.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEscalatorOperationDirectionTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEscalatorOperationDirectionTagged.go index b8dd8c6a1f..077fd3de60 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEscalatorOperationDirectionTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEscalatorOperationDirectionTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventLogRecord.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventLogRecord.go index 2fb4e1b38c..cb9c81af14 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventLogRecord.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventLogRecord.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -82,8 +84,6 @@ type BACnetEventLogRecordBuilder interface { WithTimestampBuilder(func(BACnetDateTimeEnclosedBuilder) BACnetDateTimeEnclosedBuilder) BACnetEventLogRecordBuilder // WithLogDatum adds LogDatum (property field) WithLogDatum(BACnetEventLogRecordLogDatum) BACnetEventLogRecordBuilder - // WithLogDatumBuilder adds LogDatum (property field) which is build by the builder - WithLogDatumBuilder(func(BACnetEventLogRecordLogDatumBuilder) BACnetEventLogRecordLogDatumBuilder) BACnetEventLogRecordBuilder // Build builds the BACnetEventLogRecord or returns an error if something is wrong Build() (BACnetEventLogRecord, error) // MustBuild does the same as Build but panics on error @@ -130,19 +130,6 @@ func (m *_BACnetEventLogRecordBuilder) WithLogDatum(logDatum BACnetEventLogRecor return m } -func (m *_BACnetEventLogRecordBuilder) WithLogDatumBuilder(builderSupplier func(BACnetEventLogRecordLogDatumBuilder) BACnetEventLogRecordLogDatumBuilder) BACnetEventLogRecordBuilder { - builder := builderSupplier(m.LogDatum.CreateBACnetEventLogRecordLogDatumBuilder()) - var err error - m.LogDatum, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetEventLogRecordLogDatumBuilder failed")) - } - return m -} - func (m *_BACnetEventLogRecordBuilder) Build() (BACnetEventLogRecord, error) { if m.Timestamp == nil { if m.err == nil { diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventLogRecordLogDatum.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventLogRecordLogDatum.go index 30207b918e..ec278fa266 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventLogRecordLogDatum.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventLogRecordLogDatum.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventLogRecordLogDatumLogStatus.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventLogRecordLogDatumLogStatus.go index 613f33bbb7..37429b5731 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventLogRecordLogDatumLogStatus.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventLogRecordLogDatumLogStatus.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventLogRecordLogDatumNotification.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventLogRecordLogDatumNotification.go index 1a09322809..67c216b371 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventLogRecordLogDatumNotification.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventLogRecordLogDatumNotification.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventLogRecordLogDatumTimeChange.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventLogRecordLogDatumTimeChange.go index d48ef21acd..6489fe8372 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventLogRecordLogDatumTimeChange.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventLogRecordLogDatumTimeChange.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventNotificationSubscription.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventNotificationSubscription.go index 732070b031..e95b681dd2 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventNotificationSubscription.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventNotificationSubscription.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameter.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameter.go index 29da3371e1..ba636e23c0 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameter.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameter.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterAccessEvent.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterAccessEvent.go index 9a480b3047..a00fd39609 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterAccessEvent.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterAccessEvent.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterAccessEventListOfAccessEvents.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterAccessEventListOfAccessEvents.go index 274d8169b0..920a273475 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterAccessEventListOfAccessEvents.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterAccessEventListOfAccessEvents.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterBufferReady.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterBufferReady.go index f320e9b8d3..80e3c19e58 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterBufferReady.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterBufferReady.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfBitstring.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfBitstring.go index 42c1f9a587..e82fea664b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfBitstring.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfBitstring.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfBitstringListOfBitstringValues.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfBitstringListOfBitstringValues.go index d8f25f0ed0..9e6d685023 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfBitstringListOfBitstringValues.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfBitstringListOfBitstringValues.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfCharacterString.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfCharacterString.go index 5f46441a1f..c25137db3f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfCharacterString.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfCharacterString.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfCharacterStringListOfAlarmValues.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfCharacterStringListOfAlarmValues.go index d2678047f3..f043afa423 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfCharacterStringListOfAlarmValues.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfCharacterStringListOfAlarmValues.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfDiscreteValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfDiscreteValue.go index 6a8d2e1645..fcb6b5d189 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfDiscreteValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfDiscreteValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfLifeSavety.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfLifeSavety.go index f3d80141dd..2b99792a7e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfLifeSavety.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfLifeSavety.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfLifeSavetyListOfAlarmValues.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfLifeSavetyListOfAlarmValues.go index ecbd37f34a..e82eae8eea 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfLifeSavetyListOfAlarmValues.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfLifeSavetyListOfAlarmValues.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfLifeSavetyListOfLifeSavetyAlarmValues.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfLifeSavetyListOfLifeSavetyAlarmValues.go index d88eaafa16..e876315a92 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfLifeSavetyListOfLifeSavetyAlarmValues.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfLifeSavetyListOfLifeSavetyAlarmValues.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfState.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfState.go index 9d261ad34b..e036832f4b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfState.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfState.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfStateListOfValues.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfStateListOfValues.go index 09aea3c54f..1f2c43c7d2 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfStateListOfValues.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfStateListOfValues.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfStatusFlags.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfStatusFlags.go index 942cbbfcae..e74a4fd6c3 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfStatusFlags.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfStatusFlags.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfTimer.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfTimer.go index bb9b8c5e54..07b077d05c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfTimer.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfTimer.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfTimerAlarmValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfTimerAlarmValue.go index 63f507241f..499ab0b6b0 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfTimerAlarmValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfTimerAlarmValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfValue.go index d812283a54..483a825ae8 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -109,8 +111,6 @@ type BACnetEventParameterChangeOfValueBuilder interface { WithTimeDelayBuilder(func(BACnetContextTagUnsignedIntegerBuilder) BACnetContextTagUnsignedIntegerBuilder) BACnetEventParameterChangeOfValueBuilder // WithCovCriteria adds CovCriteria (property field) WithCovCriteria(BACnetEventParameterChangeOfValueCivCriteria) BACnetEventParameterChangeOfValueBuilder - // WithCovCriteriaBuilder adds CovCriteria (property field) which is build by the builder - WithCovCriteriaBuilder(func(BACnetEventParameterChangeOfValueCivCriteriaBuilder) BACnetEventParameterChangeOfValueCivCriteriaBuilder) BACnetEventParameterChangeOfValueBuilder // WithClosingTag adds ClosingTag (property field) WithClosingTag(BACnetClosingTag) BACnetEventParameterChangeOfValueBuilder // WithClosingTagBuilder adds ClosingTag (property field) which is build by the builder @@ -179,19 +179,6 @@ func (m *_BACnetEventParameterChangeOfValueBuilder) WithCovCriteria(covCriteria return m } -func (m *_BACnetEventParameterChangeOfValueBuilder) WithCovCriteriaBuilder(builderSupplier func(BACnetEventParameterChangeOfValueCivCriteriaBuilder) BACnetEventParameterChangeOfValueCivCriteriaBuilder) BACnetEventParameterChangeOfValueBuilder { - builder := builderSupplier(m.CovCriteria.CreateBACnetEventParameterChangeOfValueCivCriteriaBuilder()) - var err error - m.CovCriteria, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetEventParameterChangeOfValueCivCriteriaBuilder failed")) - } - return m -} - func (m *_BACnetEventParameterChangeOfValueBuilder) WithClosingTag(closingTag BACnetClosingTag) BACnetEventParameterChangeOfValueBuilder { m.ClosingTag = closingTag return m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfValueCivCriteria.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfValueCivCriteria.go index 82dbbf8e84..a34526c214 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfValueCivCriteria.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfValueCivCriteria.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfValueCivCriteriaBitmask.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfValueCivCriteriaBitmask.go index 7eaade267d..df89a35e7c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfValueCivCriteriaBitmask.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfValueCivCriteriaBitmask.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfValueCivCriteriaReferencedPropertyIncrement.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfValueCivCriteriaReferencedPropertyIncrement.go index ede4398698..b6f36dab45 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfValueCivCriteriaReferencedPropertyIncrement.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfValueCivCriteriaReferencedPropertyIncrement.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterCommandFailure.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterCommandFailure.go index 6599cabc7e..0c0ecd14f8 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterCommandFailure.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterCommandFailure.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterDoubleOutOfRange.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterDoubleOutOfRange.go index 1b8e5f9733..2afb4444c7 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterDoubleOutOfRange.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterDoubleOutOfRange.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterExtended.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterExtended.go index c01b679c07..3e396e1cd3 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterExtended.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterExtended.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterExtendedParameters.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterExtendedParameters.go index 1a3e0af55f..737aeab531 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterExtendedParameters.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterExtendedParameters.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterFloatingLimit.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterFloatingLimit.go index 29156da6ab..f0479f27d3 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterFloatingLimit.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterFloatingLimit.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterNone.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterNone.go index eba5cb296d..c3258d2359 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterNone.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterNone.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterOutOfRange.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterOutOfRange.go index eecb057dd3..c2b51c504e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterOutOfRange.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterOutOfRange.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterSignedOutOfRange.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterSignedOutOfRange.go index a927873e92..f1a9c6fdf0 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterSignedOutOfRange.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterSignedOutOfRange.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterUnsignedOutOfRange.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterUnsignedOutOfRange.go index d848d0996d..ce2d47612d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterUnsignedOutOfRange.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterUnsignedOutOfRange.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterUnsignedRange.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterUnsignedRange.go index a2807feae2..dcec639229 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterUnsignedRange.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterUnsignedRange.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventPriorities.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventPriorities.go index 1c0652345d..d48cd33482 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventPriorities.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventPriorities.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventState.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventState.go index 755d71b68f..6f977604f6 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventState.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventState.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventStateTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventStateTagged.go index 88a8884fe8..ee26995ddc 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventStateTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventStateTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventSummariesList.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventSummariesList.go index b9ffb84168..c23c654723 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventSummariesList.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventSummariesList.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventSummary.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventSummary.go index 7924cb7b0f..4b28e9c4ae 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventSummary.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventSummary.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventTimestamps.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventTimestamps.go index 9c280fcba3..1059d8642d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventTimestamps.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventTimestamps.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -84,16 +86,10 @@ type BACnetEventTimestampsBuilder interface { WithMandatoryFields(toOffnormal BACnetTimeStamp, toFault BACnetTimeStamp, toNormal BACnetTimeStamp) BACnetEventTimestampsBuilder // WithToOffnormal adds ToOffnormal (property field) WithToOffnormal(BACnetTimeStamp) BACnetEventTimestampsBuilder - // WithToOffnormalBuilder adds ToOffnormal (property field) which is build by the builder - WithToOffnormalBuilder(func(BACnetTimeStampBuilder) BACnetTimeStampBuilder) BACnetEventTimestampsBuilder // WithToFault adds ToFault (property field) WithToFault(BACnetTimeStamp) BACnetEventTimestampsBuilder - // WithToFaultBuilder adds ToFault (property field) which is build by the builder - WithToFaultBuilder(func(BACnetTimeStampBuilder) BACnetTimeStampBuilder) BACnetEventTimestampsBuilder // WithToNormal adds ToNormal (property field) WithToNormal(BACnetTimeStamp) BACnetEventTimestampsBuilder - // WithToNormalBuilder adds ToNormal (property field) which is build by the builder - WithToNormalBuilder(func(BACnetTimeStampBuilder) BACnetTimeStampBuilder) BACnetEventTimestampsBuilder // Build builds the BACnetEventTimestamps or returns an error if something is wrong Build() (BACnetEventTimestamps, error) // MustBuild does the same as Build but panics on error @@ -122,55 +118,16 @@ func (m *_BACnetEventTimestampsBuilder) WithToOffnormal(toOffnormal BACnetTimeSt return m } -func (m *_BACnetEventTimestampsBuilder) WithToOffnormalBuilder(builderSupplier func(BACnetTimeStampBuilder) BACnetTimeStampBuilder) BACnetEventTimestampsBuilder { - builder := builderSupplier(m.ToOffnormal.CreateBACnetTimeStampBuilder()) - var err error - m.ToOffnormal, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetTimeStampBuilder failed")) - } - return m -} - func (m *_BACnetEventTimestampsBuilder) WithToFault(toFault BACnetTimeStamp) BACnetEventTimestampsBuilder { m.ToFault = toFault return m } -func (m *_BACnetEventTimestampsBuilder) WithToFaultBuilder(builderSupplier func(BACnetTimeStampBuilder) BACnetTimeStampBuilder) BACnetEventTimestampsBuilder { - builder := builderSupplier(m.ToFault.CreateBACnetTimeStampBuilder()) - var err error - m.ToFault, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetTimeStampBuilder failed")) - } - return m -} - func (m *_BACnetEventTimestampsBuilder) WithToNormal(toNormal BACnetTimeStamp) BACnetEventTimestampsBuilder { m.ToNormal = toNormal return m } -func (m *_BACnetEventTimestampsBuilder) WithToNormalBuilder(builderSupplier func(BACnetTimeStampBuilder) BACnetTimeStampBuilder) BACnetEventTimestampsBuilder { - builder := builderSupplier(m.ToNormal.CreateBACnetTimeStampBuilder()) - var err error - m.ToNormal, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetTimeStampBuilder failed")) - } - return m -} - func (m *_BACnetEventTimestampsBuilder) Build() (BACnetEventTimestamps, error) { if m.ToOffnormal == nil { if m.err == nil { diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventTimestampsEnclosed.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventTimestampsEnclosed.go index 712bb9312b..959a73ddd7 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventTimestampsEnclosed.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventTimestampsEnclosed.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventTransitionBits.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventTransitionBits.go index 10e08507e6..67cbe950f2 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventTransitionBits.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventTransitionBits.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventTransitionBitsTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventTransitionBitsTagged.go index 03edbb26f0..e149bda5eb 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventTransitionBitsTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventTransitionBitsTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventType.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventType.go index dc00bee8d6..331f74304b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventType.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventType.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventTypeTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventTypeTagged.go index 80782651f8..7de81e5d20 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventTypeTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventTypeTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameter.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameter.go index 3d1a01bcf9..a3b09ab20c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameter.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameter.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultCharacterString.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultCharacterString.go index 77a2026ed9..22d590e9fe 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultCharacterString.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultCharacterString.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultCharacterStringListOfFaultValues.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultCharacterStringListOfFaultValues.go index 6bc90f97cc..17c1dc39df 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultCharacterStringListOfFaultValues.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultCharacterStringListOfFaultValues.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtended.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtended.go index 0ec639f5b8..d591ae7f32 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtended.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtended.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParameters.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParameters.go index 13c057d1cd..175bc4062b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParameters.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParameters.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntry.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntry.go index 783d139743..4975844b07 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntry.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntry.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryBitString.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryBitString.go index f68b4a9fd0..0c601c71ca 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryBitString.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryBitString.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryBoolean.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryBoolean.go index d920a41c33..c26b49cc58 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryBoolean.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryBoolean.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryCharacterString.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryCharacterString.go index 8f6e045fdc..fa47d2b215 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryCharacterString.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryCharacterString.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryDate.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryDate.go index 2d61263ba6..13df9c6d87 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryDate.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryDate.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryDouble.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryDouble.go index ac145834e7..84e889aaa7 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryDouble.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryDouble.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryEnumerated.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryEnumerated.go index 77b0b8484e..aabf60988e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryEnumerated.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryEnumerated.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryInteger.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryInteger.go index 40007a6e43..a5dd06e681 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryInteger.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryInteger.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryNull.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryNull.go index 87935798c0..633008d107 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryNull.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryNull.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryObjectidentifier.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryObjectidentifier.go index b02568a0ec..d0546b42c2 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryObjectidentifier.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryObjectidentifier.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryOctetString.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryOctetString.go index 818d6c3a19..98aef7572d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryOctetString.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryOctetString.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryReal.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryReal.go index 028b7700a0..87b499dcae 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryReal.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryReal.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryReference.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryReference.go index 6a0cf504bd..394b71179d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryReference.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryReference.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryTime.go index db5c681a65..42bcfc1c11 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryTime.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryUnsigned.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryUnsigned.go index eaab2f3f2f..1c2ba882c4 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryUnsigned.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryUnsigned.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultLifeSafety.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultLifeSafety.go index b8b4ab0a8a..eae2299967 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultLifeSafety.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultLifeSafety.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultLifeSafetyListOfFaultValues.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultLifeSafetyListOfFaultValues.go index 1f42b0ce62..1258c84cbf 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultLifeSafetyListOfFaultValues.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultLifeSafetyListOfFaultValues.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultListed.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultListed.go index 16d526149f..47aaee5a5d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultListed.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultListed.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRange.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRange.go index 36cffb617b..5c69c8baca 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRange.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRange.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -105,12 +107,8 @@ type BACnetFaultParameterFaultOutOfRangeBuilder interface { WithOpeningTagBuilder(func(BACnetOpeningTagBuilder) BACnetOpeningTagBuilder) BACnetFaultParameterFaultOutOfRangeBuilder // WithMinNormalValue adds MinNormalValue (property field) WithMinNormalValue(BACnetFaultParameterFaultOutOfRangeMinNormalValue) BACnetFaultParameterFaultOutOfRangeBuilder - // WithMinNormalValueBuilder adds MinNormalValue (property field) which is build by the builder - WithMinNormalValueBuilder(func(BACnetFaultParameterFaultOutOfRangeMinNormalValueBuilder) BACnetFaultParameterFaultOutOfRangeMinNormalValueBuilder) BACnetFaultParameterFaultOutOfRangeBuilder // WithMaxNormalValue adds MaxNormalValue (property field) WithMaxNormalValue(BACnetFaultParameterFaultOutOfRangeMaxNormalValue) BACnetFaultParameterFaultOutOfRangeBuilder - // WithMaxNormalValueBuilder adds MaxNormalValue (property field) which is build by the builder - WithMaxNormalValueBuilder(func(BACnetFaultParameterFaultOutOfRangeMaxNormalValueBuilder) BACnetFaultParameterFaultOutOfRangeMaxNormalValueBuilder) BACnetFaultParameterFaultOutOfRangeBuilder // WithClosingTag adds ClosingTag (property field) WithClosingTag(BACnetClosingTag) BACnetFaultParameterFaultOutOfRangeBuilder // WithClosingTagBuilder adds ClosingTag (property field) which is build by the builder @@ -161,37 +159,11 @@ func (m *_BACnetFaultParameterFaultOutOfRangeBuilder) WithMinNormalValue(minNorm return m } -func (m *_BACnetFaultParameterFaultOutOfRangeBuilder) WithMinNormalValueBuilder(builderSupplier func(BACnetFaultParameterFaultOutOfRangeMinNormalValueBuilder) BACnetFaultParameterFaultOutOfRangeMinNormalValueBuilder) BACnetFaultParameterFaultOutOfRangeBuilder { - builder := builderSupplier(m.MinNormalValue.CreateBACnetFaultParameterFaultOutOfRangeMinNormalValueBuilder()) - var err error - m.MinNormalValue, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetFaultParameterFaultOutOfRangeMinNormalValueBuilder failed")) - } - return m -} - func (m *_BACnetFaultParameterFaultOutOfRangeBuilder) WithMaxNormalValue(maxNormalValue BACnetFaultParameterFaultOutOfRangeMaxNormalValue) BACnetFaultParameterFaultOutOfRangeBuilder { m.MaxNormalValue = maxNormalValue return m } -func (m *_BACnetFaultParameterFaultOutOfRangeBuilder) WithMaxNormalValueBuilder(builderSupplier func(BACnetFaultParameterFaultOutOfRangeMaxNormalValueBuilder) BACnetFaultParameterFaultOutOfRangeMaxNormalValueBuilder) BACnetFaultParameterFaultOutOfRangeBuilder { - builder := builderSupplier(m.MaxNormalValue.CreateBACnetFaultParameterFaultOutOfRangeMaxNormalValueBuilder()) - var err error - m.MaxNormalValue, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetFaultParameterFaultOutOfRangeMaxNormalValueBuilder failed")) - } - return m -} - func (m *_BACnetFaultParameterFaultOutOfRangeBuilder) WithClosingTag(closingTag BACnetClosingTag) BACnetFaultParameterFaultOutOfRangeBuilder { m.ClosingTag = closingTag return m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMaxNormalValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMaxNormalValue.go index 4fda1521ee..165c904882 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMaxNormalValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMaxNormalValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMaxNormalValueDouble.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMaxNormalValueDouble.go index 600c81bc25..75f404a56f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMaxNormalValueDouble.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMaxNormalValueDouble.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMaxNormalValueInteger.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMaxNormalValueInteger.go index 2925e6c8ff..514491cdb8 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMaxNormalValueInteger.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMaxNormalValueInteger.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMaxNormalValueReal.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMaxNormalValueReal.go index 115f6106d1..fe9a4c0916 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMaxNormalValueReal.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMaxNormalValueReal.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMaxNormalValueUnsigned.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMaxNormalValueUnsigned.go index 70c4545186..f3732146e1 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMaxNormalValueUnsigned.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMaxNormalValueUnsigned.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMinNormalValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMinNormalValue.go index d22da24ae3..d9550d176d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMinNormalValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMinNormalValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMinNormalValueDouble.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMinNormalValueDouble.go index 9e15c0ce64..3377939265 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMinNormalValueDouble.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMinNormalValueDouble.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMinNormalValueInteger.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMinNormalValueInteger.go index 4f0a66bf7b..ac739c23e8 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMinNormalValueInteger.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMinNormalValueInteger.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMinNormalValueReal.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMinNormalValueReal.go index a58f3d0cdd..049330e942 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMinNormalValueReal.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMinNormalValueReal.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMinNormalValueUnsigned.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMinNormalValueUnsigned.go index e3605037ac..66cda4cd58 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMinNormalValueUnsigned.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMinNormalValueUnsigned.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultState.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultState.go index 7277c25873..56d4166e5c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultState.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultState.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultStateListOfFaultValues.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultStateListOfFaultValues.go index 675e54298b..abe2c9f245 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultStateListOfFaultValues.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultStateListOfFaultValues.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultStatusFlags.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultStatusFlags.go index bcefd63cf5..9b5c4c13fc 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultStatusFlags.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultStatusFlags.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterNone.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterNone.go index 967e8382b3..25044e5b38 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterNone.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterNone.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultType.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultType.go index 17881fb371..568d6f9b9f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultType.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultType.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultTypeTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultTypeTagged.go index 730a5dd456..e10b96d456 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultTypeTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultTypeTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetFileAccessMethod.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetFileAccessMethod.go index 34b76bd077..feac97e781 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetFileAccessMethod.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetFileAccessMethod.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetFileAccessMethodTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetFileAccessMethodTagged.go index 86fb0ea116..9759b7f46b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetFileAccessMethodTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetFileAccessMethodTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetGroupChannelValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetGroupChannelValue.go index 7995b99375..3373bf4b71 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetGroupChannelValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetGroupChannelValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -89,8 +91,6 @@ type BACnetGroupChannelValueBuilder interface { WithOptionalOverridingPriorityBuilder(func(BACnetContextTagUnsignedIntegerBuilder) BACnetContextTagUnsignedIntegerBuilder) BACnetGroupChannelValueBuilder // WithValue adds Value (property field) WithValue(BACnetChannelValue) BACnetGroupChannelValueBuilder - // WithValueBuilder adds Value (property field) which is build by the builder - WithValueBuilder(func(BACnetChannelValueBuilder) BACnetChannelValueBuilder) BACnetGroupChannelValueBuilder // Build builds the BACnetGroupChannelValue or returns an error if something is wrong Build() (BACnetGroupChannelValue, error) // MustBuild does the same as Build but panics on error @@ -155,19 +155,6 @@ func (m *_BACnetGroupChannelValueBuilder) WithValue(value BACnetChannelValue) BA return m } -func (m *_BACnetGroupChannelValueBuilder) WithValueBuilder(builderSupplier func(BACnetChannelValueBuilder) BACnetChannelValueBuilder) BACnetGroupChannelValueBuilder { - builder := builderSupplier(m.Value.CreateBACnetChannelValueBuilder()) - var err error - m.Value, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetChannelValueBuilder failed")) - } - return m -} - func (m *_BACnetGroupChannelValueBuilder) Build() (BACnetGroupChannelValue, error) { if m.Channel == nil { if m.err == nil { diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetGroupChannelValueList.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetGroupChannelValueList.go index 805670b348..84351275a7 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetGroupChannelValueList.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetGroupChannelValueList.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetHostAddress.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetHostAddress.go index 367caddfce..6739e9b3ce 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetHostAddress.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetHostAddress.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetHostAddressEnclosed.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetHostAddressEnclosed.go index b9195c9cd6..cd83782772 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetHostAddressEnclosed.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetHostAddressEnclosed.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -91,8 +93,6 @@ type BACnetHostAddressEnclosedBuilder interface { WithOpeningTagBuilder(func(BACnetOpeningTagBuilder) BACnetOpeningTagBuilder) BACnetHostAddressEnclosedBuilder // WithHostAddress adds HostAddress (property field) WithHostAddress(BACnetHostAddress) BACnetHostAddressEnclosedBuilder - // WithHostAddressBuilder adds HostAddress (property field) which is build by the builder - WithHostAddressBuilder(func(BACnetHostAddressBuilder) BACnetHostAddressBuilder) BACnetHostAddressEnclosedBuilder // WithClosingTag adds ClosingTag (property field) WithClosingTag(BACnetClosingTag) BACnetHostAddressEnclosedBuilder // WithClosingTagBuilder adds ClosingTag (property field) which is build by the builder @@ -143,19 +143,6 @@ func (m *_BACnetHostAddressEnclosedBuilder) WithHostAddress(hostAddress BACnetHo return m } -func (m *_BACnetHostAddressEnclosedBuilder) WithHostAddressBuilder(builderSupplier func(BACnetHostAddressBuilder) BACnetHostAddressBuilder) BACnetHostAddressEnclosedBuilder { - builder := builderSupplier(m.HostAddress.CreateBACnetHostAddressBuilder()) - var err error - m.HostAddress, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetHostAddressBuilder failed")) - } - return m -} - func (m *_BACnetHostAddressEnclosedBuilder) WithClosingTag(closingTag BACnetClosingTag) BACnetHostAddressEnclosedBuilder { m.ClosingTag = closingTag return m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetHostAddressIpAddress.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetHostAddressIpAddress.go index 9b5f5740c3..10675e67b5 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetHostAddressIpAddress.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetHostAddressIpAddress.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetHostAddressName.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetHostAddressName.go index 62091b7399..3104206b82 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetHostAddressName.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetHostAddressName.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetHostAddressNull.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetHostAddressNull.go index e772ca01db..f65c5f24d8 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetHostAddressNull.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetHostAddressNull.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetHostNPort.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetHostNPort.go index 59470a97ff..1cf44f4944 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetHostNPort.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetHostNPort.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetHostNPortEnclosed.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetHostNPortEnclosed.go index 0700243055..f583da1397 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetHostNPortEnclosed.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetHostNPortEnclosed.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetIPMode.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetIPMode.go index 4107f2c9dd..d011417625 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetIPMode.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetIPMode.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetIPModeTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetIPModeTagged.go index f5b9b1ab57..eff9f26e2c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetIPModeTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetIPModeTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetKeyIdentifier.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetKeyIdentifier.go index 4b26965042..249f6d40a7 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetKeyIdentifier.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetKeyIdentifier.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLandingCallStatus.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLandingCallStatus.go index 11c4635855..932d06601a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLandingCallStatus.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLandingCallStatus.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -85,8 +87,6 @@ type BACnetLandingCallStatusBuilder interface { WithFloorNumberBuilder(func(BACnetContextTagUnsignedIntegerBuilder) BACnetContextTagUnsignedIntegerBuilder) BACnetLandingCallStatusBuilder // WithCommand adds Command (property field) WithCommand(BACnetLandingCallStatusCommand) BACnetLandingCallStatusBuilder - // WithCommandBuilder adds Command (property field) which is build by the builder - WithCommandBuilder(func(BACnetLandingCallStatusCommandBuilder) BACnetLandingCallStatusCommandBuilder) BACnetLandingCallStatusBuilder // WithFloorText adds FloorText (property field) WithOptionalFloorText(BACnetContextTagCharacterString) BACnetLandingCallStatusBuilder // WithOptionalFloorTextBuilder adds FloorText (property field) which is build by the builder @@ -137,19 +137,6 @@ func (m *_BACnetLandingCallStatusBuilder) WithCommand(command BACnetLandingCallS return m } -func (m *_BACnetLandingCallStatusBuilder) WithCommandBuilder(builderSupplier func(BACnetLandingCallStatusCommandBuilder) BACnetLandingCallStatusCommandBuilder) BACnetLandingCallStatusBuilder { - builder := builderSupplier(m.Command.CreateBACnetLandingCallStatusCommandBuilder()) - var err error - m.Command, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetLandingCallStatusCommandBuilder failed")) - } - return m -} - func (m *_BACnetLandingCallStatusBuilder) WithOptionalFloorText(floorText BACnetContextTagCharacterString) BACnetLandingCallStatusBuilder { m.FloorText = floorText return m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLandingCallStatusCommand.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLandingCallStatusCommand.go index 517f7b7d82..c1530361f8 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLandingCallStatusCommand.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLandingCallStatusCommand.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLandingCallStatusCommandDestination.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLandingCallStatusCommandDestination.go index 0ee6b10d5e..933b16117b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLandingCallStatusCommandDestination.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLandingCallStatusCommandDestination.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLandingCallStatusCommandDirection.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLandingCallStatusCommandDirection.go index 7c21b0b3ad..5b197b7fad 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLandingCallStatusCommandDirection.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLandingCallStatusCommandDirection.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLandingDoorStatus.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLandingDoorStatus.go index efaabc42b6..63785577e7 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLandingDoorStatus.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLandingDoorStatus.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLandingDoorStatusLandingDoorsList.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLandingDoorStatusLandingDoorsList.go index 00974bde88..19bf59bde2 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLandingDoorStatusLandingDoorsList.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLandingDoorStatusLandingDoorsList.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLandingDoorStatusLandingDoorsListEntry.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLandingDoorStatusLandingDoorsListEntry.go index 83c80bb944..ff1faaa479 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLandingDoorStatusLandingDoorsListEntry.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLandingDoorStatusLandingDoorsListEntry.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLifeSafetyMode.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLifeSafetyMode.go index 33c6d43c7c..9406124a56 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLifeSafetyMode.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLifeSafetyMode.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLifeSafetyModeTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLifeSafetyModeTagged.go index 627280ae6d..7cd97a448f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLifeSafetyModeTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLifeSafetyModeTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLifeSafetyOperation.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLifeSafetyOperation.go index 068a3990bd..b82d1b262f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLifeSafetyOperation.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLifeSafetyOperation.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLifeSafetyOperationTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLifeSafetyOperationTagged.go index 670e7804d5..f629fef809 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLifeSafetyOperationTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLifeSafetyOperationTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLifeSafetyState.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLifeSafetyState.go index 583d6c0027..e69d08f19b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLifeSafetyState.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLifeSafetyState.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLifeSafetyStateTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLifeSafetyStateTagged.go index 7cd89e327b..c6a46f65e7 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLifeSafetyStateTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLifeSafetyStateTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLiftCarCallList.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLiftCarCallList.go index 3a14b4c705..0748938b51 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLiftCarCallList.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLiftCarCallList.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLiftCarCallListFloorList.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLiftCarCallListFloorList.go index d7e5d9ef4c..44e3ddbbcd 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLiftCarCallListFloorList.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLiftCarCallListFloorList.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLiftCarDirection.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLiftCarDirection.go index 435676f79a..d16d8d356e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLiftCarDirection.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLiftCarDirection.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLiftCarDirectionTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLiftCarDirectionTagged.go index b73cb077b3..45df30141a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLiftCarDirectionTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLiftCarDirectionTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLiftCarDoorCommand.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLiftCarDoorCommand.go index 9b5ec8deb1..ebab8b52f1 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLiftCarDoorCommand.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLiftCarDoorCommand.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLiftCarDoorCommandTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLiftCarDoorCommandTagged.go index e0472ba9e8..443a1b9062 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLiftCarDoorCommandTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLiftCarDoorCommandTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLiftCarDriveStatus.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLiftCarDriveStatus.go index 132a770dbf..cdaad1ea69 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLiftCarDriveStatus.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLiftCarDriveStatus.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLiftCarDriveStatusTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLiftCarDriveStatusTagged.go index 288690ab3d..3b3038add1 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLiftCarDriveStatusTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLiftCarDriveStatusTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLiftCarMode.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLiftCarMode.go index 6c065cdd62..20dad2ccd2 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLiftCarMode.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLiftCarMode.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLiftCarModeTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLiftCarModeTagged.go index 946fa59b71..2a12621498 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLiftCarModeTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLiftCarModeTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLiftFault.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLiftFault.go index ba118af254..c62b2d5a37 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLiftFault.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLiftFault.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLiftFaultTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLiftFaultTagged.go index 3ab07bbed7..960f123450 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLiftFaultTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLiftFaultTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLiftGroupMode.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLiftGroupMode.go index f5457e2e4f..0525928a11 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLiftGroupMode.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLiftGroupMode.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLiftGroupModeTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLiftGroupModeTagged.go index 97df364046..9fc5aae5ee 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLiftGroupModeTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLiftGroupModeTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLightingCommand.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLightingCommand.go index cc154d72da..da10d3b30f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLightingCommand.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLightingCommand.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLightingCommandEnclosed.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLightingCommandEnclosed.go index f43b248d9e..e70de61c29 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLightingCommandEnclosed.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLightingCommandEnclosed.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLightingInProgress.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLightingInProgress.go index 9539dff56d..0bfd9470e1 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLightingInProgress.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLightingInProgress.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLightingInProgressTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLightingInProgressTagged.go index 6fcd0ac892..422ed0d40a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLightingInProgressTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLightingInProgressTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLightingOperation.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLightingOperation.go index cb6f68f6d9..4e5377d044 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLightingOperation.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLightingOperation.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLightingOperationTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLightingOperationTagged.go index 85d0210398..113d2fac09 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLightingOperationTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLightingOperationTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLightingTransition.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLightingTransition.go index 8d005eac7b..f6d131c1dd 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLightingTransition.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLightingTransition.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLightingTransitionTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLightingTransitionTagged.go index b9cbcca7bf..506d53796f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLightingTransitionTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLightingTransitionTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLimitEnable.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLimitEnable.go index c77670b45a..4aee34bc14 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLimitEnable.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLimitEnable.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLimitEnableTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLimitEnableTagged.go index 007485d5bd..9eb850decf 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLimitEnableTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLimitEnableTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLockStatus.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLockStatus.go index 6bfccf3b13..6fb4823e0b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLockStatus.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLockStatus.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLockStatusTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLockStatusTagged.go index dc3c49854a..bb9ec4c29a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLockStatusTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLockStatusTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogData.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogData.go index 34673e1b0c..03f891509c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogData.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogData.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogData.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogData.go index acd0f7bb45..5ae109b774 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogData.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogData.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntry.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntry.go index dffc357c73..96e53b6590 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntry.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntry.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntryAnyValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntryAnyValue.go index 22028467fd..46d035aeba 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntryAnyValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntryAnyValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -77,8 +79,6 @@ type BACnetLogDataLogDataEntryAnyValueBuilder interface { WithMandatoryFields() BACnetLogDataLogDataEntryAnyValueBuilder // WithAnyValue adds AnyValue (property field) WithOptionalAnyValue(BACnetConstructedData) BACnetLogDataLogDataEntryAnyValueBuilder - // WithOptionalAnyValueBuilder adds AnyValue (property field) which is build by the builder - WithOptionalAnyValueBuilder(func(BACnetConstructedDataBuilder) BACnetConstructedDataBuilder) BACnetLogDataLogDataEntryAnyValueBuilder // Build builds the BACnetLogDataLogDataEntryAnyValue or returns an error if something is wrong Build() (BACnetLogDataLogDataEntryAnyValue, error) // MustBuild does the same as Build but panics on error @@ -107,19 +107,6 @@ func (m *_BACnetLogDataLogDataEntryAnyValueBuilder) WithOptionalAnyValue(anyValu return m } -func (m *_BACnetLogDataLogDataEntryAnyValueBuilder) WithOptionalAnyValueBuilder(builderSupplier func(BACnetConstructedDataBuilder) BACnetConstructedDataBuilder) BACnetLogDataLogDataEntryAnyValueBuilder { - builder := builderSupplier(m.AnyValue.CreateBACnetConstructedDataBuilder()) - var err error - m.AnyValue, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetConstructedDataBuilder failed")) - } - return m -} - func (m *_BACnetLogDataLogDataEntryAnyValueBuilder) Build() (BACnetLogDataLogDataEntryAnyValue, error) { if m.err != nil { return nil, errors.Wrap(m.err, "error occurred during build") diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntryBitStringValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntryBitStringValue.go index a7bf01d606..f06b71d519 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntryBitStringValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntryBitStringValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntryBooleanValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntryBooleanValue.go index 275ec83140..35fc33a576 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntryBooleanValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntryBooleanValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntryEnumeratedValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntryEnumeratedValue.go index c730e78324..a9f5ba0891 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntryEnumeratedValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntryEnumeratedValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntryFailure.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntryFailure.go index c4a5e239d6..3da59ce0e7 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntryFailure.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntryFailure.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntryIntegerValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntryIntegerValue.go index e0577411c0..d85ceac3da 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntryIntegerValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntryIntegerValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntryNullValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntryNullValue.go index fa4e79e789..955c3e39cb 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntryNullValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntryNullValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntryRealValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntryRealValue.go index b4aff25886..55ab449291 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntryRealValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntryRealValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntryUnsignedValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntryUnsignedValue.go index a19de72d9d..edaae77dfa 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntryUnsignedValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntryUnsignedValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataTimeChange.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataTimeChange.go index e2c5b8d63c..84f58ceaa6 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataTimeChange.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataTimeChange.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogStatus.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogStatus.go index 6bc965375d..1209e32012 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogStatus.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogStatus.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogMultipleRecord.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogMultipleRecord.go index 623fdfd050..4e598b3e3c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogMultipleRecord.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogMultipleRecord.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -82,8 +84,6 @@ type BACnetLogMultipleRecordBuilder interface { WithTimestampBuilder(func(BACnetDateTimeEnclosedBuilder) BACnetDateTimeEnclosedBuilder) BACnetLogMultipleRecordBuilder // WithLogData adds LogData (property field) WithLogData(BACnetLogData) BACnetLogMultipleRecordBuilder - // WithLogDataBuilder adds LogData (property field) which is build by the builder - WithLogDataBuilder(func(BACnetLogDataBuilder) BACnetLogDataBuilder) BACnetLogMultipleRecordBuilder // Build builds the BACnetLogMultipleRecord or returns an error if something is wrong Build() (BACnetLogMultipleRecord, error) // MustBuild does the same as Build but panics on error @@ -130,19 +130,6 @@ func (m *_BACnetLogMultipleRecordBuilder) WithLogData(logData BACnetLogData) BAC return m } -func (m *_BACnetLogMultipleRecordBuilder) WithLogDataBuilder(builderSupplier func(BACnetLogDataBuilder) BACnetLogDataBuilder) BACnetLogMultipleRecordBuilder { - builder := builderSupplier(m.LogData.CreateBACnetLogDataBuilder()) - var err error - m.LogData, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetLogDataBuilder failed")) - } - return m -} - func (m *_BACnetLogMultipleRecordBuilder) Build() (BACnetLogMultipleRecord, error) { if m.Timestamp == nil { if m.err == nil { diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecord.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecord.go index 972c0ddb57..541ab26a98 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecord.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecord.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -85,8 +87,6 @@ type BACnetLogRecordBuilder interface { WithTimestampBuilder(func(BACnetDateTimeEnclosedBuilder) BACnetDateTimeEnclosedBuilder) BACnetLogRecordBuilder // WithLogDatum adds LogDatum (property field) WithLogDatum(BACnetLogRecordLogDatum) BACnetLogRecordBuilder - // WithLogDatumBuilder adds LogDatum (property field) which is build by the builder - WithLogDatumBuilder(func(BACnetLogRecordLogDatumBuilder) BACnetLogRecordLogDatumBuilder) BACnetLogRecordBuilder // WithStatusFlags adds StatusFlags (property field) WithOptionalStatusFlags(BACnetStatusFlagsTagged) BACnetLogRecordBuilder // WithOptionalStatusFlagsBuilder adds StatusFlags (property field) which is build by the builder @@ -137,19 +137,6 @@ func (m *_BACnetLogRecordBuilder) WithLogDatum(logDatum BACnetLogRecordLogDatum) return m } -func (m *_BACnetLogRecordBuilder) WithLogDatumBuilder(builderSupplier func(BACnetLogRecordLogDatumBuilder) BACnetLogRecordLogDatumBuilder) BACnetLogRecordBuilder { - builder := builderSupplier(m.LogDatum.CreateBACnetLogRecordLogDatumBuilder()) - var err error - m.LogDatum, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetLogRecordLogDatumBuilder failed")) - } - return m -} - func (m *_BACnetLogRecordBuilder) WithOptionalStatusFlags(statusFlags BACnetStatusFlagsTagged) BACnetLogRecordBuilder { m.StatusFlags = statusFlags return m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatum.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatum.go index 54b661811f..6f10e13672 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatum.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatum.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumAnyValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumAnyValue.go index 3f8fc6e98e..58a8a6721f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumAnyValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumAnyValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -77,8 +79,6 @@ type BACnetLogRecordLogDatumAnyValueBuilder interface { WithMandatoryFields() BACnetLogRecordLogDatumAnyValueBuilder // WithAnyValue adds AnyValue (property field) WithOptionalAnyValue(BACnetConstructedData) BACnetLogRecordLogDatumAnyValueBuilder - // WithOptionalAnyValueBuilder adds AnyValue (property field) which is build by the builder - WithOptionalAnyValueBuilder(func(BACnetConstructedDataBuilder) BACnetConstructedDataBuilder) BACnetLogRecordLogDatumAnyValueBuilder // Build builds the BACnetLogRecordLogDatumAnyValue or returns an error if something is wrong Build() (BACnetLogRecordLogDatumAnyValue, error) // MustBuild does the same as Build but panics on error @@ -107,19 +107,6 @@ func (m *_BACnetLogRecordLogDatumAnyValueBuilder) WithOptionalAnyValue(anyValue return m } -func (m *_BACnetLogRecordLogDatumAnyValueBuilder) WithOptionalAnyValueBuilder(builderSupplier func(BACnetConstructedDataBuilder) BACnetConstructedDataBuilder) BACnetLogRecordLogDatumAnyValueBuilder { - builder := builderSupplier(m.AnyValue.CreateBACnetConstructedDataBuilder()) - var err error - m.AnyValue, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetConstructedDataBuilder failed")) - } - return m -} - func (m *_BACnetLogRecordLogDatumAnyValueBuilder) Build() (BACnetLogRecordLogDatumAnyValue, error) { if m.err != nil { return nil, errors.Wrap(m.err, "error occurred during build") diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumBitStringValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumBitStringValue.go index f953fb396a..b58a8c4ac3 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumBitStringValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumBitStringValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumBooleanValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumBooleanValue.go index 626e087eed..ba5d7eab53 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumBooleanValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumBooleanValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumEnumeratedValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumEnumeratedValue.go index b523171fed..91688774ae 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumEnumeratedValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumEnumeratedValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumFailure.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumFailure.go index b7e6d05eed..6d472e918e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumFailure.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumFailure.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumIntegerValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumIntegerValue.go index d2dda1129a..c10af41352 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumIntegerValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumIntegerValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumLogStatus.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumLogStatus.go index eb3f017f65..4b07c50968 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumLogStatus.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumLogStatus.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumNullValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumNullValue.go index 28b4286e90..f22af7bdaa 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumNullValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumNullValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumRealValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumRealValue.go index c39931eb32..bb9f6a5ef9 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumRealValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumRealValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumTimeChange.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumTimeChange.go index b01f27a279..5ce7b14c06 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumTimeChange.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumTimeChange.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumUnsignedValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumUnsignedValue.go index c51761f509..4d654305f8 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumUnsignedValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumUnsignedValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogStatus.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogStatus.go index 87ee7b385e..572ad219c0 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogStatus.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogStatus.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogStatusTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogStatusTagged.go index 4a13378357..72a80b5405 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogStatusTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogStatusTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLoggingType.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLoggingType.go index 0dee344f60..c5bffb2cc3 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLoggingType.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLoggingType.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLoggingTypeTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLoggingTypeTagged.go index e9429bc056..a36bae8f8c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLoggingTypeTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLoggingTypeTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetMaintenance.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetMaintenance.go index 053c08227b..8ed985567b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetMaintenance.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetMaintenance.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetMaintenanceTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetMaintenanceTagged.go index 52b894f5c7..5fe2b0b5db 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetMaintenanceTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetMaintenanceTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNameValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNameValue.go index 6bb49dfae6..3458cbceef 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNameValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNameValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -79,8 +81,6 @@ type BACnetNameValueBuilder interface { WithNameBuilder(func(BACnetContextTagCharacterStringBuilder) BACnetContextTagCharacterStringBuilder) BACnetNameValueBuilder // WithValue adds Value (property field) WithOptionalValue(BACnetConstructedData) BACnetNameValueBuilder - // WithOptionalValueBuilder adds Value (property field) which is build by the builder - WithOptionalValueBuilder(func(BACnetConstructedDataBuilder) BACnetConstructedDataBuilder) BACnetNameValueBuilder // Build builds the BACnetNameValue or returns an error if something is wrong Build() (BACnetNameValue, error) // MustBuild does the same as Build but panics on error @@ -127,19 +127,6 @@ func (m *_BACnetNameValueBuilder) WithOptionalValue(value BACnetConstructedData) return m } -func (m *_BACnetNameValueBuilder) WithOptionalValueBuilder(builderSupplier func(BACnetConstructedDataBuilder) BACnetConstructedDataBuilder) BACnetNameValueBuilder { - builder := builderSupplier(m.Value.CreateBACnetConstructedDataBuilder()) - var err error - m.Value, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetConstructedDataBuilder failed")) - } - return m -} - func (m *_BACnetNameValueBuilder) Build() (BACnetNameValue, error) { if m.Name == nil { if m.err == nil { diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNameValueCollection.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNameValueCollection.go index be50606815..bd6a853f58 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNameValueCollection.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNameValueCollection.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNetworkNumberQuality.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNetworkNumberQuality.go index a94f6bfb36..377218e906 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNetworkNumberQuality.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNetworkNumberQuality.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNetworkNumberQualityTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNetworkNumberQualityTagged.go index bf316387b8..ebb9bc7d24 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNetworkNumberQualityTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNetworkNumberQualityTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNetworkPortCommand.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNetworkPortCommand.go index 9e63adfa63..7cd4fa2689 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNetworkPortCommand.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNetworkPortCommand.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNetworkPortCommandTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNetworkPortCommandTagged.go index ca3e378501..64aa776027 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNetworkPortCommandTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNetworkPortCommandTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNetworkSecurityPolicy.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNetworkSecurityPolicy.go index 5dccc1cd20..23be6d5859 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNetworkSecurityPolicy.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNetworkSecurityPolicy.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNetworkType.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNetworkType.go index 321291a347..f85060994d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNetworkType.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNetworkType.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNetworkTypeTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNetworkTypeTagged.go index 926d4d36db..de7c06a098 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNetworkTypeTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNetworkTypeTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNodeType.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNodeType.go index b1273a5515..881c22f3c4 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNodeType.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNodeType.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNodeTypeTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNodeTypeTagged.go index 9d1c4e8ba4..0bb0ef2810 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNodeTypeTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNodeTypeTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParameters.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParameters.go index 4b0598e067..5feca4e081 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParameters.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParameters.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersAccessEvent.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersAccessEvent.go index 363b3b33b3..680ec09d19 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersAccessEvent.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersAccessEvent.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersBufferReady.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersBufferReady.go index 2fe9287e47..eb186271ce 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersBufferReady.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersBufferReady.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfBitString.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfBitString.go index 6c21545214..d2b3dd54cd 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfBitString.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfBitString.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfCharacterString.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfCharacterString.go index 2d9b1882fc..3059c88936 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfCharacterString.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfCharacterString.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValue.go index 9542106f7b..e8f1d9d87f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -105,8 +107,6 @@ type BACnetNotificationParametersChangeOfDiscreteValueBuilder interface { WithInnerOpeningTagBuilder(func(BACnetOpeningTagBuilder) BACnetOpeningTagBuilder) BACnetNotificationParametersChangeOfDiscreteValueBuilder // WithNewValue adds NewValue (property field) WithNewValue(BACnetNotificationParametersChangeOfDiscreteValueNewValue) BACnetNotificationParametersChangeOfDiscreteValueBuilder - // WithNewValueBuilder adds NewValue (property field) which is build by the builder - WithNewValueBuilder(func(BACnetNotificationParametersChangeOfDiscreteValueNewValueBuilder) BACnetNotificationParametersChangeOfDiscreteValueNewValueBuilder) BACnetNotificationParametersChangeOfDiscreteValueBuilder // WithStatusFlags adds StatusFlags (property field) WithStatusFlags(BACnetStatusFlagsTagged) BACnetNotificationParametersChangeOfDiscreteValueBuilder // WithStatusFlagsBuilder adds StatusFlags (property field) which is build by the builder @@ -161,19 +161,6 @@ func (m *_BACnetNotificationParametersChangeOfDiscreteValueBuilder) WithNewValue return m } -func (m *_BACnetNotificationParametersChangeOfDiscreteValueBuilder) WithNewValueBuilder(builderSupplier func(BACnetNotificationParametersChangeOfDiscreteValueNewValueBuilder) BACnetNotificationParametersChangeOfDiscreteValueNewValueBuilder) BACnetNotificationParametersChangeOfDiscreteValueBuilder { - builder := builderSupplier(m.NewValue.CreateBACnetNotificationParametersChangeOfDiscreteValueNewValueBuilder()) - var err error - m.NewValue, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetNotificationParametersChangeOfDiscreteValueNewValueBuilder failed")) - } - return m -} - func (m *_BACnetNotificationParametersChangeOfDiscreteValueBuilder) WithStatusFlags(statusFlags BACnetStatusFlagsTagged) BACnetNotificationParametersChangeOfDiscreteValueBuilder { m.StatusFlags = statusFlags return m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValue.go index 2be1e6763c..52cea0ddc8 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueBoolean.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueBoolean.go index 9ebbf67034..8fff27bee3 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueBoolean.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueBoolean.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueCharacterString.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueCharacterString.go index e13121bbc5..abe7778721 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueCharacterString.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueCharacterString.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueDatetime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueDatetime.go index 332edcc117..0dd88b8533 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueDatetime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueDatetime.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueEnumerated.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueEnumerated.go index a80e424181..78ec141a58 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueEnumerated.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueEnumerated.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueInteger.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueInteger.go index 187f580255..5a62239f63 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueInteger.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueInteger.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueObjectidentifier.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueObjectidentifier.go index 3f6692614c..e80d31627d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueObjectidentifier.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueObjectidentifier.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueOctetDate.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueOctetDate.go index e82e8fcfb6..8827a656f1 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueOctetDate.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueOctetDate.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueOctetString.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueOctetString.go index e7b2fb7c8c..4f94049490 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueOctetString.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueOctetString.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueOctetTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueOctetTime.go index 74b9afc1d1..6c8fb07913 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueOctetTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueOctetTime.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueUnsigned.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueUnsigned.go index 3971a820cc..e63954eb9e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueUnsigned.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueUnsigned.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfLifeSafety.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfLifeSafety.go index ea2331c343..49ea8ae9e6 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfLifeSafety.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfLifeSafety.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfReliability.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfReliability.go index 0fa2788398..7a8d38589f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfReliability.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfReliability.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfState.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfState.go index 7b282387cd..73ef7bd866 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfState.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfState.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfStatusFlags.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfStatusFlags.go index cba511ad8a..222fc6c23a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfStatusFlags.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfStatusFlags.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -105,8 +107,6 @@ type BACnetNotificationParametersChangeOfStatusFlagsBuilder interface { WithInnerOpeningTagBuilder(func(BACnetOpeningTagBuilder) BACnetOpeningTagBuilder) BACnetNotificationParametersChangeOfStatusFlagsBuilder // WithPresentValue adds PresentValue (property field) WithPresentValue(BACnetConstructedData) BACnetNotificationParametersChangeOfStatusFlagsBuilder - // WithPresentValueBuilder adds PresentValue (property field) which is build by the builder - WithPresentValueBuilder(func(BACnetConstructedDataBuilder) BACnetConstructedDataBuilder) BACnetNotificationParametersChangeOfStatusFlagsBuilder // WithReferencedFlags adds ReferencedFlags (property field) WithReferencedFlags(BACnetStatusFlagsTagged) BACnetNotificationParametersChangeOfStatusFlagsBuilder // WithReferencedFlagsBuilder adds ReferencedFlags (property field) which is build by the builder @@ -161,19 +161,6 @@ func (m *_BACnetNotificationParametersChangeOfStatusFlagsBuilder) WithPresentVal return m } -func (m *_BACnetNotificationParametersChangeOfStatusFlagsBuilder) WithPresentValueBuilder(builderSupplier func(BACnetConstructedDataBuilder) BACnetConstructedDataBuilder) BACnetNotificationParametersChangeOfStatusFlagsBuilder { - builder := builderSupplier(m.PresentValue.CreateBACnetConstructedDataBuilder()) - var err error - m.PresentValue, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetConstructedDataBuilder failed")) - } - return m -} - func (m *_BACnetNotificationParametersChangeOfStatusFlagsBuilder) WithReferencedFlags(referencedFlags BACnetStatusFlagsTagged) BACnetNotificationParametersChangeOfStatusFlagsBuilder { m.ReferencedFlags = referencedFlags return m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfTimer.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfTimer.go index d878d8ed8f..654dc48e11 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfTimer.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfTimer.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfValue.go index 81faca340a..f3ee603ed0 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -105,8 +107,6 @@ type BACnetNotificationParametersChangeOfValueBuilder interface { WithInnerOpeningTagBuilder(func(BACnetOpeningTagBuilder) BACnetOpeningTagBuilder) BACnetNotificationParametersChangeOfValueBuilder // WithNewValue adds NewValue (property field) WithNewValue(BACnetNotificationParametersChangeOfValueNewValue) BACnetNotificationParametersChangeOfValueBuilder - // WithNewValueBuilder adds NewValue (property field) which is build by the builder - WithNewValueBuilder(func(BACnetNotificationParametersChangeOfValueNewValueBuilder) BACnetNotificationParametersChangeOfValueNewValueBuilder) BACnetNotificationParametersChangeOfValueBuilder // WithStatusFlags adds StatusFlags (property field) WithStatusFlags(BACnetStatusFlagsTagged) BACnetNotificationParametersChangeOfValueBuilder // WithStatusFlagsBuilder adds StatusFlags (property field) which is build by the builder @@ -161,19 +161,6 @@ func (m *_BACnetNotificationParametersChangeOfValueBuilder) WithNewValue(newValu return m } -func (m *_BACnetNotificationParametersChangeOfValueBuilder) WithNewValueBuilder(builderSupplier func(BACnetNotificationParametersChangeOfValueNewValueBuilder) BACnetNotificationParametersChangeOfValueNewValueBuilder) BACnetNotificationParametersChangeOfValueBuilder { - builder := builderSupplier(m.NewValue.CreateBACnetNotificationParametersChangeOfValueNewValueBuilder()) - var err error - m.NewValue, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetNotificationParametersChangeOfValueNewValueBuilder failed")) - } - return m -} - func (m *_BACnetNotificationParametersChangeOfValueBuilder) WithStatusFlags(statusFlags BACnetStatusFlagsTagged) BACnetNotificationParametersChangeOfValueBuilder { m.StatusFlags = statusFlags return m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfValueNewValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfValueNewValue.go index 53e74ba874..96b5065e20 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfValueNewValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfValueNewValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfValueNewValueChangedBits.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfValueNewValueChangedBits.go index 986c4eb95c..2992039a89 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfValueNewValueChangedBits.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfValueNewValueChangedBits.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfValueNewValueChangedValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfValueNewValueChangedValue.go index 8f9ed95014..5df28913eb 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfValueNewValueChangedValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfValueNewValueChangedValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersCommandFailure.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersCommandFailure.go index cf3a74d194..1dfb8e089f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersCommandFailure.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersCommandFailure.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -112,16 +114,12 @@ type BACnetNotificationParametersCommandFailureBuilder interface { WithInnerOpeningTagBuilder(func(BACnetOpeningTagBuilder) BACnetOpeningTagBuilder) BACnetNotificationParametersCommandFailureBuilder // WithCommandValue adds CommandValue (property field) WithCommandValue(BACnetConstructedData) BACnetNotificationParametersCommandFailureBuilder - // WithCommandValueBuilder adds CommandValue (property field) which is build by the builder - WithCommandValueBuilder(func(BACnetConstructedDataBuilder) BACnetConstructedDataBuilder) BACnetNotificationParametersCommandFailureBuilder // WithStatusFlags adds StatusFlags (property field) WithStatusFlags(BACnetStatusFlagsTagged) BACnetNotificationParametersCommandFailureBuilder // WithStatusFlagsBuilder adds StatusFlags (property field) which is build by the builder WithStatusFlagsBuilder(func(BACnetStatusFlagsTaggedBuilder) BACnetStatusFlagsTaggedBuilder) BACnetNotificationParametersCommandFailureBuilder // WithFeedbackValue adds FeedbackValue (property field) WithFeedbackValue(BACnetConstructedData) BACnetNotificationParametersCommandFailureBuilder - // WithFeedbackValueBuilder adds FeedbackValue (property field) which is build by the builder - WithFeedbackValueBuilder(func(BACnetConstructedDataBuilder) BACnetConstructedDataBuilder) BACnetNotificationParametersCommandFailureBuilder // WithInnerClosingTag adds InnerClosingTag (property field) WithInnerClosingTag(BACnetClosingTag) BACnetNotificationParametersCommandFailureBuilder // WithInnerClosingTagBuilder adds InnerClosingTag (property field) which is build by the builder @@ -172,19 +170,6 @@ func (m *_BACnetNotificationParametersCommandFailureBuilder) WithCommandValue(co return m } -func (m *_BACnetNotificationParametersCommandFailureBuilder) WithCommandValueBuilder(builderSupplier func(BACnetConstructedDataBuilder) BACnetConstructedDataBuilder) BACnetNotificationParametersCommandFailureBuilder { - builder := builderSupplier(m.CommandValue.CreateBACnetConstructedDataBuilder()) - var err error - m.CommandValue, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetConstructedDataBuilder failed")) - } - return m -} - func (m *_BACnetNotificationParametersCommandFailureBuilder) WithStatusFlags(statusFlags BACnetStatusFlagsTagged) BACnetNotificationParametersCommandFailureBuilder { m.StatusFlags = statusFlags return m @@ -208,19 +193,6 @@ func (m *_BACnetNotificationParametersCommandFailureBuilder) WithFeedbackValue(f return m } -func (m *_BACnetNotificationParametersCommandFailureBuilder) WithFeedbackValueBuilder(builderSupplier func(BACnetConstructedDataBuilder) BACnetConstructedDataBuilder) BACnetNotificationParametersCommandFailureBuilder { - builder := builderSupplier(m.FeedbackValue.CreateBACnetConstructedDataBuilder()) - var err error - m.FeedbackValue, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetConstructedDataBuilder failed")) - } - return m -} - func (m *_BACnetNotificationParametersCommandFailureBuilder) WithInnerClosingTag(innerClosingTag BACnetClosingTag) BACnetNotificationParametersCommandFailureBuilder { m.InnerClosingTag = innerClosingTag return m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersComplexEventType.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersComplexEventType.go index 5906273897..41355340a9 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersComplexEventType.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersComplexEventType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersDoubleOutOfRange.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersDoubleOutOfRange.go index 7d6bec93c4..74936b10e0 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersDoubleOutOfRange.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersDoubleOutOfRange.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersExtended.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersExtended.go index 788d237176..a38216d240 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersExtended.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersExtended.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersExtendedParameters.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersExtendedParameters.go index afd9320287..fceff9efd8 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersExtendedParameters.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersExtendedParameters.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersFloatingLimit.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersFloatingLimit.go index ee67a66d81..3ea4de26e0 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersFloatingLimit.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersFloatingLimit.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersOutOfRange.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersOutOfRange.go index 0546193d23..6d6aef52e0 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersOutOfRange.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersOutOfRange.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersSignedOutOfRange.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersSignedOutOfRange.go index 007727d134..3c4c65531f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersSignedOutOfRange.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersSignedOutOfRange.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersUnsignedOutOfRange.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersUnsignedOutOfRange.go index 32b761836a..d2b6fcb096 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersUnsignedOutOfRange.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersUnsignedOutOfRange.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersUnsignedRange.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersUnsignedRange.go index 283838a711..a6b2275298 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersUnsignedRange.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersUnsignedRange.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotifyType.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotifyType.go index fa885ce61c..30ee6501a4 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotifyType.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotifyType.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotifyTypeTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotifyTypeTagged.go index 30a3ee90bf..d5c304424d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotifyTypeTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotifyTypeTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetObjectPropertyReference.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetObjectPropertyReference.go index 76593fe7a7..286c211cd4 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetObjectPropertyReference.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetObjectPropertyReference.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetObjectPropertyReferenceEnclosed.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetObjectPropertyReferenceEnclosed.go index c21f3df82d..ac65ece606 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetObjectPropertyReferenceEnclosed.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetObjectPropertyReferenceEnclosed.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetObjectType.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetObjectType.go index 56294e3504..07e96e5428 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetObjectType.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetObjectType.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetObjectTypeTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetObjectTypeTagged.go index c51c514476..f2ea092298 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetObjectTypeTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetObjectTypeTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetObjectTypesSupported.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetObjectTypesSupported.go index 1353cc094e..50de98ef6b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetObjectTypesSupported.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetObjectTypesSupported.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetObjectTypesSupportedTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetObjectTypesSupportedTagged.go index 80569cc66e..ec38f4fad9 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetObjectTypesSupportedTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetObjectTypesSupportedTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetOpeningTag.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetOpeningTag.go index 09ff4486fe..9b8044c7cb 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetOpeningTag.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetOpeningTag.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalBinaryPV.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalBinaryPV.go index cfe9bbd1ad..5c396273a3 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalBinaryPV.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalBinaryPV.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalBinaryPVNull.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalBinaryPVNull.go index 75df338cc4..a4eacbf6c8 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalBinaryPVNull.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalBinaryPVNull.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalBinaryPVValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalBinaryPVValue.go index 608911ba06..394de0d866 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalBinaryPVValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalBinaryPVValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalCharacterString.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalCharacterString.go index eca401c81f..794d183590 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalCharacterString.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalCharacterString.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalCharacterStringNull.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalCharacterStringNull.go index 8aa24ced1e..19cbdfe3b5 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalCharacterStringNull.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalCharacterStringNull.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalCharacterStringValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalCharacterStringValue.go index c5a058eddd..cad2cf9333 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalCharacterStringValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalCharacterStringValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalREAL.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalREAL.go index 52a0ecb87e..96ba186dcf 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalREAL.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalREAL.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalREALNull.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalREALNull.go index 31973b2733..94f36dcbb9 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalREALNull.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalREALNull.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalREALValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalREALValue.go index 3f86893f4e..95307a8272 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalREALValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalREALValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalUnsigned.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalUnsigned.go index c9d1c20cf0..c2122537a3 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalUnsigned.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalUnsigned.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalUnsignedNull.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalUnsignedNull.go index 3d90ae7051..d06482dfb6 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalUnsignedNull.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalUnsignedNull.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalUnsignedValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalUnsignedValue.go index ef13fec86c..2b35ca4721 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalUnsignedValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalUnsignedValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPolarity.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPolarity.go index 2ebe06a931..eacd0cc322 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPolarity.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPolarity.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPolarityTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPolarityTagged.go index 4af42d8a94..f53ad60fb5 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPolarityTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPolarityTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPortPermission.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPortPermission.go index c929501f15..e425cb683a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPortPermission.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPortPermission.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPrescale.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPrescale.go index 7d331ce8aa..97ed694cc9 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPrescale.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPrescale.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityArray.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityArray.go index 7529dfc01a..17c3aea01e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityArray.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityArray.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValue.go index 3d809a0769..f4356c333a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueBitString.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueBitString.go index ec4171d234..eb413fa915 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueBitString.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueBitString.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueBoolean.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueBoolean.go index 5bf2a4fa3e..6bc16ef32b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueBoolean.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueBoolean.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueCharacterString.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueCharacterString.go index 7a4dcd2f93..3808c5f9d6 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueCharacterString.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueCharacterString.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueConstructedValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueConstructedValue.go index 11aba74800..a154195bdc 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueConstructedValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueConstructedValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -80,8 +82,6 @@ type BACnetPriorityValueConstructedValueBuilder interface { WithMandatoryFields(constructedValue BACnetConstructedData) BACnetPriorityValueConstructedValueBuilder // WithConstructedValue adds ConstructedValue (property field) WithConstructedValue(BACnetConstructedData) BACnetPriorityValueConstructedValueBuilder - // WithConstructedValueBuilder adds ConstructedValue (property field) which is build by the builder - WithConstructedValueBuilder(func(BACnetConstructedDataBuilder) BACnetConstructedDataBuilder) BACnetPriorityValueConstructedValueBuilder // Build builds the BACnetPriorityValueConstructedValue or returns an error if something is wrong Build() (BACnetPriorityValueConstructedValue, error) // MustBuild does the same as Build but panics on error @@ -110,19 +110,6 @@ func (m *_BACnetPriorityValueConstructedValueBuilder) WithConstructedValue(const return m } -func (m *_BACnetPriorityValueConstructedValueBuilder) WithConstructedValueBuilder(builderSupplier func(BACnetConstructedDataBuilder) BACnetConstructedDataBuilder) BACnetPriorityValueConstructedValueBuilder { - builder := builderSupplier(m.ConstructedValue.CreateBACnetConstructedDataBuilder()) - var err error - m.ConstructedValue, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetConstructedDataBuilder failed")) - } - return m -} - func (m *_BACnetPriorityValueConstructedValueBuilder) Build() (BACnetPriorityValueConstructedValue, error) { if m.ConstructedValue == nil { if m.err == nil { diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueDate.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueDate.go index 94feae48ee..b8c9a0708c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueDate.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueDate.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueDateTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueDateTime.go index a95e36adc2..0251e720c2 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueDateTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueDateTime.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueDouble.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueDouble.go index 2f47271861..2c6e6fe77c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueDouble.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueDouble.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueEnumerated.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueEnumerated.go index f17aac5dcf..5f9cf1a5af 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueEnumerated.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueEnumerated.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueInteger.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueInteger.go index 49fc07ac7d..88e4154e24 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueInteger.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueInteger.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueNull.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueNull.go index a16bf93b27..82ff131e80 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueNull.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueNull.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueObjectidentifier.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueObjectidentifier.go index 9b64c7ea71..e6b2ea1609 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueObjectidentifier.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueObjectidentifier.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueOctetString.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueOctetString.go index 7af50261ee..f14036809a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueOctetString.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueOctetString.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueReal.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueReal.go index 55b4743dbf..a9b3026b4d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueReal.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueReal.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueTime.go index 9ce6d83041..0eb6c3e90a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueTime.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueUnsigned.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueUnsigned.go index a6e364fe2a..ba96a9e3e1 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueUnsigned.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueUnsigned.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetProcessIdSelection.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetProcessIdSelection.go index 0b9e1e24fa..a6c51eb3d5 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetProcessIdSelection.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetProcessIdSelection.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetProcessIdSelectionNull.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetProcessIdSelectionNull.go index 144ef288b2..9ca30082e0 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetProcessIdSelectionNull.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetProcessIdSelectionNull.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetProcessIdSelectionValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetProcessIdSelectionValue.go index a9f073da50..ec67659449 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetProcessIdSelectionValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetProcessIdSelectionValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetProgramError.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetProgramError.go index a411cafa22..3626459908 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetProgramError.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetProgramError.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetProgramErrorTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetProgramErrorTagged.go index 0b6d06e173..8a847379c6 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetProgramErrorTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetProgramErrorTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetProgramRequest.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetProgramRequest.go index 14ef09cc73..164a213aff 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetProgramRequest.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetProgramRequest.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetProgramRequestTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetProgramRequestTagged.go index c8894aa779..8a86563baa 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetProgramRequestTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetProgramRequestTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetProgramState.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetProgramState.go index 3ebf88cf28..0214c3bf9b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetProgramState.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetProgramState.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetProgramStateTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetProgramStateTagged.go index bde622f07f..07e47fb130 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetProgramStateTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetProgramStateTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyAccessResult.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyAccessResult.go index aabf5ecc54..5e6dc0e570 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyAccessResult.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyAccessResult.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -106,8 +108,6 @@ type BACnetPropertyAccessResultBuilder interface { WithOptionalDeviceIdentifierBuilder(func(BACnetContextTagObjectIdentifierBuilder) BACnetContextTagObjectIdentifierBuilder) BACnetPropertyAccessResultBuilder // WithAccessResult adds AccessResult (property field) WithAccessResult(BACnetPropertyAccessResultAccessResult) BACnetPropertyAccessResultBuilder - // WithAccessResultBuilder adds AccessResult (property field) which is build by the builder - WithAccessResultBuilder(func(BACnetPropertyAccessResultAccessResultBuilder) BACnetPropertyAccessResultAccessResultBuilder) BACnetPropertyAccessResultBuilder // Build builds the BACnetPropertyAccessResult or returns an error if something is wrong Build() (BACnetPropertyAccessResult, error) // MustBuild does the same as Build but panics on error @@ -208,19 +208,6 @@ func (m *_BACnetPropertyAccessResultBuilder) WithAccessResult(accessResult BACne return m } -func (m *_BACnetPropertyAccessResultBuilder) WithAccessResultBuilder(builderSupplier func(BACnetPropertyAccessResultAccessResultBuilder) BACnetPropertyAccessResultAccessResultBuilder) BACnetPropertyAccessResultBuilder { - builder := builderSupplier(m.AccessResult.CreateBACnetPropertyAccessResultAccessResultBuilder()) - var err error - m.AccessResult, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetPropertyAccessResultAccessResultBuilder failed")) - } - return m -} - func (m *_BACnetPropertyAccessResultBuilder) Build() (BACnetPropertyAccessResult, error) { if m.ObjectIdentifier == nil { if m.err == nil { diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyAccessResultAccessResult.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyAccessResultAccessResult.go index a8619ea959..42f02c121f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyAccessResultAccessResult.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyAccessResultAccessResult.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyAccessResultAccessResultPropertyAccessError.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyAccessResultAccessResultPropertyAccessError.go index cb59f99f10..89f758463c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyAccessResultAccessResultPropertyAccessError.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyAccessResultAccessResultPropertyAccessError.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyAccessResultAccessResultPropertyValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyAccessResultAccessResultPropertyValue.go index d60ee183d7..c4661eefa5 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyAccessResultAccessResultPropertyValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyAccessResultAccessResultPropertyValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -80,8 +82,6 @@ type BACnetPropertyAccessResultAccessResultPropertyValueBuilder interface { WithMandatoryFields(propertyValue BACnetConstructedData) BACnetPropertyAccessResultAccessResultPropertyValueBuilder // WithPropertyValue adds PropertyValue (property field) WithPropertyValue(BACnetConstructedData) BACnetPropertyAccessResultAccessResultPropertyValueBuilder - // WithPropertyValueBuilder adds PropertyValue (property field) which is build by the builder - WithPropertyValueBuilder(func(BACnetConstructedDataBuilder) BACnetConstructedDataBuilder) BACnetPropertyAccessResultAccessResultPropertyValueBuilder // Build builds the BACnetPropertyAccessResultAccessResultPropertyValue or returns an error if something is wrong Build() (BACnetPropertyAccessResultAccessResultPropertyValue, error) // MustBuild does the same as Build but panics on error @@ -110,19 +110,6 @@ func (m *_BACnetPropertyAccessResultAccessResultPropertyValueBuilder) WithProper return m } -func (m *_BACnetPropertyAccessResultAccessResultPropertyValueBuilder) WithPropertyValueBuilder(builderSupplier func(BACnetConstructedDataBuilder) BACnetConstructedDataBuilder) BACnetPropertyAccessResultAccessResultPropertyValueBuilder { - builder := builderSupplier(m.PropertyValue.CreateBACnetConstructedDataBuilder()) - var err error - m.PropertyValue, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetConstructedDataBuilder failed")) - } - return m -} - func (m *_BACnetPropertyAccessResultAccessResultPropertyValueBuilder) Build() (BACnetPropertyAccessResultAccessResultPropertyValue, error) { if m.PropertyValue == nil { if m.err == nil { diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyIdentifier.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyIdentifier.go index 884a0d9fb7..a9d6615702 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyIdentifier.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyIdentifier.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyIdentifierTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyIdentifierTagged.go index cb0b3e11d2..c057a7c364 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyIdentifierTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyIdentifierTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyReference.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyReference.go index fc80cfdcae..9fbcb9b57f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyReference.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyReference.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyReferenceEnclosed.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyReferenceEnclosed.go index 50e6cc4b15..32e67fd024 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyReferenceEnclosed.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyReferenceEnclosed.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStateActionUnknown.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStateActionUnknown.go index 0d398b870e..8d33e46343 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStateActionUnknown.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStateActionUnknown.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStates.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStates.go index 7f9b49598b..1c1ceed3bb 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStates.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStates.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesAccessCredentialDisable.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesAccessCredentialDisable.go index 7e6ba2c70d..53a9f26d3d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesAccessCredentialDisable.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesAccessCredentialDisable.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesAccessCredentialDisableReason.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesAccessCredentialDisableReason.go index 39dc692f8e..8a37a05801 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesAccessCredentialDisableReason.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesAccessCredentialDisableReason.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesAccessEvent.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesAccessEvent.go index eb1a779669..0ccb483b46 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesAccessEvent.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesAccessEvent.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesAction.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesAction.go index 8eb2073738..3160e1ebc6 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesAction.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesAction.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesAuthenticationStatus.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesAuthenticationStatus.go index d57a41d114..abb03456b9 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesAuthenticationStatus.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesAuthenticationStatus.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesBackupState.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesBackupState.go index a647e68349..7b626f680f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesBackupState.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesBackupState.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesBacnetIpMode.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesBacnetIpMode.go index ee86a4671b..0f0b1ca0d1 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesBacnetIpMode.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesBacnetIpMode.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesBinaryLightningValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesBinaryLightningValue.go index 57d9ae9afa..cda48fc80f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesBinaryLightningValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesBinaryLightningValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesBinaryValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesBinaryValue.go index a71daaa778..af02ef562d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesBinaryValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesBinaryValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesBoolean.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesBoolean.go index b37a931f9d..c23a02ef37 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesBoolean.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesBoolean.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesDoorAlarmState.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesDoorAlarmState.go index aa036c3d17..7ae7a2063a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesDoorAlarmState.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesDoorAlarmState.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesDoorSecuredStatus.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesDoorSecuredStatus.go index cb29cc8e56..f7aad25157 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesDoorSecuredStatus.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesDoorSecuredStatus.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesDoorStatus.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesDoorStatus.go index 059a4c0fcf..8bdf10c051 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesDoorStatus.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesDoorStatus.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesDoorValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesDoorValue.go index 2713eb75aa..2026c7c706 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesDoorValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesDoorValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesEnclosed.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesEnclosed.go index 8fbe4c9560..7497319240 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesEnclosed.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesEnclosed.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -91,8 +93,6 @@ type BACnetPropertyStatesEnclosedBuilder interface { WithOpeningTagBuilder(func(BACnetOpeningTagBuilder) BACnetOpeningTagBuilder) BACnetPropertyStatesEnclosedBuilder // WithPropertyState adds PropertyState (property field) WithPropertyState(BACnetPropertyStates) BACnetPropertyStatesEnclosedBuilder - // WithPropertyStateBuilder adds PropertyState (property field) which is build by the builder - WithPropertyStateBuilder(func(BACnetPropertyStatesBuilder) BACnetPropertyStatesBuilder) BACnetPropertyStatesEnclosedBuilder // WithClosingTag adds ClosingTag (property field) WithClosingTag(BACnetClosingTag) BACnetPropertyStatesEnclosedBuilder // WithClosingTagBuilder adds ClosingTag (property field) which is build by the builder @@ -143,19 +143,6 @@ func (m *_BACnetPropertyStatesEnclosedBuilder) WithPropertyState(propertyState B return m } -func (m *_BACnetPropertyStatesEnclosedBuilder) WithPropertyStateBuilder(builderSupplier func(BACnetPropertyStatesBuilder) BACnetPropertyStatesBuilder) BACnetPropertyStatesEnclosedBuilder { - builder := builderSupplier(m.PropertyState.CreateBACnetPropertyStatesBuilder()) - var err error - m.PropertyState, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetPropertyStatesBuilder failed")) - } - return m -} - func (m *_BACnetPropertyStatesEnclosedBuilder) WithClosingTag(closingTag BACnetClosingTag) BACnetPropertyStatesEnclosedBuilder { m.ClosingTag = closingTag return m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesEscalatorFault.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesEscalatorFault.go index d4999d93db..e05dad4b57 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesEscalatorFault.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesEscalatorFault.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesEscalatorMode.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesEscalatorMode.go index 6c13c653ba..77ed865b1e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesEscalatorMode.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesEscalatorMode.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesEscalatorOperationDirection.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesEscalatorOperationDirection.go index 7f7ef9738e..273985c16a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesEscalatorOperationDirection.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesEscalatorOperationDirection.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesEventType.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesEventType.go index 70f2618c97..6af44d6730 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesEventType.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesEventType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesExtendedValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesExtendedValue.go index e38bc92681..c0c621bc6a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesExtendedValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesExtendedValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesFileAccessMethod.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesFileAccessMethod.go index ea56804428..61c37e4205 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesFileAccessMethod.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesFileAccessMethod.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesIntegerValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesIntegerValue.go index c46ff53712..e03e35ac39 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesIntegerValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesIntegerValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLifeSafetyMode.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLifeSafetyMode.go index 43e5f4dbe6..0a9b23ad2d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLifeSafetyMode.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLifeSafetyMode.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLifeSafetyOperations.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLifeSafetyOperations.go index e349f7be6d..fffba0952d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLifeSafetyOperations.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLifeSafetyOperations.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLifeSafetyState.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLifeSafetyState.go index d1d166c409..63c2eb9747 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLifeSafetyState.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLifeSafetyState.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLiftCarDirection.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLiftCarDirection.go index 155fd30231..041f76ba3a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLiftCarDirection.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLiftCarDirection.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLiftCarDoorCommand.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLiftCarDoorCommand.go index 81e0da537c..be8c9c5544 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLiftCarDoorCommand.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLiftCarDoorCommand.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLiftCarDriveStatus.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLiftCarDriveStatus.go index 82f5f37466..11126c3170 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLiftCarDriveStatus.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLiftCarDriveStatus.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLiftCarMode.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLiftCarMode.go index 79db80ebcf..ebccc374dd 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLiftCarMode.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLiftCarMode.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLiftFault.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLiftFault.go index 7287309e53..bfa7a076b6 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLiftFault.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLiftFault.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLiftGroupMode.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLiftGroupMode.go index 6c8192e4f1..d49e3cb541 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLiftGroupMode.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLiftGroupMode.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLightningInProgress.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLightningInProgress.go index ef89f82f00..75efde617b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLightningInProgress.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLightningInProgress.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLightningOperation.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLightningOperation.go index ac825ab423..4c85543452 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLightningOperation.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLightningOperation.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLightningTransition.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLightningTransition.go index 1de595864e..5fd93a49f1 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLightningTransition.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLightningTransition.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLockStatus.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLockStatus.go index c03afff8d8..c88ba0c898 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLockStatus.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLockStatus.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesMaintenance.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesMaintenance.go index b0e533efa3..eb699ec563 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesMaintenance.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesMaintenance.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesNetworkNumberQuality.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesNetworkNumberQuality.go index fa23373861..617043d237 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesNetworkNumberQuality.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesNetworkNumberQuality.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesNetworkPortCommand.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesNetworkPortCommand.go index 25a2daf919..105eabb47b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesNetworkPortCommand.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesNetworkPortCommand.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesNetworkType.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesNetworkType.go index e86c547999..e79fba564f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesNetworkType.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesNetworkType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesNodeType.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesNodeType.go index eb68d1d95f..869840bc1e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesNodeType.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesNodeType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesNotifyType.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesNotifyType.go index fedf481372..a76f7d8edb 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesNotifyType.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesNotifyType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesPolarity.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesPolarity.go index 0b709bc37d..48396978ed 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesPolarity.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesPolarity.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesProgramChange.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesProgramChange.go index ea9592197d..f37cd3607d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesProgramChange.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesProgramChange.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesProtocolLevel.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesProtocolLevel.go index e39b8b0f8f..c188cc77f2 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesProtocolLevel.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesProtocolLevel.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesReasonForHalt.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesReasonForHalt.go index bc4549889f..c7291cd4e2 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesReasonForHalt.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesReasonForHalt.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesReliability.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesReliability.go index 88dba887c4..9a197980f8 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesReliability.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesReliability.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesRestartReason.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesRestartReason.go index 75a67ef8d1..72e000f702 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesRestartReason.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesRestartReason.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesSecurityLevel.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesSecurityLevel.go index 5d167260e8..56a32e4e4c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesSecurityLevel.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesSecurityLevel.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesShedState.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesShedState.go index f5a270771f..8c94e0a94a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesShedState.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesShedState.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesSilencedState.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesSilencedState.go index c5b32eeea4..7af62f6deb 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesSilencedState.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesSilencedState.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesState.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesState.go index b5f2316a56..69fe7b6974 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesState.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesState.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesSystemStatus.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesSystemStatus.go index 70470d43cd..e6ed23e1d6 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesSystemStatus.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesSystemStatus.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesTimerState.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesTimerState.go index 97f09c80d2..ac1d99ddcd 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesTimerState.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesTimerState.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesTimerTransition.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesTimerTransition.go index d0c8f79f2b..f8eebe22b4 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesTimerTransition.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesTimerTransition.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesUnits.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesUnits.go index 0848af7a5f..182415ce99 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesUnits.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesUnits.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesWriteStatus.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesWriteStatus.go index 674214c850..55d31cbb0f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesWriteStatus.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesWriteStatus.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesZoneOccupanyState.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesZoneOccupanyState.go index 21d56c1d07..444515b69a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesZoneOccupanyState.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesZoneOccupanyState.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyValue.go index 8537761f58..e0b5e003ea 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyValues.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyValues.go index 6961e1485d..7a6709275b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyValues.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyValues.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyWriteDefinition.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyWriteDefinition.go index 5bbfb5d575..f4bb3abe60 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyWriteDefinition.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyWriteDefinition.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -92,8 +94,6 @@ type BACnetPropertyWriteDefinitionBuilder interface { WithOptionalArrayIndexBuilder(func(BACnetContextTagUnsignedIntegerBuilder) BACnetContextTagUnsignedIntegerBuilder) BACnetPropertyWriteDefinitionBuilder // WithPropertyValue adds PropertyValue (property field) WithOptionalPropertyValue(BACnetConstructedData) BACnetPropertyWriteDefinitionBuilder - // WithOptionalPropertyValueBuilder adds PropertyValue (property field) which is build by the builder - WithOptionalPropertyValueBuilder(func(BACnetConstructedDataBuilder) BACnetConstructedDataBuilder) BACnetPropertyWriteDefinitionBuilder // WithPriority adds Priority (property field) WithOptionalPriority(BACnetContextTagUnsignedInteger) BACnetPropertyWriteDefinitionBuilder // WithOptionalPriorityBuilder adds Priority (property field) which is build by the builder @@ -162,19 +162,6 @@ func (m *_BACnetPropertyWriteDefinitionBuilder) WithOptionalPropertyValue(proper return m } -func (m *_BACnetPropertyWriteDefinitionBuilder) WithOptionalPropertyValueBuilder(builderSupplier func(BACnetConstructedDataBuilder) BACnetConstructedDataBuilder) BACnetPropertyWriteDefinitionBuilder { - builder := builderSupplier(m.PropertyValue.CreateBACnetConstructedDataBuilder()) - var err error - m.PropertyValue, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetConstructedDataBuilder failed")) - } - return m -} - func (m *_BACnetPropertyWriteDefinitionBuilder) WithOptionalPriority(priority BACnetContextTagUnsignedInteger) BACnetPropertyWriteDefinitionBuilder { m.Priority = priority return m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetProtocolLevel.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetProtocolLevel.go index 55cb328bc7..881264ec41 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetProtocolLevel.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetProtocolLevel.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetProtocolLevelTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetProtocolLevelTagged.go index cb9c91b18c..f44614ff31 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetProtocolLevelTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetProtocolLevelTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetReadAccessProperty.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetReadAccessProperty.go index 9b2ffbe2a1..e4a577a747 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetReadAccessProperty.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetReadAccessProperty.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetReadAccessPropertyReadResult.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetReadAccessPropertyReadResult.go index ec571ed929..01743662ac 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetReadAccessPropertyReadResult.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetReadAccessPropertyReadResult.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -89,8 +91,6 @@ type BACnetReadAccessPropertyReadResultBuilder interface { WithPeekedTagHeaderBuilder(func(BACnetTagHeaderBuilder) BACnetTagHeaderBuilder) BACnetReadAccessPropertyReadResultBuilder // WithPropertyValue adds PropertyValue (property field) WithOptionalPropertyValue(BACnetConstructedData) BACnetReadAccessPropertyReadResultBuilder - // WithOptionalPropertyValueBuilder adds PropertyValue (property field) which is build by the builder - WithOptionalPropertyValueBuilder(func(BACnetConstructedDataBuilder) BACnetConstructedDataBuilder) BACnetReadAccessPropertyReadResultBuilder // WithPropertyAccessError adds PropertyAccessError (property field) WithOptionalPropertyAccessError(ErrorEnclosed) BACnetReadAccessPropertyReadResultBuilder // WithOptionalPropertyAccessErrorBuilder adds PropertyAccessError (property field) which is build by the builder @@ -141,19 +141,6 @@ func (m *_BACnetReadAccessPropertyReadResultBuilder) WithOptionalPropertyValue(p return m } -func (m *_BACnetReadAccessPropertyReadResultBuilder) WithOptionalPropertyValueBuilder(builderSupplier func(BACnetConstructedDataBuilder) BACnetConstructedDataBuilder) BACnetReadAccessPropertyReadResultBuilder { - builder := builderSupplier(m.PropertyValue.CreateBACnetConstructedDataBuilder()) - var err error - m.PropertyValue, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetConstructedDataBuilder failed")) - } - return m -} - func (m *_BACnetReadAccessPropertyReadResultBuilder) WithOptionalPropertyAccessError(propertyAccessError ErrorEnclosed) BACnetReadAccessPropertyReadResultBuilder { m.PropertyAccessError = propertyAccessError return m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetReadAccessResult.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetReadAccessResult.go index 3208d35123..fe51002565 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetReadAccessResult.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetReadAccessResult.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetReadAccessResultListOfResults.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetReadAccessResultListOfResults.go index a756ef77f4..ff825d47f6 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetReadAccessResultListOfResults.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetReadAccessResultListOfResults.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetReadAccessSpecification.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetReadAccessSpecification.go index 13cf2b7163..d94e50cb8d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetReadAccessSpecification.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetReadAccessSpecification.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetRecipient.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetRecipient.go index a509e0403f..2774a178b3 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetRecipient.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetRecipient.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetRecipientAddress.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetRecipientAddress.go index 168c9a1132..a066db6af8 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetRecipientAddress.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetRecipientAddress.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetRecipientDevice.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetRecipientDevice.go index 08840799e7..d2e62f5737 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetRecipientDevice.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetRecipientDevice.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetRecipientEnclosed.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetRecipientEnclosed.go index f09e83d159..651a44d3fb 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetRecipientEnclosed.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetRecipientEnclosed.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -91,8 +93,6 @@ type BACnetRecipientEnclosedBuilder interface { WithOpeningTagBuilder(func(BACnetOpeningTagBuilder) BACnetOpeningTagBuilder) BACnetRecipientEnclosedBuilder // WithRecipient adds Recipient (property field) WithRecipient(BACnetRecipient) BACnetRecipientEnclosedBuilder - // WithRecipientBuilder adds Recipient (property field) which is build by the builder - WithRecipientBuilder(func(BACnetRecipientBuilder) BACnetRecipientBuilder) BACnetRecipientEnclosedBuilder // WithClosingTag adds ClosingTag (property field) WithClosingTag(BACnetClosingTag) BACnetRecipientEnclosedBuilder // WithClosingTagBuilder adds ClosingTag (property field) which is build by the builder @@ -143,19 +143,6 @@ func (m *_BACnetRecipientEnclosedBuilder) WithRecipient(recipient BACnetRecipien return m } -func (m *_BACnetRecipientEnclosedBuilder) WithRecipientBuilder(builderSupplier func(BACnetRecipientBuilder) BACnetRecipientBuilder) BACnetRecipientEnclosedBuilder { - builder := builderSupplier(m.Recipient.CreateBACnetRecipientBuilder()) - var err error - m.Recipient, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetRecipientBuilder failed")) - } - return m -} - func (m *_BACnetRecipientEnclosedBuilder) WithClosingTag(closingTag BACnetClosingTag) BACnetRecipientEnclosedBuilder { m.ClosingTag = closingTag return m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetRecipientProcess.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetRecipientProcess.go index 0b58d7f5e1..19c7a57385 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetRecipientProcess.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetRecipientProcess.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetRecipientProcessEnclosed.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetRecipientProcessEnclosed.go index 7bb77233b8..ed730dcb55 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetRecipientProcessEnclosed.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetRecipientProcessEnclosed.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetRejectReason.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetRejectReason.go index 07f36e5783..49dce0b760 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetRejectReason.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetRejectReason.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetRejectReasonTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetRejectReasonTagged.go index 79d7f61155..b6855e8a48 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetRejectReasonTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetRejectReasonTagged.go @@ -22,10 +22,12 @@ package model import ( "context" "fmt" - . "github.com/apache/plc4x/plc4go/spi/codegen/fields" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetRelationship.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetRelationship.go index 2f628e2c2e..af68120e91 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetRelationship.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetRelationship.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetRelationshipTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetRelationshipTagged.go index 1df38abb62..5d44082b09 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetRelationshipTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetRelationshipTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetReliability.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetReliability.go index 48cfc2f61d..a32ddc0ed4 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetReliability.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetReliability.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetReliabilityTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetReliabilityTagged.go index ae405a85a4..5ef0ff39a1 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetReliabilityTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetReliabilityTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetRestartReason.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetRestartReason.go index 955d10fa9c..d2b00bbb67 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetRestartReason.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetRestartReason.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetRestartReasonTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetRestartReasonTagged.go index 626a6f8550..fd9a34c172 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetRestartReasonTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetRestartReasonTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetResultFlags.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetResultFlags.go index 290e99e25a..3ab559690c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetResultFlags.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetResultFlags.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetResultFlagsTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetResultFlagsTagged.go index 220049b9f3..102ecd1afa 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetResultFlagsTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetResultFlagsTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetRouterEntry.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetRouterEntry.go index f2afc6bc8c..67282e723b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetRouterEntry.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetRouterEntry.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetRouterEntryStatus.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetRouterEntryStatus.go index c690e0a338..85670556a9 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetRouterEntryStatus.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetRouterEntryStatus.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetRouterEntryStatusTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetRouterEntryStatusTagged.go index 3b32e8671c..87fa12b505 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetRouterEntryStatusTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetRouterEntryStatusTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetScale.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetScale.go index 8d6a48759f..02003bd3c4 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetScale.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetScale.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetScaleFloatScale.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetScaleFloatScale.go index 397819fbcc..e0d79068e9 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetScaleFloatScale.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetScaleFloatScale.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetScaleIntegerScale.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetScaleIntegerScale.go index 93dbd17255..4546fb40f5 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetScaleIntegerScale.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetScaleIntegerScale.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetSecurityKeySet.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetSecurityKeySet.go index 87e02d8f36..2aed27b20f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetSecurityKeySet.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetSecurityKeySet.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetSecurityKeySetKeyIds.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetSecurityKeySetKeyIds.go index ac47c6b827..510c669470 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetSecurityKeySetKeyIds.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetSecurityKeySetKeyIds.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetSecurityLevel.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetSecurityLevel.go index d9356ecf52..dc6c5d0bb5 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetSecurityLevel.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetSecurityLevel.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetSecurityLevelTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetSecurityLevelTagged.go index e99b33da5b..d8a1ffc930 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetSecurityLevelTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetSecurityLevelTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetSecurityPolicy.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetSecurityPolicy.go index 1e731ec8c0..052277b8b4 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetSecurityPolicy.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetSecurityPolicy.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetSecurityPolicyTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetSecurityPolicyTagged.go index 6889f743df..e91a36242d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetSecurityPolicyTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetSecurityPolicyTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetSegmentation.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetSegmentation.go index 3d553db0ea..4d7b83eb4b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetSegmentation.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetSegmentation.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetSegmentationTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetSegmentationTagged.go index e31317217c..c53680d951 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetSegmentationTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetSegmentationTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAck.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAck.go index e44aecde4e..282485ed5f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAck.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAck.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckAtomicReadFile.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckAtomicReadFile.go index c4d7bf7bfb..2871fd3898 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckAtomicReadFile.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckAtomicReadFile.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -91,8 +93,6 @@ type BACnetServiceAckAtomicReadFileBuilder interface { WithEndOfFileBuilder(func(BACnetApplicationTagBooleanBuilder) BACnetApplicationTagBooleanBuilder) BACnetServiceAckAtomicReadFileBuilder // WithAccessMethod adds AccessMethod (property field) WithAccessMethod(BACnetServiceAckAtomicReadFileStreamOrRecord) BACnetServiceAckAtomicReadFileBuilder - // WithAccessMethodBuilder adds AccessMethod (property field) which is build by the builder - WithAccessMethodBuilder(func(BACnetServiceAckAtomicReadFileStreamOrRecordBuilder) BACnetServiceAckAtomicReadFileStreamOrRecordBuilder) BACnetServiceAckAtomicReadFileBuilder // Build builds the BACnetServiceAckAtomicReadFile or returns an error if something is wrong Build() (BACnetServiceAckAtomicReadFile, error) // MustBuild does the same as Build but panics on error @@ -139,19 +139,6 @@ func (m *_BACnetServiceAckAtomicReadFileBuilder) WithAccessMethod(accessMethod B return m } -func (m *_BACnetServiceAckAtomicReadFileBuilder) WithAccessMethodBuilder(builderSupplier func(BACnetServiceAckAtomicReadFileStreamOrRecordBuilder) BACnetServiceAckAtomicReadFileStreamOrRecordBuilder) BACnetServiceAckAtomicReadFileBuilder { - builder := builderSupplier(m.AccessMethod.CreateBACnetServiceAckAtomicReadFileStreamOrRecordBuilder()) - var err error - m.AccessMethod, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetServiceAckAtomicReadFileStreamOrRecordBuilder failed")) - } - return m -} - func (m *_BACnetServiceAckAtomicReadFileBuilder) Build() (BACnetServiceAckAtomicReadFile, error) { if m.EndOfFile == nil { if m.err == nil { diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckAtomicReadFileRecord.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckAtomicReadFileRecord.go index e7f42db462..5312c211ae 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckAtomicReadFileRecord.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckAtomicReadFileRecord.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckAtomicReadFileStream.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckAtomicReadFileStream.go index e65b2260a0..ce828ef270 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckAtomicReadFileStream.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckAtomicReadFileStream.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckAtomicReadFileStreamOrRecord.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckAtomicReadFileStreamOrRecord.go index 6a98c9a941..089b86a588 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckAtomicReadFileStreamOrRecord.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckAtomicReadFileStreamOrRecord.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckAtomicWriteFile.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckAtomicWriteFile.go index b15109b1f0..5564aeaf59 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckAtomicWriteFile.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckAtomicWriteFile.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckAuthenticate.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckAuthenticate.go index 3f82c991bb..db13e46c5d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckAuthenticate.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckAuthenticate.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckConfirmedPrivateTransfer.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckConfirmedPrivateTransfer.go index 670bdd5b38..6c579629f9 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckConfirmedPrivateTransfer.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckConfirmedPrivateTransfer.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -99,8 +101,6 @@ type BACnetServiceAckConfirmedPrivateTransferBuilder interface { WithServiceNumberBuilder(func(BACnetContextTagUnsignedIntegerBuilder) BACnetContextTagUnsignedIntegerBuilder) BACnetServiceAckConfirmedPrivateTransferBuilder // WithResultBlock adds ResultBlock (property field) WithOptionalResultBlock(BACnetConstructedData) BACnetServiceAckConfirmedPrivateTransferBuilder - // WithOptionalResultBlockBuilder adds ResultBlock (property field) which is build by the builder - WithOptionalResultBlockBuilder(func(BACnetConstructedDataBuilder) BACnetConstructedDataBuilder) BACnetServiceAckConfirmedPrivateTransferBuilder // Build builds the BACnetServiceAckConfirmedPrivateTransfer or returns an error if something is wrong Build() (BACnetServiceAckConfirmedPrivateTransfer, error) // MustBuild does the same as Build but panics on error @@ -165,19 +165,6 @@ func (m *_BACnetServiceAckConfirmedPrivateTransferBuilder) WithOptionalResultBlo return m } -func (m *_BACnetServiceAckConfirmedPrivateTransferBuilder) WithOptionalResultBlockBuilder(builderSupplier func(BACnetConstructedDataBuilder) BACnetConstructedDataBuilder) BACnetServiceAckConfirmedPrivateTransferBuilder { - builder := builderSupplier(m.ResultBlock.CreateBACnetConstructedDataBuilder()) - var err error - m.ResultBlock, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetConstructedDataBuilder failed")) - } - return m -} - func (m *_BACnetServiceAckConfirmedPrivateTransferBuilder) Build() (BACnetServiceAckConfirmedPrivateTransfer, error) { if m.VendorId == nil { if m.err == nil { diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckCreateObject.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckCreateObject.go index 2c4f4ce30e..bd5f1c4506 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckCreateObject.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckCreateObject.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckGetAlarmSummary.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckGetAlarmSummary.go index 3fe07bc5d1..ccd4cff12e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckGetAlarmSummary.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckGetAlarmSummary.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckGetEnrollmentSummary.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckGetEnrollmentSummary.go index 1e367b57b4..d6856314e9 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckGetEnrollmentSummary.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckGetEnrollmentSummary.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckGetEventInformation.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckGetEventInformation.go index 96e97f33e4..e025b994b3 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckGetEventInformation.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckGetEventInformation.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckReadProperty.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckReadProperty.go index bbf5d50a70..ad469ceb51 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckReadProperty.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckReadProperty.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -107,8 +109,6 @@ type BACnetServiceAckReadPropertyBuilder interface { WithOptionalArrayIndexBuilder(func(BACnetContextTagUnsignedIntegerBuilder) BACnetContextTagUnsignedIntegerBuilder) BACnetServiceAckReadPropertyBuilder // WithValues adds Values (property field) WithOptionalValues(BACnetConstructedData) BACnetServiceAckReadPropertyBuilder - // WithOptionalValuesBuilder adds Values (property field) which is build by the builder - WithOptionalValuesBuilder(func(BACnetConstructedDataBuilder) BACnetConstructedDataBuilder) BACnetServiceAckReadPropertyBuilder // Build builds the BACnetServiceAckReadProperty or returns an error if something is wrong Build() (BACnetServiceAckReadProperty, error) // MustBuild does the same as Build but panics on error @@ -191,19 +191,6 @@ func (m *_BACnetServiceAckReadPropertyBuilder) WithOptionalValues(values BACnetC return m } -func (m *_BACnetServiceAckReadPropertyBuilder) WithOptionalValuesBuilder(builderSupplier func(BACnetConstructedDataBuilder) BACnetConstructedDataBuilder) BACnetServiceAckReadPropertyBuilder { - builder := builderSupplier(m.Values.CreateBACnetConstructedDataBuilder()) - var err error - m.Values, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetConstructedDataBuilder failed")) - } - return m -} - func (m *_BACnetServiceAckReadPropertyBuilder) Build() (BACnetServiceAckReadProperty, error) { if m.ObjectIdentifier == nil { if m.err == nil { diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckReadPropertyConditional.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckReadPropertyConditional.go index ecdf29dddd..e4cfd209c6 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckReadPropertyConditional.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckReadPropertyConditional.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckReadPropertyMultiple.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckReadPropertyMultiple.go index 2bf070bd3e..2a0e781f0e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckReadPropertyMultiple.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckReadPropertyMultiple.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckReadRange.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckReadRange.go index 06dfd046ed..7544d97870 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckReadRange.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckReadRange.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -133,8 +135,6 @@ type BACnetServiceAckReadRangeBuilder interface { WithItemCountBuilder(func(BACnetContextTagUnsignedIntegerBuilder) BACnetContextTagUnsignedIntegerBuilder) BACnetServiceAckReadRangeBuilder // WithItemData adds ItemData (property field) WithOptionalItemData(BACnetConstructedData) BACnetServiceAckReadRangeBuilder - // WithOptionalItemDataBuilder adds ItemData (property field) which is build by the builder - WithOptionalItemDataBuilder(func(BACnetConstructedDataBuilder) BACnetConstructedDataBuilder) BACnetServiceAckReadRangeBuilder // WithFirstSequenceNumber adds FirstSequenceNumber (property field) WithOptionalFirstSequenceNumber(BACnetContextTagUnsignedInteger) BACnetServiceAckReadRangeBuilder // WithOptionalFirstSequenceNumberBuilder adds FirstSequenceNumber (property field) which is build by the builder @@ -257,19 +257,6 @@ func (m *_BACnetServiceAckReadRangeBuilder) WithOptionalItemData(itemData BACnet return m } -func (m *_BACnetServiceAckReadRangeBuilder) WithOptionalItemDataBuilder(builderSupplier func(BACnetConstructedDataBuilder) BACnetConstructedDataBuilder) BACnetServiceAckReadRangeBuilder { - builder := builderSupplier(m.ItemData.CreateBACnetConstructedDataBuilder()) - var err error - m.ItemData, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetConstructedDataBuilder failed")) - } - return m -} - func (m *_BACnetServiceAckReadRangeBuilder) WithOptionalFirstSequenceNumber(firstSequenceNumber BACnetContextTagUnsignedInteger) BACnetServiceAckReadRangeBuilder { m.FirstSequenceNumber = firstSequenceNumber return m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckRequestKey.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckRequestKey.go index 051cfabd51..da87e729ba 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckRequestKey.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckRequestKey.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckVTData.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckVTData.go index aaa56bdb54..4cbc5618ce 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckVTData.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckVTData.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckVTOpen.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckVTOpen.go index 4ed5abbfdf..9b957e793d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckVTOpen.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckVTOpen.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetServicesSupported.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetServicesSupported.go index 7bf91b7280..637fe4d0e3 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetServicesSupported.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetServicesSupported.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetServicesSupportedTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetServicesSupportedTagged.go index 0486e941c9..172fabac23 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetServicesSupportedTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetServicesSupportedTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetSetpointReference.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetSetpointReference.go index 151643e115..ede73ea5de 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetSetpointReference.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetSetpointReference.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetShedLevel.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetShedLevel.go index b47be71f87..6b6f47fd89 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetShedLevel.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetShedLevel.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetShedLevelAmount.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetShedLevelAmount.go index 54432ed9ca..d5db2aafc6 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetShedLevelAmount.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetShedLevelAmount.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetShedLevelLevel.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetShedLevelLevel.go index 398058c370..55c470aed2 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetShedLevelLevel.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetShedLevelLevel.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetShedLevelPercent.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetShedLevelPercent.go index b01dac3196..6899c8669c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetShedLevelPercent.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetShedLevelPercent.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetShedState.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetShedState.go index 71b1014444..12def296f2 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetShedState.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetShedState.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetShedStateTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetShedStateTagged.go index 8c12d0011b..6d58894e1e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetShedStateTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetShedStateTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetSilencedState.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetSilencedState.go index 6011f61012..2f71f3274a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetSilencedState.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetSilencedState.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetSilencedStateTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetSilencedStateTagged.go index 97f9eea5ff..487bc12540 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetSilencedStateTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetSilencedStateTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetSpecialEvent.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetSpecialEvent.go index 596275760a..a0240e3d50 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetSpecialEvent.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetSpecialEvent.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -84,8 +86,6 @@ type BACnetSpecialEventBuilder interface { WithMandatoryFields(period BACnetSpecialEventPeriod, listOfTimeValues BACnetSpecialEventListOfTimeValues, eventPriority BACnetContextTagUnsignedInteger) BACnetSpecialEventBuilder // WithPeriod adds Period (property field) WithPeriod(BACnetSpecialEventPeriod) BACnetSpecialEventBuilder - // WithPeriodBuilder adds Period (property field) which is build by the builder - WithPeriodBuilder(func(BACnetSpecialEventPeriodBuilder) BACnetSpecialEventPeriodBuilder) BACnetSpecialEventBuilder // WithListOfTimeValues adds ListOfTimeValues (property field) WithListOfTimeValues(BACnetSpecialEventListOfTimeValues) BACnetSpecialEventBuilder // WithListOfTimeValuesBuilder adds ListOfTimeValues (property field) which is build by the builder @@ -122,19 +122,6 @@ func (m *_BACnetSpecialEventBuilder) WithPeriod(period BACnetSpecialEventPeriod) return m } -func (m *_BACnetSpecialEventBuilder) WithPeriodBuilder(builderSupplier func(BACnetSpecialEventPeriodBuilder) BACnetSpecialEventPeriodBuilder) BACnetSpecialEventBuilder { - builder := builderSupplier(m.Period.CreateBACnetSpecialEventPeriodBuilder()) - var err error - m.Period, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetSpecialEventPeriodBuilder failed")) - } - return m -} - func (m *_BACnetSpecialEventBuilder) WithListOfTimeValues(listOfTimeValues BACnetSpecialEventListOfTimeValues) BACnetSpecialEventBuilder { m.ListOfTimeValues = listOfTimeValues return m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetSpecialEventListOfTimeValues.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetSpecialEventListOfTimeValues.go index 0203dff8c9..7b56d21496 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetSpecialEventListOfTimeValues.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetSpecialEventListOfTimeValues.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetSpecialEventPeriod.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetSpecialEventPeriod.go index c6f6d33f9c..a458f76db2 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetSpecialEventPeriod.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetSpecialEventPeriod.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetSpecialEventPeriodCalendarEntry.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetSpecialEventPeriodCalendarEntry.go index a839cf73f0..37251e0ee7 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetSpecialEventPeriodCalendarEntry.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetSpecialEventPeriodCalendarEntry.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetSpecialEventPeriodCalendarReference.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetSpecialEventPeriodCalendarReference.go index edb16fc94a..1a0300cd36 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetSpecialEventPeriodCalendarReference.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetSpecialEventPeriodCalendarReference.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetStatusFlags.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetStatusFlags.go index d289a2e3a5..f00c6a677d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetStatusFlags.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetStatusFlags.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetStatusFlagsTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetStatusFlagsTagged.go index 91d726d446..03669655b7 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetStatusFlagsTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetStatusFlagsTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetTagHeader.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetTagHeader.go index 359d3a83ec..1dedb488ec 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetTagHeader.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetTagHeader.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetTagPayloadBitString.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetTagPayloadBitString.go index 1efe0b9258..4ff8cc4c53 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetTagPayloadBitString.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetTagPayloadBitString.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetTagPayloadBoolean.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetTagPayloadBoolean.go index 16b81ec44d..65ba851581 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetTagPayloadBoolean.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetTagPayloadBoolean.go @@ -22,10 +22,12 @@ package model import ( "context" "fmt" - . "github.com/apache/plc4x/plc4go/spi/codegen/fields" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetTagPayloadCharacterString.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetTagPayloadCharacterString.go index 5443f8d501..791aed188f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetTagPayloadCharacterString.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetTagPayloadCharacterString.go @@ -22,12 +22,14 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + "github.com/apache/plc4x/plc4go/spi/codegen" . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetTagPayloadDate.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetTagPayloadDate.go index 22d4f825c3..78da5eefc0 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetTagPayloadDate.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetTagPayloadDate.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetTagPayloadDouble.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetTagPayloadDouble.go index 6752ea5fef..7ed735d830 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetTagPayloadDouble.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetTagPayloadDouble.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetTagPayloadEnumerated.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetTagPayloadEnumerated.go index 780d6e6ab1..290032c0d7 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetTagPayloadEnumerated.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetTagPayloadEnumerated.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetTagPayloadObjectIdentifier.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetTagPayloadObjectIdentifier.go index dde2af78ef..8392b7788d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetTagPayloadObjectIdentifier.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetTagPayloadObjectIdentifier.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetTagPayloadOctetString.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetTagPayloadOctetString.go index 4328a0731b..67284d7bc8 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetTagPayloadOctetString.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetTagPayloadOctetString.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetTagPayloadReal.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetTagPayloadReal.go index f61bf74006..cf8af44ec3 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetTagPayloadReal.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetTagPayloadReal.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetTagPayloadSignedInteger.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetTagPayloadSignedInteger.go index 163912bbfd..62b08dfe75 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetTagPayloadSignedInteger.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetTagPayloadSignedInteger.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetTagPayloadTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetTagPayloadTime.go index ef61d847fe..650cf50ae4 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetTagPayloadTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetTagPayloadTime.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetTagPayloadUnsignedInteger.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetTagPayloadUnsignedInteger.go index 581f4d69ab..f8916d4bc8 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetTagPayloadUnsignedInteger.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetTagPayloadUnsignedInteger.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimeStamp.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimeStamp.go index 28fdbee8f5..0e60066635 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimeStamp.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimeStamp.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimeStampDateTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimeStampDateTime.go index 9b550a26dc..70b7333844 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimeStampDateTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimeStampDateTime.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimeStampEnclosed.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimeStampEnclosed.go index 2ea39c46eb..5360d33f33 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimeStampEnclosed.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimeStampEnclosed.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -91,8 +93,6 @@ type BACnetTimeStampEnclosedBuilder interface { WithOpeningTagBuilder(func(BACnetOpeningTagBuilder) BACnetOpeningTagBuilder) BACnetTimeStampEnclosedBuilder // WithTimestamp adds Timestamp (property field) WithTimestamp(BACnetTimeStamp) BACnetTimeStampEnclosedBuilder - // WithTimestampBuilder adds Timestamp (property field) which is build by the builder - WithTimestampBuilder(func(BACnetTimeStampBuilder) BACnetTimeStampBuilder) BACnetTimeStampEnclosedBuilder // WithClosingTag adds ClosingTag (property field) WithClosingTag(BACnetClosingTag) BACnetTimeStampEnclosedBuilder // WithClosingTagBuilder adds ClosingTag (property field) which is build by the builder @@ -143,19 +143,6 @@ func (m *_BACnetTimeStampEnclosedBuilder) WithTimestamp(timestamp BACnetTimeStam return m } -func (m *_BACnetTimeStampEnclosedBuilder) WithTimestampBuilder(builderSupplier func(BACnetTimeStampBuilder) BACnetTimeStampBuilder) BACnetTimeStampEnclosedBuilder { - builder := builderSupplier(m.Timestamp.CreateBACnetTimeStampBuilder()) - var err error - m.Timestamp, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetTimeStampBuilder failed")) - } - return m -} - func (m *_BACnetTimeStampEnclosedBuilder) WithClosingTag(closingTag BACnetClosingTag) BACnetTimeStampEnclosedBuilder { m.ClosingTag = closingTag return m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimeStampSequence.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimeStampSequence.go index 6a80794502..f12053a061 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimeStampSequence.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimeStampSequence.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimeStampTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimeStampTime.go index 2737e4e341..881ce4f292 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimeStampTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimeStampTime.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimeStampsEnclosed.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimeStampsEnclosed.go index e1767efe12..f4a82d81bb 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimeStampsEnclosed.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimeStampsEnclosed.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimeValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimeValue.go index 8201afb608..17c7b07418 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimeValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimeValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerState.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerState.go index bb73f24a85..2a574a2c15 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerState.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerState.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValue.go index 63c7b0f8ed..880e5f64d5 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueBitString.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueBitString.go index 15f97daae2..f2e6e4475c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueBitString.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueBitString.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueBoolean.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueBoolean.go index 4258087632..61bd0f19a6 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueBoolean.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueBoolean.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueCharacterString.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueCharacterString.go index 1bf57d77ac..26fe1a98ca 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueCharacterString.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueCharacterString.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueConstructedValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueConstructedValue.go index 6fc1928b1a..a21eac111d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueConstructedValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueConstructedValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -80,8 +82,6 @@ type BACnetTimerStateChangeValueConstructedValueBuilder interface { WithMandatoryFields(constructedValue BACnetConstructedData) BACnetTimerStateChangeValueConstructedValueBuilder // WithConstructedValue adds ConstructedValue (property field) WithConstructedValue(BACnetConstructedData) BACnetTimerStateChangeValueConstructedValueBuilder - // WithConstructedValueBuilder adds ConstructedValue (property field) which is build by the builder - WithConstructedValueBuilder(func(BACnetConstructedDataBuilder) BACnetConstructedDataBuilder) BACnetTimerStateChangeValueConstructedValueBuilder // Build builds the BACnetTimerStateChangeValueConstructedValue or returns an error if something is wrong Build() (BACnetTimerStateChangeValueConstructedValue, error) // MustBuild does the same as Build but panics on error @@ -110,19 +110,6 @@ func (m *_BACnetTimerStateChangeValueConstructedValueBuilder) WithConstructedVal return m } -func (m *_BACnetTimerStateChangeValueConstructedValueBuilder) WithConstructedValueBuilder(builderSupplier func(BACnetConstructedDataBuilder) BACnetConstructedDataBuilder) BACnetTimerStateChangeValueConstructedValueBuilder { - builder := builderSupplier(m.ConstructedValue.CreateBACnetConstructedDataBuilder()) - var err error - m.ConstructedValue, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetConstructedDataBuilder failed")) - } - return m -} - func (m *_BACnetTimerStateChangeValueConstructedValueBuilder) Build() (BACnetTimerStateChangeValueConstructedValue, error) { if m.ConstructedValue == nil { if m.err == nil { diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueDate.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueDate.go index 7d1dc19081..b85913c083 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueDate.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueDate.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueDateTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueDateTime.go index f7910de9ae..5814fd6893 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueDateTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueDateTime.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueDouble.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueDouble.go index 71657a0f0f..ebec7f3a56 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueDouble.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueDouble.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueEnumerated.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueEnumerated.go index d7c69cb74d..78211ce72e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueEnumerated.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueEnumerated.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueInteger.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueInteger.go index 7085f190fa..51d8a6b426 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueInteger.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueInteger.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueLightingCommand.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueLightingCommand.go index 65c81fa4d7..2ca1065993 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueLightingCommand.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueLightingCommand.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueNoValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueNoValue.go index 692e2ee23d..dab565e537 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueNoValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueNoValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueNull.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueNull.go index ab32257a19..ac13d62a49 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueNull.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueNull.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueObjectidentifier.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueObjectidentifier.go index 6171032b16..d0f907c3ec 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueObjectidentifier.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueObjectidentifier.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueOctetString.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueOctetString.go index 807c249c19..195c7802d3 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueOctetString.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueOctetString.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueReal.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueReal.go index 324306de82..a3b3c23dae 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueReal.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueReal.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueTime.go index f42ecff615..55a39621e1 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueTime.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueUnsigned.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueUnsigned.go index f9ef30d634..f7558ded77 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueUnsigned.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueUnsigned.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateTagged.go index 0f199b13d9..26d6850772 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerTransition.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerTransition.go index b86b99e1b5..6d4cc551ba 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerTransition.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerTransition.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerTransitionTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerTransitionTagged.go index 3b5e7ed0c2..474cf2b8cd 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerTransitionTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerTransitionTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceChoice.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceChoice.go index b1735152ca..dfc2a449bd 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceChoice.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceChoice.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceChoiceTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceChoiceTagged.go index c6a313fef8..1d3e945864 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceChoiceTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceChoiceTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequest.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequest.go index 0e4cf264f6..d2f71ecd92 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequest.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestIAm.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestIAm.go index 779ef17600..3bbf9b9ce3 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestIAm.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestIAm.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestIHave.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestIHave.go index fc14e0e684..ebe5e7c8e1 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestIHave.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestIHave.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestTimeSynchronization.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestTimeSynchronization.go index ab65d73295..4523742c2a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestTimeSynchronization.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestTimeSynchronization.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestUTCTimeSynchronization.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestUTCTimeSynchronization.go index cc353ea2e3..ec7a913c26 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestUTCTimeSynchronization.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestUTCTimeSynchronization.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestUnconfirmedCOVNotification.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestUnconfirmedCOVNotification.go index 1c86cc48d8..fe9627fc0c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestUnconfirmedCOVNotification.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestUnconfirmedCOVNotification.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestUnconfirmedCOVNotificationMultiple.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestUnconfirmedCOVNotificationMultiple.go index 80ee108ada..84155da31a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestUnconfirmedCOVNotificationMultiple.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestUnconfirmedCOVNotificationMultiple.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestUnconfirmedEventNotification.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestUnconfirmedEventNotification.go index 89f731a2c0..2aa8bd6cc1 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestUnconfirmedEventNotification.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestUnconfirmedEventNotification.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -200,8 +202,6 @@ type BACnetUnconfirmedServiceRequestUnconfirmedEventNotificationBuilder interfac WithToStateBuilder(func(BACnetEventStateTaggedBuilder) BACnetEventStateTaggedBuilder) BACnetUnconfirmedServiceRequestUnconfirmedEventNotificationBuilder // WithEventValues adds EventValues (property field) WithOptionalEventValues(BACnetNotificationParameters) BACnetUnconfirmedServiceRequestUnconfirmedEventNotificationBuilder - // WithOptionalEventValuesBuilder adds EventValues (property field) which is build by the builder - WithOptionalEventValuesBuilder(func(BACnetNotificationParametersBuilder) BACnetNotificationParametersBuilder) BACnetUnconfirmedServiceRequestUnconfirmedEventNotificationBuilder // Build builds the BACnetUnconfirmedServiceRequestUnconfirmedEventNotification or returns an error if something is wrong Build() (BACnetUnconfirmedServiceRequestUnconfirmedEventNotification, error) // MustBuild does the same as Build but panics on error @@ -446,19 +446,6 @@ func (m *_BACnetUnconfirmedServiceRequestUnconfirmedEventNotificationBuilder) Wi return m } -func (m *_BACnetUnconfirmedServiceRequestUnconfirmedEventNotificationBuilder) WithOptionalEventValuesBuilder(builderSupplier func(BACnetNotificationParametersBuilder) BACnetNotificationParametersBuilder) BACnetUnconfirmedServiceRequestUnconfirmedEventNotificationBuilder { - builder := builderSupplier(m.EventValues.CreateBACnetNotificationParametersBuilder()) - var err error - m.EventValues, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetNotificationParametersBuilder failed")) - } - return m -} - func (m *_BACnetUnconfirmedServiceRequestUnconfirmedEventNotificationBuilder) Build() (BACnetUnconfirmedServiceRequestUnconfirmedEventNotification, error) { if m.ProcessIdentifier == nil { if m.err == nil { diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestUnconfirmedPrivateTransfer.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestUnconfirmedPrivateTransfer.go index 76f7b6643d..7b4c2b12f2 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestUnconfirmedPrivateTransfer.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestUnconfirmedPrivateTransfer.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -99,8 +101,6 @@ type BACnetUnconfirmedServiceRequestUnconfirmedPrivateTransferBuilder interface WithServiceNumberBuilder(func(BACnetContextTagUnsignedIntegerBuilder) BACnetContextTagUnsignedIntegerBuilder) BACnetUnconfirmedServiceRequestUnconfirmedPrivateTransferBuilder // WithServiceParameters adds ServiceParameters (property field) WithOptionalServiceParameters(BACnetConstructedData) BACnetUnconfirmedServiceRequestUnconfirmedPrivateTransferBuilder - // WithOptionalServiceParametersBuilder adds ServiceParameters (property field) which is build by the builder - WithOptionalServiceParametersBuilder(func(BACnetConstructedDataBuilder) BACnetConstructedDataBuilder) BACnetUnconfirmedServiceRequestUnconfirmedPrivateTransferBuilder // Build builds the BACnetUnconfirmedServiceRequestUnconfirmedPrivateTransfer or returns an error if something is wrong Build() (BACnetUnconfirmedServiceRequestUnconfirmedPrivateTransfer, error) // MustBuild does the same as Build but panics on error @@ -165,19 +165,6 @@ func (m *_BACnetUnconfirmedServiceRequestUnconfirmedPrivateTransferBuilder) With return m } -func (m *_BACnetUnconfirmedServiceRequestUnconfirmedPrivateTransferBuilder) WithOptionalServiceParametersBuilder(builderSupplier func(BACnetConstructedDataBuilder) BACnetConstructedDataBuilder) BACnetUnconfirmedServiceRequestUnconfirmedPrivateTransferBuilder { - builder := builderSupplier(m.ServiceParameters.CreateBACnetConstructedDataBuilder()) - var err error - m.ServiceParameters, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetConstructedDataBuilder failed")) - } - return m -} - func (m *_BACnetUnconfirmedServiceRequestUnconfirmedPrivateTransferBuilder) Build() (BACnetUnconfirmedServiceRequestUnconfirmedPrivateTransfer, error) { if m.VendorId == nil { if m.err == nil { diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestUnconfirmedTextMessage.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestUnconfirmedTextMessage.go index b6fc7457f1..42a9b6a83e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestUnconfirmedTextMessage.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestUnconfirmedTextMessage.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -102,8 +104,6 @@ type BACnetUnconfirmedServiceRequestUnconfirmedTextMessageBuilder interface { WithTextMessageSourceDeviceBuilder(func(BACnetContextTagObjectIdentifierBuilder) BACnetContextTagObjectIdentifierBuilder) BACnetUnconfirmedServiceRequestUnconfirmedTextMessageBuilder // WithMessageClass adds MessageClass (property field) WithOptionalMessageClass(BACnetConfirmedServiceRequestConfirmedTextMessageMessageClass) BACnetUnconfirmedServiceRequestUnconfirmedTextMessageBuilder - // WithOptionalMessageClassBuilder adds MessageClass (property field) which is build by the builder - WithOptionalMessageClassBuilder(func(BACnetConfirmedServiceRequestConfirmedTextMessageMessageClassBuilder) BACnetConfirmedServiceRequestConfirmedTextMessageMessageClassBuilder) BACnetUnconfirmedServiceRequestUnconfirmedTextMessageBuilder // WithMessagePriority adds MessagePriority (property field) WithMessagePriority(BACnetConfirmedServiceRequestConfirmedTextMessageMessagePriorityTagged) BACnetUnconfirmedServiceRequestUnconfirmedTextMessageBuilder // WithMessagePriorityBuilder adds MessagePriority (property field) which is build by the builder @@ -158,19 +158,6 @@ func (m *_BACnetUnconfirmedServiceRequestUnconfirmedTextMessageBuilder) WithOpti return m } -func (m *_BACnetUnconfirmedServiceRequestUnconfirmedTextMessageBuilder) WithOptionalMessageClassBuilder(builderSupplier func(BACnetConfirmedServiceRequestConfirmedTextMessageMessageClassBuilder) BACnetConfirmedServiceRequestConfirmedTextMessageMessageClassBuilder) BACnetUnconfirmedServiceRequestUnconfirmedTextMessageBuilder { - builder := builderSupplier(m.MessageClass.CreateBACnetConfirmedServiceRequestConfirmedTextMessageMessageClassBuilder()) - var err error - m.MessageClass, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetConfirmedServiceRequestConfirmedTextMessageMessageClassBuilder failed")) - } - return m -} - func (m *_BACnetUnconfirmedServiceRequestUnconfirmedTextMessageBuilder) WithMessagePriority(messagePriority BACnetConfirmedServiceRequestConfirmedTextMessageMessagePriorityTagged) BACnetUnconfirmedServiceRequestUnconfirmedTextMessageBuilder { m.MessagePriority = messagePriority return m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestUnknown.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestUnknown.go index 9b8ec9808a..c426ec16a2 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestUnknown.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestUnknown.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestWhoHas.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestWhoHas.go index 073c320f4c..fce37cc80a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestWhoHas.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestWhoHas.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -96,8 +98,6 @@ type BACnetUnconfirmedServiceRequestWhoHasBuilder interface { WithOptionalDeviceInstanceRangeHighLimitBuilder(func(BACnetContextTagUnsignedIntegerBuilder) BACnetContextTagUnsignedIntegerBuilder) BACnetUnconfirmedServiceRequestWhoHasBuilder // WithObject adds Object (property field) WithObject(BACnetUnconfirmedServiceRequestWhoHasObject) BACnetUnconfirmedServiceRequestWhoHasBuilder - // WithObjectBuilder adds Object (property field) which is build by the builder - WithObjectBuilder(func(BACnetUnconfirmedServiceRequestWhoHasObjectBuilder) BACnetUnconfirmedServiceRequestWhoHasObjectBuilder) BACnetUnconfirmedServiceRequestWhoHasBuilder // Build builds the BACnetUnconfirmedServiceRequestWhoHas or returns an error if something is wrong Build() (BACnetUnconfirmedServiceRequestWhoHas, error) // MustBuild does the same as Build but panics on error @@ -162,19 +162,6 @@ func (m *_BACnetUnconfirmedServiceRequestWhoHasBuilder) WithObject(object BACnet return m } -func (m *_BACnetUnconfirmedServiceRequestWhoHasBuilder) WithObjectBuilder(builderSupplier func(BACnetUnconfirmedServiceRequestWhoHasObjectBuilder) BACnetUnconfirmedServiceRequestWhoHasObjectBuilder) BACnetUnconfirmedServiceRequestWhoHasBuilder { - builder := builderSupplier(m.Object.CreateBACnetUnconfirmedServiceRequestWhoHasObjectBuilder()) - var err error - m.Object, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetUnconfirmedServiceRequestWhoHasObjectBuilder failed")) - } - return m -} - func (m *_BACnetUnconfirmedServiceRequestWhoHasBuilder) Build() (BACnetUnconfirmedServiceRequestWhoHas, error) { if m.Object == nil { if m.err == nil { diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestWhoHasObject.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestWhoHasObject.go index 9acf955045..2988f8ae67 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestWhoHasObject.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestWhoHasObject.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestWhoHasObjectIdentifier.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestWhoHasObjectIdentifier.go index d2782be374..c63b0e0cf6 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestWhoHasObjectIdentifier.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestWhoHasObjectIdentifier.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestWhoHasObjectName.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestWhoHasObjectName.go index 44d21dadfe..840d3ab9d0 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestWhoHasObjectName.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestWhoHasObjectName.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestWhoIs.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestWhoIs.go index b883dc7327..c44f723009 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestWhoIs.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestWhoIs.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestWriteGroup.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestWriteGroup.go index b37a17514c..13c8658d55 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestWriteGroup.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestWriteGroup.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetVMACEntry.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetVMACEntry.go index 04b6f58919..d777466c8a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetVMACEntry.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetVMACEntry.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetVTClass.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetVTClass.go index b65c27eabb..5cb90852f8 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetVTClass.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetVTClass.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetVTClassTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetVTClassTagged.go index af6d2009a2..567018108e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetVTClassTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetVTClassTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetVTSession.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetVTSession.go index 9740ade6a3..5c4bbdcc10 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetVTSession.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetVTSession.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetValueSource.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetValueSource.go index 0920a4c1c0..2be47774e7 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetValueSource.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetValueSource.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetValueSourceAddress.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetValueSourceAddress.go index 19896891be..f458e64257 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetValueSourceAddress.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetValueSourceAddress.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetValueSourceNone.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetValueSourceNone.go index e8cb396a6d..65542f890c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetValueSourceNone.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetValueSourceNone.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetValueSourceObject.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetValueSourceObject.go index 91c5be2de8..0f57eab62f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetValueSourceObject.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetValueSourceObject.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetVendorId.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetVendorId.go index 165f968d34..63f58f9112 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetVendorId.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetVendorId.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetVendorIdTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetVendorIdTagged.go index a1b6418450..29258f8aeb 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetVendorIdTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetVendorIdTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetWeekNDay.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetWeekNDay.go index a81dc9b949..47e44a239e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetWeekNDay.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetWeekNDay.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetWeekNDayTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetWeekNDayTagged.go index 0177b49996..5b27f3bda7 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetWeekNDayTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetWeekNDayTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetWriteAccessSpecification.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetWriteAccessSpecification.go index f7ab3b8163..a4c6b68843 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetWriteAccessSpecification.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetWriteAccessSpecification.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetWriteStatus.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetWriteStatus.go index 946f38d7ef..3757a8b11c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetWriteStatus.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetWriteStatus.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetWriteStatusTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetWriteStatusTagged.go index 26dbff4b52..961817a867 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetWriteStatusTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetWriteStatusTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BVLC.go b/plc4go/protocols/bacnetip/readwrite/model/BVLC.go index b3d6d4d00a..075ac1f671 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BVLC.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BVLC.go @@ -23,12 +23,14 @@ import ( "context" "encoding/binary" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + "github.com/apache/plc4x/plc4go/spi/codegen" . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BVLCBroadcastDistributionTableEntry.go b/plc4go/protocols/bacnetip/readwrite/model/BVLCBroadcastDistributionTableEntry.go index 106c05a125..b1d0bf8a32 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BVLCBroadcastDistributionTableEntry.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BVLCBroadcastDistributionTableEntry.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BVLCDeleteForeignDeviceTableEntry.go b/plc4go/protocols/bacnetip/readwrite/model/BVLCDeleteForeignDeviceTableEntry.go index f4cdcfb799..a5bf78d40e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BVLCDeleteForeignDeviceTableEntry.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BVLCDeleteForeignDeviceTableEntry.go @@ -23,12 +23,14 @@ import ( "context" "encoding/binary" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + "github.com/apache/plc4x/plc4go/spi/codegen" . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BVLCDistributeBroadcastToNetwork.go b/plc4go/protocols/bacnetip/readwrite/model/BVLCDistributeBroadcastToNetwork.go index 7e64b6ee81..a36624a9a6 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BVLCDistributeBroadcastToNetwork.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BVLCDistributeBroadcastToNetwork.go @@ -23,12 +23,14 @@ import ( "context" "encoding/binary" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + "github.com/apache/plc4x/plc4go/spi/codegen" . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BVLCForeignDeviceTableEntry.go b/plc4go/protocols/bacnetip/readwrite/model/BVLCForeignDeviceTableEntry.go index 8036d58aa1..1af4f56de3 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BVLCForeignDeviceTableEntry.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BVLCForeignDeviceTableEntry.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BVLCForwardedNPDU.go b/plc4go/protocols/bacnetip/readwrite/model/BVLCForwardedNPDU.go index 4f93296900..1271405ccd 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BVLCForwardedNPDU.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BVLCForwardedNPDU.go @@ -23,12 +23,14 @@ import ( "context" "encoding/binary" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + "github.com/apache/plc4x/plc4go/spi/codegen" . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BVLCOriginalBroadcastNPDU.go b/plc4go/protocols/bacnetip/readwrite/model/BVLCOriginalBroadcastNPDU.go index d9762c02b5..19025a1caa 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BVLCOriginalBroadcastNPDU.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BVLCOriginalBroadcastNPDU.go @@ -23,12 +23,14 @@ import ( "context" "encoding/binary" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + "github.com/apache/plc4x/plc4go/spi/codegen" . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BVLCOriginalUnicastNPDU.go b/plc4go/protocols/bacnetip/readwrite/model/BVLCOriginalUnicastNPDU.go index 4392b86df9..94aed52f1c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BVLCOriginalUnicastNPDU.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BVLCOriginalUnicastNPDU.go @@ -23,12 +23,14 @@ import ( "context" "encoding/binary" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + "github.com/apache/plc4x/plc4go/spi/codegen" . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BVLCReadBroadcastDistributionTable.go b/plc4go/protocols/bacnetip/readwrite/model/BVLCReadBroadcastDistributionTable.go index ddc16f2c58..6db338477f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BVLCReadBroadcastDistributionTable.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BVLCReadBroadcastDistributionTable.go @@ -23,9 +23,11 @@ import ( "context" "encoding/binary" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BVLCReadBroadcastDistributionTableAck.go b/plc4go/protocols/bacnetip/readwrite/model/BVLCReadBroadcastDistributionTableAck.go index a2ffddbc6d..8f34846bd9 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BVLCReadBroadcastDistributionTableAck.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BVLCReadBroadcastDistributionTableAck.go @@ -23,12 +23,14 @@ import ( "context" "encoding/binary" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + "github.com/apache/plc4x/plc4go/spi/codegen" . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BVLCReadForeignDeviceTable.go b/plc4go/protocols/bacnetip/readwrite/model/BVLCReadForeignDeviceTable.go index b8290a38d7..2e9ef1e8e6 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BVLCReadForeignDeviceTable.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BVLCReadForeignDeviceTable.go @@ -23,9 +23,11 @@ import ( "context" "encoding/binary" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BVLCReadForeignDeviceTableAck.go b/plc4go/protocols/bacnetip/readwrite/model/BVLCReadForeignDeviceTableAck.go index c261ea4da0..ebcb82704a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BVLCReadForeignDeviceTableAck.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BVLCReadForeignDeviceTableAck.go @@ -23,12 +23,14 @@ import ( "context" "encoding/binary" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + "github.com/apache/plc4x/plc4go/spi/codegen" . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BVLCRegisterForeignDevice.go b/plc4go/protocols/bacnetip/readwrite/model/BVLCRegisterForeignDevice.go index d0b4320ce5..7e396e0938 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BVLCRegisterForeignDevice.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BVLCRegisterForeignDevice.go @@ -23,12 +23,14 @@ import ( "context" "encoding/binary" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + "github.com/apache/plc4x/plc4go/spi/codegen" . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BVLCResult.go b/plc4go/protocols/bacnetip/readwrite/model/BVLCResult.go index ebbbb0805f..249c1114ba 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BVLCResult.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BVLCResult.go @@ -23,12 +23,14 @@ import ( "context" "encoding/binary" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + "github.com/apache/plc4x/plc4go/spi/codegen" . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BVLCResultCode.go b/plc4go/protocols/bacnetip/readwrite/model/BVLCResultCode.go index 88791946f0..ec49caf4d1 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BVLCResultCode.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BVLCResultCode.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BVLCResultCodeTagged.go b/plc4go/protocols/bacnetip/readwrite/model/BVLCResultCodeTagged.go index 4a1f776ca7..3e2a6c9863 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BVLCResultCodeTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BVLCResultCodeTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BVLCSecureBVLL.go b/plc4go/protocols/bacnetip/readwrite/model/BVLCSecureBVLL.go index 1f32c36412..e12c57735b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BVLCSecureBVLL.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BVLCSecureBVLL.go @@ -23,12 +23,14 @@ import ( "context" "encoding/binary" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + "github.com/apache/plc4x/plc4go/spi/codegen" . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BVLCWriteBroadcastDistributionTable.go b/plc4go/protocols/bacnetip/readwrite/model/BVLCWriteBroadcastDistributionTable.go index 6349759642..2ed77571f7 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BVLCWriteBroadcastDistributionTable.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BVLCWriteBroadcastDistributionTable.go @@ -23,12 +23,14 @@ import ( "context" "encoding/binary" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + "github.com/apache/plc4x/plc4go/spi/codegen" . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/BacnetConstants.go b/plc4go/protocols/bacnetip/readwrite/model/BacnetConstants.go index 5c82a70a83..3fa4632177 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BacnetConstants.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BacnetConstants.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/ChangeListAddError.go b/plc4go/protocols/bacnetip/readwrite/model/ChangeListAddError.go index f0c2e1ef38..480881d5a3 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/ChangeListAddError.go +++ b/plc4go/protocols/bacnetip/readwrite/model/ChangeListAddError.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/ChangeListRemoveError.go b/plc4go/protocols/bacnetip/readwrite/model/ChangeListRemoveError.go index dde8d5bdfd..bd3da2bb2c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/ChangeListRemoveError.go +++ b/plc4go/protocols/bacnetip/readwrite/model/ChangeListRemoveError.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/ConfirmedEventNotificationRequest.go b/plc4go/protocols/bacnetip/readwrite/model/ConfirmedEventNotificationRequest.go index e61597ef80..825492d6c0 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/ConfirmedEventNotificationRequest.go +++ b/plc4go/protocols/bacnetip/readwrite/model/ConfirmedEventNotificationRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -180,8 +182,6 @@ type ConfirmedEventNotificationRequestBuilder interface { WithToStateBuilder(func(BACnetEventStateTaggedBuilder) BACnetEventStateTaggedBuilder) ConfirmedEventNotificationRequestBuilder // WithEventValues adds EventValues (property field) WithOptionalEventValues(BACnetNotificationParameters) ConfirmedEventNotificationRequestBuilder - // WithOptionalEventValuesBuilder adds EventValues (property field) which is build by the builder - WithOptionalEventValuesBuilder(func(BACnetNotificationParametersBuilder) BACnetNotificationParametersBuilder) ConfirmedEventNotificationRequestBuilder // Build builds the ConfirmedEventNotificationRequest or returns an error if something is wrong Build() (ConfirmedEventNotificationRequest, error) // MustBuild does the same as Build but panics on error @@ -426,19 +426,6 @@ func (m *_ConfirmedEventNotificationRequestBuilder) WithOptionalEventValues(even return m } -func (m *_ConfirmedEventNotificationRequestBuilder) WithOptionalEventValuesBuilder(builderSupplier func(BACnetNotificationParametersBuilder) BACnetNotificationParametersBuilder) ConfirmedEventNotificationRequestBuilder { - builder := builderSupplier(m.EventValues.CreateBACnetNotificationParametersBuilder()) - var err error - m.EventValues, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetNotificationParametersBuilder failed")) - } - return m -} - func (m *_ConfirmedEventNotificationRequestBuilder) Build() (ConfirmedEventNotificationRequest, error) { if m.ProcessIdentifier == nil { if m.err == nil { diff --git a/plc4go/protocols/bacnetip/readwrite/model/ConfirmedPrivateTransferError.go b/plc4go/protocols/bacnetip/readwrite/model/ConfirmedPrivateTransferError.go index 6da4ccc826..75f3e1cfec 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/ConfirmedPrivateTransferError.go +++ b/plc4go/protocols/bacnetip/readwrite/model/ConfirmedPrivateTransferError.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -110,8 +112,6 @@ type ConfirmedPrivateTransferErrorBuilder interface { WithServiceNumberBuilder(func(BACnetContextTagUnsignedIntegerBuilder) BACnetContextTagUnsignedIntegerBuilder) ConfirmedPrivateTransferErrorBuilder // WithErrorParameters adds ErrorParameters (property field) WithOptionalErrorParameters(BACnetConstructedData) ConfirmedPrivateTransferErrorBuilder - // WithOptionalErrorParametersBuilder adds ErrorParameters (property field) which is build by the builder - WithOptionalErrorParametersBuilder(func(BACnetConstructedDataBuilder) BACnetConstructedDataBuilder) ConfirmedPrivateTransferErrorBuilder // Build builds the ConfirmedPrivateTransferError or returns an error if something is wrong Build() (ConfirmedPrivateTransferError, error) // MustBuild does the same as Build but panics on error @@ -194,19 +194,6 @@ func (m *_ConfirmedPrivateTransferErrorBuilder) WithOptionalErrorParameters(erro return m } -func (m *_ConfirmedPrivateTransferErrorBuilder) WithOptionalErrorParametersBuilder(builderSupplier func(BACnetConstructedDataBuilder) BACnetConstructedDataBuilder) ConfirmedPrivateTransferErrorBuilder { - builder := builderSupplier(m.ErrorParameters.CreateBACnetConstructedDataBuilder()) - var err error - m.ErrorParameters, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetConstructedDataBuilder failed")) - } - return m -} - func (m *_ConfirmedPrivateTransferErrorBuilder) Build() (ConfirmedPrivateTransferError, error) { if m.ErrorType == nil { if m.err == nil { diff --git a/plc4go/protocols/bacnetip/readwrite/model/CreateObjectError.go b/plc4go/protocols/bacnetip/readwrite/model/CreateObjectError.go index 128b634542..1150670ad2 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/CreateObjectError.go +++ b/plc4go/protocols/bacnetip/readwrite/model/CreateObjectError.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/Error.go b/plc4go/protocols/bacnetip/readwrite/model/Error.go index 51ac85d45d..5e1e968842 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/Error.go +++ b/plc4go/protocols/bacnetip/readwrite/model/Error.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/ErrorClass.go b/plc4go/protocols/bacnetip/readwrite/model/ErrorClass.go index 54569102b0..904ae148e9 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/ErrorClass.go +++ b/plc4go/protocols/bacnetip/readwrite/model/ErrorClass.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/ErrorClassTagged.go b/plc4go/protocols/bacnetip/readwrite/model/ErrorClassTagged.go index 54c547061e..c9ff72e315 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/ErrorClassTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/ErrorClassTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/ErrorCode.go b/plc4go/protocols/bacnetip/readwrite/model/ErrorCode.go index 74ee441365..69c02bea2d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/ErrorCode.go +++ b/plc4go/protocols/bacnetip/readwrite/model/ErrorCode.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/ErrorCodeTagged.go b/plc4go/protocols/bacnetip/readwrite/model/ErrorCodeTagged.go index fd79b31ff1..55f441899a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/ErrorCodeTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/ErrorCodeTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/ErrorEnclosed.go b/plc4go/protocols/bacnetip/readwrite/model/ErrorEnclosed.go index 460ded0955..ca6ea53b73 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/ErrorEnclosed.go +++ b/plc4go/protocols/bacnetip/readwrite/model/ErrorEnclosed.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/ListOfCovNotifications.go b/plc4go/protocols/bacnetip/readwrite/model/ListOfCovNotifications.go index 1e6988bbed..e2b6d8f3e5 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/ListOfCovNotifications.go +++ b/plc4go/protocols/bacnetip/readwrite/model/ListOfCovNotifications.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/ListOfCovNotificationsList.go b/plc4go/protocols/bacnetip/readwrite/model/ListOfCovNotificationsList.go index 0d9cccb8e4..ca8cdad67f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/ListOfCovNotificationsList.go +++ b/plc4go/protocols/bacnetip/readwrite/model/ListOfCovNotificationsList.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/ListOfCovNotificationsValue.go b/plc4go/protocols/bacnetip/readwrite/model/ListOfCovNotificationsValue.go index 371c20eae3..3d6b4ffaf1 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/ListOfCovNotificationsValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/ListOfCovNotificationsValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -95,8 +97,6 @@ type ListOfCovNotificationsValueBuilder interface { WithOptionalArrayIndexBuilder(func(BACnetContextTagUnsignedIntegerBuilder) BACnetContextTagUnsignedIntegerBuilder) ListOfCovNotificationsValueBuilder // WithPropertyValue adds PropertyValue (property field) WithPropertyValue(BACnetConstructedData) ListOfCovNotificationsValueBuilder - // WithPropertyValueBuilder adds PropertyValue (property field) which is build by the builder - WithPropertyValueBuilder(func(BACnetConstructedDataBuilder) BACnetConstructedDataBuilder) ListOfCovNotificationsValueBuilder // WithTimeOfChange adds TimeOfChange (property field) WithOptionalTimeOfChange(BACnetContextTagTime) ListOfCovNotificationsValueBuilder // WithOptionalTimeOfChangeBuilder adds TimeOfChange (property field) which is build by the builder @@ -165,19 +165,6 @@ func (m *_ListOfCovNotificationsValueBuilder) WithPropertyValue(propertyValue BA return m } -func (m *_ListOfCovNotificationsValueBuilder) WithPropertyValueBuilder(builderSupplier func(BACnetConstructedDataBuilder) BACnetConstructedDataBuilder) ListOfCovNotificationsValueBuilder { - builder := builderSupplier(m.PropertyValue.CreateBACnetConstructedDataBuilder()) - var err error - m.PropertyValue, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "BACnetConstructedDataBuilder failed")) - } - return m -} - func (m *_ListOfCovNotificationsValueBuilder) WithOptionalTimeOfChange(timeOfChange BACnetContextTagTime) ListOfCovNotificationsValueBuilder { m.TimeOfChange = timeOfChange return m diff --git a/plc4go/protocols/bacnetip/readwrite/model/MaxApduLengthAccepted.go b/plc4go/protocols/bacnetip/readwrite/model/MaxApduLengthAccepted.go index 0e26086856..51b11e8d32 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/MaxApduLengthAccepted.go +++ b/plc4go/protocols/bacnetip/readwrite/model/MaxApduLengthAccepted.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/MaxSegmentsAccepted.go b/plc4go/protocols/bacnetip/readwrite/model/MaxSegmentsAccepted.go index 4ef7cd5820..d6ac8a5e49 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/MaxSegmentsAccepted.go +++ b/plc4go/protocols/bacnetip/readwrite/model/MaxSegmentsAccepted.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/NLM.go b/plc4go/protocols/bacnetip/readwrite/model/NLM.go index abc82e213b..2dbbc177a4 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/NLM.go +++ b/plc4go/protocols/bacnetip/readwrite/model/NLM.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/NLMChallengeRequest.go b/plc4go/protocols/bacnetip/readwrite/model/NLMChallengeRequest.go index f0a9677fba..286c441bd0 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/NLMChallengeRequest.go +++ b/plc4go/protocols/bacnetip/readwrite/model/NLMChallengeRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/NLMDisconnectConnectionToNetwork.go b/plc4go/protocols/bacnetip/readwrite/model/NLMDisconnectConnectionToNetwork.go index 9abf91f9f8..3dc6596142 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/NLMDisconnectConnectionToNetwork.go +++ b/plc4go/protocols/bacnetip/readwrite/model/NLMDisconnectConnectionToNetwork.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/NLMEstablishConnectionToNetwork.go b/plc4go/protocols/bacnetip/readwrite/model/NLMEstablishConnectionToNetwork.go index 2c2cb09770..3b31838647 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/NLMEstablishConnectionToNetwork.go +++ b/plc4go/protocols/bacnetip/readwrite/model/NLMEstablishConnectionToNetwork.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/NLMIAmRouterToNetwork.go b/plc4go/protocols/bacnetip/readwrite/model/NLMIAmRouterToNetwork.go index 70d60baf20..b7e8124ba3 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/NLMIAmRouterToNetwork.go +++ b/plc4go/protocols/bacnetip/readwrite/model/NLMIAmRouterToNetwork.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/NLMICouldBeRouterToNetwork.go b/plc4go/protocols/bacnetip/readwrite/model/NLMICouldBeRouterToNetwork.go index ee4c0e8d70..33ff446aae 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/NLMICouldBeRouterToNetwork.go +++ b/plc4go/protocols/bacnetip/readwrite/model/NLMICouldBeRouterToNetwork.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/NLMInitializeRoutingTable.go b/plc4go/protocols/bacnetip/readwrite/model/NLMInitializeRoutingTable.go index 72574d3991..0e7f5618f9 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/NLMInitializeRoutingTable.go +++ b/plc4go/protocols/bacnetip/readwrite/model/NLMInitializeRoutingTable.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/NLMInitializeRoutingTableAck.go b/plc4go/protocols/bacnetip/readwrite/model/NLMInitializeRoutingTableAck.go index feaa40903e..514b8c2dee 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/NLMInitializeRoutingTableAck.go +++ b/plc4go/protocols/bacnetip/readwrite/model/NLMInitializeRoutingTableAck.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/NLMInitializeRoutingTablePortMapping.go b/plc4go/protocols/bacnetip/readwrite/model/NLMInitializeRoutingTablePortMapping.go index c1391be882..5bf8d27e27 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/NLMInitializeRoutingTablePortMapping.go +++ b/plc4go/protocols/bacnetip/readwrite/model/NLMInitializeRoutingTablePortMapping.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/NLMNetworkNumberIs.go b/plc4go/protocols/bacnetip/readwrite/model/NLMNetworkNumberIs.go index b3fe5a0464..134a0f06b4 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/NLMNetworkNumberIs.go +++ b/plc4go/protocols/bacnetip/readwrite/model/NLMNetworkNumberIs.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/NLMRejectMessageToNetwork.go b/plc4go/protocols/bacnetip/readwrite/model/NLMRejectMessageToNetwork.go index 521e63fb57..c98d565a9e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/NLMRejectMessageToNetwork.go +++ b/plc4go/protocols/bacnetip/readwrite/model/NLMRejectMessageToNetwork.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/NLMRejectMessageToNetworkRejectReason.go b/plc4go/protocols/bacnetip/readwrite/model/NLMRejectMessageToNetworkRejectReason.go index 85dbe6faee..4be58252e1 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/NLMRejectMessageToNetworkRejectReason.go +++ b/plc4go/protocols/bacnetip/readwrite/model/NLMRejectMessageToNetworkRejectReason.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/NLMRequestKeyUpdate.go b/plc4go/protocols/bacnetip/readwrite/model/NLMRequestKeyUpdate.go index a5653bb2fd..e8a18a1a16 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/NLMRequestKeyUpdate.go +++ b/plc4go/protocols/bacnetip/readwrite/model/NLMRequestKeyUpdate.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/NLMRequestMasterKey.go b/plc4go/protocols/bacnetip/readwrite/model/NLMRequestMasterKey.go index f7afcda68e..f8fc860ced 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/NLMRequestMasterKey.go +++ b/plc4go/protocols/bacnetip/readwrite/model/NLMRequestMasterKey.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/NLMReserved.go b/plc4go/protocols/bacnetip/readwrite/model/NLMReserved.go index fef5b85140..cd84241eb3 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/NLMReserved.go +++ b/plc4go/protocols/bacnetip/readwrite/model/NLMReserved.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/NLMRouterAvailableToNetwork.go b/plc4go/protocols/bacnetip/readwrite/model/NLMRouterAvailableToNetwork.go index acaccae5f6..eb803079dc 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/NLMRouterAvailableToNetwork.go +++ b/plc4go/protocols/bacnetip/readwrite/model/NLMRouterAvailableToNetwork.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/NLMRouterBusyToNetwork.go b/plc4go/protocols/bacnetip/readwrite/model/NLMRouterBusyToNetwork.go index 53d76767e6..627a29a737 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/NLMRouterBusyToNetwork.go +++ b/plc4go/protocols/bacnetip/readwrite/model/NLMRouterBusyToNetwork.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/NLMSecurityPayload.go b/plc4go/protocols/bacnetip/readwrite/model/NLMSecurityPayload.go index 8f95d78a03..f48d467ae5 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/NLMSecurityPayload.go +++ b/plc4go/protocols/bacnetip/readwrite/model/NLMSecurityPayload.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/NLMSecurityResponse.go b/plc4go/protocols/bacnetip/readwrite/model/NLMSecurityResponse.go index 9bb8a0b118..63ea7b4f99 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/NLMSecurityResponse.go +++ b/plc4go/protocols/bacnetip/readwrite/model/NLMSecurityResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/NLMSetMasterKey.go b/plc4go/protocols/bacnetip/readwrite/model/NLMSetMasterKey.go index 32cef09b38..b60864f2d3 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/NLMSetMasterKey.go +++ b/plc4go/protocols/bacnetip/readwrite/model/NLMSetMasterKey.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/NLMUpdateKeyDistributionKey.go b/plc4go/protocols/bacnetip/readwrite/model/NLMUpdateKeyDistributionKey.go index 24b985f166..db353d787a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/NLMUpdateKeyDistributionKey.go +++ b/plc4go/protocols/bacnetip/readwrite/model/NLMUpdateKeyDistributionKey.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/NLMUpdateKeyUpdate.go b/plc4go/protocols/bacnetip/readwrite/model/NLMUpdateKeyUpdate.go index 138894ae3c..d1be3c9f7d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/NLMUpdateKeyUpdate.go +++ b/plc4go/protocols/bacnetip/readwrite/model/NLMUpdateKeyUpdate.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/NLMUpdateKeyUpdateControlFlags.go b/plc4go/protocols/bacnetip/readwrite/model/NLMUpdateKeyUpdateControlFlags.go index 0aaef15f5c..b0ea3a6f32 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/NLMUpdateKeyUpdateControlFlags.go +++ b/plc4go/protocols/bacnetip/readwrite/model/NLMUpdateKeyUpdateControlFlags.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/NLMUpdateKeyUpdateKeyEntry.go b/plc4go/protocols/bacnetip/readwrite/model/NLMUpdateKeyUpdateKeyEntry.go index b48a184f5e..8b2e541275 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/NLMUpdateKeyUpdateKeyEntry.go +++ b/plc4go/protocols/bacnetip/readwrite/model/NLMUpdateKeyUpdateKeyEntry.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/NLMVendorProprietaryMessage.go b/plc4go/protocols/bacnetip/readwrite/model/NLMVendorProprietaryMessage.go index 8b4a1d8703..280c08cdf1 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/NLMVendorProprietaryMessage.go +++ b/plc4go/protocols/bacnetip/readwrite/model/NLMVendorProprietaryMessage.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/NLMWhatIsNetworkNumber.go b/plc4go/protocols/bacnetip/readwrite/model/NLMWhatIsNetworkNumber.go index faa0b5f6f5..e7371a9796 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/NLMWhatIsNetworkNumber.go +++ b/plc4go/protocols/bacnetip/readwrite/model/NLMWhatIsNetworkNumber.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/NLMWhoIsRouterToNetwork.go b/plc4go/protocols/bacnetip/readwrite/model/NLMWhoIsRouterToNetwork.go index 7b2eaa2258..6338c1756c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/NLMWhoIsRouterToNetwork.go +++ b/plc4go/protocols/bacnetip/readwrite/model/NLMWhoIsRouterToNetwork.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/NPDU.go b/plc4go/protocols/bacnetip/readwrite/model/NPDU.go index 290e1be668..5004176c42 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/NPDU.go +++ b/plc4go/protocols/bacnetip/readwrite/model/NPDU.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -131,12 +133,8 @@ type NPDUBuilder interface { WithOptionalHopCount(uint8) NPDUBuilder // WithNlm adds Nlm (property field) WithOptionalNlm(NLM) NPDUBuilder - // WithOptionalNlmBuilder adds Nlm (property field) which is build by the builder - WithOptionalNlmBuilder(func(NLMBuilder) NLMBuilder) NPDUBuilder // WithApdu adds Apdu (property field) WithOptionalApdu(APDU) NPDUBuilder - // WithOptionalApduBuilder adds Apdu (property field) which is build by the builder - WithOptionalApduBuilder(func(APDUBuilder) APDUBuilder) NPDUBuilder // Build builds the NPDU or returns an error if something is wrong Build() (NPDU, error) // MustBuild does the same as Build but panics on error @@ -223,37 +221,11 @@ func (m *_NPDUBuilder) WithOptionalNlm(nlm NLM) NPDUBuilder { return m } -func (m *_NPDUBuilder) WithOptionalNlmBuilder(builderSupplier func(NLMBuilder) NLMBuilder) NPDUBuilder { - builder := builderSupplier(m.Nlm.CreateNLMBuilder()) - var err error - m.Nlm, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "NLMBuilder failed")) - } - return m -} - func (m *_NPDUBuilder) WithOptionalApdu(apdu APDU) NPDUBuilder { m.Apdu = apdu return m } -func (m *_NPDUBuilder) WithOptionalApduBuilder(builderSupplier func(APDUBuilder) APDUBuilder) NPDUBuilder { - builder := builderSupplier(m.Apdu.CreateAPDUBuilder()) - var err error - m.Apdu, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "APDUBuilder failed")) - } - return m -} - func (m *_NPDUBuilder) Build() (NPDU, error) { if m.Control == nil { if m.err == nil { diff --git a/plc4go/protocols/bacnetip/readwrite/model/NPDUControl.go b/plc4go/protocols/bacnetip/readwrite/model/NPDUControl.go index 69b9807ad6..3b963f0d49 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/NPDUControl.go +++ b/plc4go/protocols/bacnetip/readwrite/model/NPDUControl.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/NPDUNetworkPriority.go b/plc4go/protocols/bacnetip/readwrite/model/NPDUNetworkPriority.go index f55014efe4..36cd6e6c93 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/NPDUNetworkPriority.go +++ b/plc4go/protocols/bacnetip/readwrite/model/NPDUNetworkPriority.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/NPDUNetworkPriorityTagged.go b/plc4go/protocols/bacnetip/readwrite/model/NPDUNetworkPriorityTagged.go index 4b855451ea..e7cc29e16d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/NPDUNetworkPriorityTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/NPDUNetworkPriorityTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/SecurityResponseCode.go b/plc4go/protocols/bacnetip/readwrite/model/SecurityResponseCode.go index 560f43c2ab..75b6b7316d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/SecurityResponseCode.go +++ b/plc4go/protocols/bacnetip/readwrite/model/SecurityResponseCode.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/SecurityResponseCodeTagged.go b/plc4go/protocols/bacnetip/readwrite/model/SecurityResponseCodeTagged.go index 853cbe9912..84b6f21385 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/SecurityResponseCodeTagged.go +++ b/plc4go/protocols/bacnetip/readwrite/model/SecurityResponseCodeTagged.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/SubscribeCOVPropertyMultipleError.go b/plc4go/protocols/bacnetip/readwrite/model/SubscribeCOVPropertyMultipleError.go index d57ba0607a..3614c014b9 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/SubscribeCOVPropertyMultipleError.go +++ b/plc4go/protocols/bacnetip/readwrite/model/SubscribeCOVPropertyMultipleError.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/SubscribeCOVPropertyMultipleErrorFirstFailedSubscription.go b/plc4go/protocols/bacnetip/readwrite/model/SubscribeCOVPropertyMultipleErrorFirstFailedSubscription.go index 3e602d320c..bc5e6447b8 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/SubscribeCOVPropertyMultipleErrorFirstFailedSubscription.go +++ b/plc4go/protocols/bacnetip/readwrite/model/SubscribeCOVPropertyMultipleErrorFirstFailedSubscription.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/TagClass.go b/plc4go/protocols/bacnetip/readwrite/model/TagClass.go index b4b618e9af..25ff9791c6 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/TagClass.go +++ b/plc4go/protocols/bacnetip/readwrite/model/TagClass.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/VTCloseError.go b/plc4go/protocols/bacnetip/readwrite/model/VTCloseError.go index fe5a8d25fe..e122fb6716 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/VTCloseError.go +++ b/plc4go/protocols/bacnetip/readwrite/model/VTCloseError.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/VTCloseErrorListOfVTSessionIdentifiers.go b/plc4go/protocols/bacnetip/readwrite/model/VTCloseErrorListOfVTSessionIdentifiers.go index e04a8a3b44..fc7271a79e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/VTCloseErrorListOfVTSessionIdentifiers.go +++ b/plc4go/protocols/bacnetip/readwrite/model/VTCloseErrorListOfVTSessionIdentifiers.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/bacnetip/readwrite/model/WritePropertyMultipleError.go b/plc4go/protocols/bacnetip/readwrite/model/WritePropertyMultipleError.go index 3fed5403ad..3557f69c3b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/WritePropertyMultipleError.go +++ b/plc4go/protocols/bacnetip/readwrite/model/WritePropertyMultipleError.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/ParserHelper.go b/plc4go/protocols/cbus/readwrite/ParserHelper.go index 40d244e22b..3fcf4f7b1b 100644 --- a/plc4go/protocols/cbus/readwrite/ParserHelper.go +++ b/plc4go/protocols/cbus/readwrite/ParserHelper.go @@ -22,9 +22,10 @@ package readwrite import ( "context" + "github.com/pkg/errors" + . "github.com/apache/plc4x/plc4go/protocols/cbus/readwrite/model" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/XmlParserHelper.go b/plc4go/protocols/cbus/readwrite/XmlParserHelper.go index ab7296b989..a820948e11 100644 --- a/plc4go/protocols/cbus/readwrite/XmlParserHelper.go +++ b/plc4go/protocols/cbus/readwrite/XmlParserHelper.go @@ -24,9 +24,10 @@ import ( "strconv" "strings" + "github.com/pkg/errors" + . "github.com/apache/plc4x/plc4go/protocols/cbus/readwrite/model" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/AccessControlCategory.go b/plc4go/protocols/cbus/readwrite/model/AccessControlCategory.go index 52ffb112a5..24c8d0663b 100644 --- a/plc4go/protocols/cbus/readwrite/model/AccessControlCategory.go +++ b/plc4go/protocols/cbus/readwrite/model/AccessControlCategory.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/AccessControlCommandType.go b/plc4go/protocols/cbus/readwrite/model/AccessControlCommandType.go index 8827052b17..1b1dd88045 100644 --- a/plc4go/protocols/cbus/readwrite/model/AccessControlCommandType.go +++ b/plc4go/protocols/cbus/readwrite/model/AccessControlCommandType.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/AccessControlCommandTypeContainer.go b/plc4go/protocols/cbus/readwrite/model/AccessControlCommandTypeContainer.go index 1f8056eff2..1eed7dc845 100644 --- a/plc4go/protocols/cbus/readwrite/model/AccessControlCommandTypeContainer.go +++ b/plc4go/protocols/cbus/readwrite/model/AccessControlCommandTypeContainer.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/AccessControlData.go b/plc4go/protocols/cbus/readwrite/model/AccessControlData.go index 2e7a905e16..26157d2d0c 100644 --- a/plc4go/protocols/cbus/readwrite/model/AccessControlData.go +++ b/plc4go/protocols/cbus/readwrite/model/AccessControlData.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/AccessControlDataAccessPointClosed.go b/plc4go/protocols/cbus/readwrite/model/AccessControlDataAccessPointClosed.go index 84e67bdd02..c693e0c50b 100644 --- a/plc4go/protocols/cbus/readwrite/model/AccessControlDataAccessPointClosed.go +++ b/plc4go/protocols/cbus/readwrite/model/AccessControlDataAccessPointClosed.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/AccessControlDataAccessPointForcedOpen.go b/plc4go/protocols/cbus/readwrite/model/AccessControlDataAccessPointForcedOpen.go index b94d23ab93..ad08fdbb11 100644 --- a/plc4go/protocols/cbus/readwrite/model/AccessControlDataAccessPointForcedOpen.go +++ b/plc4go/protocols/cbus/readwrite/model/AccessControlDataAccessPointForcedOpen.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/AccessControlDataAccessPointLeftOpen.go b/plc4go/protocols/cbus/readwrite/model/AccessControlDataAccessPointLeftOpen.go index e43702d7cc..deb300cc08 100644 --- a/plc4go/protocols/cbus/readwrite/model/AccessControlDataAccessPointLeftOpen.go +++ b/plc4go/protocols/cbus/readwrite/model/AccessControlDataAccessPointLeftOpen.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/AccessControlDataCloseAccessPoint.go b/plc4go/protocols/cbus/readwrite/model/AccessControlDataCloseAccessPoint.go index 43da56905f..0f0ef27830 100644 --- a/plc4go/protocols/cbus/readwrite/model/AccessControlDataCloseAccessPoint.go +++ b/plc4go/protocols/cbus/readwrite/model/AccessControlDataCloseAccessPoint.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/AccessControlDataInvalidAccessRequest.go b/plc4go/protocols/cbus/readwrite/model/AccessControlDataInvalidAccessRequest.go index 50c5719c0e..84c1afade4 100644 --- a/plc4go/protocols/cbus/readwrite/model/AccessControlDataInvalidAccessRequest.go +++ b/plc4go/protocols/cbus/readwrite/model/AccessControlDataInvalidAccessRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/AccessControlDataLockAccessPoint.go b/plc4go/protocols/cbus/readwrite/model/AccessControlDataLockAccessPoint.go index c9ae416ac7..8c582df8a9 100644 --- a/plc4go/protocols/cbus/readwrite/model/AccessControlDataLockAccessPoint.go +++ b/plc4go/protocols/cbus/readwrite/model/AccessControlDataLockAccessPoint.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/AccessControlDataRequestToExit.go b/plc4go/protocols/cbus/readwrite/model/AccessControlDataRequestToExit.go index df1daadb41..5897b29dba 100644 --- a/plc4go/protocols/cbus/readwrite/model/AccessControlDataRequestToExit.go +++ b/plc4go/protocols/cbus/readwrite/model/AccessControlDataRequestToExit.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/AccessControlDataValidAccessRequest.go b/plc4go/protocols/cbus/readwrite/model/AccessControlDataValidAccessRequest.go index 80a97a7ee7..3eef8014b2 100644 --- a/plc4go/protocols/cbus/readwrite/model/AccessControlDataValidAccessRequest.go +++ b/plc4go/protocols/cbus/readwrite/model/AccessControlDataValidAccessRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/AccessControlDirection.go b/plc4go/protocols/cbus/readwrite/model/AccessControlDirection.go index 1167120ba9..1600fafddf 100644 --- a/plc4go/protocols/cbus/readwrite/model/AccessControlDirection.go +++ b/plc4go/protocols/cbus/readwrite/model/AccessControlDirection.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/AirConditioningCommandType.go b/plc4go/protocols/cbus/readwrite/model/AirConditioningCommandType.go index 12630d4527..11ee95b1e5 100644 --- a/plc4go/protocols/cbus/readwrite/model/AirConditioningCommandType.go +++ b/plc4go/protocols/cbus/readwrite/model/AirConditioningCommandType.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/AirConditioningCommandTypeContainer.go b/plc4go/protocols/cbus/readwrite/model/AirConditioningCommandTypeContainer.go index 413a1b8601..d52e7c602e 100644 --- a/plc4go/protocols/cbus/readwrite/model/AirConditioningCommandTypeContainer.go +++ b/plc4go/protocols/cbus/readwrite/model/AirConditioningCommandTypeContainer.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/AirConditioningData.go b/plc4go/protocols/cbus/readwrite/model/AirConditioningData.go index b7c876818e..6fdb9651b2 100644 --- a/plc4go/protocols/cbus/readwrite/model/AirConditioningData.go +++ b/plc4go/protocols/cbus/readwrite/model/AirConditioningData.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/AirConditioningDataHumidityScheduleEntry.go b/plc4go/protocols/cbus/readwrite/model/AirConditioningDataHumidityScheduleEntry.go index 0ef91d24e6..7b346c7ea7 100644 --- a/plc4go/protocols/cbus/readwrite/model/AirConditioningDataHumidityScheduleEntry.go +++ b/plc4go/protocols/cbus/readwrite/model/AirConditioningDataHumidityScheduleEntry.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/AirConditioningDataHvacScheduleEntry.go b/plc4go/protocols/cbus/readwrite/model/AirConditioningDataHvacScheduleEntry.go index 4ade0dd007..3c7d2fc981 100644 --- a/plc4go/protocols/cbus/readwrite/model/AirConditioningDataHvacScheduleEntry.go +++ b/plc4go/protocols/cbus/readwrite/model/AirConditioningDataHvacScheduleEntry.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/AirConditioningDataRefresh.go b/plc4go/protocols/cbus/readwrite/model/AirConditioningDataRefresh.go index 158c723fdd..81f7710344 100644 --- a/plc4go/protocols/cbus/readwrite/model/AirConditioningDataRefresh.go +++ b/plc4go/protocols/cbus/readwrite/model/AirConditioningDataRefresh.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetHumidityLowerGuardLimit.go b/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetHumidityLowerGuardLimit.go index a42c83cecc..cb3687813b 100644 --- a/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetHumidityLowerGuardLimit.go +++ b/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetHumidityLowerGuardLimit.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetHumiditySetbackLimit.go b/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetHumiditySetbackLimit.go index 48e7a8281b..b71f40b42c 100644 --- a/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetHumiditySetbackLimit.go +++ b/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetHumiditySetbackLimit.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetHumidityUpperGuardLimit.go b/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetHumidityUpperGuardLimit.go index ee3f4c729f..f556daaba7 100644 --- a/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetHumidityUpperGuardLimit.go +++ b/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetHumidityUpperGuardLimit.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetHvacLowerGuardLimit.go b/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetHvacLowerGuardLimit.go index 71ac0eb76e..529dc9fa4a 100644 --- a/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetHvacLowerGuardLimit.go +++ b/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetHvacLowerGuardLimit.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetHvacSetbackLimit.go b/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetHvacSetbackLimit.go index 963eafb437..92e5460b24 100644 --- a/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetHvacSetbackLimit.go +++ b/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetHvacSetbackLimit.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetHvacUpperGuardLimit.go b/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetHvacUpperGuardLimit.go index a46db8eb5d..caadd40960 100644 --- a/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetHvacUpperGuardLimit.go +++ b/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetHvacUpperGuardLimit.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetPlantHumidityLevel.go b/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetPlantHumidityLevel.go index 96d87380e6..1525b207c1 100644 --- a/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetPlantHumidityLevel.go +++ b/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetPlantHumidityLevel.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetPlantHvacLevel.go b/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetPlantHvacLevel.go index 6d3a5617fb..d07a7f118a 100644 --- a/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetPlantHvacLevel.go +++ b/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetPlantHvacLevel.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetZoneGroupOff.go b/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetZoneGroupOff.go index 5aa527b098..2f8b2ffdfe 100644 --- a/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetZoneGroupOff.go +++ b/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetZoneGroupOff.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetZoneGroupOn.go b/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetZoneGroupOn.go index e4017bfbc1..0a5188fdac 100644 --- a/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetZoneGroupOn.go +++ b/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetZoneGroupOn.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetZoneHumidityMode.go b/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetZoneHumidityMode.go index 9b855dd1e5..a7057a0ca3 100644 --- a/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetZoneHumidityMode.go +++ b/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetZoneHumidityMode.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetZoneHvacMode.go b/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetZoneHvacMode.go index 492aae32e0..1add869c42 100644 --- a/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetZoneHvacMode.go +++ b/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetZoneHvacMode.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/AirConditioningDataZoneHumidity.go b/plc4go/protocols/cbus/readwrite/model/AirConditioningDataZoneHumidity.go index 5475149877..cca12df3b6 100644 --- a/plc4go/protocols/cbus/readwrite/model/AirConditioningDataZoneHumidity.go +++ b/plc4go/protocols/cbus/readwrite/model/AirConditioningDataZoneHumidity.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/AirConditioningDataZoneHumidityPlantStatus.go b/plc4go/protocols/cbus/readwrite/model/AirConditioningDataZoneHumidityPlantStatus.go index 7bf6d97360..1bf3e3ea02 100644 --- a/plc4go/protocols/cbus/readwrite/model/AirConditioningDataZoneHumidityPlantStatus.go +++ b/plc4go/protocols/cbus/readwrite/model/AirConditioningDataZoneHumidityPlantStatus.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/AirConditioningDataZoneHvacPlantStatus.go b/plc4go/protocols/cbus/readwrite/model/AirConditioningDataZoneHvacPlantStatus.go index 81e9e573a5..c95d7a285a 100644 --- a/plc4go/protocols/cbus/readwrite/model/AirConditioningDataZoneHvacPlantStatus.go +++ b/plc4go/protocols/cbus/readwrite/model/AirConditioningDataZoneHvacPlantStatus.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/AirConditioningDataZoneTemperature.go b/plc4go/protocols/cbus/readwrite/model/AirConditioningDataZoneTemperature.go index 883a3440e0..cb37b5dd90 100644 --- a/plc4go/protocols/cbus/readwrite/model/AirConditioningDataZoneTemperature.go +++ b/plc4go/protocols/cbus/readwrite/model/AirConditioningDataZoneTemperature.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/Alpha.go b/plc4go/protocols/cbus/readwrite/model/Alpha.go index 47a74d67e2..c5da213112 100644 --- a/plc4go/protocols/cbus/readwrite/model/Alpha.go +++ b/plc4go/protocols/cbus/readwrite/model/Alpha.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/ApplicationAddress1.go b/plc4go/protocols/cbus/readwrite/model/ApplicationAddress1.go index 0bee9c9619..e5df621174 100644 --- a/plc4go/protocols/cbus/readwrite/model/ApplicationAddress1.go +++ b/plc4go/protocols/cbus/readwrite/model/ApplicationAddress1.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/ApplicationAddress2.go b/plc4go/protocols/cbus/readwrite/model/ApplicationAddress2.go index c9cef24635..e5d2d66435 100644 --- a/plc4go/protocols/cbus/readwrite/model/ApplicationAddress2.go +++ b/plc4go/protocols/cbus/readwrite/model/ApplicationAddress2.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/ApplicationId.go b/plc4go/protocols/cbus/readwrite/model/ApplicationId.go index f28e934aae..078fea0fd9 100644 --- a/plc4go/protocols/cbus/readwrite/model/ApplicationId.go +++ b/plc4go/protocols/cbus/readwrite/model/ApplicationId.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/ApplicationIdContainer.go b/plc4go/protocols/cbus/readwrite/model/ApplicationIdContainer.go index 92f16aaae1..cf7e46c908 100644 --- a/plc4go/protocols/cbus/readwrite/model/ApplicationIdContainer.go +++ b/plc4go/protocols/cbus/readwrite/model/ApplicationIdContainer.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/Attribute.go b/plc4go/protocols/cbus/readwrite/model/Attribute.go index 75d02b5096..0ec7c1bbaf 100644 --- a/plc4go/protocols/cbus/readwrite/model/Attribute.go +++ b/plc4go/protocols/cbus/readwrite/model/Attribute.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/BaudRateSelector.go b/plc4go/protocols/cbus/readwrite/model/BaudRateSelector.go index 64a027ce87..f4d62fb683 100644 --- a/plc4go/protocols/cbus/readwrite/model/BaudRateSelector.go +++ b/plc4go/protocols/cbus/readwrite/model/BaudRateSelector.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/BridgeAddress.go b/plc4go/protocols/cbus/readwrite/model/BridgeAddress.go index e6beeb8873..0af4c58226 100644 --- a/plc4go/protocols/cbus/readwrite/model/BridgeAddress.go +++ b/plc4go/protocols/cbus/readwrite/model/BridgeAddress.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/CALCommandType.go b/plc4go/protocols/cbus/readwrite/model/CALCommandType.go index 0a7fca43c8..101eee306c 100644 --- a/plc4go/protocols/cbus/readwrite/model/CALCommandType.go +++ b/plc4go/protocols/cbus/readwrite/model/CALCommandType.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/CALCommandTypeContainer.go b/plc4go/protocols/cbus/readwrite/model/CALCommandTypeContainer.go index b5f00cfa05..b27f6502ec 100644 --- a/plc4go/protocols/cbus/readwrite/model/CALCommandTypeContainer.go +++ b/plc4go/protocols/cbus/readwrite/model/CALCommandTypeContainer.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/CALData.go b/plc4go/protocols/cbus/readwrite/model/CALData.go index 4ad7a78292..b2fcc3a5e1 100644 --- a/plc4go/protocols/cbus/readwrite/model/CALData.go +++ b/plc4go/protocols/cbus/readwrite/model/CALData.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -104,8 +106,6 @@ type CALDataBuilder interface { WithCommandTypeContainer(CALCommandTypeContainer) CALDataBuilder // WithAdditionalData adds AdditionalData (property field) WithOptionalAdditionalData(CALData) CALDataBuilder - // WithOptionalAdditionalDataBuilder adds AdditionalData (property field) which is build by the builder - WithOptionalAdditionalDataBuilder(func(CALDataBuilder) CALDataBuilder) CALDataBuilder // Build builds the CALData or returns an error if something is wrong Build() (CALDataContract, error) // MustBuild does the same as Build but panics on error @@ -139,19 +139,6 @@ func (m *_CALDataBuilder) WithOptionalAdditionalData(additionalData CALData) CAL return m } -func (m *_CALDataBuilder) WithOptionalAdditionalDataBuilder(builderSupplier func(CALDataBuilder) CALDataBuilder) CALDataBuilder { - builder := builderSupplier(m.AdditionalData.CreateCALDataBuilder()) - var err error - m.AdditionalData, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "CALDataBuilder failed")) - } - return m -} - func (m *_CALDataBuilder) Build() (CALDataContract, error) { if m.err != nil { return nil, errors.Wrap(m.err, "error occurred during build") diff --git a/plc4go/protocols/cbus/readwrite/model/CALDataAcknowledge.go b/plc4go/protocols/cbus/readwrite/model/CALDataAcknowledge.go index 2720cd4223..5b1974bbf7 100644 --- a/plc4go/protocols/cbus/readwrite/model/CALDataAcknowledge.go +++ b/plc4go/protocols/cbus/readwrite/model/CALDataAcknowledge.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/CALDataGetStatus.go b/plc4go/protocols/cbus/readwrite/model/CALDataGetStatus.go index 8f85fb7056..af1fd8d842 100644 --- a/plc4go/protocols/cbus/readwrite/model/CALDataGetStatus.go +++ b/plc4go/protocols/cbus/readwrite/model/CALDataGetStatus.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/CALDataIdentify.go b/plc4go/protocols/cbus/readwrite/model/CALDataIdentify.go index 1f9e8f2119..85579f42fc 100644 --- a/plc4go/protocols/cbus/readwrite/model/CALDataIdentify.go +++ b/plc4go/protocols/cbus/readwrite/model/CALDataIdentify.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/CALDataIdentifyReply.go b/plc4go/protocols/cbus/readwrite/model/CALDataIdentifyReply.go index 3ee6e5327d..fb66a2e646 100644 --- a/plc4go/protocols/cbus/readwrite/model/CALDataIdentifyReply.go +++ b/plc4go/protocols/cbus/readwrite/model/CALDataIdentifyReply.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -86,8 +88,6 @@ type CALDataIdentifyReplyBuilder interface { WithAttribute(Attribute) CALDataIdentifyReplyBuilder // WithIdentifyReplyCommand adds IdentifyReplyCommand (property field) WithIdentifyReplyCommand(IdentifyReplyCommand) CALDataIdentifyReplyBuilder - // WithIdentifyReplyCommandBuilder adds IdentifyReplyCommand (property field) which is build by the builder - WithIdentifyReplyCommandBuilder(func(IdentifyReplyCommandBuilder) IdentifyReplyCommandBuilder) CALDataIdentifyReplyBuilder // Build builds the CALDataIdentifyReply or returns an error if something is wrong Build() (CALDataIdentifyReply, error) // MustBuild does the same as Build but panics on error @@ -121,19 +121,6 @@ func (m *_CALDataIdentifyReplyBuilder) WithIdentifyReplyCommand(identifyReplyCom return m } -func (m *_CALDataIdentifyReplyBuilder) WithIdentifyReplyCommandBuilder(builderSupplier func(IdentifyReplyCommandBuilder) IdentifyReplyCommandBuilder) CALDataIdentifyReplyBuilder { - builder := builderSupplier(m.IdentifyReplyCommand.CreateIdentifyReplyCommandBuilder()) - var err error - m.IdentifyReplyCommand, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "IdentifyReplyCommandBuilder failed")) - } - return m -} - func (m *_CALDataIdentifyReplyBuilder) Build() (CALDataIdentifyReply, error) { if m.IdentifyReplyCommand == nil { if m.err == nil { diff --git a/plc4go/protocols/cbus/readwrite/model/CALDataRecall.go b/plc4go/protocols/cbus/readwrite/model/CALDataRecall.go index 074a1258e1..7eb0122d82 100644 --- a/plc4go/protocols/cbus/readwrite/model/CALDataRecall.go +++ b/plc4go/protocols/cbus/readwrite/model/CALDataRecall.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/CALDataReply.go b/plc4go/protocols/cbus/readwrite/model/CALDataReply.go index 3fcd571532..a87dd32fae 100644 --- a/plc4go/protocols/cbus/readwrite/model/CALDataReply.go +++ b/plc4go/protocols/cbus/readwrite/model/CALDataReply.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -86,8 +88,6 @@ type CALDataReplyBuilder interface { WithParamNo(Parameter) CALDataReplyBuilder // WithParameterValue adds ParameterValue (property field) WithParameterValue(ParameterValue) CALDataReplyBuilder - // WithParameterValueBuilder adds ParameterValue (property field) which is build by the builder - WithParameterValueBuilder(func(ParameterValueBuilder) ParameterValueBuilder) CALDataReplyBuilder // Build builds the CALDataReply or returns an error if something is wrong Build() (CALDataReply, error) // MustBuild does the same as Build but panics on error @@ -121,19 +121,6 @@ func (m *_CALDataReplyBuilder) WithParameterValue(parameterValue ParameterValue) return m } -func (m *_CALDataReplyBuilder) WithParameterValueBuilder(builderSupplier func(ParameterValueBuilder) ParameterValueBuilder) CALDataReplyBuilder { - builder := builderSupplier(m.ParameterValue.CreateParameterValueBuilder()) - var err error - m.ParameterValue, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ParameterValueBuilder failed")) - } - return m -} - func (m *_CALDataReplyBuilder) Build() (CALDataReply, error) { if m.ParameterValue == nil { if m.err == nil { diff --git a/plc4go/protocols/cbus/readwrite/model/CALDataReset.go b/plc4go/protocols/cbus/readwrite/model/CALDataReset.go index 584400841f..0085679503 100644 --- a/plc4go/protocols/cbus/readwrite/model/CALDataReset.go +++ b/plc4go/protocols/cbus/readwrite/model/CALDataReset.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/CALDataStatus.go b/plc4go/protocols/cbus/readwrite/model/CALDataStatus.go index 60a683738e..3320b63897 100644 --- a/plc4go/protocols/cbus/readwrite/model/CALDataStatus.go +++ b/plc4go/protocols/cbus/readwrite/model/CALDataStatus.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/CALDataStatusExtended.go b/plc4go/protocols/cbus/readwrite/model/CALDataStatusExtended.go index 8ceba72892..9a452c9680 100644 --- a/plc4go/protocols/cbus/readwrite/model/CALDataStatusExtended.go +++ b/plc4go/protocols/cbus/readwrite/model/CALDataStatusExtended.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/CALDataWrite.go b/plc4go/protocols/cbus/readwrite/model/CALDataWrite.go index 6e0cf38060..3fe1485f8a 100644 --- a/plc4go/protocols/cbus/readwrite/model/CALDataWrite.go +++ b/plc4go/protocols/cbus/readwrite/model/CALDataWrite.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -92,8 +94,6 @@ type CALDataWriteBuilder interface { WithCode(byte) CALDataWriteBuilder // WithParameterValue adds ParameterValue (property field) WithParameterValue(ParameterValue) CALDataWriteBuilder - // WithParameterValueBuilder adds ParameterValue (property field) which is build by the builder - WithParameterValueBuilder(func(ParameterValueBuilder) ParameterValueBuilder) CALDataWriteBuilder // Build builds the CALDataWrite or returns an error if something is wrong Build() (CALDataWrite, error) // MustBuild does the same as Build but panics on error @@ -132,19 +132,6 @@ func (m *_CALDataWriteBuilder) WithParameterValue(parameterValue ParameterValue) return m } -func (m *_CALDataWriteBuilder) WithParameterValueBuilder(builderSupplier func(ParameterValueBuilder) ParameterValueBuilder) CALDataWriteBuilder { - builder := builderSupplier(m.ParameterValue.CreateParameterValueBuilder()) - var err error - m.ParameterValue, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ParameterValueBuilder failed")) - } - return m -} - func (m *_CALDataWriteBuilder) Build() (CALDataWrite, error) { if m.ParameterValue == nil { if m.err == nil { diff --git a/plc4go/protocols/cbus/readwrite/model/CALReply.go b/plc4go/protocols/cbus/readwrite/model/CALReply.go index ce7d00c187..adb79980ca 100644 --- a/plc4go/protocols/cbus/readwrite/model/CALReply.go +++ b/plc4go/protocols/cbus/readwrite/model/CALReply.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -104,8 +106,6 @@ type CALReplyBuilder interface { WithCalType(byte) CALReplyBuilder // WithCalData adds CalData (property field) WithCalData(CALData) CALReplyBuilder - // WithCalDataBuilder adds CalData (property field) which is build by the builder - WithCalDataBuilder(func(CALDataBuilder) CALDataBuilder) CALReplyBuilder // Build builds the CALReply or returns an error if something is wrong Build() (CALReplyContract, error) // MustBuild does the same as Build but panics on error @@ -139,19 +139,6 @@ func (m *_CALReplyBuilder) WithCalData(calData CALData) CALReplyBuilder { return m } -func (m *_CALReplyBuilder) WithCalDataBuilder(builderSupplier func(CALDataBuilder) CALDataBuilder) CALReplyBuilder { - builder := builderSupplier(m.CalData.CreateCALDataBuilder()) - var err error - m.CalData, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "CALDataBuilder failed")) - } - return m -} - func (m *_CALReplyBuilder) Build() (CALReplyContract, error) { if m.CalData == nil { if m.err == nil { diff --git a/plc4go/protocols/cbus/readwrite/model/CALReplyLong.go b/plc4go/protocols/cbus/readwrite/model/CALReplyLong.go index 8d808bad42..7874a38e71 100644 --- a/plc4go/protocols/cbus/readwrite/model/CALReplyLong.go +++ b/plc4go/protocols/cbus/readwrite/model/CALReplyLong.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/CALReplyShort.go b/plc4go/protocols/cbus/readwrite/model/CALReplyShort.go index 24cda89cc9..cdff14ea78 100644 --- a/plc4go/protocols/cbus/readwrite/model/CALReplyShort.go +++ b/plc4go/protocols/cbus/readwrite/model/CALReplyShort.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/CBusCommand.go b/plc4go/protocols/cbus/readwrite/model/CBusCommand.go index 6cdd1432c2..891de7df2d 100644 --- a/plc4go/protocols/cbus/readwrite/model/CBusCommand.go +++ b/plc4go/protocols/cbus/readwrite/model/CBusCommand.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/CBusCommandDeviceManagement.go b/plc4go/protocols/cbus/readwrite/model/CBusCommandDeviceManagement.go index caa1139de7..07fdf16790 100644 --- a/plc4go/protocols/cbus/readwrite/model/CBusCommandDeviceManagement.go +++ b/plc4go/protocols/cbus/readwrite/model/CBusCommandDeviceManagement.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/CBusCommandPointToMultiPoint.go b/plc4go/protocols/cbus/readwrite/model/CBusCommandPointToMultiPoint.go index b4a97d7453..ed0307e481 100644 --- a/plc4go/protocols/cbus/readwrite/model/CBusCommandPointToMultiPoint.go +++ b/plc4go/protocols/cbus/readwrite/model/CBusCommandPointToMultiPoint.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -80,8 +82,6 @@ type CBusCommandPointToMultiPointBuilder interface { WithMandatoryFields(command CBusPointToMultiPointCommand) CBusCommandPointToMultiPointBuilder // WithCommand adds Command (property field) WithCommand(CBusPointToMultiPointCommand) CBusCommandPointToMultiPointBuilder - // WithCommandBuilder adds Command (property field) which is build by the builder - WithCommandBuilder(func(CBusPointToMultiPointCommandBuilder) CBusPointToMultiPointCommandBuilder) CBusCommandPointToMultiPointBuilder // Build builds the CBusCommandPointToMultiPoint or returns an error if something is wrong Build() (CBusCommandPointToMultiPoint, error) // MustBuild does the same as Build but panics on error @@ -110,19 +110,6 @@ func (m *_CBusCommandPointToMultiPointBuilder) WithCommand(command CBusPointToMu return m } -func (m *_CBusCommandPointToMultiPointBuilder) WithCommandBuilder(builderSupplier func(CBusPointToMultiPointCommandBuilder) CBusPointToMultiPointCommandBuilder) CBusCommandPointToMultiPointBuilder { - builder := builderSupplier(m.Command.CreateCBusPointToMultiPointCommandBuilder()) - var err error - m.Command, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "CBusPointToMultiPointCommandBuilder failed")) - } - return m -} - func (m *_CBusCommandPointToMultiPointBuilder) Build() (CBusCommandPointToMultiPoint, error) { if m.Command == nil { if m.err == nil { diff --git a/plc4go/protocols/cbus/readwrite/model/CBusCommandPointToPoint.go b/plc4go/protocols/cbus/readwrite/model/CBusCommandPointToPoint.go index d4fc489751..03e755137e 100644 --- a/plc4go/protocols/cbus/readwrite/model/CBusCommandPointToPoint.go +++ b/plc4go/protocols/cbus/readwrite/model/CBusCommandPointToPoint.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -80,8 +82,6 @@ type CBusCommandPointToPointBuilder interface { WithMandatoryFields(command CBusPointToPointCommand) CBusCommandPointToPointBuilder // WithCommand adds Command (property field) WithCommand(CBusPointToPointCommand) CBusCommandPointToPointBuilder - // WithCommandBuilder adds Command (property field) which is build by the builder - WithCommandBuilder(func(CBusPointToPointCommandBuilder) CBusPointToPointCommandBuilder) CBusCommandPointToPointBuilder // Build builds the CBusCommandPointToPoint or returns an error if something is wrong Build() (CBusCommandPointToPoint, error) // MustBuild does the same as Build but panics on error @@ -110,19 +110,6 @@ func (m *_CBusCommandPointToPointBuilder) WithCommand(command CBusPointToPointCo return m } -func (m *_CBusCommandPointToPointBuilder) WithCommandBuilder(builderSupplier func(CBusPointToPointCommandBuilder) CBusPointToPointCommandBuilder) CBusCommandPointToPointBuilder { - builder := builderSupplier(m.Command.CreateCBusPointToPointCommandBuilder()) - var err error - m.Command, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "CBusPointToPointCommandBuilder failed")) - } - return m -} - func (m *_CBusCommandPointToPointBuilder) Build() (CBusCommandPointToPoint, error) { if m.Command == nil { if m.err == nil { diff --git a/plc4go/protocols/cbus/readwrite/model/CBusCommandPointToPointToMultiPoint.go b/plc4go/protocols/cbus/readwrite/model/CBusCommandPointToPointToMultiPoint.go index a1454ddeab..408ef3e845 100644 --- a/plc4go/protocols/cbus/readwrite/model/CBusCommandPointToPointToMultiPoint.go +++ b/plc4go/protocols/cbus/readwrite/model/CBusCommandPointToPointToMultiPoint.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -80,8 +82,6 @@ type CBusCommandPointToPointToMultiPointBuilder interface { WithMandatoryFields(command CBusPointToPointToMultiPointCommand) CBusCommandPointToPointToMultiPointBuilder // WithCommand adds Command (property field) WithCommand(CBusPointToPointToMultiPointCommand) CBusCommandPointToPointToMultiPointBuilder - // WithCommandBuilder adds Command (property field) which is build by the builder - WithCommandBuilder(func(CBusPointToPointToMultiPointCommandBuilder) CBusPointToPointToMultiPointCommandBuilder) CBusCommandPointToPointToMultiPointBuilder // Build builds the CBusCommandPointToPointToMultiPoint or returns an error if something is wrong Build() (CBusCommandPointToPointToMultiPoint, error) // MustBuild does the same as Build but panics on error @@ -110,19 +110,6 @@ func (m *_CBusCommandPointToPointToMultiPointBuilder) WithCommand(command CBusPo return m } -func (m *_CBusCommandPointToPointToMultiPointBuilder) WithCommandBuilder(builderSupplier func(CBusPointToPointToMultiPointCommandBuilder) CBusPointToPointToMultiPointCommandBuilder) CBusCommandPointToPointToMultiPointBuilder { - builder := builderSupplier(m.Command.CreateCBusPointToPointToMultiPointCommandBuilder()) - var err error - m.Command, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "CBusPointToPointToMultiPointCommandBuilder failed")) - } - return m -} - func (m *_CBusCommandPointToPointToMultiPointBuilder) Build() (CBusCommandPointToPointToMultiPoint, error) { if m.Command == nil { if m.err == nil { diff --git a/plc4go/protocols/cbus/readwrite/model/CBusConstants.go b/plc4go/protocols/cbus/readwrite/model/CBusConstants.go index 30c78baf21..9217fea90d 100644 --- a/plc4go/protocols/cbus/readwrite/model/CBusConstants.go +++ b/plc4go/protocols/cbus/readwrite/model/CBusConstants.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/CBusHeader.go b/plc4go/protocols/cbus/readwrite/model/CBusHeader.go index 4fdb36cdee..2cb46eb0d8 100644 --- a/plc4go/protocols/cbus/readwrite/model/CBusHeader.go +++ b/plc4go/protocols/cbus/readwrite/model/CBusHeader.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/CBusMessage.go b/plc4go/protocols/cbus/readwrite/model/CBusMessage.go index 35e885b83b..5846454b55 100644 --- a/plc4go/protocols/cbus/readwrite/model/CBusMessage.go +++ b/plc4go/protocols/cbus/readwrite/model/CBusMessage.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/CBusMessageToClient.go b/plc4go/protocols/cbus/readwrite/model/CBusMessageToClient.go index 1970db49b8..b2021307af 100644 --- a/plc4go/protocols/cbus/readwrite/model/CBusMessageToClient.go +++ b/plc4go/protocols/cbus/readwrite/model/CBusMessageToClient.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -80,8 +82,6 @@ type CBusMessageToClientBuilder interface { WithMandatoryFields(reply ReplyOrConfirmation) CBusMessageToClientBuilder // WithReply adds Reply (property field) WithReply(ReplyOrConfirmation) CBusMessageToClientBuilder - // WithReplyBuilder adds Reply (property field) which is build by the builder - WithReplyBuilder(func(ReplyOrConfirmationBuilder) ReplyOrConfirmationBuilder) CBusMessageToClientBuilder // Build builds the CBusMessageToClient or returns an error if something is wrong Build() (CBusMessageToClient, error) // MustBuild does the same as Build but panics on error @@ -110,19 +110,6 @@ func (m *_CBusMessageToClientBuilder) WithReply(reply ReplyOrConfirmation) CBusM return m } -func (m *_CBusMessageToClientBuilder) WithReplyBuilder(builderSupplier func(ReplyOrConfirmationBuilder) ReplyOrConfirmationBuilder) CBusMessageToClientBuilder { - builder := builderSupplier(m.Reply.CreateReplyOrConfirmationBuilder()) - var err error - m.Reply, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ReplyOrConfirmationBuilder failed")) - } - return m -} - func (m *_CBusMessageToClientBuilder) Build() (CBusMessageToClient, error) { if m.Reply == nil { if m.err == nil { diff --git a/plc4go/protocols/cbus/readwrite/model/CBusMessageToServer.go b/plc4go/protocols/cbus/readwrite/model/CBusMessageToServer.go index 404fff028b..7ffdeffee5 100644 --- a/plc4go/protocols/cbus/readwrite/model/CBusMessageToServer.go +++ b/plc4go/protocols/cbus/readwrite/model/CBusMessageToServer.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -80,8 +82,6 @@ type CBusMessageToServerBuilder interface { WithMandatoryFields(request Request) CBusMessageToServerBuilder // WithRequest adds Request (property field) WithRequest(Request) CBusMessageToServerBuilder - // WithRequestBuilder adds Request (property field) which is build by the builder - WithRequestBuilder(func(RequestBuilder) RequestBuilder) CBusMessageToServerBuilder // Build builds the CBusMessageToServer or returns an error if something is wrong Build() (CBusMessageToServer, error) // MustBuild does the same as Build but panics on error @@ -110,19 +110,6 @@ func (m *_CBusMessageToServerBuilder) WithRequest(request Request) CBusMessageTo return m } -func (m *_CBusMessageToServerBuilder) WithRequestBuilder(builderSupplier func(RequestBuilder) RequestBuilder) CBusMessageToServerBuilder { - builder := builderSupplier(m.Request.CreateRequestBuilder()) - var err error - m.Request, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "RequestBuilder failed")) - } - return m -} - func (m *_CBusMessageToServerBuilder) Build() (CBusMessageToServer, error) { if m.Request == nil { if m.err == nil { diff --git a/plc4go/protocols/cbus/readwrite/model/CBusOptions.go b/plc4go/protocols/cbus/readwrite/model/CBusOptions.go index f16649ef32..394f647a77 100644 --- a/plc4go/protocols/cbus/readwrite/model/CBusOptions.go +++ b/plc4go/protocols/cbus/readwrite/model/CBusOptions.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/CBusPointToMultiPointCommand.go b/plc4go/protocols/cbus/readwrite/model/CBusPointToMultiPointCommand.go index 6f61029801..9b0fdff4e9 100644 --- a/plc4go/protocols/cbus/readwrite/model/CBusPointToMultiPointCommand.go +++ b/plc4go/protocols/cbus/readwrite/model/CBusPointToMultiPointCommand.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/CBusPointToMultiPointCommandNormal.go b/plc4go/protocols/cbus/readwrite/model/CBusPointToMultiPointCommandNormal.go index 69cf838322..27ed1d9699 100644 --- a/plc4go/protocols/cbus/readwrite/model/CBusPointToMultiPointCommandNormal.go +++ b/plc4go/protocols/cbus/readwrite/model/CBusPointToMultiPointCommandNormal.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -88,8 +90,6 @@ type CBusPointToMultiPointCommandNormalBuilder interface { WithApplication(ApplicationIdContainer) CBusPointToMultiPointCommandNormalBuilder // WithSalData adds SalData (property field) WithSalData(SALData) CBusPointToMultiPointCommandNormalBuilder - // WithSalDataBuilder adds SalData (property field) which is build by the builder - WithSalDataBuilder(func(SALDataBuilder) SALDataBuilder) CBusPointToMultiPointCommandNormalBuilder // Build builds the CBusPointToMultiPointCommandNormal or returns an error if something is wrong Build() (CBusPointToMultiPointCommandNormal, error) // MustBuild does the same as Build but panics on error @@ -123,19 +123,6 @@ func (m *_CBusPointToMultiPointCommandNormalBuilder) WithSalData(salData SALData return m } -func (m *_CBusPointToMultiPointCommandNormalBuilder) WithSalDataBuilder(builderSupplier func(SALDataBuilder) SALDataBuilder) CBusPointToMultiPointCommandNormalBuilder { - builder := builderSupplier(m.SalData.CreateSALDataBuilder()) - var err error - m.SalData, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "SALDataBuilder failed")) - } - return m -} - func (m *_CBusPointToMultiPointCommandNormalBuilder) Build() (CBusPointToMultiPointCommandNormal, error) { if m.SalData == nil { if m.err == nil { diff --git a/plc4go/protocols/cbus/readwrite/model/CBusPointToMultiPointCommandStatus.go b/plc4go/protocols/cbus/readwrite/model/CBusPointToMultiPointCommandStatus.go index 3dc71f4384..0db873da37 100644 --- a/plc4go/protocols/cbus/readwrite/model/CBusPointToMultiPointCommandStatus.go +++ b/plc4go/protocols/cbus/readwrite/model/CBusPointToMultiPointCommandStatus.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -83,8 +85,6 @@ type CBusPointToMultiPointCommandStatusBuilder interface { WithMandatoryFields(statusRequest StatusRequest) CBusPointToMultiPointCommandStatusBuilder // WithStatusRequest adds StatusRequest (property field) WithStatusRequest(StatusRequest) CBusPointToMultiPointCommandStatusBuilder - // WithStatusRequestBuilder adds StatusRequest (property field) which is build by the builder - WithStatusRequestBuilder(func(StatusRequestBuilder) StatusRequestBuilder) CBusPointToMultiPointCommandStatusBuilder // Build builds the CBusPointToMultiPointCommandStatus or returns an error if something is wrong Build() (CBusPointToMultiPointCommandStatus, error) // MustBuild does the same as Build but panics on error @@ -113,19 +113,6 @@ func (m *_CBusPointToMultiPointCommandStatusBuilder) WithStatusRequest(statusReq return m } -func (m *_CBusPointToMultiPointCommandStatusBuilder) WithStatusRequestBuilder(builderSupplier func(StatusRequestBuilder) StatusRequestBuilder) CBusPointToMultiPointCommandStatusBuilder { - builder := builderSupplier(m.StatusRequest.CreateStatusRequestBuilder()) - var err error - m.StatusRequest, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "StatusRequestBuilder failed")) - } - return m -} - func (m *_CBusPointToMultiPointCommandStatusBuilder) Build() (CBusPointToMultiPointCommandStatus, error) { if m.StatusRequest == nil { if m.err == nil { diff --git a/plc4go/protocols/cbus/readwrite/model/CBusPointToPointCommand.go b/plc4go/protocols/cbus/readwrite/model/CBusPointToPointCommand.go index 465933478b..a39f1c3248 100644 --- a/plc4go/protocols/cbus/readwrite/model/CBusPointToPointCommand.go +++ b/plc4go/protocols/cbus/readwrite/model/CBusPointToPointCommand.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -103,8 +105,6 @@ type CBusPointToPointCommandBuilder interface { WithBridgeAddressCountPeek(uint16) CBusPointToPointCommandBuilder // WithCalData adds CalData (property field) WithCalData(CALData) CBusPointToPointCommandBuilder - // WithCalDataBuilder adds CalData (property field) which is build by the builder - WithCalDataBuilder(func(CALDataBuilder) CALDataBuilder) CBusPointToPointCommandBuilder // Build builds the CBusPointToPointCommand or returns an error if something is wrong Build() (CBusPointToPointCommandContract, error) // MustBuild does the same as Build but panics on error @@ -138,19 +138,6 @@ func (m *_CBusPointToPointCommandBuilder) WithCalData(calData CALData) CBusPoint return m } -func (m *_CBusPointToPointCommandBuilder) WithCalDataBuilder(builderSupplier func(CALDataBuilder) CALDataBuilder) CBusPointToPointCommandBuilder { - builder := builderSupplier(m.CalData.CreateCALDataBuilder()) - var err error - m.CalData, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "CALDataBuilder failed")) - } - return m -} - func (m *_CBusPointToPointCommandBuilder) Build() (CBusPointToPointCommandContract, error) { if m.CalData == nil { if m.err == nil { diff --git a/plc4go/protocols/cbus/readwrite/model/CBusPointToPointCommandDirect.go b/plc4go/protocols/cbus/readwrite/model/CBusPointToPointCommandDirect.go index 6de6a28b12..3cff125b9e 100644 --- a/plc4go/protocols/cbus/readwrite/model/CBusPointToPointCommandDirect.go +++ b/plc4go/protocols/cbus/readwrite/model/CBusPointToPointCommandDirect.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/CBusPointToPointCommandIndirect.go b/plc4go/protocols/cbus/readwrite/model/CBusPointToPointCommandIndirect.go index 3702bc7173..e13247067e 100644 --- a/plc4go/protocols/cbus/readwrite/model/CBusPointToPointCommandIndirect.go +++ b/plc4go/protocols/cbus/readwrite/model/CBusPointToPointCommandIndirect.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/CBusPointToPointToMultiPointCommand.go b/plc4go/protocols/cbus/readwrite/model/CBusPointToPointToMultiPointCommand.go index d6ae39582e..611ad99fd4 100644 --- a/plc4go/protocols/cbus/readwrite/model/CBusPointToPointToMultiPointCommand.go +++ b/plc4go/protocols/cbus/readwrite/model/CBusPointToPointToMultiPointCommand.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/CBusPointToPointToMultiPointCommandNormal.go b/plc4go/protocols/cbus/readwrite/model/CBusPointToPointToMultiPointCommandNormal.go index 433674d905..2f37a788a7 100644 --- a/plc4go/protocols/cbus/readwrite/model/CBusPointToPointToMultiPointCommandNormal.go +++ b/plc4go/protocols/cbus/readwrite/model/CBusPointToPointToMultiPointCommandNormal.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -86,8 +88,6 @@ type CBusPointToPointToMultiPointCommandNormalBuilder interface { WithApplication(ApplicationIdContainer) CBusPointToPointToMultiPointCommandNormalBuilder // WithSalData adds SalData (property field) WithSalData(SALData) CBusPointToPointToMultiPointCommandNormalBuilder - // WithSalDataBuilder adds SalData (property field) which is build by the builder - WithSalDataBuilder(func(SALDataBuilder) SALDataBuilder) CBusPointToPointToMultiPointCommandNormalBuilder // Build builds the CBusPointToPointToMultiPointCommandNormal or returns an error if something is wrong Build() (CBusPointToPointToMultiPointCommandNormal, error) // MustBuild does the same as Build but panics on error @@ -121,19 +121,6 @@ func (m *_CBusPointToPointToMultiPointCommandNormalBuilder) WithSalData(salData return m } -func (m *_CBusPointToPointToMultiPointCommandNormalBuilder) WithSalDataBuilder(builderSupplier func(SALDataBuilder) SALDataBuilder) CBusPointToPointToMultiPointCommandNormalBuilder { - builder := builderSupplier(m.SalData.CreateSALDataBuilder()) - var err error - m.SalData, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "SALDataBuilder failed")) - } - return m -} - func (m *_CBusPointToPointToMultiPointCommandNormalBuilder) Build() (CBusPointToPointToMultiPointCommandNormal, error) { if m.SalData == nil { if m.err == nil { diff --git a/plc4go/protocols/cbus/readwrite/model/CBusPointToPointToMultiPointCommandStatus.go b/plc4go/protocols/cbus/readwrite/model/CBusPointToPointToMultiPointCommandStatus.go index ac05393018..f02b1aa7da 100644 --- a/plc4go/protocols/cbus/readwrite/model/CBusPointToPointToMultiPointCommandStatus.go +++ b/plc4go/protocols/cbus/readwrite/model/CBusPointToPointToMultiPointCommandStatus.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -82,8 +84,6 @@ type CBusPointToPointToMultiPointCommandStatusBuilder interface { WithMandatoryFields(statusRequest StatusRequest) CBusPointToPointToMultiPointCommandStatusBuilder // WithStatusRequest adds StatusRequest (property field) WithStatusRequest(StatusRequest) CBusPointToPointToMultiPointCommandStatusBuilder - // WithStatusRequestBuilder adds StatusRequest (property field) which is build by the builder - WithStatusRequestBuilder(func(StatusRequestBuilder) StatusRequestBuilder) CBusPointToPointToMultiPointCommandStatusBuilder // Build builds the CBusPointToPointToMultiPointCommandStatus or returns an error if something is wrong Build() (CBusPointToPointToMultiPointCommandStatus, error) // MustBuild does the same as Build but panics on error @@ -112,19 +112,6 @@ func (m *_CBusPointToPointToMultiPointCommandStatusBuilder) WithStatusRequest(st return m } -func (m *_CBusPointToPointToMultiPointCommandStatusBuilder) WithStatusRequestBuilder(builderSupplier func(StatusRequestBuilder) StatusRequestBuilder) CBusPointToPointToMultiPointCommandStatusBuilder { - builder := builderSupplier(m.StatusRequest.CreateStatusRequestBuilder()) - var err error - m.StatusRequest, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "StatusRequestBuilder failed")) - } - return m -} - func (m *_CBusPointToPointToMultiPointCommandStatusBuilder) Build() (CBusPointToPointToMultiPointCommandStatus, error) { if m.StatusRequest == nil { if m.err == nil { diff --git a/plc4go/protocols/cbus/readwrite/model/ChannelStatus.go b/plc4go/protocols/cbus/readwrite/model/ChannelStatus.go index f87c788fcd..9f0ccfc6b0 100644 --- a/plc4go/protocols/cbus/readwrite/model/ChannelStatus.go +++ b/plc4go/protocols/cbus/readwrite/model/ChannelStatus.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/Checksum.go b/plc4go/protocols/cbus/readwrite/model/Checksum.go index 11ddde0ed1..beab9a6b1f 100644 --- a/plc4go/protocols/cbus/readwrite/model/Checksum.go +++ b/plc4go/protocols/cbus/readwrite/model/Checksum.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/ClockAndTimekeepingCommandType.go b/plc4go/protocols/cbus/readwrite/model/ClockAndTimekeepingCommandType.go index 6731287cfe..c049acdd4f 100644 --- a/plc4go/protocols/cbus/readwrite/model/ClockAndTimekeepingCommandType.go +++ b/plc4go/protocols/cbus/readwrite/model/ClockAndTimekeepingCommandType.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/ClockAndTimekeepingCommandTypeContainer.go b/plc4go/protocols/cbus/readwrite/model/ClockAndTimekeepingCommandTypeContainer.go index ecb1ef6231..8aaad66e15 100644 --- a/plc4go/protocols/cbus/readwrite/model/ClockAndTimekeepingCommandTypeContainer.go +++ b/plc4go/protocols/cbus/readwrite/model/ClockAndTimekeepingCommandTypeContainer.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/ClockAndTimekeepingData.go b/plc4go/protocols/cbus/readwrite/model/ClockAndTimekeepingData.go index 37fe14ef78..97c9189dc0 100644 --- a/plc4go/protocols/cbus/readwrite/model/ClockAndTimekeepingData.go +++ b/plc4go/protocols/cbus/readwrite/model/ClockAndTimekeepingData.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/ClockAndTimekeepingDataRequestRefresh.go b/plc4go/protocols/cbus/readwrite/model/ClockAndTimekeepingDataRequestRefresh.go index 7b01bf2598..83839adc38 100644 --- a/plc4go/protocols/cbus/readwrite/model/ClockAndTimekeepingDataRequestRefresh.go +++ b/plc4go/protocols/cbus/readwrite/model/ClockAndTimekeepingDataRequestRefresh.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/ClockAndTimekeepingDataUpdateDate.go b/plc4go/protocols/cbus/readwrite/model/ClockAndTimekeepingDataUpdateDate.go index 7e1ffa0845..77a3bbc607 100644 --- a/plc4go/protocols/cbus/readwrite/model/ClockAndTimekeepingDataUpdateDate.go +++ b/plc4go/protocols/cbus/readwrite/model/ClockAndTimekeepingDataUpdateDate.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/ClockAndTimekeepingDataUpdateTime.go b/plc4go/protocols/cbus/readwrite/model/ClockAndTimekeepingDataUpdateTime.go index 40858938df..2996d34c2a 100644 --- a/plc4go/protocols/cbus/readwrite/model/ClockAndTimekeepingDataUpdateTime.go +++ b/plc4go/protocols/cbus/readwrite/model/ClockAndTimekeepingDataUpdateTime.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/Confirmation.go b/plc4go/protocols/cbus/readwrite/model/Confirmation.go index 759423e85a..6a0ffaae25 100644 --- a/plc4go/protocols/cbus/readwrite/model/Confirmation.go +++ b/plc4go/protocols/cbus/readwrite/model/Confirmation.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/ConfirmationType.go b/plc4go/protocols/cbus/readwrite/model/ConfirmationType.go index 3383aa0270..9cd299fb13 100644 --- a/plc4go/protocols/cbus/readwrite/model/ConfirmationType.go +++ b/plc4go/protocols/cbus/readwrite/model/ConfirmationType.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/CustomManufacturer.go b/plc4go/protocols/cbus/readwrite/model/CustomManufacturer.go index 448e643829..1fec831b92 100644 --- a/plc4go/protocols/cbus/readwrite/model/CustomManufacturer.go +++ b/plc4go/protocols/cbus/readwrite/model/CustomManufacturer.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/CustomTypes.go b/plc4go/protocols/cbus/readwrite/model/CustomTypes.go index 59c255fd1a..c14f90c859 100644 --- a/plc4go/protocols/cbus/readwrite/model/CustomTypes.go +++ b/plc4go/protocols/cbus/readwrite/model/CustomTypes.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/DestinationAddressType.go b/plc4go/protocols/cbus/readwrite/model/DestinationAddressType.go index a87e68fabe..8da0e3387b 100644 --- a/plc4go/protocols/cbus/readwrite/model/DestinationAddressType.go +++ b/plc4go/protocols/cbus/readwrite/model/DestinationAddressType.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/DialInFailureReason.go b/plc4go/protocols/cbus/readwrite/model/DialInFailureReason.go index 14f2f4e91e..29a5dd377a 100644 --- a/plc4go/protocols/cbus/readwrite/model/DialInFailureReason.go +++ b/plc4go/protocols/cbus/readwrite/model/DialInFailureReason.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/DialOutFailureReason.go b/plc4go/protocols/cbus/readwrite/model/DialOutFailureReason.go index f9e9f16d02..e145a2412b 100644 --- a/plc4go/protocols/cbus/readwrite/model/DialOutFailureReason.go +++ b/plc4go/protocols/cbus/readwrite/model/DialOutFailureReason.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/EnableControlCommandType.go b/plc4go/protocols/cbus/readwrite/model/EnableControlCommandType.go index 195a8f4234..838899eb37 100644 --- a/plc4go/protocols/cbus/readwrite/model/EnableControlCommandType.go +++ b/plc4go/protocols/cbus/readwrite/model/EnableControlCommandType.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/EnableControlCommandTypeContainer.go b/plc4go/protocols/cbus/readwrite/model/EnableControlCommandTypeContainer.go index b60cb5026f..bb37f67cad 100644 --- a/plc4go/protocols/cbus/readwrite/model/EnableControlCommandTypeContainer.go +++ b/plc4go/protocols/cbus/readwrite/model/EnableControlCommandTypeContainer.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/EnableControlData.go b/plc4go/protocols/cbus/readwrite/model/EnableControlData.go index bef17f3216..a35b1af04f 100644 --- a/plc4go/protocols/cbus/readwrite/model/EnableControlData.go +++ b/plc4go/protocols/cbus/readwrite/model/EnableControlData.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/EncodedReply.go b/plc4go/protocols/cbus/readwrite/model/EncodedReply.go index 18a9648755..d6d888ba81 100644 --- a/plc4go/protocols/cbus/readwrite/model/EncodedReply.go +++ b/plc4go/protocols/cbus/readwrite/model/EncodedReply.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/EncodedReplyCALReply.go b/plc4go/protocols/cbus/readwrite/model/EncodedReplyCALReply.go index 8fcbd07154..cf7236b6ac 100644 --- a/plc4go/protocols/cbus/readwrite/model/EncodedReplyCALReply.go +++ b/plc4go/protocols/cbus/readwrite/model/EncodedReplyCALReply.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -80,8 +82,6 @@ type EncodedReplyCALReplyBuilder interface { WithMandatoryFields(calReply CALReply) EncodedReplyCALReplyBuilder // WithCalReply adds CalReply (property field) WithCalReply(CALReply) EncodedReplyCALReplyBuilder - // WithCalReplyBuilder adds CalReply (property field) which is build by the builder - WithCalReplyBuilder(func(CALReplyBuilder) CALReplyBuilder) EncodedReplyCALReplyBuilder // Build builds the EncodedReplyCALReply or returns an error if something is wrong Build() (EncodedReplyCALReply, error) // MustBuild does the same as Build but panics on error @@ -110,19 +110,6 @@ func (m *_EncodedReplyCALReplyBuilder) WithCalReply(calReply CALReply) EncodedRe return m } -func (m *_EncodedReplyCALReplyBuilder) WithCalReplyBuilder(builderSupplier func(CALReplyBuilder) CALReplyBuilder) EncodedReplyCALReplyBuilder { - builder := builderSupplier(m.CalReply.CreateCALReplyBuilder()) - var err error - m.CalReply, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "CALReplyBuilder failed")) - } - return m -} - func (m *_EncodedReplyCALReplyBuilder) Build() (EncodedReplyCALReply, error) { if m.CalReply == nil { if m.err == nil { diff --git a/plc4go/protocols/cbus/readwrite/model/ErrorReportingCommandType.go b/plc4go/protocols/cbus/readwrite/model/ErrorReportingCommandType.go index 53a9070753..3000f3d0cb 100644 --- a/plc4go/protocols/cbus/readwrite/model/ErrorReportingCommandType.go +++ b/plc4go/protocols/cbus/readwrite/model/ErrorReportingCommandType.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/ErrorReportingCommandTypeContainer.go b/plc4go/protocols/cbus/readwrite/model/ErrorReportingCommandTypeContainer.go index 531f0a48b3..a619b08219 100644 --- a/plc4go/protocols/cbus/readwrite/model/ErrorReportingCommandTypeContainer.go +++ b/plc4go/protocols/cbus/readwrite/model/ErrorReportingCommandTypeContainer.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/ErrorReportingData.go b/plc4go/protocols/cbus/readwrite/model/ErrorReportingData.go index a7a8f1aec1..7e8d7c6476 100644 --- a/plc4go/protocols/cbus/readwrite/model/ErrorReportingData.go +++ b/plc4go/protocols/cbus/readwrite/model/ErrorReportingData.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/ErrorReportingDataGeneric.go b/plc4go/protocols/cbus/readwrite/model/ErrorReportingDataGeneric.go index 8a0d760f9c..c15093859e 100644 --- a/plc4go/protocols/cbus/readwrite/model/ErrorReportingDataGeneric.go +++ b/plc4go/protocols/cbus/readwrite/model/ErrorReportingDataGeneric.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/ErrorReportingSeverity.go b/plc4go/protocols/cbus/readwrite/model/ErrorReportingSeverity.go index 2fd7366914..2413606c80 100644 --- a/plc4go/protocols/cbus/readwrite/model/ErrorReportingSeverity.go +++ b/plc4go/protocols/cbus/readwrite/model/ErrorReportingSeverity.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategory.go b/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategory.go index 1c2b45a18e..a77f10fb3d 100644 --- a/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategory.go +++ b/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategory.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -80,8 +82,6 @@ type ErrorReportingSystemCategoryBuilder interface { WithSystemCategoryClass(ErrorReportingSystemCategoryClass) ErrorReportingSystemCategoryBuilder // WithSystemCategoryType adds SystemCategoryType (property field) WithSystemCategoryType(ErrorReportingSystemCategoryType) ErrorReportingSystemCategoryBuilder - // WithSystemCategoryTypeBuilder adds SystemCategoryType (property field) which is build by the builder - WithSystemCategoryTypeBuilder(func(ErrorReportingSystemCategoryTypeBuilder) ErrorReportingSystemCategoryTypeBuilder) ErrorReportingSystemCategoryBuilder // WithSystemCategoryVariant adds SystemCategoryVariant (property field) WithSystemCategoryVariant(ErrorReportingSystemCategoryVariant) ErrorReportingSystemCategoryBuilder // Build builds the ErrorReportingSystemCategory or returns an error if something is wrong @@ -117,19 +117,6 @@ func (m *_ErrorReportingSystemCategoryBuilder) WithSystemCategoryType(systemCate return m } -func (m *_ErrorReportingSystemCategoryBuilder) WithSystemCategoryTypeBuilder(builderSupplier func(ErrorReportingSystemCategoryTypeBuilder) ErrorReportingSystemCategoryTypeBuilder) ErrorReportingSystemCategoryBuilder { - builder := builderSupplier(m.SystemCategoryType.CreateErrorReportingSystemCategoryTypeBuilder()) - var err error - m.SystemCategoryType, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ErrorReportingSystemCategoryTypeBuilder failed")) - } - return m -} - func (m *_ErrorReportingSystemCategoryBuilder) WithSystemCategoryVariant(systemCategoryVariant ErrorReportingSystemCategoryVariant) ErrorReportingSystemCategoryBuilder { m.SystemCategoryVariant = systemCategoryVariant return m diff --git a/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryClass.go b/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryClass.go index 96b1da2dfa..3bfea9f018 100644 --- a/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryClass.go +++ b/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryClass.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryType.go b/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryType.go index bd398d806b..8410fee5a0 100644 --- a/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryType.go +++ b/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryType.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryTypeBuildingManagementSystems.go b/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryTypeBuildingManagementSystems.go index a6c7cedb62..cd0a726fab 100644 --- a/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryTypeBuildingManagementSystems.go +++ b/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryTypeBuildingManagementSystems.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryTypeClimateControllers.go b/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryTypeClimateControllers.go index ef80998f76..382cd763c6 100644 --- a/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryTypeClimateControllers.go +++ b/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryTypeClimateControllers.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryTypeForBuildingManagementSystems.go b/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryTypeForBuildingManagementSystems.go index 2f874c7d14..85fc1a8128 100644 --- a/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryTypeForBuildingManagementSystems.go +++ b/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryTypeForBuildingManagementSystems.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryTypeForClimateControllers.go b/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryTypeForClimateControllers.go index d4ee98001b..f197f76372 100644 --- a/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryTypeForClimateControllers.go +++ b/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryTypeForClimateControllers.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryTypeForInputUnits.go b/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryTypeForInputUnits.go index 469233d5c5..d2c6cb406e 100644 --- a/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryTypeForInputUnits.go +++ b/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryTypeForInputUnits.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryTypeForOutputUnits.go b/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryTypeForOutputUnits.go index b0e7c89f28..46983621c2 100644 --- a/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryTypeForOutputUnits.go +++ b/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryTypeForOutputUnits.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryTypeForSupportUnits.go b/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryTypeForSupportUnits.go index 6f18cefe8c..4b2172cb58 100644 --- a/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryTypeForSupportUnits.go +++ b/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryTypeForSupportUnits.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryTypeInputUnits.go b/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryTypeInputUnits.go index 7e033ebd1d..fa70b775e9 100644 --- a/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryTypeInputUnits.go +++ b/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryTypeInputUnits.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryTypeOutputUnits.go b/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryTypeOutputUnits.go index 1ac085ec00..89af5dd756 100644 --- a/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryTypeOutputUnits.go +++ b/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryTypeOutputUnits.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryTypeReserved.go b/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryTypeReserved.go index 81c9cb21a2..13b8a62131 100644 --- a/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryTypeReserved.go +++ b/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryTypeReserved.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryTypeSupportUnits.go b/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryTypeSupportUnits.go index 65793a96ab..c4c16e0cd5 100644 --- a/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryTypeSupportUnits.go +++ b/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryTypeSupportUnits.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryVariant.go b/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryVariant.go index 1b54245a6e..1237401108 100644 --- a/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryVariant.go +++ b/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryVariant.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/GAVState.go b/plc4go/protocols/cbus/readwrite/model/GAVState.go index 6b4d844738..ab9f9acd62 100644 --- a/plc4go/protocols/cbus/readwrite/model/GAVState.go +++ b/plc4go/protocols/cbus/readwrite/model/GAVState.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/HVACAuxiliaryLevel.go b/plc4go/protocols/cbus/readwrite/model/HVACAuxiliaryLevel.go index 30c5bad129..7f3afc6cb5 100644 --- a/plc4go/protocols/cbus/readwrite/model/HVACAuxiliaryLevel.go +++ b/plc4go/protocols/cbus/readwrite/model/HVACAuxiliaryLevel.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/HVACError.go b/plc4go/protocols/cbus/readwrite/model/HVACError.go index d1bd3cf388..eb862d9f55 100644 --- a/plc4go/protocols/cbus/readwrite/model/HVACError.go +++ b/plc4go/protocols/cbus/readwrite/model/HVACError.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/HVACHumidity.go b/plc4go/protocols/cbus/readwrite/model/HVACHumidity.go index b8905cdd25..75db2bb1ea 100644 --- a/plc4go/protocols/cbus/readwrite/model/HVACHumidity.go +++ b/plc4go/protocols/cbus/readwrite/model/HVACHumidity.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/HVACHumidityError.go b/plc4go/protocols/cbus/readwrite/model/HVACHumidityError.go index b12b665412..173547d8b9 100644 --- a/plc4go/protocols/cbus/readwrite/model/HVACHumidityError.go +++ b/plc4go/protocols/cbus/readwrite/model/HVACHumidityError.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/HVACHumidityModeAndFlags.go b/plc4go/protocols/cbus/readwrite/model/HVACHumidityModeAndFlags.go index b38e9ed89f..62b5768fb9 100644 --- a/plc4go/protocols/cbus/readwrite/model/HVACHumidityModeAndFlags.go +++ b/plc4go/protocols/cbus/readwrite/model/HVACHumidityModeAndFlags.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/HVACHumidityModeAndFlagsMode.go b/plc4go/protocols/cbus/readwrite/model/HVACHumidityModeAndFlagsMode.go index 2c032985dc..e08105ba5e 100644 --- a/plc4go/protocols/cbus/readwrite/model/HVACHumidityModeAndFlagsMode.go +++ b/plc4go/protocols/cbus/readwrite/model/HVACHumidityModeAndFlagsMode.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/HVACHumidityStatusFlags.go b/plc4go/protocols/cbus/readwrite/model/HVACHumidityStatusFlags.go index 9fbc4e6098..eb16afb1f5 100644 --- a/plc4go/protocols/cbus/readwrite/model/HVACHumidityStatusFlags.go +++ b/plc4go/protocols/cbus/readwrite/model/HVACHumidityStatusFlags.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/HVACHumidityType.go b/plc4go/protocols/cbus/readwrite/model/HVACHumidityType.go index 8f27b6b6e9..1e662f70fb 100644 --- a/plc4go/protocols/cbus/readwrite/model/HVACHumidityType.go +++ b/plc4go/protocols/cbus/readwrite/model/HVACHumidityType.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/HVACModeAndFlags.go b/plc4go/protocols/cbus/readwrite/model/HVACModeAndFlags.go index ceba2b7d07..a5a60c0504 100644 --- a/plc4go/protocols/cbus/readwrite/model/HVACModeAndFlags.go +++ b/plc4go/protocols/cbus/readwrite/model/HVACModeAndFlags.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/HVACModeAndFlagsMode.go b/plc4go/protocols/cbus/readwrite/model/HVACModeAndFlagsMode.go index 0fbdeb7c8f..bc08710423 100644 --- a/plc4go/protocols/cbus/readwrite/model/HVACModeAndFlagsMode.go +++ b/plc4go/protocols/cbus/readwrite/model/HVACModeAndFlagsMode.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/HVACRawLevels.go b/plc4go/protocols/cbus/readwrite/model/HVACRawLevels.go index ed5d872a1a..9ecd9685d1 100644 --- a/plc4go/protocols/cbus/readwrite/model/HVACRawLevels.go +++ b/plc4go/protocols/cbus/readwrite/model/HVACRawLevels.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/HVACSensorStatus.go b/plc4go/protocols/cbus/readwrite/model/HVACSensorStatus.go index a6b0eceed8..de68ea83e3 100644 --- a/plc4go/protocols/cbus/readwrite/model/HVACSensorStatus.go +++ b/plc4go/protocols/cbus/readwrite/model/HVACSensorStatus.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/HVACStartTime.go b/plc4go/protocols/cbus/readwrite/model/HVACStartTime.go index f3e4fe4f03..443e34c3cb 100644 --- a/plc4go/protocols/cbus/readwrite/model/HVACStartTime.go +++ b/plc4go/protocols/cbus/readwrite/model/HVACStartTime.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/HVACStatusFlags.go b/plc4go/protocols/cbus/readwrite/model/HVACStatusFlags.go index f820fd7ecd..470bb155d4 100644 --- a/plc4go/protocols/cbus/readwrite/model/HVACStatusFlags.go +++ b/plc4go/protocols/cbus/readwrite/model/HVACStatusFlags.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/HVACTemperature.go b/plc4go/protocols/cbus/readwrite/model/HVACTemperature.go index a2c2ae67a2..2a28ec7a79 100644 --- a/plc4go/protocols/cbus/readwrite/model/HVACTemperature.go +++ b/plc4go/protocols/cbus/readwrite/model/HVACTemperature.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/HVACType.go b/plc4go/protocols/cbus/readwrite/model/HVACType.go index 1ac39e981a..b4dd20bec0 100644 --- a/plc4go/protocols/cbus/readwrite/model/HVACType.go +++ b/plc4go/protocols/cbus/readwrite/model/HVACType.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/HVACZoneList.go b/plc4go/protocols/cbus/readwrite/model/HVACZoneList.go index 283fa1c780..99eab6fb01 100644 --- a/plc4go/protocols/cbus/readwrite/model/HVACZoneList.go +++ b/plc4go/protocols/cbus/readwrite/model/HVACZoneList.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommand.go b/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommand.go index a90848f359..bfe85be350 100644 --- a/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommand.go +++ b/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommand.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandCurrentSenseLevels.go b/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandCurrentSenseLevels.go index 4313ccad6b..4c33873421 100644 --- a/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandCurrentSenseLevels.go +++ b/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandCurrentSenseLevels.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandDSIStatus.go b/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandDSIStatus.go index 6455681dd6..a658d3e73c 100644 --- a/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandDSIStatus.go +++ b/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandDSIStatus.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandDelays.go b/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandDelays.go index e7e41d0f6a..9c982aa96e 100644 --- a/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandDelays.go +++ b/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandDelays.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandExtendedDiagnosticSummary.go b/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandExtendedDiagnosticSummary.go index 7eaa4b2fb3..61e598b512 100644 --- a/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandExtendedDiagnosticSummary.go +++ b/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandExtendedDiagnosticSummary.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandFirmwareVersion.go b/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandFirmwareVersion.go index 591035f5c0..84ff27d9dc 100644 --- a/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandFirmwareVersion.go +++ b/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandFirmwareVersion.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandGAVPhysicalAddresses.go b/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandGAVPhysicalAddresses.go index a2b616765a..293d0d9e5c 100644 --- a/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandGAVPhysicalAddresses.go +++ b/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandGAVPhysicalAddresses.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandGAVValuesCurrent.go b/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandGAVValuesCurrent.go index 71c26e913b..80136ecdca 100644 --- a/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandGAVValuesCurrent.go +++ b/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandGAVValuesCurrent.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandGAVValuesStored.go b/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandGAVValuesStored.go index b22bd38c16..7ecac8e9bd 100644 --- a/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandGAVValuesStored.go +++ b/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandGAVValuesStored.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandLogicalAssignment.go b/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandLogicalAssignment.go index 9ec128933a..2f01cf9854 100644 --- a/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandLogicalAssignment.go +++ b/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandLogicalAssignment.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandManufacturer.go b/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandManufacturer.go index 01bc13729e..b47db2c785 100644 --- a/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandManufacturer.go +++ b/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandManufacturer.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandMaximumLevels.go b/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandMaximumLevels.go index 272d1295ec..ad2f839770 100644 --- a/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandMaximumLevels.go +++ b/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandMaximumLevels.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandMinimumLevels.go b/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandMinimumLevels.go index 3b1a680828..b6e3e531cb 100644 --- a/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandMinimumLevels.go +++ b/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandMinimumLevels.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandNetworkTerminalLevels.go b/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandNetworkTerminalLevels.go index 377bb27046..1bb52cc16b 100644 --- a/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandNetworkTerminalLevels.go +++ b/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandNetworkTerminalLevels.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandNetworkVoltage.go b/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandNetworkVoltage.go index a65ad7e5df..6429664bc3 100644 --- a/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandNetworkVoltage.go +++ b/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandNetworkVoltage.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandOutputUnitSummary.go b/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandOutputUnitSummary.go index 1c69fca907..0c72069c5a 100644 --- a/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandOutputUnitSummary.go +++ b/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandOutputUnitSummary.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandSummary.go b/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandSummary.go index 62b267889a..20ed1b2628 100644 --- a/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandSummary.go +++ b/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandSummary.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandTerminalLevels.go b/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandTerminalLevels.go index 1f5851223e..545b9544af 100644 --- a/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandTerminalLevels.go +++ b/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandTerminalLevels.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandType.go b/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandType.go index 35b5147866..74166a8ae1 100644 --- a/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandType.go +++ b/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandUnitSummary.go b/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandUnitSummary.go index 53eac69a8f..8459a1ef67 100644 --- a/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandUnitSummary.go +++ b/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandUnitSummary.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/InterfaceOptions1.go b/plc4go/protocols/cbus/readwrite/model/InterfaceOptions1.go index 109c7e8598..dbf4bfaf0c 100644 --- a/plc4go/protocols/cbus/readwrite/model/InterfaceOptions1.go +++ b/plc4go/protocols/cbus/readwrite/model/InterfaceOptions1.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/InterfaceOptions1PowerUpSettings.go b/plc4go/protocols/cbus/readwrite/model/InterfaceOptions1PowerUpSettings.go index 9e7e749f34..4955bbd555 100644 --- a/plc4go/protocols/cbus/readwrite/model/InterfaceOptions1PowerUpSettings.go +++ b/plc4go/protocols/cbus/readwrite/model/InterfaceOptions1PowerUpSettings.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/InterfaceOptions2.go b/plc4go/protocols/cbus/readwrite/model/InterfaceOptions2.go index e178d9c11d..0c7982118e 100644 --- a/plc4go/protocols/cbus/readwrite/model/InterfaceOptions2.go +++ b/plc4go/protocols/cbus/readwrite/model/InterfaceOptions2.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/InterfaceOptions3.go b/plc4go/protocols/cbus/readwrite/model/InterfaceOptions3.go index 9cf2bdcf8c..cb250f346a 100644 --- a/plc4go/protocols/cbus/readwrite/model/InterfaceOptions3.go +++ b/plc4go/protocols/cbus/readwrite/model/InterfaceOptions3.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/Language.go b/plc4go/protocols/cbus/readwrite/model/Language.go index 239c2e0939..2fe78b6ab1 100644 --- a/plc4go/protocols/cbus/readwrite/model/Language.go +++ b/plc4go/protocols/cbus/readwrite/model/Language.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/LevelInformation.go b/plc4go/protocols/cbus/readwrite/model/LevelInformation.go index aec90e38a1..231544b001 100644 --- a/plc4go/protocols/cbus/readwrite/model/LevelInformation.go +++ b/plc4go/protocols/cbus/readwrite/model/LevelInformation.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/LevelInformationAbsent.go b/plc4go/protocols/cbus/readwrite/model/LevelInformationAbsent.go index 31df3c632f..8c70d0ff76 100644 --- a/plc4go/protocols/cbus/readwrite/model/LevelInformationAbsent.go +++ b/plc4go/protocols/cbus/readwrite/model/LevelInformationAbsent.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/LevelInformationCorrupted.go b/plc4go/protocols/cbus/readwrite/model/LevelInformationCorrupted.go index e30079f9ee..e5a8bc565b 100644 --- a/plc4go/protocols/cbus/readwrite/model/LevelInformationCorrupted.go +++ b/plc4go/protocols/cbus/readwrite/model/LevelInformationCorrupted.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/LevelInformationNibblePair.go b/plc4go/protocols/cbus/readwrite/model/LevelInformationNibblePair.go index d6d4f04aa5..195472859c 100644 --- a/plc4go/protocols/cbus/readwrite/model/LevelInformationNibblePair.go +++ b/plc4go/protocols/cbus/readwrite/model/LevelInformationNibblePair.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/LevelInformationNormal.go b/plc4go/protocols/cbus/readwrite/model/LevelInformationNormal.go index e7aff7ffa0..c8a1616558 100644 --- a/plc4go/protocols/cbus/readwrite/model/LevelInformationNormal.go +++ b/plc4go/protocols/cbus/readwrite/model/LevelInformationNormal.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/LightingCommandType.go b/plc4go/protocols/cbus/readwrite/model/LightingCommandType.go index 498920ccc1..6951cdc4a0 100644 --- a/plc4go/protocols/cbus/readwrite/model/LightingCommandType.go +++ b/plc4go/protocols/cbus/readwrite/model/LightingCommandType.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/LightingCommandTypeContainer.go b/plc4go/protocols/cbus/readwrite/model/LightingCommandTypeContainer.go index 8fe3b3dbb5..b4dc8931d8 100644 --- a/plc4go/protocols/cbus/readwrite/model/LightingCommandTypeContainer.go +++ b/plc4go/protocols/cbus/readwrite/model/LightingCommandTypeContainer.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/LightingCompatible.go b/plc4go/protocols/cbus/readwrite/model/LightingCompatible.go index e573a054c7..d792778314 100644 --- a/plc4go/protocols/cbus/readwrite/model/LightingCompatible.go +++ b/plc4go/protocols/cbus/readwrite/model/LightingCompatible.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/LightingData.go b/plc4go/protocols/cbus/readwrite/model/LightingData.go index 5b88503873..7a6b2787b0 100644 --- a/plc4go/protocols/cbus/readwrite/model/LightingData.go +++ b/plc4go/protocols/cbus/readwrite/model/LightingData.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/LightingDataLabel.go b/plc4go/protocols/cbus/readwrite/model/LightingDataLabel.go index 1100a9ed16..47615f8c56 100644 --- a/plc4go/protocols/cbus/readwrite/model/LightingDataLabel.go +++ b/plc4go/protocols/cbus/readwrite/model/LightingDataLabel.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/LightingDataOff.go b/plc4go/protocols/cbus/readwrite/model/LightingDataOff.go index 032a440963..346a04fae1 100644 --- a/plc4go/protocols/cbus/readwrite/model/LightingDataOff.go +++ b/plc4go/protocols/cbus/readwrite/model/LightingDataOff.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/LightingDataOn.go b/plc4go/protocols/cbus/readwrite/model/LightingDataOn.go index d7ba1f8df0..dac95ff023 100644 --- a/plc4go/protocols/cbus/readwrite/model/LightingDataOn.go +++ b/plc4go/protocols/cbus/readwrite/model/LightingDataOn.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/LightingDataRampToLevel.go b/plc4go/protocols/cbus/readwrite/model/LightingDataRampToLevel.go index 28c0ea61ed..60b4ef1750 100644 --- a/plc4go/protocols/cbus/readwrite/model/LightingDataRampToLevel.go +++ b/plc4go/protocols/cbus/readwrite/model/LightingDataRampToLevel.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/LightingDataTerminateRamp.go b/plc4go/protocols/cbus/readwrite/model/LightingDataTerminateRamp.go index 4ad8d9c155..fcc2f9e9a4 100644 --- a/plc4go/protocols/cbus/readwrite/model/LightingDataTerminateRamp.go +++ b/plc4go/protocols/cbus/readwrite/model/LightingDataTerminateRamp.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/LightingLabelFlavour.go b/plc4go/protocols/cbus/readwrite/model/LightingLabelFlavour.go index 1228b1336f..af4fc9c87a 100644 --- a/plc4go/protocols/cbus/readwrite/model/LightingLabelFlavour.go +++ b/plc4go/protocols/cbus/readwrite/model/LightingLabelFlavour.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/LightingLabelOptions.go b/plc4go/protocols/cbus/readwrite/model/LightingLabelOptions.go index 8a5abb023d..4d4a420428 100644 --- a/plc4go/protocols/cbus/readwrite/model/LightingLabelOptions.go +++ b/plc4go/protocols/cbus/readwrite/model/LightingLabelOptions.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/LightingLabelType.go b/plc4go/protocols/cbus/readwrite/model/LightingLabelType.go index 7446d6b4fa..23dd56cffc 100644 --- a/plc4go/protocols/cbus/readwrite/model/LightingLabelType.go +++ b/plc4go/protocols/cbus/readwrite/model/LightingLabelType.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/LineOffHookReason.go b/plc4go/protocols/cbus/readwrite/model/LineOffHookReason.go index c28fc7e75b..5d00c055d0 100644 --- a/plc4go/protocols/cbus/readwrite/model/LineOffHookReason.go +++ b/plc4go/protocols/cbus/readwrite/model/LineOffHookReason.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/LogicAssignment.go b/plc4go/protocols/cbus/readwrite/model/LogicAssignment.go index 92f295fa9b..ec4eb47b46 100644 --- a/plc4go/protocols/cbus/readwrite/model/LogicAssignment.go +++ b/plc4go/protocols/cbus/readwrite/model/LogicAssignment.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/MeasurementCommandType.go b/plc4go/protocols/cbus/readwrite/model/MeasurementCommandType.go index 5da1efc34d..cfc791d197 100644 --- a/plc4go/protocols/cbus/readwrite/model/MeasurementCommandType.go +++ b/plc4go/protocols/cbus/readwrite/model/MeasurementCommandType.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/MeasurementCommandTypeContainer.go b/plc4go/protocols/cbus/readwrite/model/MeasurementCommandTypeContainer.go index b258b1905f..4f60fa6fc0 100644 --- a/plc4go/protocols/cbus/readwrite/model/MeasurementCommandTypeContainer.go +++ b/plc4go/protocols/cbus/readwrite/model/MeasurementCommandTypeContainer.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/MeasurementData.go b/plc4go/protocols/cbus/readwrite/model/MeasurementData.go index 47c0e20fc9..779efb4cd5 100644 --- a/plc4go/protocols/cbus/readwrite/model/MeasurementData.go +++ b/plc4go/protocols/cbus/readwrite/model/MeasurementData.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/MeasurementDataChannelMeasurementData.go b/plc4go/protocols/cbus/readwrite/model/MeasurementDataChannelMeasurementData.go index f6a3f1401a..8c1b0b8712 100644 --- a/plc4go/protocols/cbus/readwrite/model/MeasurementDataChannelMeasurementData.go +++ b/plc4go/protocols/cbus/readwrite/model/MeasurementDataChannelMeasurementData.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/MeasurementUnits.go b/plc4go/protocols/cbus/readwrite/model/MeasurementUnits.go index 31d3d1763f..c4e10bc449 100644 --- a/plc4go/protocols/cbus/readwrite/model/MeasurementUnits.go +++ b/plc4go/protocols/cbus/readwrite/model/MeasurementUnits.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlCommandType.go b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlCommandType.go index e1d5940d95..b4343283a0 100644 --- a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlCommandType.go +++ b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlCommandType.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlCommandTypeContainer.go b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlCommandTypeContainer.go index 3ebefc9e4e..86439a637b 100644 --- a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlCommandTypeContainer.go +++ b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlCommandTypeContainer.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlData.go b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlData.go index 1bcd22c0d4..5fdaf390d4 100644 --- a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlData.go +++ b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlData.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataCategoryName.go b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataCategoryName.go index 86661b071e..7916981367 100644 --- a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataCategoryName.go +++ b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataCategoryName.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataEnumerateCategoriesSelectionTracks.go b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataEnumerateCategoriesSelectionTracks.go index 650a168c03..56d6e57044 100644 --- a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataEnumerateCategoriesSelectionTracks.go +++ b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataEnumerateCategoriesSelectionTracks.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataEnumerationsSize.go b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataEnumerationsSize.go index ff5f2b78f8..8f63d203ef 100644 --- a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataEnumerationsSize.go +++ b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataEnumerationsSize.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataFastForward.go b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataFastForward.go index 3fb53d1e73..2a9c703647 100644 --- a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataFastForward.go +++ b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataFastForward.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataNextPreviousCategory.go b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataNextPreviousCategory.go index 443f37be42..8bdd130672 100644 --- a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataNextPreviousCategory.go +++ b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataNextPreviousCategory.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataNextPreviousSelection.go b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataNextPreviousSelection.go index 31454ce9b2..e0e6ba3e98 100644 --- a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataNextPreviousSelection.go +++ b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataNextPreviousSelection.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataNextPreviousTrack.go b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataNextPreviousTrack.go index 763a579d30..0fe57d99fe 100644 --- a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataNextPreviousTrack.go +++ b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataNextPreviousTrack.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataPauseResume.go b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataPauseResume.go index f749611878..1c93958f88 100644 --- a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataPauseResume.go +++ b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataPauseResume.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataPlay.go b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataPlay.go index 0ef7d4d317..e0569abe8e 100644 --- a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataPlay.go +++ b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataPlay.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataRepeatOnOff.go b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataRepeatOnOff.go index 2664771ec1..6180355792 100644 --- a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataRepeatOnOff.go +++ b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataRepeatOnOff.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataRewind.go b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataRewind.go index b0739f3c42..18d34fb30e 100644 --- a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataRewind.go +++ b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataRewind.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataSelectionName.go b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataSelectionName.go index 6670d61a62..b06ad1e14a 100644 --- a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataSelectionName.go +++ b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataSelectionName.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataSetCategory.go b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataSetCategory.go index 60d1977e86..30ddc69335 100644 --- a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataSetCategory.go +++ b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataSetCategory.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataSetSelection.go b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataSetSelection.go index f36bfa388a..5ddc1c7d85 100644 --- a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataSetSelection.go +++ b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataSetSelection.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataSetTrack.go b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataSetTrack.go index d3bc389c48..39b74debf8 100644 --- a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataSetTrack.go +++ b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataSetTrack.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataShuffleOnOff.go b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataShuffleOnOff.go index 0f87dd6beb..3d9e943162 100644 --- a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataShuffleOnOff.go +++ b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataShuffleOnOff.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataSourcePowerControl.go b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataSourcePowerControl.go index 1a6b781bd6..d1597518fb 100644 --- a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataSourcePowerControl.go +++ b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataSourcePowerControl.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataStatusRequest.go b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataStatusRequest.go index 43e87d5d35..640eb72020 100644 --- a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataStatusRequest.go +++ b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataStatusRequest.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataStop.go b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataStop.go index 71bf60bd26..398d73b6b2 100644 --- a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataStop.go +++ b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataStop.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataTotalTracks.go b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataTotalTracks.go index e5056fbdeb..8caad9ce3f 100644 --- a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataTotalTracks.go +++ b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataTotalTracks.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataTrackName.go b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataTrackName.go index ac8b4dc10f..3f075a630b 100644 --- a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataTrackName.go +++ b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataTrackName.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/MeteringCommandType.go b/plc4go/protocols/cbus/readwrite/model/MeteringCommandType.go index dfe470f9b8..2f49156ba4 100644 --- a/plc4go/protocols/cbus/readwrite/model/MeteringCommandType.go +++ b/plc4go/protocols/cbus/readwrite/model/MeteringCommandType.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/MeteringCommandTypeContainer.go b/plc4go/protocols/cbus/readwrite/model/MeteringCommandTypeContainer.go index 0df9310871..20031ac48d 100644 --- a/plc4go/protocols/cbus/readwrite/model/MeteringCommandTypeContainer.go +++ b/plc4go/protocols/cbus/readwrite/model/MeteringCommandTypeContainer.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/MeteringData.go b/plc4go/protocols/cbus/readwrite/model/MeteringData.go index 18781916a1..17c82cb6ec 100644 --- a/plc4go/protocols/cbus/readwrite/model/MeteringData.go +++ b/plc4go/protocols/cbus/readwrite/model/MeteringData.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/MeteringDataDrinkingWaterConsumption.go b/plc4go/protocols/cbus/readwrite/model/MeteringDataDrinkingWaterConsumption.go index 8acb5589fc..f00aca2cf7 100644 --- a/plc4go/protocols/cbus/readwrite/model/MeteringDataDrinkingWaterConsumption.go +++ b/plc4go/protocols/cbus/readwrite/model/MeteringDataDrinkingWaterConsumption.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/MeteringDataElectricityConsumption.go b/plc4go/protocols/cbus/readwrite/model/MeteringDataElectricityConsumption.go index 6d1e6ef7a6..aacf3a38cd 100644 --- a/plc4go/protocols/cbus/readwrite/model/MeteringDataElectricityConsumption.go +++ b/plc4go/protocols/cbus/readwrite/model/MeteringDataElectricityConsumption.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/MeteringDataGasConsumption.go b/plc4go/protocols/cbus/readwrite/model/MeteringDataGasConsumption.go index 6c94842437..5e4c2b3d51 100644 --- a/plc4go/protocols/cbus/readwrite/model/MeteringDataGasConsumption.go +++ b/plc4go/protocols/cbus/readwrite/model/MeteringDataGasConsumption.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/MeteringDataMeasureDrinkingWater.go b/plc4go/protocols/cbus/readwrite/model/MeteringDataMeasureDrinkingWater.go index b7e111fbef..b5bc556481 100644 --- a/plc4go/protocols/cbus/readwrite/model/MeteringDataMeasureDrinkingWater.go +++ b/plc4go/protocols/cbus/readwrite/model/MeteringDataMeasureDrinkingWater.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/MeteringDataMeasureElectricity.go b/plc4go/protocols/cbus/readwrite/model/MeteringDataMeasureElectricity.go index cd3502969f..bb78f9c7d6 100644 --- a/plc4go/protocols/cbus/readwrite/model/MeteringDataMeasureElectricity.go +++ b/plc4go/protocols/cbus/readwrite/model/MeteringDataMeasureElectricity.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/MeteringDataMeasureGas.go b/plc4go/protocols/cbus/readwrite/model/MeteringDataMeasureGas.go index fb27712feb..ffc07c7333 100644 --- a/plc4go/protocols/cbus/readwrite/model/MeteringDataMeasureGas.go +++ b/plc4go/protocols/cbus/readwrite/model/MeteringDataMeasureGas.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/MeteringDataMeasureOil.go b/plc4go/protocols/cbus/readwrite/model/MeteringDataMeasureOil.go index ade38316ba..c6cdda91ac 100644 --- a/plc4go/protocols/cbus/readwrite/model/MeteringDataMeasureOil.go +++ b/plc4go/protocols/cbus/readwrite/model/MeteringDataMeasureOil.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/MeteringDataMeasureOtherWater.go b/plc4go/protocols/cbus/readwrite/model/MeteringDataMeasureOtherWater.go index 54ef3fe338..fd68735d00 100644 --- a/plc4go/protocols/cbus/readwrite/model/MeteringDataMeasureOtherWater.go +++ b/plc4go/protocols/cbus/readwrite/model/MeteringDataMeasureOtherWater.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/MeteringDataOilConsumption.go b/plc4go/protocols/cbus/readwrite/model/MeteringDataOilConsumption.go index 6c4f289bdd..cda375a5be 100644 --- a/plc4go/protocols/cbus/readwrite/model/MeteringDataOilConsumption.go +++ b/plc4go/protocols/cbus/readwrite/model/MeteringDataOilConsumption.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/MeteringDataOtherWaterConsumption.go b/plc4go/protocols/cbus/readwrite/model/MeteringDataOtherWaterConsumption.go index f228481770..637e067810 100644 --- a/plc4go/protocols/cbus/readwrite/model/MeteringDataOtherWaterConsumption.go +++ b/plc4go/protocols/cbus/readwrite/model/MeteringDataOtherWaterConsumption.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/MonitoredSAL.go b/plc4go/protocols/cbus/readwrite/model/MonitoredSAL.go index 456f029740..8269845910 100644 --- a/plc4go/protocols/cbus/readwrite/model/MonitoredSAL.go +++ b/plc4go/protocols/cbus/readwrite/model/MonitoredSAL.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/MonitoredSALLongFormSmartMode.go b/plc4go/protocols/cbus/readwrite/model/MonitoredSALLongFormSmartMode.go index 446ce487af..83b3485781 100644 --- a/plc4go/protocols/cbus/readwrite/model/MonitoredSALLongFormSmartMode.go +++ b/plc4go/protocols/cbus/readwrite/model/MonitoredSALLongFormSmartMode.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -123,8 +125,6 @@ type MonitoredSALLongFormSmartModeBuilder interface { WithOptionalReplyNetworkBuilder(func(ReplyNetworkBuilder) ReplyNetworkBuilder) MonitoredSALLongFormSmartModeBuilder // WithSalData adds SalData (property field) WithOptionalSalData(SALData) MonitoredSALLongFormSmartModeBuilder - // WithOptionalSalDataBuilder adds SalData (property field) which is build by the builder - WithOptionalSalDataBuilder(func(SALDataBuilder) SALDataBuilder) MonitoredSALLongFormSmartModeBuilder // Build builds the MonitoredSALLongFormSmartMode or returns an error if something is wrong Build() (MonitoredSALLongFormSmartMode, error) // MustBuild does the same as Build but panics on error @@ -222,19 +222,6 @@ func (m *_MonitoredSALLongFormSmartModeBuilder) WithOptionalSalData(salData SALD return m } -func (m *_MonitoredSALLongFormSmartModeBuilder) WithOptionalSalDataBuilder(builderSupplier func(SALDataBuilder) SALDataBuilder) MonitoredSALLongFormSmartModeBuilder { - builder := builderSupplier(m.SalData.CreateSALDataBuilder()) - var err error - m.SalData, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "SALDataBuilder failed")) - } - return m -} - func (m *_MonitoredSALLongFormSmartModeBuilder) Build() (MonitoredSALLongFormSmartMode, error) { if m.err != nil { return nil, errors.Wrap(m.err, "error occurred during build") diff --git a/plc4go/protocols/cbus/readwrite/model/MonitoredSALReply.go b/plc4go/protocols/cbus/readwrite/model/MonitoredSALReply.go index 03c33abe7d..9b65c8c6c8 100644 --- a/plc4go/protocols/cbus/readwrite/model/MonitoredSALReply.go +++ b/plc4go/protocols/cbus/readwrite/model/MonitoredSALReply.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -80,8 +82,6 @@ type MonitoredSALReplyBuilder interface { WithMandatoryFields(monitoredSAL MonitoredSAL) MonitoredSALReplyBuilder // WithMonitoredSAL adds MonitoredSAL (property field) WithMonitoredSAL(MonitoredSAL) MonitoredSALReplyBuilder - // WithMonitoredSALBuilder adds MonitoredSAL (property field) which is build by the builder - WithMonitoredSALBuilder(func(MonitoredSALBuilder) MonitoredSALBuilder) MonitoredSALReplyBuilder // Build builds the MonitoredSALReply or returns an error if something is wrong Build() (MonitoredSALReply, error) // MustBuild does the same as Build but panics on error @@ -110,19 +110,6 @@ func (m *_MonitoredSALReplyBuilder) WithMonitoredSAL(monitoredSAL MonitoredSAL) return m } -func (m *_MonitoredSALReplyBuilder) WithMonitoredSALBuilder(builderSupplier func(MonitoredSALBuilder) MonitoredSALBuilder) MonitoredSALReplyBuilder { - builder := builderSupplier(m.MonitoredSAL.CreateMonitoredSALBuilder()) - var err error - m.MonitoredSAL, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "MonitoredSALBuilder failed")) - } - return m -} - func (m *_MonitoredSALReplyBuilder) Build() (MonitoredSALReply, error) { if m.MonitoredSAL == nil { if m.err == nil { diff --git a/plc4go/protocols/cbus/readwrite/model/MonitoredSALShortFormBasicMode.go b/plc4go/protocols/cbus/readwrite/model/MonitoredSALShortFormBasicMode.go index fa26d6a0fd..c608fa940d 100644 --- a/plc4go/protocols/cbus/readwrite/model/MonitoredSALShortFormBasicMode.go +++ b/plc4go/protocols/cbus/readwrite/model/MonitoredSALShortFormBasicMode.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -107,8 +109,6 @@ type MonitoredSALShortFormBasicModeBuilder interface { WithApplication(ApplicationIdContainer) MonitoredSALShortFormBasicModeBuilder // WithSalData adds SalData (property field) WithOptionalSalData(SALData) MonitoredSALShortFormBasicModeBuilder - // WithOptionalSalDataBuilder adds SalData (property field) which is build by the builder - WithOptionalSalDataBuilder(func(SALDataBuilder) SALDataBuilder) MonitoredSALShortFormBasicModeBuilder // Build builds the MonitoredSALShortFormBasicMode or returns an error if something is wrong Build() (MonitoredSALShortFormBasicMode, error) // MustBuild does the same as Build but panics on error @@ -162,19 +162,6 @@ func (m *_MonitoredSALShortFormBasicModeBuilder) WithOptionalSalData(salData SAL return m } -func (m *_MonitoredSALShortFormBasicModeBuilder) WithOptionalSalDataBuilder(builderSupplier func(SALDataBuilder) SALDataBuilder) MonitoredSALShortFormBasicModeBuilder { - builder := builderSupplier(m.SalData.CreateSALDataBuilder()) - var err error - m.SalData, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "SALDataBuilder failed")) - } - return m -} - func (m *_MonitoredSALShortFormBasicModeBuilder) Build() (MonitoredSALShortFormBasicMode, error) { if m.err != nil { return nil, errors.Wrap(m.err, "error occurred during build") diff --git a/plc4go/protocols/cbus/readwrite/model/NetworkProtocolControlInformation.go b/plc4go/protocols/cbus/readwrite/model/NetworkProtocolControlInformation.go index c6a7f75b6c..0a67b33709 100644 --- a/plc4go/protocols/cbus/readwrite/model/NetworkProtocolControlInformation.go +++ b/plc4go/protocols/cbus/readwrite/model/NetworkProtocolControlInformation.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/NetworkRoute.go b/plc4go/protocols/cbus/readwrite/model/NetworkRoute.go index 6cbed84785..12dfa90333 100644 --- a/plc4go/protocols/cbus/readwrite/model/NetworkRoute.go +++ b/plc4go/protocols/cbus/readwrite/model/NetworkRoute.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/PanicStatus.go b/plc4go/protocols/cbus/readwrite/model/PanicStatus.go index 642b17017b..b1912169c1 100644 --- a/plc4go/protocols/cbus/readwrite/model/PanicStatus.go +++ b/plc4go/protocols/cbus/readwrite/model/PanicStatus.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/Parameter.go b/plc4go/protocols/cbus/readwrite/model/Parameter.go index b525c99739..6ed30a74f7 100644 --- a/plc4go/protocols/cbus/readwrite/model/Parameter.go +++ b/plc4go/protocols/cbus/readwrite/model/Parameter.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/ParameterChange.go b/plc4go/protocols/cbus/readwrite/model/ParameterChange.go index c614d1cef6..624c64acbd 100644 --- a/plc4go/protocols/cbus/readwrite/model/ParameterChange.go +++ b/plc4go/protocols/cbus/readwrite/model/ParameterChange.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/ParameterChangeReply.go b/plc4go/protocols/cbus/readwrite/model/ParameterChangeReply.go index f0a9489f0f..757675947e 100644 --- a/plc4go/protocols/cbus/readwrite/model/ParameterChangeReply.go +++ b/plc4go/protocols/cbus/readwrite/model/ParameterChangeReply.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/ParameterType.go b/plc4go/protocols/cbus/readwrite/model/ParameterType.go index f6a4ee8c40..42859b6505 100644 --- a/plc4go/protocols/cbus/readwrite/model/ParameterType.go +++ b/plc4go/protocols/cbus/readwrite/model/ParameterType.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/ParameterValue.go b/plc4go/protocols/cbus/readwrite/model/ParameterValue.go index 619039c467..cc0d10e9d6 100644 --- a/plc4go/protocols/cbus/readwrite/model/ParameterValue.go +++ b/plc4go/protocols/cbus/readwrite/model/ParameterValue.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/ParameterValueApplicationAddress1.go b/plc4go/protocols/cbus/readwrite/model/ParameterValueApplicationAddress1.go index 97b0362f7a..32b41a7897 100644 --- a/plc4go/protocols/cbus/readwrite/model/ParameterValueApplicationAddress1.go +++ b/plc4go/protocols/cbus/readwrite/model/ParameterValueApplicationAddress1.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/ParameterValueApplicationAddress2.go b/plc4go/protocols/cbus/readwrite/model/ParameterValueApplicationAddress2.go index 887a164e89..099c844fdd 100644 --- a/plc4go/protocols/cbus/readwrite/model/ParameterValueApplicationAddress2.go +++ b/plc4go/protocols/cbus/readwrite/model/ParameterValueApplicationAddress2.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/ParameterValueBaudRateSelector.go b/plc4go/protocols/cbus/readwrite/model/ParameterValueBaudRateSelector.go index 1dbaffdf0a..b8b44e139d 100644 --- a/plc4go/protocols/cbus/readwrite/model/ParameterValueBaudRateSelector.go +++ b/plc4go/protocols/cbus/readwrite/model/ParameterValueBaudRateSelector.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/ParameterValueCustomManufacturer.go b/plc4go/protocols/cbus/readwrite/model/ParameterValueCustomManufacturer.go index 1acf2a5e08..56e414c894 100644 --- a/plc4go/protocols/cbus/readwrite/model/ParameterValueCustomManufacturer.go +++ b/plc4go/protocols/cbus/readwrite/model/ParameterValueCustomManufacturer.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/ParameterValueCustomTypes.go b/plc4go/protocols/cbus/readwrite/model/ParameterValueCustomTypes.go index e95e1d0eba..ec380f934c 100644 --- a/plc4go/protocols/cbus/readwrite/model/ParameterValueCustomTypes.go +++ b/plc4go/protocols/cbus/readwrite/model/ParameterValueCustomTypes.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/ParameterValueInterfaceOptions1.go b/plc4go/protocols/cbus/readwrite/model/ParameterValueInterfaceOptions1.go index e7992d29a5..0844c6daf7 100644 --- a/plc4go/protocols/cbus/readwrite/model/ParameterValueInterfaceOptions1.go +++ b/plc4go/protocols/cbus/readwrite/model/ParameterValueInterfaceOptions1.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/ParameterValueInterfaceOptions1PowerUpSettings.go b/plc4go/protocols/cbus/readwrite/model/ParameterValueInterfaceOptions1PowerUpSettings.go index 304cc6fe3b..5f3d563c68 100644 --- a/plc4go/protocols/cbus/readwrite/model/ParameterValueInterfaceOptions1PowerUpSettings.go +++ b/plc4go/protocols/cbus/readwrite/model/ParameterValueInterfaceOptions1PowerUpSettings.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/ParameterValueInterfaceOptions2.go b/plc4go/protocols/cbus/readwrite/model/ParameterValueInterfaceOptions2.go index 142a0db5db..7e57235a78 100644 --- a/plc4go/protocols/cbus/readwrite/model/ParameterValueInterfaceOptions2.go +++ b/plc4go/protocols/cbus/readwrite/model/ParameterValueInterfaceOptions2.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/ParameterValueInterfaceOptions3.go b/plc4go/protocols/cbus/readwrite/model/ParameterValueInterfaceOptions3.go index c2ec4977d7..1dde63e962 100644 --- a/plc4go/protocols/cbus/readwrite/model/ParameterValueInterfaceOptions3.go +++ b/plc4go/protocols/cbus/readwrite/model/ParameterValueInterfaceOptions3.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/ParameterValueRaw.go b/plc4go/protocols/cbus/readwrite/model/ParameterValueRaw.go index 8078f57d14..6ae4d273f9 100644 --- a/plc4go/protocols/cbus/readwrite/model/ParameterValueRaw.go +++ b/plc4go/protocols/cbus/readwrite/model/ParameterValueRaw.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/ParameterValueSerialNumber.go b/plc4go/protocols/cbus/readwrite/model/ParameterValueSerialNumber.go index 8466f1cea2..cdd4f5ad2f 100644 --- a/plc4go/protocols/cbus/readwrite/model/ParameterValueSerialNumber.go +++ b/plc4go/protocols/cbus/readwrite/model/ParameterValueSerialNumber.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/PowerUp.go b/plc4go/protocols/cbus/readwrite/model/PowerUp.go index c05b193b49..02b2fb9e89 100644 --- a/plc4go/protocols/cbus/readwrite/model/PowerUp.go +++ b/plc4go/protocols/cbus/readwrite/model/PowerUp.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/PowerUpReply.go b/plc4go/protocols/cbus/readwrite/model/PowerUpReply.go index 91dfd8684d..f40f8a0d27 100644 --- a/plc4go/protocols/cbus/readwrite/model/PowerUpReply.go +++ b/plc4go/protocols/cbus/readwrite/model/PowerUpReply.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/PriorityClass.go b/plc4go/protocols/cbus/readwrite/model/PriorityClass.go index 72a8001def..cce1ffaf73 100644 --- a/plc4go/protocols/cbus/readwrite/model/PriorityClass.go +++ b/plc4go/protocols/cbus/readwrite/model/PriorityClass.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/ProtectionLevel.go b/plc4go/protocols/cbus/readwrite/model/ProtectionLevel.go index b70fe75e4d..ba58a49f11 100644 --- a/plc4go/protocols/cbus/readwrite/model/ProtectionLevel.go +++ b/plc4go/protocols/cbus/readwrite/model/ProtectionLevel.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/Reply.go b/plc4go/protocols/cbus/readwrite/model/Reply.go index d2b29445fb..fcb4e1b130 100644 --- a/plc4go/protocols/cbus/readwrite/model/Reply.go +++ b/plc4go/protocols/cbus/readwrite/model/Reply.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/ReplyEncodedReply.go b/plc4go/protocols/cbus/readwrite/model/ReplyEncodedReply.go index 04893058f9..bda468b515 100644 --- a/plc4go/protocols/cbus/readwrite/model/ReplyEncodedReply.go +++ b/plc4go/protocols/cbus/readwrite/model/ReplyEncodedReply.go @@ -22,10 +22,12 @@ package model import ( "context" "fmt" - . "github.com/apache/plc4x/plc4go/spi/codegen/fields" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. @@ -84,8 +86,6 @@ type ReplyEncodedReplyBuilder interface { WithMandatoryFields(encodedReply EncodedReply, chksum Checksum) ReplyEncodedReplyBuilder // WithEncodedReply adds EncodedReply (property field) WithEncodedReply(EncodedReply) ReplyEncodedReplyBuilder - // WithEncodedReplyBuilder adds EncodedReply (property field) which is build by the builder - WithEncodedReplyBuilder(func(EncodedReplyBuilder) EncodedReplyBuilder) ReplyEncodedReplyBuilder // WithChksum adds Chksum (property field) WithChksum(Checksum) ReplyEncodedReplyBuilder // WithChksumBuilder adds Chksum (property field) which is build by the builder @@ -118,19 +118,6 @@ func (m *_ReplyEncodedReplyBuilder) WithEncodedReply(encodedReply EncodedReply) return m } -func (m *_ReplyEncodedReplyBuilder) WithEncodedReplyBuilder(builderSupplier func(EncodedReplyBuilder) EncodedReplyBuilder) ReplyEncodedReplyBuilder { - builder := builderSupplier(m.EncodedReply.CreateEncodedReplyBuilder()) - var err error - m.EncodedReply, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "EncodedReplyBuilder failed")) - } - return m -} - func (m *_ReplyEncodedReplyBuilder) WithChksum(chksum Checksum) ReplyEncodedReplyBuilder { m.Chksum = chksum return m diff --git a/plc4go/protocols/cbus/readwrite/model/ReplyNetwork.go b/plc4go/protocols/cbus/readwrite/model/ReplyNetwork.go index 48491978f6..1a8f6afea8 100644 --- a/plc4go/protocols/cbus/readwrite/model/ReplyNetwork.go +++ b/plc4go/protocols/cbus/readwrite/model/ReplyNetwork.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/ReplyOrConfirmation.go b/plc4go/protocols/cbus/readwrite/model/ReplyOrConfirmation.go index c57464128f..1a5e33578a 100644 --- a/plc4go/protocols/cbus/readwrite/model/ReplyOrConfirmation.go +++ b/plc4go/protocols/cbus/readwrite/model/ReplyOrConfirmation.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/ReplyOrConfirmationConfirmation.go b/plc4go/protocols/cbus/readwrite/model/ReplyOrConfirmationConfirmation.go index af265c0ad2..b80d2ae19d 100644 --- a/plc4go/protocols/cbus/readwrite/model/ReplyOrConfirmationConfirmation.go +++ b/plc4go/protocols/cbus/readwrite/model/ReplyOrConfirmationConfirmation.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -88,8 +90,6 @@ type ReplyOrConfirmationConfirmationBuilder interface { WithConfirmationBuilder(func(ConfirmationBuilder) ConfirmationBuilder) ReplyOrConfirmationConfirmationBuilder // WithEmbeddedReply adds EmbeddedReply (property field) WithOptionalEmbeddedReply(ReplyOrConfirmation) ReplyOrConfirmationConfirmationBuilder - // WithOptionalEmbeddedReplyBuilder adds EmbeddedReply (property field) which is build by the builder - WithOptionalEmbeddedReplyBuilder(func(ReplyOrConfirmationBuilder) ReplyOrConfirmationBuilder) ReplyOrConfirmationConfirmationBuilder // Build builds the ReplyOrConfirmationConfirmation or returns an error if something is wrong Build() (ReplyOrConfirmationConfirmation, error) // MustBuild does the same as Build but panics on error @@ -136,19 +136,6 @@ func (m *_ReplyOrConfirmationConfirmationBuilder) WithOptionalEmbeddedReply(embe return m } -func (m *_ReplyOrConfirmationConfirmationBuilder) WithOptionalEmbeddedReplyBuilder(builderSupplier func(ReplyOrConfirmationBuilder) ReplyOrConfirmationBuilder) ReplyOrConfirmationConfirmationBuilder { - builder := builderSupplier(m.EmbeddedReply.CreateReplyOrConfirmationBuilder()) - var err error - m.EmbeddedReply, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ReplyOrConfirmationBuilder failed")) - } - return m -} - func (m *_ReplyOrConfirmationConfirmationBuilder) Build() (ReplyOrConfirmationConfirmation, error) { if m.Confirmation == nil { if m.err == nil { diff --git a/plc4go/protocols/cbus/readwrite/model/ReplyOrConfirmationReply.go b/plc4go/protocols/cbus/readwrite/model/ReplyOrConfirmationReply.go index 5d9ff7af70..3d8d9b8754 100644 --- a/plc4go/protocols/cbus/readwrite/model/ReplyOrConfirmationReply.go +++ b/plc4go/protocols/cbus/readwrite/model/ReplyOrConfirmationReply.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -87,8 +89,6 @@ type ReplyOrConfirmationReplyBuilder interface { WithMandatoryFields(reply Reply, termination ResponseTermination) ReplyOrConfirmationReplyBuilder // WithReply adds Reply (property field) WithReply(Reply) ReplyOrConfirmationReplyBuilder - // WithReplyBuilder adds Reply (property field) which is build by the builder - WithReplyBuilder(func(ReplyBuilder) ReplyBuilder) ReplyOrConfirmationReplyBuilder // WithTermination adds Termination (property field) WithTermination(ResponseTermination) ReplyOrConfirmationReplyBuilder // WithTerminationBuilder adds Termination (property field) which is build by the builder @@ -121,19 +121,6 @@ func (m *_ReplyOrConfirmationReplyBuilder) WithReply(reply Reply) ReplyOrConfirm return m } -func (m *_ReplyOrConfirmationReplyBuilder) WithReplyBuilder(builderSupplier func(ReplyBuilder) ReplyBuilder) ReplyOrConfirmationReplyBuilder { - builder := builderSupplier(m.Reply.CreateReplyBuilder()) - var err error - m.Reply, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ReplyBuilder failed")) - } - return m -} - func (m *_ReplyOrConfirmationReplyBuilder) WithTermination(termination ResponseTermination) ReplyOrConfirmationReplyBuilder { m.Termination = termination return m diff --git a/plc4go/protocols/cbus/readwrite/model/Request.go b/plc4go/protocols/cbus/readwrite/model/Request.go index c79da441b4..6985c4bab4 100644 --- a/plc4go/protocols/cbus/readwrite/model/Request.go +++ b/plc4go/protocols/cbus/readwrite/model/Request.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/RequestCommand.go b/plc4go/protocols/cbus/readwrite/model/RequestCommand.go index 1c7cb8a767..0746f23a83 100644 --- a/plc4go/protocols/cbus/readwrite/model/RequestCommand.go +++ b/plc4go/protocols/cbus/readwrite/model/RequestCommand.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -92,8 +94,6 @@ type RequestCommandBuilder interface { WithMandatoryFields(cbusCommand CBusCommand, chksum Checksum) RequestCommandBuilder // WithCbusCommand adds CbusCommand (property field) WithCbusCommand(CBusCommand) RequestCommandBuilder - // WithCbusCommandBuilder adds CbusCommand (property field) which is build by the builder - WithCbusCommandBuilder(func(CBusCommandBuilder) CBusCommandBuilder) RequestCommandBuilder // WithChksum adds Chksum (property field) WithChksum(Checksum) RequestCommandBuilder // WithChksumBuilder adds Chksum (property field) which is build by the builder @@ -130,19 +130,6 @@ func (m *_RequestCommandBuilder) WithCbusCommand(cbusCommand CBusCommand) Reques return m } -func (m *_RequestCommandBuilder) WithCbusCommandBuilder(builderSupplier func(CBusCommandBuilder) CBusCommandBuilder) RequestCommandBuilder { - builder := builderSupplier(m.CbusCommand.CreateCBusCommandBuilder()) - var err error - m.CbusCommand, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "CBusCommandBuilder failed")) - } - return m -} - func (m *_RequestCommandBuilder) WithChksum(chksum Checksum) RequestCommandBuilder { m.Chksum = chksum return m diff --git a/plc4go/protocols/cbus/readwrite/model/RequestContext.go b/plc4go/protocols/cbus/readwrite/model/RequestContext.go index ad63717667..1714dca23b 100644 --- a/plc4go/protocols/cbus/readwrite/model/RequestContext.go +++ b/plc4go/protocols/cbus/readwrite/model/RequestContext.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/RequestDirectCommandAccess.go b/plc4go/protocols/cbus/readwrite/model/RequestDirectCommandAccess.go index faf1b412aa..cf2018fb95 100644 --- a/plc4go/protocols/cbus/readwrite/model/RequestDirectCommandAccess.go +++ b/plc4go/protocols/cbus/readwrite/model/RequestDirectCommandAccess.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -86,8 +88,6 @@ type RequestDirectCommandAccessBuilder interface { WithMandatoryFields(calData CALData) RequestDirectCommandAccessBuilder // WithCalData adds CalData (property field) WithCalData(CALData) RequestDirectCommandAccessBuilder - // WithCalDataBuilder adds CalData (property field) which is build by the builder - WithCalDataBuilder(func(CALDataBuilder) CALDataBuilder) RequestDirectCommandAccessBuilder // WithAlpha adds Alpha (property field) WithOptionalAlpha(Alpha) RequestDirectCommandAccessBuilder // WithOptionalAlphaBuilder adds Alpha (property field) which is build by the builder @@ -120,19 +120,6 @@ func (m *_RequestDirectCommandAccessBuilder) WithCalData(calData CALData) Reques return m } -func (m *_RequestDirectCommandAccessBuilder) WithCalDataBuilder(builderSupplier func(CALDataBuilder) CALDataBuilder) RequestDirectCommandAccessBuilder { - builder := builderSupplier(m.CalData.CreateCALDataBuilder()) - var err error - m.CalData, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "CALDataBuilder failed")) - } - return m -} - func (m *_RequestDirectCommandAccessBuilder) WithOptionalAlpha(alpha Alpha) RequestDirectCommandAccessBuilder { m.Alpha = alpha return m diff --git a/plc4go/protocols/cbus/readwrite/model/RequestEmpty.go b/plc4go/protocols/cbus/readwrite/model/RequestEmpty.go index a9bb84fbcb..0241cee9d7 100644 --- a/plc4go/protocols/cbus/readwrite/model/RequestEmpty.go +++ b/plc4go/protocols/cbus/readwrite/model/RequestEmpty.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/RequestNull.go b/plc4go/protocols/cbus/readwrite/model/RequestNull.go index 48f39cff1b..04ca5f1337 100644 --- a/plc4go/protocols/cbus/readwrite/model/RequestNull.go +++ b/plc4go/protocols/cbus/readwrite/model/RequestNull.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/RequestObsolete.go b/plc4go/protocols/cbus/readwrite/model/RequestObsolete.go index 29167ffafc..70c781509e 100644 --- a/plc4go/protocols/cbus/readwrite/model/RequestObsolete.go +++ b/plc4go/protocols/cbus/readwrite/model/RequestObsolete.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -83,8 +85,6 @@ type RequestObsoleteBuilder interface { WithMandatoryFields(calData CALData) RequestObsoleteBuilder // WithCalData adds CalData (property field) WithCalData(CALData) RequestObsoleteBuilder - // WithCalDataBuilder adds CalData (property field) which is build by the builder - WithCalDataBuilder(func(CALDataBuilder) CALDataBuilder) RequestObsoleteBuilder // WithAlpha adds Alpha (property field) WithOptionalAlpha(Alpha) RequestObsoleteBuilder // WithOptionalAlphaBuilder adds Alpha (property field) which is build by the builder @@ -117,19 +117,6 @@ func (m *_RequestObsoleteBuilder) WithCalData(calData CALData) RequestObsoleteBu return m } -func (m *_RequestObsoleteBuilder) WithCalDataBuilder(builderSupplier func(CALDataBuilder) CALDataBuilder) RequestObsoleteBuilder { - builder := builderSupplier(m.CalData.CreateCALDataBuilder()) - var err error - m.CalData, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "CALDataBuilder failed")) - } - return m -} - func (m *_RequestObsoleteBuilder) WithOptionalAlpha(alpha Alpha) RequestObsoleteBuilder { m.Alpha = alpha return m diff --git a/plc4go/protocols/cbus/readwrite/model/RequestReset.go b/plc4go/protocols/cbus/readwrite/model/RequestReset.go index 140e0f8f7e..4b8d234aac 100644 --- a/plc4go/protocols/cbus/readwrite/model/RequestReset.go +++ b/plc4go/protocols/cbus/readwrite/model/RequestReset.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/RequestSmartConnectShortcut.go b/plc4go/protocols/cbus/readwrite/model/RequestSmartConnectShortcut.go index bd2da87baf..2faaba9973 100644 --- a/plc4go/protocols/cbus/readwrite/model/RequestSmartConnectShortcut.go +++ b/plc4go/protocols/cbus/readwrite/model/RequestSmartConnectShortcut.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/RequestTermination.go b/plc4go/protocols/cbus/readwrite/model/RequestTermination.go index d5ae208d5e..81d0c428e6 100644 --- a/plc4go/protocols/cbus/readwrite/model/RequestTermination.go +++ b/plc4go/protocols/cbus/readwrite/model/RequestTermination.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/RequestType.go b/plc4go/protocols/cbus/readwrite/model/RequestType.go index 4805304703..bb9f91315b 100644 --- a/plc4go/protocols/cbus/readwrite/model/RequestType.go +++ b/plc4go/protocols/cbus/readwrite/model/RequestType.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/ResponseTermination.go b/plc4go/protocols/cbus/readwrite/model/ResponseTermination.go index 8233326e53..7e332e14f3 100644 --- a/plc4go/protocols/cbus/readwrite/model/ResponseTermination.go +++ b/plc4go/protocols/cbus/readwrite/model/ResponseTermination.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/SALData.go b/plc4go/protocols/cbus/readwrite/model/SALData.go index 3711c181fc..d616ad522b 100644 --- a/plc4go/protocols/cbus/readwrite/model/SALData.go +++ b/plc4go/protocols/cbus/readwrite/model/SALData.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -88,8 +90,6 @@ type SALDataBuilder interface { WithMandatoryFields() SALDataBuilder // WithSalData adds SalData (property field) WithOptionalSalData(SALData) SALDataBuilder - // WithOptionalSalDataBuilder adds SalData (property field) which is build by the builder - WithOptionalSalDataBuilder(func(SALDataBuilder) SALDataBuilder) SALDataBuilder // Build builds the SALData or returns an error if something is wrong Build() (SALDataContract, error) // MustBuild does the same as Build but panics on error @@ -118,19 +118,6 @@ func (m *_SALDataBuilder) WithOptionalSalData(salData SALData) SALDataBuilder { return m } -func (m *_SALDataBuilder) WithOptionalSalDataBuilder(builderSupplier func(SALDataBuilder) SALDataBuilder) SALDataBuilder { - builder := builderSupplier(m.SalData.CreateSALDataBuilder()) - var err error - m.SalData, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "SALDataBuilder failed")) - } - return m -} - func (m *_SALDataBuilder) Build() (SALDataContract, error) { if m.err != nil { return nil, errors.Wrap(m.err, "error occurred during build") diff --git a/plc4go/protocols/cbus/readwrite/model/SALDataAccessControl.go b/plc4go/protocols/cbus/readwrite/model/SALDataAccessControl.go index bab80887d0..652f9ea2a4 100644 --- a/plc4go/protocols/cbus/readwrite/model/SALDataAccessControl.go +++ b/plc4go/protocols/cbus/readwrite/model/SALDataAccessControl.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -80,8 +82,6 @@ type SALDataAccessControlBuilder interface { WithMandatoryFields(accessControlData AccessControlData) SALDataAccessControlBuilder // WithAccessControlData adds AccessControlData (property field) WithAccessControlData(AccessControlData) SALDataAccessControlBuilder - // WithAccessControlDataBuilder adds AccessControlData (property field) which is build by the builder - WithAccessControlDataBuilder(func(AccessControlDataBuilder) AccessControlDataBuilder) SALDataAccessControlBuilder // Build builds the SALDataAccessControl or returns an error if something is wrong Build() (SALDataAccessControl, error) // MustBuild does the same as Build but panics on error @@ -110,19 +110,6 @@ func (m *_SALDataAccessControlBuilder) WithAccessControlData(accessControlData A return m } -func (m *_SALDataAccessControlBuilder) WithAccessControlDataBuilder(builderSupplier func(AccessControlDataBuilder) AccessControlDataBuilder) SALDataAccessControlBuilder { - builder := builderSupplier(m.AccessControlData.CreateAccessControlDataBuilder()) - var err error - m.AccessControlData, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "AccessControlDataBuilder failed")) - } - return m -} - func (m *_SALDataAccessControlBuilder) Build() (SALDataAccessControl, error) { if m.AccessControlData == nil { if m.err == nil { diff --git a/plc4go/protocols/cbus/readwrite/model/SALDataAirConditioning.go b/plc4go/protocols/cbus/readwrite/model/SALDataAirConditioning.go index 74c000f3e3..302ed84521 100644 --- a/plc4go/protocols/cbus/readwrite/model/SALDataAirConditioning.go +++ b/plc4go/protocols/cbus/readwrite/model/SALDataAirConditioning.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -80,8 +82,6 @@ type SALDataAirConditioningBuilder interface { WithMandatoryFields(airConditioningData AirConditioningData) SALDataAirConditioningBuilder // WithAirConditioningData adds AirConditioningData (property field) WithAirConditioningData(AirConditioningData) SALDataAirConditioningBuilder - // WithAirConditioningDataBuilder adds AirConditioningData (property field) which is build by the builder - WithAirConditioningDataBuilder(func(AirConditioningDataBuilder) AirConditioningDataBuilder) SALDataAirConditioningBuilder // Build builds the SALDataAirConditioning or returns an error if something is wrong Build() (SALDataAirConditioning, error) // MustBuild does the same as Build but panics on error @@ -110,19 +110,6 @@ func (m *_SALDataAirConditioningBuilder) WithAirConditioningData(airConditioning return m } -func (m *_SALDataAirConditioningBuilder) WithAirConditioningDataBuilder(builderSupplier func(AirConditioningDataBuilder) AirConditioningDataBuilder) SALDataAirConditioningBuilder { - builder := builderSupplier(m.AirConditioningData.CreateAirConditioningDataBuilder()) - var err error - m.AirConditioningData, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "AirConditioningDataBuilder failed")) - } - return m -} - func (m *_SALDataAirConditioningBuilder) Build() (SALDataAirConditioning, error) { if m.AirConditioningData == nil { if m.err == nil { diff --git a/plc4go/protocols/cbus/readwrite/model/SALDataAudioAndVideo.go b/plc4go/protocols/cbus/readwrite/model/SALDataAudioAndVideo.go index ba754b8ee1..8b85ce861e 100644 --- a/plc4go/protocols/cbus/readwrite/model/SALDataAudioAndVideo.go +++ b/plc4go/protocols/cbus/readwrite/model/SALDataAudioAndVideo.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -80,8 +82,6 @@ type SALDataAudioAndVideoBuilder interface { WithMandatoryFields(audioVideoData LightingData) SALDataAudioAndVideoBuilder // WithAudioVideoData adds AudioVideoData (property field) WithAudioVideoData(LightingData) SALDataAudioAndVideoBuilder - // WithAudioVideoDataBuilder adds AudioVideoData (property field) which is build by the builder - WithAudioVideoDataBuilder(func(LightingDataBuilder) LightingDataBuilder) SALDataAudioAndVideoBuilder // Build builds the SALDataAudioAndVideo or returns an error if something is wrong Build() (SALDataAudioAndVideo, error) // MustBuild does the same as Build but panics on error @@ -110,19 +110,6 @@ func (m *_SALDataAudioAndVideoBuilder) WithAudioVideoData(audioVideoData Lightin return m } -func (m *_SALDataAudioAndVideoBuilder) WithAudioVideoDataBuilder(builderSupplier func(LightingDataBuilder) LightingDataBuilder) SALDataAudioAndVideoBuilder { - builder := builderSupplier(m.AudioVideoData.CreateLightingDataBuilder()) - var err error - m.AudioVideoData, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "LightingDataBuilder failed")) - } - return m -} - func (m *_SALDataAudioAndVideoBuilder) Build() (SALDataAudioAndVideo, error) { if m.AudioVideoData == nil { if m.err == nil { diff --git a/plc4go/protocols/cbus/readwrite/model/SALDataClockAndTimekeeping.go b/plc4go/protocols/cbus/readwrite/model/SALDataClockAndTimekeeping.go index 2f98928b1b..3c28abf480 100644 --- a/plc4go/protocols/cbus/readwrite/model/SALDataClockAndTimekeeping.go +++ b/plc4go/protocols/cbus/readwrite/model/SALDataClockAndTimekeeping.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -80,8 +82,6 @@ type SALDataClockAndTimekeepingBuilder interface { WithMandatoryFields(clockAndTimekeepingData ClockAndTimekeepingData) SALDataClockAndTimekeepingBuilder // WithClockAndTimekeepingData adds ClockAndTimekeepingData (property field) WithClockAndTimekeepingData(ClockAndTimekeepingData) SALDataClockAndTimekeepingBuilder - // WithClockAndTimekeepingDataBuilder adds ClockAndTimekeepingData (property field) which is build by the builder - WithClockAndTimekeepingDataBuilder(func(ClockAndTimekeepingDataBuilder) ClockAndTimekeepingDataBuilder) SALDataClockAndTimekeepingBuilder // Build builds the SALDataClockAndTimekeeping or returns an error if something is wrong Build() (SALDataClockAndTimekeeping, error) // MustBuild does the same as Build but panics on error @@ -110,19 +110,6 @@ func (m *_SALDataClockAndTimekeepingBuilder) WithClockAndTimekeepingData(clockAn return m } -func (m *_SALDataClockAndTimekeepingBuilder) WithClockAndTimekeepingDataBuilder(builderSupplier func(ClockAndTimekeepingDataBuilder) ClockAndTimekeepingDataBuilder) SALDataClockAndTimekeepingBuilder { - builder := builderSupplier(m.ClockAndTimekeepingData.CreateClockAndTimekeepingDataBuilder()) - var err error - m.ClockAndTimekeepingData, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ClockAndTimekeepingDataBuilder failed")) - } - return m -} - func (m *_SALDataClockAndTimekeepingBuilder) Build() (SALDataClockAndTimekeeping, error) { if m.ClockAndTimekeepingData == nil { if m.err == nil { diff --git a/plc4go/protocols/cbus/readwrite/model/SALDataEnableControl.go b/plc4go/protocols/cbus/readwrite/model/SALDataEnableControl.go index c21d50ab20..53c36136f7 100644 --- a/plc4go/protocols/cbus/readwrite/model/SALDataEnableControl.go +++ b/plc4go/protocols/cbus/readwrite/model/SALDataEnableControl.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/SALDataErrorReporting.go b/plc4go/protocols/cbus/readwrite/model/SALDataErrorReporting.go index 91610c86b5..98bc2cea5a 100644 --- a/plc4go/protocols/cbus/readwrite/model/SALDataErrorReporting.go +++ b/plc4go/protocols/cbus/readwrite/model/SALDataErrorReporting.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -80,8 +82,6 @@ type SALDataErrorReportingBuilder interface { WithMandatoryFields(errorReportingData ErrorReportingData) SALDataErrorReportingBuilder // WithErrorReportingData adds ErrorReportingData (property field) WithErrorReportingData(ErrorReportingData) SALDataErrorReportingBuilder - // WithErrorReportingDataBuilder adds ErrorReportingData (property field) which is build by the builder - WithErrorReportingDataBuilder(func(ErrorReportingDataBuilder) ErrorReportingDataBuilder) SALDataErrorReportingBuilder // Build builds the SALDataErrorReporting or returns an error if something is wrong Build() (SALDataErrorReporting, error) // MustBuild does the same as Build but panics on error @@ -110,19 +110,6 @@ func (m *_SALDataErrorReportingBuilder) WithErrorReportingData(errorReportingDat return m } -func (m *_SALDataErrorReportingBuilder) WithErrorReportingDataBuilder(builderSupplier func(ErrorReportingDataBuilder) ErrorReportingDataBuilder) SALDataErrorReportingBuilder { - builder := builderSupplier(m.ErrorReportingData.CreateErrorReportingDataBuilder()) - var err error - m.ErrorReportingData, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ErrorReportingDataBuilder failed")) - } - return m -} - func (m *_SALDataErrorReportingBuilder) Build() (SALDataErrorReporting, error) { if m.ErrorReportingData == nil { if m.err == nil { diff --git a/plc4go/protocols/cbus/readwrite/model/SALDataFreeUsage.go b/plc4go/protocols/cbus/readwrite/model/SALDataFreeUsage.go index a41adb80d7..ce4afd0be5 100644 --- a/plc4go/protocols/cbus/readwrite/model/SALDataFreeUsage.go +++ b/plc4go/protocols/cbus/readwrite/model/SALDataFreeUsage.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/SALDataHeating.go b/plc4go/protocols/cbus/readwrite/model/SALDataHeating.go index 06d5852ce5..fe22fbcebc 100644 --- a/plc4go/protocols/cbus/readwrite/model/SALDataHeating.go +++ b/plc4go/protocols/cbus/readwrite/model/SALDataHeating.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -80,8 +82,6 @@ type SALDataHeatingBuilder interface { WithMandatoryFields(heatingData LightingData) SALDataHeatingBuilder // WithHeatingData adds HeatingData (property field) WithHeatingData(LightingData) SALDataHeatingBuilder - // WithHeatingDataBuilder adds HeatingData (property field) which is build by the builder - WithHeatingDataBuilder(func(LightingDataBuilder) LightingDataBuilder) SALDataHeatingBuilder // Build builds the SALDataHeating or returns an error if something is wrong Build() (SALDataHeating, error) // MustBuild does the same as Build but panics on error @@ -110,19 +110,6 @@ func (m *_SALDataHeatingBuilder) WithHeatingData(heatingData LightingData) SALDa return m } -func (m *_SALDataHeatingBuilder) WithHeatingDataBuilder(builderSupplier func(LightingDataBuilder) LightingDataBuilder) SALDataHeatingBuilder { - builder := builderSupplier(m.HeatingData.CreateLightingDataBuilder()) - var err error - m.HeatingData, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "LightingDataBuilder failed")) - } - return m -} - func (m *_SALDataHeatingBuilder) Build() (SALDataHeating, error) { if m.HeatingData == nil { if m.err == nil { diff --git a/plc4go/protocols/cbus/readwrite/model/SALDataHvacActuator.go b/plc4go/protocols/cbus/readwrite/model/SALDataHvacActuator.go index 8cc211ace6..5be439a032 100644 --- a/plc4go/protocols/cbus/readwrite/model/SALDataHvacActuator.go +++ b/plc4go/protocols/cbus/readwrite/model/SALDataHvacActuator.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -80,8 +82,6 @@ type SALDataHvacActuatorBuilder interface { WithMandatoryFields(hvacActuatorData LightingData) SALDataHvacActuatorBuilder // WithHvacActuatorData adds HvacActuatorData (property field) WithHvacActuatorData(LightingData) SALDataHvacActuatorBuilder - // WithHvacActuatorDataBuilder adds HvacActuatorData (property field) which is build by the builder - WithHvacActuatorDataBuilder(func(LightingDataBuilder) LightingDataBuilder) SALDataHvacActuatorBuilder // Build builds the SALDataHvacActuator or returns an error if something is wrong Build() (SALDataHvacActuator, error) // MustBuild does the same as Build but panics on error @@ -110,19 +110,6 @@ func (m *_SALDataHvacActuatorBuilder) WithHvacActuatorData(hvacActuatorData Ligh return m } -func (m *_SALDataHvacActuatorBuilder) WithHvacActuatorDataBuilder(builderSupplier func(LightingDataBuilder) LightingDataBuilder) SALDataHvacActuatorBuilder { - builder := builderSupplier(m.HvacActuatorData.CreateLightingDataBuilder()) - var err error - m.HvacActuatorData, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "LightingDataBuilder failed")) - } - return m -} - func (m *_SALDataHvacActuatorBuilder) Build() (SALDataHvacActuator, error) { if m.HvacActuatorData == nil { if m.err == nil { diff --git a/plc4go/protocols/cbus/readwrite/model/SALDataIrrigationControl.go b/plc4go/protocols/cbus/readwrite/model/SALDataIrrigationControl.go index 91d520e011..f9e2c8b7d5 100644 --- a/plc4go/protocols/cbus/readwrite/model/SALDataIrrigationControl.go +++ b/plc4go/protocols/cbus/readwrite/model/SALDataIrrigationControl.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -80,8 +82,6 @@ type SALDataIrrigationControlBuilder interface { WithMandatoryFields(irrigationControlData LightingData) SALDataIrrigationControlBuilder // WithIrrigationControlData adds IrrigationControlData (property field) WithIrrigationControlData(LightingData) SALDataIrrigationControlBuilder - // WithIrrigationControlDataBuilder adds IrrigationControlData (property field) which is build by the builder - WithIrrigationControlDataBuilder(func(LightingDataBuilder) LightingDataBuilder) SALDataIrrigationControlBuilder // Build builds the SALDataIrrigationControl or returns an error if something is wrong Build() (SALDataIrrigationControl, error) // MustBuild does the same as Build but panics on error @@ -110,19 +110,6 @@ func (m *_SALDataIrrigationControlBuilder) WithIrrigationControlData(irrigationC return m } -func (m *_SALDataIrrigationControlBuilder) WithIrrigationControlDataBuilder(builderSupplier func(LightingDataBuilder) LightingDataBuilder) SALDataIrrigationControlBuilder { - builder := builderSupplier(m.IrrigationControlData.CreateLightingDataBuilder()) - var err error - m.IrrigationControlData, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "LightingDataBuilder failed")) - } - return m -} - func (m *_SALDataIrrigationControlBuilder) Build() (SALDataIrrigationControl, error) { if m.IrrigationControlData == nil { if m.err == nil { diff --git a/plc4go/protocols/cbus/readwrite/model/SALDataLighting.go b/plc4go/protocols/cbus/readwrite/model/SALDataLighting.go index ffc96ea220..bb5f34151d 100644 --- a/plc4go/protocols/cbus/readwrite/model/SALDataLighting.go +++ b/plc4go/protocols/cbus/readwrite/model/SALDataLighting.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -80,8 +82,6 @@ type SALDataLightingBuilder interface { WithMandatoryFields(lightingData LightingData) SALDataLightingBuilder // WithLightingData adds LightingData (property field) WithLightingData(LightingData) SALDataLightingBuilder - // WithLightingDataBuilder adds LightingData (property field) which is build by the builder - WithLightingDataBuilder(func(LightingDataBuilder) LightingDataBuilder) SALDataLightingBuilder // Build builds the SALDataLighting or returns an error if something is wrong Build() (SALDataLighting, error) // MustBuild does the same as Build but panics on error @@ -110,19 +110,6 @@ func (m *_SALDataLightingBuilder) WithLightingData(lightingData LightingData) SA return m } -func (m *_SALDataLightingBuilder) WithLightingDataBuilder(builderSupplier func(LightingDataBuilder) LightingDataBuilder) SALDataLightingBuilder { - builder := builderSupplier(m.LightingData.CreateLightingDataBuilder()) - var err error - m.LightingData, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "LightingDataBuilder failed")) - } - return m -} - func (m *_SALDataLightingBuilder) Build() (SALDataLighting, error) { if m.LightingData == nil { if m.err == nil { diff --git a/plc4go/protocols/cbus/readwrite/model/SALDataMeasurement.go b/plc4go/protocols/cbus/readwrite/model/SALDataMeasurement.go index 8b7c0c50e9..c0b2ccf391 100644 --- a/plc4go/protocols/cbus/readwrite/model/SALDataMeasurement.go +++ b/plc4go/protocols/cbus/readwrite/model/SALDataMeasurement.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -80,8 +82,6 @@ type SALDataMeasurementBuilder interface { WithMandatoryFields(measurementData MeasurementData) SALDataMeasurementBuilder // WithMeasurementData adds MeasurementData (property field) WithMeasurementData(MeasurementData) SALDataMeasurementBuilder - // WithMeasurementDataBuilder adds MeasurementData (property field) which is build by the builder - WithMeasurementDataBuilder(func(MeasurementDataBuilder) MeasurementDataBuilder) SALDataMeasurementBuilder // Build builds the SALDataMeasurement or returns an error if something is wrong Build() (SALDataMeasurement, error) // MustBuild does the same as Build but panics on error @@ -110,19 +110,6 @@ func (m *_SALDataMeasurementBuilder) WithMeasurementData(measurementData Measure return m } -func (m *_SALDataMeasurementBuilder) WithMeasurementDataBuilder(builderSupplier func(MeasurementDataBuilder) MeasurementDataBuilder) SALDataMeasurementBuilder { - builder := builderSupplier(m.MeasurementData.CreateMeasurementDataBuilder()) - var err error - m.MeasurementData, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "MeasurementDataBuilder failed")) - } - return m -} - func (m *_SALDataMeasurementBuilder) Build() (SALDataMeasurement, error) { if m.MeasurementData == nil { if m.err == nil { diff --git a/plc4go/protocols/cbus/readwrite/model/SALDataMediaTransport.go b/plc4go/protocols/cbus/readwrite/model/SALDataMediaTransport.go index 675a9ae8ea..dc5ec5d427 100644 --- a/plc4go/protocols/cbus/readwrite/model/SALDataMediaTransport.go +++ b/plc4go/protocols/cbus/readwrite/model/SALDataMediaTransport.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -80,8 +82,6 @@ type SALDataMediaTransportBuilder interface { WithMandatoryFields(mediaTransportControlData MediaTransportControlData) SALDataMediaTransportBuilder // WithMediaTransportControlData adds MediaTransportControlData (property field) WithMediaTransportControlData(MediaTransportControlData) SALDataMediaTransportBuilder - // WithMediaTransportControlDataBuilder adds MediaTransportControlData (property field) which is build by the builder - WithMediaTransportControlDataBuilder(func(MediaTransportControlDataBuilder) MediaTransportControlDataBuilder) SALDataMediaTransportBuilder // Build builds the SALDataMediaTransport or returns an error if something is wrong Build() (SALDataMediaTransport, error) // MustBuild does the same as Build but panics on error @@ -110,19 +110,6 @@ func (m *_SALDataMediaTransportBuilder) WithMediaTransportControlData(mediaTrans return m } -func (m *_SALDataMediaTransportBuilder) WithMediaTransportControlDataBuilder(builderSupplier func(MediaTransportControlDataBuilder) MediaTransportControlDataBuilder) SALDataMediaTransportBuilder { - builder := builderSupplier(m.MediaTransportControlData.CreateMediaTransportControlDataBuilder()) - var err error - m.MediaTransportControlData, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "MediaTransportControlDataBuilder failed")) - } - return m -} - func (m *_SALDataMediaTransportBuilder) Build() (SALDataMediaTransport, error) { if m.MediaTransportControlData == nil { if m.err == nil { diff --git a/plc4go/protocols/cbus/readwrite/model/SALDataMetering.go b/plc4go/protocols/cbus/readwrite/model/SALDataMetering.go index 74b86735cf..12d7ba75b2 100644 --- a/plc4go/protocols/cbus/readwrite/model/SALDataMetering.go +++ b/plc4go/protocols/cbus/readwrite/model/SALDataMetering.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -80,8 +82,6 @@ type SALDataMeteringBuilder interface { WithMandatoryFields(meteringData MeteringData) SALDataMeteringBuilder // WithMeteringData adds MeteringData (property field) WithMeteringData(MeteringData) SALDataMeteringBuilder - // WithMeteringDataBuilder adds MeteringData (property field) which is build by the builder - WithMeteringDataBuilder(func(MeteringDataBuilder) MeteringDataBuilder) SALDataMeteringBuilder // Build builds the SALDataMetering or returns an error if something is wrong Build() (SALDataMetering, error) // MustBuild does the same as Build but panics on error @@ -110,19 +110,6 @@ func (m *_SALDataMeteringBuilder) WithMeteringData(meteringData MeteringData) SA return m } -func (m *_SALDataMeteringBuilder) WithMeteringDataBuilder(builderSupplier func(MeteringDataBuilder) MeteringDataBuilder) SALDataMeteringBuilder { - builder := builderSupplier(m.MeteringData.CreateMeteringDataBuilder()) - var err error - m.MeteringData, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "MeteringDataBuilder failed")) - } - return m -} - func (m *_SALDataMeteringBuilder) Build() (SALDataMetering, error) { if m.MeteringData == nil { if m.err == nil { diff --git a/plc4go/protocols/cbus/readwrite/model/SALDataPoolsSpasPondsFountainsControl.go b/plc4go/protocols/cbus/readwrite/model/SALDataPoolsSpasPondsFountainsControl.go index 494cb43505..5fad29beaa 100644 --- a/plc4go/protocols/cbus/readwrite/model/SALDataPoolsSpasPondsFountainsControl.go +++ b/plc4go/protocols/cbus/readwrite/model/SALDataPoolsSpasPondsFountainsControl.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -80,8 +82,6 @@ type SALDataPoolsSpasPondsFountainsControlBuilder interface { WithMandatoryFields(poolsSpaPondsFountainsData LightingData) SALDataPoolsSpasPondsFountainsControlBuilder // WithPoolsSpaPondsFountainsData adds PoolsSpaPondsFountainsData (property field) WithPoolsSpaPondsFountainsData(LightingData) SALDataPoolsSpasPondsFountainsControlBuilder - // WithPoolsSpaPondsFountainsDataBuilder adds PoolsSpaPondsFountainsData (property field) which is build by the builder - WithPoolsSpaPondsFountainsDataBuilder(func(LightingDataBuilder) LightingDataBuilder) SALDataPoolsSpasPondsFountainsControlBuilder // Build builds the SALDataPoolsSpasPondsFountainsControl or returns an error if something is wrong Build() (SALDataPoolsSpasPondsFountainsControl, error) // MustBuild does the same as Build but panics on error @@ -110,19 +110,6 @@ func (m *_SALDataPoolsSpasPondsFountainsControlBuilder) WithPoolsSpaPondsFountai return m } -func (m *_SALDataPoolsSpasPondsFountainsControlBuilder) WithPoolsSpaPondsFountainsDataBuilder(builderSupplier func(LightingDataBuilder) LightingDataBuilder) SALDataPoolsSpasPondsFountainsControlBuilder { - builder := builderSupplier(m.PoolsSpaPondsFountainsData.CreateLightingDataBuilder()) - var err error - m.PoolsSpaPondsFountainsData, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "LightingDataBuilder failed")) - } - return m -} - func (m *_SALDataPoolsSpasPondsFountainsControlBuilder) Build() (SALDataPoolsSpasPondsFountainsControl, error) { if m.PoolsSpaPondsFountainsData == nil { if m.err == nil { diff --git a/plc4go/protocols/cbus/readwrite/model/SALDataReserved.go b/plc4go/protocols/cbus/readwrite/model/SALDataReserved.go index 5992ffb1e3..6ba4842d70 100644 --- a/plc4go/protocols/cbus/readwrite/model/SALDataReserved.go +++ b/plc4go/protocols/cbus/readwrite/model/SALDataReserved.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/SALDataRoomControlSystem.go b/plc4go/protocols/cbus/readwrite/model/SALDataRoomControlSystem.go index 4bb442a44f..492e773a82 100644 --- a/plc4go/protocols/cbus/readwrite/model/SALDataRoomControlSystem.go +++ b/plc4go/protocols/cbus/readwrite/model/SALDataRoomControlSystem.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/SALDataSecurity.go b/plc4go/protocols/cbus/readwrite/model/SALDataSecurity.go index a093a7bef9..008bee1e72 100644 --- a/plc4go/protocols/cbus/readwrite/model/SALDataSecurity.go +++ b/plc4go/protocols/cbus/readwrite/model/SALDataSecurity.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -80,8 +82,6 @@ type SALDataSecurityBuilder interface { WithMandatoryFields(securityData SecurityData) SALDataSecurityBuilder // WithSecurityData adds SecurityData (property field) WithSecurityData(SecurityData) SALDataSecurityBuilder - // WithSecurityDataBuilder adds SecurityData (property field) which is build by the builder - WithSecurityDataBuilder(func(SecurityDataBuilder) SecurityDataBuilder) SALDataSecurityBuilder // Build builds the SALDataSecurity or returns an error if something is wrong Build() (SALDataSecurity, error) // MustBuild does the same as Build but panics on error @@ -110,19 +110,6 @@ func (m *_SALDataSecurityBuilder) WithSecurityData(securityData SecurityData) SA return m } -func (m *_SALDataSecurityBuilder) WithSecurityDataBuilder(builderSupplier func(SecurityDataBuilder) SecurityDataBuilder) SALDataSecurityBuilder { - builder := builderSupplier(m.SecurityData.CreateSecurityDataBuilder()) - var err error - m.SecurityData, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "SecurityDataBuilder failed")) - } - return m -} - func (m *_SALDataSecurityBuilder) Build() (SALDataSecurity, error) { if m.SecurityData == nil { if m.err == nil { diff --git a/plc4go/protocols/cbus/readwrite/model/SALDataTelephonyStatusAndControl.go b/plc4go/protocols/cbus/readwrite/model/SALDataTelephonyStatusAndControl.go index 8d4f8c1628..a7d1711d31 100644 --- a/plc4go/protocols/cbus/readwrite/model/SALDataTelephonyStatusAndControl.go +++ b/plc4go/protocols/cbus/readwrite/model/SALDataTelephonyStatusAndControl.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -80,8 +82,6 @@ type SALDataTelephonyStatusAndControlBuilder interface { WithMandatoryFields(telephonyData TelephonyData) SALDataTelephonyStatusAndControlBuilder // WithTelephonyData adds TelephonyData (property field) WithTelephonyData(TelephonyData) SALDataTelephonyStatusAndControlBuilder - // WithTelephonyDataBuilder adds TelephonyData (property field) which is build by the builder - WithTelephonyDataBuilder(func(TelephonyDataBuilder) TelephonyDataBuilder) SALDataTelephonyStatusAndControlBuilder // Build builds the SALDataTelephonyStatusAndControl or returns an error if something is wrong Build() (SALDataTelephonyStatusAndControl, error) // MustBuild does the same as Build but panics on error @@ -110,19 +110,6 @@ func (m *_SALDataTelephonyStatusAndControlBuilder) WithTelephonyData(telephonyDa return m } -func (m *_SALDataTelephonyStatusAndControlBuilder) WithTelephonyDataBuilder(builderSupplier func(TelephonyDataBuilder) TelephonyDataBuilder) SALDataTelephonyStatusAndControlBuilder { - builder := builderSupplier(m.TelephonyData.CreateTelephonyDataBuilder()) - var err error - m.TelephonyData, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "TelephonyDataBuilder failed")) - } - return m -} - func (m *_SALDataTelephonyStatusAndControlBuilder) Build() (SALDataTelephonyStatusAndControl, error) { if m.TelephonyData == nil { if m.err == nil { diff --git a/plc4go/protocols/cbus/readwrite/model/SALDataTemperatureBroadcast.go b/plc4go/protocols/cbus/readwrite/model/SALDataTemperatureBroadcast.go index bdfb956467..c8aa21a1c3 100644 --- a/plc4go/protocols/cbus/readwrite/model/SALDataTemperatureBroadcast.go +++ b/plc4go/protocols/cbus/readwrite/model/SALDataTemperatureBroadcast.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/SALDataTesting.go b/plc4go/protocols/cbus/readwrite/model/SALDataTesting.go index da9c272f9c..1a5e8b13df 100644 --- a/plc4go/protocols/cbus/readwrite/model/SALDataTesting.go +++ b/plc4go/protocols/cbus/readwrite/model/SALDataTesting.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/SALDataTriggerControl.go b/plc4go/protocols/cbus/readwrite/model/SALDataTriggerControl.go index 7b1a3a2e3d..61aef14038 100644 --- a/plc4go/protocols/cbus/readwrite/model/SALDataTriggerControl.go +++ b/plc4go/protocols/cbus/readwrite/model/SALDataTriggerControl.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -80,8 +82,6 @@ type SALDataTriggerControlBuilder interface { WithMandatoryFields(triggerControlData TriggerControlData) SALDataTriggerControlBuilder // WithTriggerControlData adds TriggerControlData (property field) WithTriggerControlData(TriggerControlData) SALDataTriggerControlBuilder - // WithTriggerControlDataBuilder adds TriggerControlData (property field) which is build by the builder - WithTriggerControlDataBuilder(func(TriggerControlDataBuilder) TriggerControlDataBuilder) SALDataTriggerControlBuilder // Build builds the SALDataTriggerControl or returns an error if something is wrong Build() (SALDataTriggerControl, error) // MustBuild does the same as Build but panics on error @@ -110,19 +110,6 @@ func (m *_SALDataTriggerControlBuilder) WithTriggerControlData(triggerControlDat return m } -func (m *_SALDataTriggerControlBuilder) WithTriggerControlDataBuilder(builderSupplier func(TriggerControlDataBuilder) TriggerControlDataBuilder) SALDataTriggerControlBuilder { - builder := builderSupplier(m.TriggerControlData.CreateTriggerControlDataBuilder()) - var err error - m.TriggerControlData, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "TriggerControlDataBuilder failed")) - } - return m -} - func (m *_SALDataTriggerControlBuilder) Build() (SALDataTriggerControl, error) { if m.TriggerControlData == nil { if m.err == nil { diff --git a/plc4go/protocols/cbus/readwrite/model/SALDataVentilation.go b/plc4go/protocols/cbus/readwrite/model/SALDataVentilation.go index 04c7e3d3cb..f236463eeb 100644 --- a/plc4go/protocols/cbus/readwrite/model/SALDataVentilation.go +++ b/plc4go/protocols/cbus/readwrite/model/SALDataVentilation.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -80,8 +82,6 @@ type SALDataVentilationBuilder interface { WithMandatoryFields(ventilationData LightingData) SALDataVentilationBuilder // WithVentilationData adds VentilationData (property field) WithVentilationData(LightingData) SALDataVentilationBuilder - // WithVentilationDataBuilder adds VentilationData (property field) which is build by the builder - WithVentilationDataBuilder(func(LightingDataBuilder) LightingDataBuilder) SALDataVentilationBuilder // Build builds the SALDataVentilation or returns an error if something is wrong Build() (SALDataVentilation, error) // MustBuild does the same as Build but panics on error @@ -110,19 +110,6 @@ func (m *_SALDataVentilationBuilder) WithVentilationData(ventilationData Lightin return m } -func (m *_SALDataVentilationBuilder) WithVentilationDataBuilder(builderSupplier func(LightingDataBuilder) LightingDataBuilder) SALDataVentilationBuilder { - builder := builderSupplier(m.VentilationData.CreateLightingDataBuilder()) - var err error - m.VentilationData, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "LightingDataBuilder failed")) - } - return m -} - func (m *_SALDataVentilationBuilder) Build() (SALDataVentilation, error) { if m.VentilationData == nil { if m.err == nil { diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityArmCode.go b/plc4go/protocols/cbus/readwrite/model/SecurityArmCode.go index c8782e42a2..e189d9ddde 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityArmCode.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityArmCode.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityCommandType.go b/plc4go/protocols/cbus/readwrite/model/SecurityCommandType.go index de035970e3..37a8acab50 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityCommandType.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityCommandType.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityCommandTypeContainer.go b/plc4go/protocols/cbus/readwrite/model/SecurityCommandTypeContainer.go index a75b035903..37e33577ce 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityCommandTypeContainer.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityCommandTypeContainer.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityData.go b/plc4go/protocols/cbus/readwrite/model/SecurityData.go index f37146b05d..32ad15876d 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityData.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityData.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataAlarmOff.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataAlarmOff.go index 779ad93900..8e7347dff8 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataAlarmOff.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataAlarmOff.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataAlarmOn.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataAlarmOn.go index 6348fb7f5e..ce38fcee25 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataAlarmOn.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataAlarmOn.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataArmFailedCleared.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataArmFailedCleared.go index 174379e849..5fb896f74e 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataArmFailedCleared.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataArmFailedCleared.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataArmFailedRaised.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataArmFailedRaised.go index e61c1779ff..329bb74f44 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataArmFailedRaised.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataArmFailedRaised.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataArmReadyNotReady.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataArmReadyNotReady.go index 0bdd20fbfc..c17aa9807b 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataArmReadyNotReady.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataArmReadyNotReady.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataArmSystem.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataArmSystem.go index a10c52925e..ef2ce08fee 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataArmSystem.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataArmSystem.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataCurrentAlarmType.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataCurrentAlarmType.go index 2774301ad1..64a044df31 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataCurrentAlarmType.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataCurrentAlarmType.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataDisplayMessage.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataDisplayMessage.go index 30b969b9b9..ec2dc3e3e9 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataDisplayMessage.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataDisplayMessage.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataDropTamper.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataDropTamper.go index 2f78b973e1..2d5335391e 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataDropTamper.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataDropTamper.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataEmulatedKeypad.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataEmulatedKeypad.go index 1a482746e8..9dad6b6e48 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataEmulatedKeypad.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataEmulatedKeypad.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataEntryDelayStarted.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataEntryDelayStarted.go index 4f1c0c9b95..2c9a9fbbcb 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataEntryDelayStarted.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataEntryDelayStarted.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataEvent.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataEvent.go index 168e3451c1..67a3393f57 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataEvent.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataEvent.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataExitDelayStarted.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataExitDelayStarted.go index deb923b53a..0c015240fa 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataExitDelayStarted.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataExitDelayStarted.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataFireAlarmCleared.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataFireAlarmCleared.go index 5980a61927..bffd74a924 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataFireAlarmCleared.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataFireAlarmCleared.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataFireAlarmRaised.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataFireAlarmRaised.go index a6080656c1..4067c638d5 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataFireAlarmRaised.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataFireAlarmRaised.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataGasAlarmCleared.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataGasAlarmCleared.go index 031e8c43d7..94014df1aa 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataGasAlarmCleared.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataGasAlarmCleared.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataGasAlarmRaised.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataGasAlarmRaised.go index 3c68bae7d7..4a73c0e877 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataGasAlarmRaised.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataGasAlarmRaised.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataLineCutAlarmCleared.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataLineCutAlarmCleared.go index d9ff6bda8c..74d0e3c12e 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataLineCutAlarmCleared.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataLineCutAlarmCleared.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataLineCutAlarmRaised.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataLineCutAlarmRaised.go index 91cac56225..3eb8d857dd 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataLineCutAlarmRaised.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataLineCutAlarmRaised.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataLowBatteryCharging.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataLowBatteryCharging.go index 09b6de4333..e31cb1bf4c 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataLowBatteryCharging.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataLowBatteryCharging.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataLowBatteryCorrected.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataLowBatteryCorrected.go index d9abefa1ea..7473bd494c 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataLowBatteryCorrected.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataLowBatteryCorrected.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataLowBatteryDetected.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataLowBatteryDetected.go index cf28b96f55..9e9359bff5 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataLowBatteryDetected.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataLowBatteryDetected.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataMainsFailure.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataMainsFailure.go index 41add265e2..93c672f1a6 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataMainsFailure.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataMainsFailure.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataMainsRestoredOrApplied.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataMainsRestoredOrApplied.go index 70e2167e1b..018abc92a7 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataMainsRestoredOrApplied.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataMainsRestoredOrApplied.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataOff.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataOff.go index 151a55548d..9a406da584 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataOff.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataOff.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataOn.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataOn.go index e54c9bcc84..e66029496a 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataOn.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataOn.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataOtherAlarmCleared.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataOtherAlarmCleared.go index 31a56b0dbd..3514c4c0af 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataOtherAlarmCleared.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataOtherAlarmCleared.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataOtherAlarmRaised.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataOtherAlarmRaised.go index 54389a8340..7bb337ca5a 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataOtherAlarmRaised.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataOtherAlarmRaised.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataPanicActivated.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataPanicActivated.go index 1fcba978e6..2dcc4e8b66 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataPanicActivated.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataPanicActivated.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataPanicCleared.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataPanicCleared.go index 2ecda31a5c..0c34cdcedb 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataPanicCleared.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataPanicCleared.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataPasswordEntryStatus.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataPasswordEntryStatus.go index 9825f926f0..daa9aa69b0 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataPasswordEntryStatus.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataPasswordEntryStatus.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataRaiseAlarm.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataRaiseAlarm.go index e665e5c4f5..c799e9d21a 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataRaiseAlarm.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataRaiseAlarm.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataRaiseTamper.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataRaiseTamper.go index f0acfe8338..d7d5be7a57 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataRaiseTamper.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataRaiseTamper.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataRequestZoneName.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataRequestZoneName.go index 2c12fdbc22..6d1e059c35 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataRequestZoneName.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataRequestZoneName.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataStatus1Request.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataStatus1Request.go index 7f14b39c9e..f6c1f53a9b 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataStatus1Request.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataStatus1Request.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataStatus2Request.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataStatus2Request.go index 07e5704a00..524689059b 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataStatus2Request.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataStatus2Request.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataStatusReport1.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataStatusReport1.go index 94a16c9b6e..4949a98968 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataStatusReport1.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataStatusReport1.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataStatusReport2.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataStatusReport2.go index a11869bd8b..71dbd12b0c 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataStatusReport2.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataStatusReport2.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataSystemArmedDisarmed.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataSystemArmedDisarmed.go index 6f9c1ab776..9e2d027fbf 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataSystemArmedDisarmed.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataSystemArmedDisarmed.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataSystemDisarmed.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataSystemDisarmed.go index 5e4797980b..774bac12b2 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataSystemDisarmed.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataSystemDisarmed.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataTamperOff.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataTamperOff.go index 64a1050bc0..9cbe0ae22d 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataTamperOff.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataTamperOff.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataTamperOn.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataTamperOn.go index 3e518ddf45..2f1f9ee874 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataTamperOn.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataTamperOn.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataZoneIsolated.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataZoneIsolated.go index 0a426fcfed..9800ca6ad7 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataZoneIsolated.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataZoneIsolated.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataZoneName.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataZoneName.go index 6b22bc869c..c52ccf9199 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataZoneName.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataZoneName.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataZoneOpen.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataZoneOpen.go index a0befa7684..1a9ad2977d 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataZoneOpen.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataZoneOpen.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataZoneSealed.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataZoneSealed.go index 2e50b37c79..f452b810da 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataZoneSealed.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataZoneSealed.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataZoneShort.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataZoneShort.go index a31aef1f8f..edcd3465f7 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataZoneShort.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataZoneShort.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataZoneUnsealed.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataZoneUnsealed.go index fbe2106f2d..e5f42c9350 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataZoneUnsealed.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataZoneUnsealed.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/SerialInterfaceAddress.go b/plc4go/protocols/cbus/readwrite/model/SerialInterfaceAddress.go index af9c0b8505..901382b82f 100644 --- a/plc4go/protocols/cbus/readwrite/model/SerialInterfaceAddress.go +++ b/plc4go/protocols/cbus/readwrite/model/SerialInterfaceAddress.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/SerialNumber.go b/plc4go/protocols/cbus/readwrite/model/SerialNumber.go index 23f4e66240..7de449c7ae 100644 --- a/plc4go/protocols/cbus/readwrite/model/SerialNumber.go +++ b/plc4go/protocols/cbus/readwrite/model/SerialNumber.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/ServerErrorReply.go b/plc4go/protocols/cbus/readwrite/model/ServerErrorReply.go index b6adf8724b..e0c8fe803f 100644 --- a/plc4go/protocols/cbus/readwrite/model/ServerErrorReply.go +++ b/plc4go/protocols/cbus/readwrite/model/ServerErrorReply.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/StatusByte.go b/plc4go/protocols/cbus/readwrite/model/StatusByte.go index 302f829960..5e98e0a7f5 100644 --- a/plc4go/protocols/cbus/readwrite/model/StatusByte.go +++ b/plc4go/protocols/cbus/readwrite/model/StatusByte.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/StatusCoding.go b/plc4go/protocols/cbus/readwrite/model/StatusCoding.go index 403c8b3f12..c142b52e51 100644 --- a/plc4go/protocols/cbus/readwrite/model/StatusCoding.go +++ b/plc4go/protocols/cbus/readwrite/model/StatusCoding.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/StatusRequest.go b/plc4go/protocols/cbus/readwrite/model/StatusRequest.go index 57486bf923..9c5ed09b02 100644 --- a/plc4go/protocols/cbus/readwrite/model/StatusRequest.go +++ b/plc4go/protocols/cbus/readwrite/model/StatusRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/StatusRequestBinaryState.go b/plc4go/protocols/cbus/readwrite/model/StatusRequestBinaryState.go index 8476e3eda3..31a07f0bd3 100644 --- a/plc4go/protocols/cbus/readwrite/model/StatusRequestBinaryState.go +++ b/plc4go/protocols/cbus/readwrite/model/StatusRequestBinaryState.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/StatusRequestBinaryStateDeprecated.go b/plc4go/protocols/cbus/readwrite/model/StatusRequestBinaryStateDeprecated.go index 27d204e96a..d20e2e4cec 100644 --- a/plc4go/protocols/cbus/readwrite/model/StatusRequestBinaryStateDeprecated.go +++ b/plc4go/protocols/cbus/readwrite/model/StatusRequestBinaryStateDeprecated.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/StatusRequestLevel.go b/plc4go/protocols/cbus/readwrite/model/StatusRequestLevel.go index 0fe7570352..b949f49796 100644 --- a/plc4go/protocols/cbus/readwrite/model/StatusRequestLevel.go +++ b/plc4go/protocols/cbus/readwrite/model/StatusRequestLevel.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/TamperStatus.go b/plc4go/protocols/cbus/readwrite/model/TamperStatus.go index 852e635261..2184b58f53 100644 --- a/plc4go/protocols/cbus/readwrite/model/TamperStatus.go +++ b/plc4go/protocols/cbus/readwrite/model/TamperStatus.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/TelephonyCommandType.go b/plc4go/protocols/cbus/readwrite/model/TelephonyCommandType.go index 88b111aee4..b8dca4dc4f 100644 --- a/plc4go/protocols/cbus/readwrite/model/TelephonyCommandType.go +++ b/plc4go/protocols/cbus/readwrite/model/TelephonyCommandType.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/TelephonyCommandTypeContainer.go b/plc4go/protocols/cbus/readwrite/model/TelephonyCommandTypeContainer.go index ff2185d8e2..bc5557b6d9 100644 --- a/plc4go/protocols/cbus/readwrite/model/TelephonyCommandTypeContainer.go +++ b/plc4go/protocols/cbus/readwrite/model/TelephonyCommandTypeContainer.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/TelephonyData.go b/plc4go/protocols/cbus/readwrite/model/TelephonyData.go index ed4f70fa2c..4584593d68 100644 --- a/plc4go/protocols/cbus/readwrite/model/TelephonyData.go +++ b/plc4go/protocols/cbus/readwrite/model/TelephonyData.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/TelephonyDataClearDiversion.go b/plc4go/protocols/cbus/readwrite/model/TelephonyDataClearDiversion.go index 4c66323b03..f323224ab7 100644 --- a/plc4go/protocols/cbus/readwrite/model/TelephonyDataClearDiversion.go +++ b/plc4go/protocols/cbus/readwrite/model/TelephonyDataClearDiversion.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/TelephonyDataDialInFailure.go b/plc4go/protocols/cbus/readwrite/model/TelephonyDataDialInFailure.go index 25295a07fa..14a407faa7 100644 --- a/plc4go/protocols/cbus/readwrite/model/TelephonyDataDialInFailure.go +++ b/plc4go/protocols/cbus/readwrite/model/TelephonyDataDialInFailure.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/TelephonyDataDialOutFailure.go b/plc4go/protocols/cbus/readwrite/model/TelephonyDataDialOutFailure.go index cba70ee918..7c53ccfb8f 100644 --- a/plc4go/protocols/cbus/readwrite/model/TelephonyDataDialOutFailure.go +++ b/plc4go/protocols/cbus/readwrite/model/TelephonyDataDialOutFailure.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/TelephonyDataDivert.go b/plc4go/protocols/cbus/readwrite/model/TelephonyDataDivert.go index 995fbdcdf4..aa5f831cfb 100644 --- a/plc4go/protocols/cbus/readwrite/model/TelephonyDataDivert.go +++ b/plc4go/protocols/cbus/readwrite/model/TelephonyDataDivert.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/TelephonyDataInternetConnectionRequestMade.go b/plc4go/protocols/cbus/readwrite/model/TelephonyDataInternetConnectionRequestMade.go index 854d1863ea..ec28bf1486 100644 --- a/plc4go/protocols/cbus/readwrite/model/TelephonyDataInternetConnectionRequestMade.go +++ b/plc4go/protocols/cbus/readwrite/model/TelephonyDataInternetConnectionRequestMade.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/TelephonyDataIsolateSecondaryOutlet.go b/plc4go/protocols/cbus/readwrite/model/TelephonyDataIsolateSecondaryOutlet.go index d1df2580b5..91b5c7264e 100644 --- a/plc4go/protocols/cbus/readwrite/model/TelephonyDataIsolateSecondaryOutlet.go +++ b/plc4go/protocols/cbus/readwrite/model/TelephonyDataIsolateSecondaryOutlet.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/TelephonyDataLineOffHook.go b/plc4go/protocols/cbus/readwrite/model/TelephonyDataLineOffHook.go index e35d4c6e37..7cfadaf1b1 100644 --- a/plc4go/protocols/cbus/readwrite/model/TelephonyDataLineOffHook.go +++ b/plc4go/protocols/cbus/readwrite/model/TelephonyDataLineOffHook.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/TelephonyDataLineOnHook.go b/plc4go/protocols/cbus/readwrite/model/TelephonyDataLineOnHook.go index 91ccde76e1..3a5fb36863 100644 --- a/plc4go/protocols/cbus/readwrite/model/TelephonyDataLineOnHook.go +++ b/plc4go/protocols/cbus/readwrite/model/TelephonyDataLineOnHook.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/TelephonyDataRecallLastNumber.go b/plc4go/protocols/cbus/readwrite/model/TelephonyDataRecallLastNumber.go index 93759a9cad..42bbec0370 100644 --- a/plc4go/protocols/cbus/readwrite/model/TelephonyDataRecallLastNumber.go +++ b/plc4go/protocols/cbus/readwrite/model/TelephonyDataRecallLastNumber.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/TelephonyDataRecallLastNumberRequest.go b/plc4go/protocols/cbus/readwrite/model/TelephonyDataRecallLastNumberRequest.go index 3c33baabc5..d7572242f7 100644 --- a/plc4go/protocols/cbus/readwrite/model/TelephonyDataRecallLastNumberRequest.go +++ b/plc4go/protocols/cbus/readwrite/model/TelephonyDataRecallLastNumberRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/TelephonyDataRejectIncomingCall.go b/plc4go/protocols/cbus/readwrite/model/TelephonyDataRejectIncomingCall.go index 23315dd541..1fda0b6edd 100644 --- a/plc4go/protocols/cbus/readwrite/model/TelephonyDataRejectIncomingCall.go +++ b/plc4go/protocols/cbus/readwrite/model/TelephonyDataRejectIncomingCall.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/TelephonyDataRinging.go b/plc4go/protocols/cbus/readwrite/model/TelephonyDataRinging.go index dfcdd30339..eaac87da1b 100644 --- a/plc4go/protocols/cbus/readwrite/model/TelephonyDataRinging.go +++ b/plc4go/protocols/cbus/readwrite/model/TelephonyDataRinging.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/TemperatureBroadcastCommandType.go b/plc4go/protocols/cbus/readwrite/model/TemperatureBroadcastCommandType.go index 253e9a15b1..c06585f9a3 100644 --- a/plc4go/protocols/cbus/readwrite/model/TemperatureBroadcastCommandType.go +++ b/plc4go/protocols/cbus/readwrite/model/TemperatureBroadcastCommandType.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/TemperatureBroadcastCommandTypeContainer.go b/plc4go/protocols/cbus/readwrite/model/TemperatureBroadcastCommandTypeContainer.go index 1ed44936b0..20d975e9f7 100644 --- a/plc4go/protocols/cbus/readwrite/model/TemperatureBroadcastCommandTypeContainer.go +++ b/plc4go/protocols/cbus/readwrite/model/TemperatureBroadcastCommandTypeContainer.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/TemperatureBroadcastData.go b/plc4go/protocols/cbus/readwrite/model/TemperatureBroadcastData.go index 148c003129..4bde886bb4 100644 --- a/plc4go/protocols/cbus/readwrite/model/TemperatureBroadcastData.go +++ b/plc4go/protocols/cbus/readwrite/model/TemperatureBroadcastData.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/TriggerControlCommandType.go b/plc4go/protocols/cbus/readwrite/model/TriggerControlCommandType.go index 2218c83ba8..8cb5e0d333 100644 --- a/plc4go/protocols/cbus/readwrite/model/TriggerControlCommandType.go +++ b/plc4go/protocols/cbus/readwrite/model/TriggerControlCommandType.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/TriggerControlCommandTypeContainer.go b/plc4go/protocols/cbus/readwrite/model/TriggerControlCommandTypeContainer.go index 8215c73ddf..0c088f2af6 100644 --- a/plc4go/protocols/cbus/readwrite/model/TriggerControlCommandTypeContainer.go +++ b/plc4go/protocols/cbus/readwrite/model/TriggerControlCommandTypeContainer.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/TriggerControlData.go b/plc4go/protocols/cbus/readwrite/model/TriggerControlData.go index 434d1e7a26..12588e7032 100644 --- a/plc4go/protocols/cbus/readwrite/model/TriggerControlData.go +++ b/plc4go/protocols/cbus/readwrite/model/TriggerControlData.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/TriggerControlDataIndicatorKill.go b/plc4go/protocols/cbus/readwrite/model/TriggerControlDataIndicatorKill.go index b8e94d98f0..908f7bdbd5 100644 --- a/plc4go/protocols/cbus/readwrite/model/TriggerControlDataIndicatorKill.go +++ b/plc4go/protocols/cbus/readwrite/model/TriggerControlDataIndicatorKill.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/TriggerControlDataLabel.go b/plc4go/protocols/cbus/readwrite/model/TriggerControlDataLabel.go index 7cbe6b67bf..d80d004f31 100644 --- a/plc4go/protocols/cbus/readwrite/model/TriggerControlDataLabel.go +++ b/plc4go/protocols/cbus/readwrite/model/TriggerControlDataLabel.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/TriggerControlDataTriggerEvent.go b/plc4go/protocols/cbus/readwrite/model/TriggerControlDataTriggerEvent.go index 17479c246b..15b64eee34 100644 --- a/plc4go/protocols/cbus/readwrite/model/TriggerControlDataTriggerEvent.go +++ b/plc4go/protocols/cbus/readwrite/model/TriggerControlDataTriggerEvent.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/TriggerControlDataTriggerMax.go b/plc4go/protocols/cbus/readwrite/model/TriggerControlDataTriggerMax.go index 8aeea87cd0..c2f6f776ea 100644 --- a/plc4go/protocols/cbus/readwrite/model/TriggerControlDataTriggerMax.go +++ b/plc4go/protocols/cbus/readwrite/model/TriggerControlDataTriggerMax.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/TriggerControlDataTriggerMin.go b/plc4go/protocols/cbus/readwrite/model/TriggerControlDataTriggerMin.go index 2da40f9cb3..379155ac1e 100644 --- a/plc4go/protocols/cbus/readwrite/model/TriggerControlDataTriggerMin.go +++ b/plc4go/protocols/cbus/readwrite/model/TriggerControlDataTriggerMin.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/TriggerControlLabelFlavour.go b/plc4go/protocols/cbus/readwrite/model/TriggerControlLabelFlavour.go index e9f3241a7d..13968e0f41 100644 --- a/plc4go/protocols/cbus/readwrite/model/TriggerControlLabelFlavour.go +++ b/plc4go/protocols/cbus/readwrite/model/TriggerControlLabelFlavour.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/TriggerControlLabelOptions.go b/plc4go/protocols/cbus/readwrite/model/TriggerControlLabelOptions.go index 6cad9b6ca3..957b6d4894 100644 --- a/plc4go/protocols/cbus/readwrite/model/TriggerControlLabelOptions.go +++ b/plc4go/protocols/cbus/readwrite/model/TriggerControlLabelOptions.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/TriggerControlLabelType.go b/plc4go/protocols/cbus/readwrite/model/TriggerControlLabelType.go index d8bc7f89f9..75a430368b 100644 --- a/plc4go/protocols/cbus/readwrite/model/TriggerControlLabelType.go +++ b/plc4go/protocols/cbus/readwrite/model/TriggerControlLabelType.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/UnitAddress.go b/plc4go/protocols/cbus/readwrite/model/UnitAddress.go index 7da5322e77..4997545ec6 100644 --- a/plc4go/protocols/cbus/readwrite/model/UnitAddress.go +++ b/plc4go/protocols/cbus/readwrite/model/UnitAddress.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/UnitStatus.go b/plc4go/protocols/cbus/readwrite/model/UnitStatus.go index 14d371c23b..5b8f8e5f77 100644 --- a/plc4go/protocols/cbus/readwrite/model/UnitStatus.go +++ b/plc4go/protocols/cbus/readwrite/model/UnitStatus.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/ZoneStatus.go b/plc4go/protocols/cbus/readwrite/model/ZoneStatus.go index 71391ee74d..015abaf10a 100644 --- a/plc4go/protocols/cbus/readwrite/model/ZoneStatus.go +++ b/plc4go/protocols/cbus/readwrite/model/ZoneStatus.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/cbus/readwrite/model/ZoneStatusTemp.go b/plc4go/protocols/cbus/readwrite/model/ZoneStatusTemp.go index f1186ea635..1e176a677b 100644 --- a/plc4go/protocols/cbus/readwrite/model/ZoneStatusTemp.go +++ b/plc4go/protocols/cbus/readwrite/model/ZoneStatusTemp.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/df1/readwrite/ParserHelper.go b/plc4go/protocols/df1/readwrite/ParserHelper.go index 48df62fd9c..0e78aaecb2 100644 --- a/plc4go/protocols/df1/readwrite/ParserHelper.go +++ b/plc4go/protocols/df1/readwrite/ParserHelper.go @@ -22,9 +22,10 @@ package readwrite import ( "context" + "github.com/pkg/errors" + . "github.com/apache/plc4x/plc4go/protocols/df1/readwrite/model" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/df1/readwrite/XmlParserHelper.go b/plc4go/protocols/df1/readwrite/XmlParserHelper.go index 5021cc223c..75888b6052 100644 --- a/plc4go/protocols/df1/readwrite/XmlParserHelper.go +++ b/plc4go/protocols/df1/readwrite/XmlParserHelper.go @@ -24,9 +24,10 @@ import ( "strconv" "strings" + "github.com/pkg/errors" + . "github.com/apache/plc4x/plc4go/protocols/df1/readwrite/model" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/df1/readwrite/model/DF1Command.go b/plc4go/protocols/df1/readwrite/model/DF1Command.go index c581aa2e3c..1a70293c61 100644 --- a/plc4go/protocols/df1/readwrite/model/DF1Command.go +++ b/plc4go/protocols/df1/readwrite/model/DF1Command.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/df1/readwrite/model/DF1Symbol.go b/plc4go/protocols/df1/readwrite/model/DF1Symbol.go index d111ac658c..ca6b844ad9 100644 --- a/plc4go/protocols/df1/readwrite/model/DF1Symbol.go +++ b/plc4go/protocols/df1/readwrite/model/DF1Symbol.go @@ -23,12 +23,14 @@ import ( "context" "encoding/binary" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + "github.com/apache/plc4x/plc4go/spi/codegen" . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/df1/readwrite/model/DF1SymbolMessageFrame.go b/plc4go/protocols/df1/readwrite/model/DF1SymbolMessageFrame.go index f0d9982e17..560258ddf7 100644 --- a/plc4go/protocols/df1/readwrite/model/DF1SymbolMessageFrame.go +++ b/plc4go/protocols/df1/readwrite/model/DF1SymbolMessageFrame.go @@ -23,12 +23,14 @@ import ( "context" "encoding/binary" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + "github.com/apache/plc4x/plc4go/spi/codegen" . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -98,8 +100,6 @@ type DF1SymbolMessageFrameBuilder interface { WithSourceAddress(uint8) DF1SymbolMessageFrameBuilder // WithCommand adds Command (property field) WithCommand(DF1Command) DF1SymbolMessageFrameBuilder - // WithCommandBuilder adds Command (property field) which is build by the builder - WithCommandBuilder(func(DF1CommandBuilder) DF1CommandBuilder) DF1SymbolMessageFrameBuilder // Build builds the DF1SymbolMessageFrame or returns an error if something is wrong Build() (DF1SymbolMessageFrame, error) // MustBuild does the same as Build but panics on error @@ -138,19 +138,6 @@ func (m *_DF1SymbolMessageFrameBuilder) WithCommand(command DF1Command) DF1Symbo return m } -func (m *_DF1SymbolMessageFrameBuilder) WithCommandBuilder(builderSupplier func(DF1CommandBuilder) DF1CommandBuilder) DF1SymbolMessageFrameBuilder { - builder := builderSupplier(m.Command.CreateDF1CommandBuilder()) - var err error - m.Command, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "DF1CommandBuilder failed")) - } - return m -} - func (m *_DF1SymbolMessageFrameBuilder) Build() (DF1SymbolMessageFrame, error) { if m.Command == nil { if m.err == nil { diff --git a/plc4go/protocols/df1/readwrite/model/DF1SymbolMessageFrameACK.go b/plc4go/protocols/df1/readwrite/model/DF1SymbolMessageFrameACK.go index 6d1f7ab2a2..b8ac9813c7 100644 --- a/plc4go/protocols/df1/readwrite/model/DF1SymbolMessageFrameACK.go +++ b/plc4go/protocols/df1/readwrite/model/DF1SymbolMessageFrameACK.go @@ -23,9 +23,11 @@ import ( "context" "encoding/binary" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/df1/readwrite/model/DF1SymbolMessageFrameNAK.go b/plc4go/protocols/df1/readwrite/model/DF1SymbolMessageFrameNAK.go index 59bc38528a..cdb5b4fd2c 100644 --- a/plc4go/protocols/df1/readwrite/model/DF1SymbolMessageFrameNAK.go +++ b/plc4go/protocols/df1/readwrite/model/DF1SymbolMessageFrameNAK.go @@ -23,9 +23,11 @@ import ( "context" "encoding/binary" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/df1/readwrite/model/DF1UnprotectedReadRequest.go b/plc4go/protocols/df1/readwrite/model/DF1UnprotectedReadRequest.go index 0f084f8433..3e2988ece6 100644 --- a/plc4go/protocols/df1/readwrite/model/DF1UnprotectedReadRequest.go +++ b/plc4go/protocols/df1/readwrite/model/DF1UnprotectedReadRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/df1/readwrite/model/DF1UnprotectedReadResponse.go b/plc4go/protocols/df1/readwrite/model/DF1UnprotectedReadResponse.go index 852059fcdb..4c83cb7975 100644 --- a/plc4go/protocols/df1/readwrite/model/DF1UnprotectedReadResponse.go +++ b/plc4go/protocols/df1/readwrite/model/DF1UnprotectedReadResponse.go @@ -22,10 +22,12 @@ package model import ( "context" "fmt" - . "github.com/apache/plc4x/plc4go/spi/codegen/fields" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/eip/readwrite/ParserHelper.go b/plc4go/protocols/eip/readwrite/ParserHelper.go index 147b6902e1..6a98e27fb8 100644 --- a/plc4go/protocols/eip/readwrite/ParserHelper.go +++ b/plc4go/protocols/eip/readwrite/ParserHelper.go @@ -22,9 +22,10 @@ package readwrite import ( "context" + "github.com/pkg/errors" + . "github.com/apache/plc4x/plc4go/protocols/eip/readwrite/model" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/eip/readwrite/XmlParserHelper.go b/plc4go/protocols/eip/readwrite/XmlParserHelper.go index d9affb11f9..52fc84ed3b 100644 --- a/plc4go/protocols/eip/readwrite/XmlParserHelper.go +++ b/plc4go/protocols/eip/readwrite/XmlParserHelper.go @@ -24,9 +24,10 @@ import ( "strconv" "strings" + "github.com/pkg/errors" + . "github.com/apache/plc4x/plc4go/protocols/eip/readwrite/model" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/eip/readwrite/model/AnsiExtendedSymbolSegment.go b/plc4go/protocols/eip/readwrite/model/AnsiExtendedSymbolSegment.go index de8e8b6287..e7df00e560 100644 --- a/plc4go/protocols/eip/readwrite/model/AnsiExtendedSymbolSegment.go +++ b/plc4go/protocols/eip/readwrite/model/AnsiExtendedSymbolSegment.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/eip/readwrite/model/CIPAttributes.go b/plc4go/protocols/eip/readwrite/model/CIPAttributes.go index b6fbfbed02..59a21745c1 100644 --- a/plc4go/protocols/eip/readwrite/model/CIPAttributes.go +++ b/plc4go/protocols/eip/readwrite/model/CIPAttributes.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/eip/readwrite/model/CIPClassID.go b/plc4go/protocols/eip/readwrite/model/CIPClassID.go index 022f4dbfdf..02b1a32006 100644 --- a/plc4go/protocols/eip/readwrite/model/CIPClassID.go +++ b/plc4go/protocols/eip/readwrite/model/CIPClassID.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/eip/readwrite/model/CIPData.go b/plc4go/protocols/eip/readwrite/model/CIPData.go index 00f6d2516f..aa880b6a18 100644 --- a/plc4go/protocols/eip/readwrite/model/CIPData.go +++ b/plc4go/protocols/eip/readwrite/model/CIPData.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/eip/readwrite/model/CIPDataConnected.go b/plc4go/protocols/eip/readwrite/model/CIPDataConnected.go index b8003241b0..9fd4e51aa6 100644 --- a/plc4go/protocols/eip/readwrite/model/CIPDataConnected.go +++ b/plc4go/protocols/eip/readwrite/model/CIPDataConnected.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/eip/readwrite/model/CIPDataTypeCode.go b/plc4go/protocols/eip/readwrite/model/CIPDataTypeCode.go index bfc10e30c4..fbf030f729 100644 --- a/plc4go/protocols/eip/readwrite/model/CIPDataTypeCode.go +++ b/plc4go/protocols/eip/readwrite/model/CIPDataTypeCode.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/eip/readwrite/model/CIPStatus.go b/plc4go/protocols/eip/readwrite/model/CIPStatus.go index f0ae35047e..4cf8d0bb6c 100644 --- a/plc4go/protocols/eip/readwrite/model/CIPStatus.go +++ b/plc4go/protocols/eip/readwrite/model/CIPStatus.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/eip/readwrite/model/CIPStructTypeCode.go b/plc4go/protocols/eip/readwrite/model/CIPStructTypeCode.go index 49acf4022d..3577e175ac 100644 --- a/plc4go/protocols/eip/readwrite/model/CIPStructTypeCode.go +++ b/plc4go/protocols/eip/readwrite/model/CIPStructTypeCode.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/eip/readwrite/model/CipConnectedRequest.go b/plc4go/protocols/eip/readwrite/model/CipConnectedRequest.go index 1681cd8558..fb81c3af7c 100644 --- a/plc4go/protocols/eip/readwrite/model/CipConnectedRequest.go +++ b/plc4go/protocols/eip/readwrite/model/CipConnectedRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/eip/readwrite/model/CipConnectedResponse.go b/plc4go/protocols/eip/readwrite/model/CipConnectedResponse.go index b64d67f6dd..b2daa7cb8d 100644 --- a/plc4go/protocols/eip/readwrite/model/CipConnectedResponse.go +++ b/plc4go/protocols/eip/readwrite/model/CipConnectedResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/eip/readwrite/model/CipConnectionManagerCloseRequest.go b/plc4go/protocols/eip/readwrite/model/CipConnectionManagerCloseRequest.go index ae543b3120..7f2276e40b 100644 --- a/plc4go/protocols/eip/readwrite/model/CipConnectionManagerCloseRequest.go +++ b/plc4go/protocols/eip/readwrite/model/CipConnectionManagerCloseRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -127,12 +129,8 @@ type CipConnectionManagerCloseRequestBuilder interface { WithRequestPathSize(uint8) CipConnectionManagerCloseRequestBuilder // WithClassSegment adds ClassSegment (property field) WithClassSegment(PathSegment) CipConnectionManagerCloseRequestBuilder - // WithClassSegmentBuilder adds ClassSegment (property field) which is build by the builder - WithClassSegmentBuilder(func(PathSegmentBuilder) PathSegmentBuilder) CipConnectionManagerCloseRequestBuilder // WithInstanceSegment adds InstanceSegment (property field) WithInstanceSegment(PathSegment) CipConnectionManagerCloseRequestBuilder - // WithInstanceSegmentBuilder adds InstanceSegment (property field) which is build by the builder - WithInstanceSegmentBuilder(func(PathSegmentBuilder) PathSegmentBuilder) CipConnectionManagerCloseRequestBuilder // WithPriority adds Priority (property field) WithPriority(uint8) CipConnectionManagerCloseRequestBuilder // WithTickTime adds TickTime (property field) @@ -182,37 +180,11 @@ func (m *_CipConnectionManagerCloseRequestBuilder) WithClassSegment(classSegment return m } -func (m *_CipConnectionManagerCloseRequestBuilder) WithClassSegmentBuilder(builderSupplier func(PathSegmentBuilder) PathSegmentBuilder) CipConnectionManagerCloseRequestBuilder { - builder := builderSupplier(m.ClassSegment.CreatePathSegmentBuilder()) - var err error - m.ClassSegment, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "PathSegmentBuilder failed")) - } - return m -} - func (m *_CipConnectionManagerCloseRequestBuilder) WithInstanceSegment(instanceSegment PathSegment) CipConnectionManagerCloseRequestBuilder { m.InstanceSegment = instanceSegment return m } -func (m *_CipConnectionManagerCloseRequestBuilder) WithInstanceSegmentBuilder(builderSupplier func(PathSegmentBuilder) PathSegmentBuilder) CipConnectionManagerCloseRequestBuilder { - builder := builderSupplier(m.InstanceSegment.CreatePathSegmentBuilder()) - var err error - m.InstanceSegment, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "PathSegmentBuilder failed")) - } - return m -} - func (m *_CipConnectionManagerCloseRequestBuilder) WithPriority(priority uint8) CipConnectionManagerCloseRequestBuilder { m.Priority = priority return m diff --git a/plc4go/protocols/eip/readwrite/model/CipConnectionManagerCloseResponse.go b/plc4go/protocols/eip/readwrite/model/CipConnectionManagerCloseResponse.go index cba9548aec..668a42ebba 100644 --- a/plc4go/protocols/eip/readwrite/model/CipConnectionManagerCloseResponse.go +++ b/plc4go/protocols/eip/readwrite/model/CipConnectionManagerCloseResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/eip/readwrite/model/CipConnectionManagerRequest.go b/plc4go/protocols/eip/readwrite/model/CipConnectionManagerRequest.go index 3295e14c49..90c2d8edab 100644 --- a/plc4go/protocols/eip/readwrite/model/CipConnectionManagerRequest.go +++ b/plc4go/protocols/eip/readwrite/model/CipConnectionManagerRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -162,12 +164,8 @@ type CipConnectionManagerRequestBuilder interface { WithMandatoryFields(classSegment PathSegment, instanceSegment PathSegment, priority uint8, tickTime uint8, timeoutTicks uint8, otConnectionId uint32, toConnectionId uint32, connectionSerialNumber uint16, originatorVendorId uint16, originatorSerialNumber uint32, timeoutMultiplier uint8, otRpi uint32, otConnectionParameters NetworkConnectionParameters, toRpi uint32, toConnectionParameters NetworkConnectionParameters, transportType TransportType, connectionPathSize uint8, connectionPaths []PathSegment) CipConnectionManagerRequestBuilder // WithClassSegment adds ClassSegment (property field) WithClassSegment(PathSegment) CipConnectionManagerRequestBuilder - // WithClassSegmentBuilder adds ClassSegment (property field) which is build by the builder - WithClassSegmentBuilder(func(PathSegmentBuilder) PathSegmentBuilder) CipConnectionManagerRequestBuilder // WithInstanceSegment adds InstanceSegment (property field) WithInstanceSegment(PathSegment) CipConnectionManagerRequestBuilder - // WithInstanceSegmentBuilder adds InstanceSegment (property field) which is build by the builder - WithInstanceSegmentBuilder(func(PathSegmentBuilder) PathSegmentBuilder) CipConnectionManagerRequestBuilder // WithPriority adds Priority (property field) WithPriority(uint8) CipConnectionManagerRequestBuilder // WithTickTime adds TickTime (property field) @@ -234,37 +232,11 @@ func (m *_CipConnectionManagerRequestBuilder) WithClassSegment(classSegment Path return m } -func (m *_CipConnectionManagerRequestBuilder) WithClassSegmentBuilder(builderSupplier func(PathSegmentBuilder) PathSegmentBuilder) CipConnectionManagerRequestBuilder { - builder := builderSupplier(m.ClassSegment.CreatePathSegmentBuilder()) - var err error - m.ClassSegment, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "PathSegmentBuilder failed")) - } - return m -} - func (m *_CipConnectionManagerRequestBuilder) WithInstanceSegment(instanceSegment PathSegment) CipConnectionManagerRequestBuilder { m.InstanceSegment = instanceSegment return m } -func (m *_CipConnectionManagerRequestBuilder) WithInstanceSegmentBuilder(builderSupplier func(PathSegmentBuilder) PathSegmentBuilder) CipConnectionManagerRequestBuilder { - builder := builderSupplier(m.InstanceSegment.CreatePathSegmentBuilder()) - var err error - m.InstanceSegment, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "PathSegmentBuilder failed")) - } - return m -} - func (m *_CipConnectionManagerRequestBuilder) WithPriority(priority uint8) CipConnectionManagerRequestBuilder { m.Priority = priority return m diff --git a/plc4go/protocols/eip/readwrite/model/CipConnectionManagerResponse.go b/plc4go/protocols/eip/readwrite/model/CipConnectionManagerResponse.go index cf6a5c92b5..0146e948ac 100644 --- a/plc4go/protocols/eip/readwrite/model/CipConnectionManagerResponse.go +++ b/plc4go/protocols/eip/readwrite/model/CipConnectionManagerResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/eip/readwrite/model/CipIdentity.go b/plc4go/protocols/eip/readwrite/model/CipIdentity.go index 3d2de694a1..15e7f0eb3f 100644 --- a/plc4go/protocols/eip/readwrite/model/CipIdentity.go +++ b/plc4go/protocols/eip/readwrite/model/CipIdentity.go @@ -23,12 +23,14 @@ import ( "context" "encoding/binary" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + "github.com/apache/plc4x/plc4go/spi/codegen" . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/eip/readwrite/model/CipRRData.go b/plc4go/protocols/eip/readwrite/model/CipRRData.go index 69a4b2fae7..649caedbb3 100644 --- a/plc4go/protocols/eip/readwrite/model/CipRRData.go +++ b/plc4go/protocols/eip/readwrite/model/CipRRData.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/eip/readwrite/model/CipReadRequest.go b/plc4go/protocols/eip/readwrite/model/CipReadRequest.go index 6e1dfa247a..e48c49d942 100644 --- a/plc4go/protocols/eip/readwrite/model/CipReadRequest.go +++ b/plc4go/protocols/eip/readwrite/model/CipReadRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/eip/readwrite/model/CipReadResponse.go b/plc4go/protocols/eip/readwrite/model/CipReadResponse.go index 2036cb36d7..069b923325 100644 --- a/plc4go/protocols/eip/readwrite/model/CipReadResponse.go +++ b/plc4go/protocols/eip/readwrite/model/CipReadResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/eip/readwrite/model/CipSecurityInformation.go b/plc4go/protocols/eip/readwrite/model/CipSecurityInformation.go index 427837664c..f0380eb35e 100644 --- a/plc4go/protocols/eip/readwrite/model/CipSecurityInformation.go +++ b/plc4go/protocols/eip/readwrite/model/CipSecurityInformation.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/eip/readwrite/model/CipService.go b/plc4go/protocols/eip/readwrite/model/CipService.go index c9026c3496..dcadded071 100644 --- a/plc4go/protocols/eip/readwrite/model/CipService.go +++ b/plc4go/protocols/eip/readwrite/model/CipService.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/eip/readwrite/model/CipUnconnectedRequest.go b/plc4go/protocols/eip/readwrite/model/CipUnconnectedRequest.go index 8124b3d099..8ff7852b68 100644 --- a/plc4go/protocols/eip/readwrite/model/CipUnconnectedRequest.go +++ b/plc4go/protocols/eip/readwrite/model/CipUnconnectedRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -107,16 +109,10 @@ type CipUnconnectedRequestBuilder interface { WithMandatoryFields(classSegment PathSegment, instanceSegment PathSegment, unconnectedService CipService, backPlane int8, slot int8) CipUnconnectedRequestBuilder // WithClassSegment adds ClassSegment (property field) WithClassSegment(PathSegment) CipUnconnectedRequestBuilder - // WithClassSegmentBuilder adds ClassSegment (property field) which is build by the builder - WithClassSegmentBuilder(func(PathSegmentBuilder) PathSegmentBuilder) CipUnconnectedRequestBuilder // WithInstanceSegment adds InstanceSegment (property field) WithInstanceSegment(PathSegment) CipUnconnectedRequestBuilder - // WithInstanceSegmentBuilder adds InstanceSegment (property field) which is build by the builder - WithInstanceSegmentBuilder(func(PathSegmentBuilder) PathSegmentBuilder) CipUnconnectedRequestBuilder // WithUnconnectedService adds UnconnectedService (property field) WithUnconnectedService(CipService) CipUnconnectedRequestBuilder - // WithUnconnectedServiceBuilder adds UnconnectedService (property field) which is build by the builder - WithUnconnectedServiceBuilder(func(CipServiceBuilder) CipServiceBuilder) CipUnconnectedRequestBuilder // WithBackPlane adds BackPlane (property field) WithBackPlane(int8) CipUnconnectedRequestBuilder // WithSlot adds Slot (property field) @@ -149,55 +145,16 @@ func (m *_CipUnconnectedRequestBuilder) WithClassSegment(classSegment PathSegmen return m } -func (m *_CipUnconnectedRequestBuilder) WithClassSegmentBuilder(builderSupplier func(PathSegmentBuilder) PathSegmentBuilder) CipUnconnectedRequestBuilder { - builder := builderSupplier(m.ClassSegment.CreatePathSegmentBuilder()) - var err error - m.ClassSegment, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "PathSegmentBuilder failed")) - } - return m -} - func (m *_CipUnconnectedRequestBuilder) WithInstanceSegment(instanceSegment PathSegment) CipUnconnectedRequestBuilder { m.InstanceSegment = instanceSegment return m } -func (m *_CipUnconnectedRequestBuilder) WithInstanceSegmentBuilder(builderSupplier func(PathSegmentBuilder) PathSegmentBuilder) CipUnconnectedRequestBuilder { - builder := builderSupplier(m.InstanceSegment.CreatePathSegmentBuilder()) - var err error - m.InstanceSegment, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "PathSegmentBuilder failed")) - } - return m -} - func (m *_CipUnconnectedRequestBuilder) WithUnconnectedService(unconnectedService CipService) CipUnconnectedRequestBuilder { m.UnconnectedService = unconnectedService return m } -func (m *_CipUnconnectedRequestBuilder) WithUnconnectedServiceBuilder(builderSupplier func(CipServiceBuilder) CipServiceBuilder) CipUnconnectedRequestBuilder { - builder := builderSupplier(m.UnconnectedService.CreateCipServiceBuilder()) - var err error - m.UnconnectedService, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "CipServiceBuilder failed")) - } - return m -} - func (m *_CipUnconnectedRequestBuilder) WithBackPlane(backPlane int8) CipUnconnectedRequestBuilder { m.BackPlane = backPlane return m diff --git a/plc4go/protocols/eip/readwrite/model/CipWriteRequest.go b/plc4go/protocols/eip/readwrite/model/CipWriteRequest.go index 6102a87313..1d3cd2d9a9 100644 --- a/plc4go/protocols/eip/readwrite/model/CipWriteRequest.go +++ b/plc4go/protocols/eip/readwrite/model/CipWriteRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/eip/readwrite/model/CipWriteResponse.go b/plc4go/protocols/eip/readwrite/model/CipWriteResponse.go index 307110c05a..8596ac72b4 100644 --- a/plc4go/protocols/eip/readwrite/model/CipWriteResponse.go +++ b/plc4go/protocols/eip/readwrite/model/CipWriteResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/eip/readwrite/model/ClassID.go b/plc4go/protocols/eip/readwrite/model/ClassID.go index 105ff56b1f..9a10bc70b7 100644 --- a/plc4go/protocols/eip/readwrite/model/ClassID.go +++ b/plc4go/protocols/eip/readwrite/model/ClassID.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/eip/readwrite/model/ClassSegment.go b/plc4go/protocols/eip/readwrite/model/ClassSegment.go index fd5246012f..918ff6c18a 100644 --- a/plc4go/protocols/eip/readwrite/model/ClassSegment.go +++ b/plc4go/protocols/eip/readwrite/model/ClassSegment.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/eip/readwrite/model/CommandSpecificDataItem.go b/plc4go/protocols/eip/readwrite/model/CommandSpecificDataItem.go index 36ff987f3c..2af40789d7 100644 --- a/plc4go/protocols/eip/readwrite/model/CommandSpecificDataItem.go +++ b/plc4go/protocols/eip/readwrite/model/CommandSpecificDataItem.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/eip/readwrite/model/ConnectedAddressItem.go b/plc4go/protocols/eip/readwrite/model/ConnectedAddressItem.go index cb761e3820..d113be30ed 100644 --- a/plc4go/protocols/eip/readwrite/model/ConnectedAddressItem.go +++ b/plc4go/protocols/eip/readwrite/model/ConnectedAddressItem.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/eip/readwrite/model/ConnectedDataItem.go b/plc4go/protocols/eip/readwrite/model/ConnectedDataItem.go index 9636ffc495..0b18a03c62 100644 --- a/plc4go/protocols/eip/readwrite/model/ConnectedDataItem.go +++ b/plc4go/protocols/eip/readwrite/model/ConnectedDataItem.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -86,8 +88,6 @@ type ConnectedDataItemBuilder interface { WithSequenceCount(uint16) ConnectedDataItemBuilder // WithService adds Service (property field) WithService(CipService) ConnectedDataItemBuilder - // WithServiceBuilder adds Service (property field) which is build by the builder - WithServiceBuilder(func(CipServiceBuilder) CipServiceBuilder) ConnectedDataItemBuilder // Build builds the ConnectedDataItem or returns an error if something is wrong Build() (ConnectedDataItem, error) // MustBuild does the same as Build but panics on error @@ -121,19 +121,6 @@ func (m *_ConnectedDataItemBuilder) WithService(service CipService) ConnectedDat return m } -func (m *_ConnectedDataItemBuilder) WithServiceBuilder(builderSupplier func(CipServiceBuilder) CipServiceBuilder) ConnectedDataItemBuilder { - builder := builderSupplier(m.Service.CreateCipServiceBuilder()) - var err error - m.Service, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "CipServiceBuilder failed")) - } - return m -} - func (m *_ConnectedDataItemBuilder) Build() (ConnectedDataItem, error) { if m.Service == nil { if m.err == nil { diff --git a/plc4go/protocols/eip/readwrite/model/DataSegment.go b/plc4go/protocols/eip/readwrite/model/DataSegment.go index 5fddd23811..a39c1ced4a 100644 --- a/plc4go/protocols/eip/readwrite/model/DataSegment.go +++ b/plc4go/protocols/eip/readwrite/model/DataSegment.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -80,8 +82,6 @@ type DataSegmentBuilder interface { WithMandatoryFields(segmentType DataSegmentType) DataSegmentBuilder // WithSegmentType adds SegmentType (property field) WithSegmentType(DataSegmentType) DataSegmentBuilder - // WithSegmentTypeBuilder adds SegmentType (property field) which is build by the builder - WithSegmentTypeBuilder(func(DataSegmentTypeBuilder) DataSegmentTypeBuilder) DataSegmentBuilder // Build builds the DataSegment or returns an error if something is wrong Build() (DataSegment, error) // MustBuild does the same as Build but panics on error @@ -110,19 +110,6 @@ func (m *_DataSegmentBuilder) WithSegmentType(segmentType DataSegmentType) DataS return m } -func (m *_DataSegmentBuilder) WithSegmentTypeBuilder(builderSupplier func(DataSegmentTypeBuilder) DataSegmentTypeBuilder) DataSegmentBuilder { - builder := builderSupplier(m.SegmentType.CreateDataSegmentTypeBuilder()) - var err error - m.SegmentType, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "DataSegmentTypeBuilder failed")) - } - return m -} - func (m *_DataSegmentBuilder) Build() (DataSegment, error) { if m.SegmentType == nil { if m.err == nil { diff --git a/plc4go/protocols/eip/readwrite/model/DataSegmentType.go b/plc4go/protocols/eip/readwrite/model/DataSegmentType.go index 7c4d741764..2262675720 100644 --- a/plc4go/protocols/eip/readwrite/model/DataSegmentType.go +++ b/plc4go/protocols/eip/readwrite/model/DataSegmentType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/eip/readwrite/model/EiPCommand.go b/plc4go/protocols/eip/readwrite/model/EiPCommand.go index cb999e8cec..0c12675b88 100644 --- a/plc4go/protocols/eip/readwrite/model/EiPCommand.go +++ b/plc4go/protocols/eip/readwrite/model/EiPCommand.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/eip/readwrite/model/EipConnectionRequest.go b/plc4go/protocols/eip/readwrite/model/EipConnectionRequest.go index ea3955ed16..6a5221e5ae 100644 --- a/plc4go/protocols/eip/readwrite/model/EipConnectionRequest.go +++ b/plc4go/protocols/eip/readwrite/model/EipConnectionRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/eip/readwrite/model/EipConnectionResponse.go b/plc4go/protocols/eip/readwrite/model/EipConnectionResponse.go index 62fc318231..8139592626 100644 --- a/plc4go/protocols/eip/readwrite/model/EipConnectionResponse.go +++ b/plc4go/protocols/eip/readwrite/model/EipConnectionResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/eip/readwrite/model/EipConstants.go b/plc4go/protocols/eip/readwrite/model/EipConstants.go index 186437d829..62a97494a2 100644 --- a/plc4go/protocols/eip/readwrite/model/EipConstants.go +++ b/plc4go/protocols/eip/readwrite/model/EipConstants.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/eip/readwrite/model/EipDisconnectRequest.go b/plc4go/protocols/eip/readwrite/model/EipDisconnectRequest.go index 3d8a480b88..33897d9c24 100644 --- a/plc4go/protocols/eip/readwrite/model/EipDisconnectRequest.go +++ b/plc4go/protocols/eip/readwrite/model/EipDisconnectRequest.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/eip/readwrite/model/EipListIdentityRequest.go b/plc4go/protocols/eip/readwrite/model/EipListIdentityRequest.go index 8bea2a7530..25d236c70e 100644 --- a/plc4go/protocols/eip/readwrite/model/EipListIdentityRequest.go +++ b/plc4go/protocols/eip/readwrite/model/EipListIdentityRequest.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/eip/readwrite/model/EipListIdentityResponse.go b/plc4go/protocols/eip/readwrite/model/EipListIdentityResponse.go index 0683014142..788ff31ba6 100644 --- a/plc4go/protocols/eip/readwrite/model/EipListIdentityResponse.go +++ b/plc4go/protocols/eip/readwrite/model/EipListIdentityResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/eip/readwrite/model/EipPacket.go b/plc4go/protocols/eip/readwrite/model/EipPacket.go index 7caadf11ac..e78542f235 100644 --- a/plc4go/protocols/eip/readwrite/model/EipPacket.go +++ b/plc4go/protocols/eip/readwrite/model/EipPacket.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/eip/readwrite/model/GetAttributeAllRequest.go b/plc4go/protocols/eip/readwrite/model/GetAttributeAllRequest.go index 67b2d52fb7..103b5c5f69 100644 --- a/plc4go/protocols/eip/readwrite/model/GetAttributeAllRequest.go +++ b/plc4go/protocols/eip/readwrite/model/GetAttributeAllRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -87,12 +89,8 @@ type GetAttributeAllRequestBuilder interface { WithMandatoryFields(classSegment PathSegment, instanceSegment PathSegment) GetAttributeAllRequestBuilder // WithClassSegment adds ClassSegment (property field) WithClassSegment(PathSegment) GetAttributeAllRequestBuilder - // WithClassSegmentBuilder adds ClassSegment (property field) which is build by the builder - WithClassSegmentBuilder(func(PathSegmentBuilder) PathSegmentBuilder) GetAttributeAllRequestBuilder // WithInstanceSegment adds InstanceSegment (property field) WithInstanceSegment(PathSegment) GetAttributeAllRequestBuilder - // WithInstanceSegmentBuilder adds InstanceSegment (property field) which is build by the builder - WithInstanceSegmentBuilder(func(PathSegmentBuilder) PathSegmentBuilder) GetAttributeAllRequestBuilder // Build builds the GetAttributeAllRequest or returns an error if something is wrong Build() (GetAttributeAllRequest, error) // MustBuild does the same as Build but panics on error @@ -121,37 +119,11 @@ func (m *_GetAttributeAllRequestBuilder) WithClassSegment(classSegment PathSegme return m } -func (m *_GetAttributeAllRequestBuilder) WithClassSegmentBuilder(builderSupplier func(PathSegmentBuilder) PathSegmentBuilder) GetAttributeAllRequestBuilder { - builder := builderSupplier(m.ClassSegment.CreatePathSegmentBuilder()) - var err error - m.ClassSegment, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "PathSegmentBuilder failed")) - } - return m -} - func (m *_GetAttributeAllRequestBuilder) WithInstanceSegment(instanceSegment PathSegment) GetAttributeAllRequestBuilder { m.InstanceSegment = instanceSegment return m } -func (m *_GetAttributeAllRequestBuilder) WithInstanceSegmentBuilder(builderSupplier func(PathSegmentBuilder) PathSegmentBuilder) GetAttributeAllRequestBuilder { - builder := builderSupplier(m.InstanceSegment.CreatePathSegmentBuilder()) - var err error - m.InstanceSegment, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "PathSegmentBuilder failed")) - } - return m -} - func (m *_GetAttributeAllRequestBuilder) Build() (GetAttributeAllRequest, error) { if m.ClassSegment == nil { if m.err == nil { diff --git a/plc4go/protocols/eip/readwrite/model/GetAttributeAllResponse.go b/plc4go/protocols/eip/readwrite/model/GetAttributeAllResponse.go index 5f50c235c1..aaeaf13f00 100644 --- a/plc4go/protocols/eip/readwrite/model/GetAttributeAllResponse.go +++ b/plc4go/protocols/eip/readwrite/model/GetAttributeAllResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/eip/readwrite/model/GetAttributeListRequest.go b/plc4go/protocols/eip/readwrite/model/GetAttributeListRequest.go index 7b5d13fd7b..e57bc998c8 100644 --- a/plc4go/protocols/eip/readwrite/model/GetAttributeListRequest.go +++ b/plc4go/protocols/eip/readwrite/model/GetAttributeListRequest.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/eip/readwrite/model/GetAttributeListResponse.go b/plc4go/protocols/eip/readwrite/model/GetAttributeListResponse.go index 01b6cced64..fac46635b6 100644 --- a/plc4go/protocols/eip/readwrite/model/GetAttributeListResponse.go +++ b/plc4go/protocols/eip/readwrite/model/GetAttributeListResponse.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/eip/readwrite/model/GetAttributeSingleRequest.go b/plc4go/protocols/eip/readwrite/model/GetAttributeSingleRequest.go index f0cd785b7b..42316a225c 100644 --- a/plc4go/protocols/eip/readwrite/model/GetAttributeSingleRequest.go +++ b/plc4go/protocols/eip/readwrite/model/GetAttributeSingleRequest.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/eip/readwrite/model/GetAttributeSingleResponse.go b/plc4go/protocols/eip/readwrite/model/GetAttributeSingleResponse.go index 13656adcfa..511352bd6b 100644 --- a/plc4go/protocols/eip/readwrite/model/GetAttributeSingleResponse.go +++ b/plc4go/protocols/eip/readwrite/model/GetAttributeSingleResponse.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/eip/readwrite/model/InstanceID.go b/plc4go/protocols/eip/readwrite/model/InstanceID.go index 4c4183c936..bc9a43426c 100644 --- a/plc4go/protocols/eip/readwrite/model/InstanceID.go +++ b/plc4go/protocols/eip/readwrite/model/InstanceID.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/eip/readwrite/model/InstanceSegment.go b/plc4go/protocols/eip/readwrite/model/InstanceSegment.go index ff17441b20..da873e5144 100644 --- a/plc4go/protocols/eip/readwrite/model/InstanceSegment.go +++ b/plc4go/protocols/eip/readwrite/model/InstanceSegment.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/eip/readwrite/model/ListServicesRequest.go b/plc4go/protocols/eip/readwrite/model/ListServicesRequest.go index a72b290f43..a591d4ddf2 100644 --- a/plc4go/protocols/eip/readwrite/model/ListServicesRequest.go +++ b/plc4go/protocols/eip/readwrite/model/ListServicesRequest.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/eip/readwrite/model/ListServicesResponse.go b/plc4go/protocols/eip/readwrite/model/ListServicesResponse.go index c80adbe7e1..fb125c8681 100644 --- a/plc4go/protocols/eip/readwrite/model/ListServicesResponse.go +++ b/plc4go/protocols/eip/readwrite/model/ListServicesResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/eip/readwrite/model/LogicalSegment.go b/plc4go/protocols/eip/readwrite/model/LogicalSegment.go index 55c2a280a6..34cb8bcb9b 100644 --- a/plc4go/protocols/eip/readwrite/model/LogicalSegment.go +++ b/plc4go/protocols/eip/readwrite/model/LogicalSegment.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -80,8 +82,6 @@ type LogicalSegmentBuilder interface { WithMandatoryFields(segmentType LogicalSegmentType) LogicalSegmentBuilder // WithSegmentType adds SegmentType (property field) WithSegmentType(LogicalSegmentType) LogicalSegmentBuilder - // WithSegmentTypeBuilder adds SegmentType (property field) which is build by the builder - WithSegmentTypeBuilder(func(LogicalSegmentTypeBuilder) LogicalSegmentTypeBuilder) LogicalSegmentBuilder // Build builds the LogicalSegment or returns an error if something is wrong Build() (LogicalSegment, error) // MustBuild does the same as Build but panics on error @@ -110,19 +110,6 @@ func (m *_LogicalSegmentBuilder) WithSegmentType(segmentType LogicalSegmentType) return m } -func (m *_LogicalSegmentBuilder) WithSegmentTypeBuilder(builderSupplier func(LogicalSegmentTypeBuilder) LogicalSegmentTypeBuilder) LogicalSegmentBuilder { - builder := builderSupplier(m.SegmentType.CreateLogicalSegmentTypeBuilder()) - var err error - m.SegmentType, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "LogicalSegmentTypeBuilder failed")) - } - return m -} - func (m *_LogicalSegmentBuilder) Build() (LogicalSegment, error) { if m.SegmentType == nil { if m.err == nil { diff --git a/plc4go/protocols/eip/readwrite/model/LogicalSegmentType.go b/plc4go/protocols/eip/readwrite/model/LogicalSegmentType.go index bf3ad992a2..f496d55093 100644 --- a/plc4go/protocols/eip/readwrite/model/LogicalSegmentType.go +++ b/plc4go/protocols/eip/readwrite/model/LogicalSegmentType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/eip/readwrite/model/MemberID.go b/plc4go/protocols/eip/readwrite/model/MemberID.go index 34911ee43e..dbb8bcf9f2 100644 --- a/plc4go/protocols/eip/readwrite/model/MemberID.go +++ b/plc4go/protocols/eip/readwrite/model/MemberID.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/eip/readwrite/model/MultipleServiceRequest.go b/plc4go/protocols/eip/readwrite/model/MultipleServiceRequest.go index 4d95fd75ae..5e843ad2fc 100644 --- a/plc4go/protocols/eip/readwrite/model/MultipleServiceRequest.go +++ b/plc4go/protocols/eip/readwrite/model/MultipleServiceRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/eip/readwrite/model/MultipleServiceResponse.go b/plc4go/protocols/eip/readwrite/model/MultipleServiceResponse.go index 09d40473d8..68b48ce3bb 100644 --- a/plc4go/protocols/eip/readwrite/model/MultipleServiceResponse.go +++ b/plc4go/protocols/eip/readwrite/model/MultipleServiceResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/eip/readwrite/model/NetworkConnectionParameters.go b/plc4go/protocols/eip/readwrite/model/NetworkConnectionParameters.go index 5dbdcc8ed3..d80df3b10d 100644 --- a/plc4go/protocols/eip/readwrite/model/NetworkConnectionParameters.go +++ b/plc4go/protocols/eip/readwrite/model/NetworkConnectionParameters.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/eip/readwrite/model/NullAddressItem.go b/plc4go/protocols/eip/readwrite/model/NullAddressItem.go index 60059b5da7..5614dcf804 100644 --- a/plc4go/protocols/eip/readwrite/model/NullAddressItem.go +++ b/plc4go/protocols/eip/readwrite/model/NullAddressItem.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/eip/readwrite/model/NullCommandRequest.go b/plc4go/protocols/eip/readwrite/model/NullCommandRequest.go index 449a39631c..cc4e363ec4 100644 --- a/plc4go/protocols/eip/readwrite/model/NullCommandRequest.go +++ b/plc4go/protocols/eip/readwrite/model/NullCommandRequest.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/eip/readwrite/model/NullCommandResponse.go b/plc4go/protocols/eip/readwrite/model/NullCommandResponse.go index d00fc303fd..e28aa6f515 100644 --- a/plc4go/protocols/eip/readwrite/model/NullCommandResponse.go +++ b/plc4go/protocols/eip/readwrite/model/NullCommandResponse.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/eip/readwrite/model/NullEipConnectionResponse.go b/plc4go/protocols/eip/readwrite/model/NullEipConnectionResponse.go index f6df30d4f8..4e3a19731c 100644 --- a/plc4go/protocols/eip/readwrite/model/NullEipConnectionResponse.go +++ b/plc4go/protocols/eip/readwrite/model/NullEipConnectionResponse.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/eip/readwrite/model/NullListServicesResponse.go b/plc4go/protocols/eip/readwrite/model/NullListServicesResponse.go index 3381242389..c63936ebb2 100644 --- a/plc4go/protocols/eip/readwrite/model/NullListServicesResponse.go +++ b/plc4go/protocols/eip/readwrite/model/NullListServicesResponse.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/eip/readwrite/model/PathSegment.go b/plc4go/protocols/eip/readwrite/model/PathSegment.go index 59fc54007a..8d49d1844b 100644 --- a/plc4go/protocols/eip/readwrite/model/PathSegment.go +++ b/plc4go/protocols/eip/readwrite/model/PathSegment.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/eip/readwrite/model/PortSegment.go b/plc4go/protocols/eip/readwrite/model/PortSegment.go index 6429ce2d63..f85e39a210 100644 --- a/plc4go/protocols/eip/readwrite/model/PortSegment.go +++ b/plc4go/protocols/eip/readwrite/model/PortSegment.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -80,8 +82,6 @@ type PortSegmentBuilder interface { WithMandatoryFields(segmentType PortSegmentType) PortSegmentBuilder // WithSegmentType adds SegmentType (property field) WithSegmentType(PortSegmentType) PortSegmentBuilder - // WithSegmentTypeBuilder adds SegmentType (property field) which is build by the builder - WithSegmentTypeBuilder(func(PortSegmentTypeBuilder) PortSegmentTypeBuilder) PortSegmentBuilder // Build builds the PortSegment or returns an error if something is wrong Build() (PortSegment, error) // MustBuild does the same as Build but panics on error @@ -110,19 +110,6 @@ func (m *_PortSegmentBuilder) WithSegmentType(segmentType PortSegmentType) PortS return m } -func (m *_PortSegmentBuilder) WithSegmentTypeBuilder(builderSupplier func(PortSegmentTypeBuilder) PortSegmentTypeBuilder) PortSegmentBuilder { - builder := builderSupplier(m.SegmentType.CreatePortSegmentTypeBuilder()) - var err error - m.SegmentType, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "PortSegmentTypeBuilder failed")) - } - return m -} - func (m *_PortSegmentBuilder) Build() (PortSegment, error) { if m.SegmentType == nil { if m.err == nil { diff --git a/plc4go/protocols/eip/readwrite/model/PortSegmentExtended.go b/plc4go/protocols/eip/readwrite/model/PortSegmentExtended.go index b8221d3ebb..87af0d7f21 100644 --- a/plc4go/protocols/eip/readwrite/model/PortSegmentExtended.go +++ b/plc4go/protocols/eip/readwrite/model/PortSegmentExtended.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/eip/readwrite/model/PortSegmentNormal.go b/plc4go/protocols/eip/readwrite/model/PortSegmentNormal.go index 6a661222e4..526e15d9c4 100644 --- a/plc4go/protocols/eip/readwrite/model/PortSegmentNormal.go +++ b/plc4go/protocols/eip/readwrite/model/PortSegmentNormal.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/eip/readwrite/model/PortSegmentType.go b/plc4go/protocols/eip/readwrite/model/PortSegmentType.go index 50212a8b7d..830e4f6f68 100644 --- a/plc4go/protocols/eip/readwrite/model/PortSegmentType.go +++ b/plc4go/protocols/eip/readwrite/model/PortSegmentType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/eip/readwrite/model/SendUnitData.go b/plc4go/protocols/eip/readwrite/model/SendUnitData.go index dc3ea8e656..1fe327bdc6 100644 --- a/plc4go/protocols/eip/readwrite/model/SendUnitData.go +++ b/plc4go/protocols/eip/readwrite/model/SendUnitData.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/eip/readwrite/model/Services.go b/plc4go/protocols/eip/readwrite/model/Services.go index d971495aa0..f26b4eb132 100644 --- a/plc4go/protocols/eip/readwrite/model/Services.go +++ b/plc4go/protocols/eip/readwrite/model/Services.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/eip/readwrite/model/ServicesResponse.go b/plc4go/protocols/eip/readwrite/model/ServicesResponse.go index 0a2868e4df..52c761e8b6 100644 --- a/plc4go/protocols/eip/readwrite/model/ServicesResponse.go +++ b/plc4go/protocols/eip/readwrite/model/ServicesResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/eip/readwrite/model/SetAttributeAllRequest.go b/plc4go/protocols/eip/readwrite/model/SetAttributeAllRequest.go index 7ca99f6fce..85b751e5b4 100644 --- a/plc4go/protocols/eip/readwrite/model/SetAttributeAllRequest.go +++ b/plc4go/protocols/eip/readwrite/model/SetAttributeAllRequest.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/eip/readwrite/model/SetAttributeAllResponse.go b/plc4go/protocols/eip/readwrite/model/SetAttributeAllResponse.go index 561d4b9b3f..0bd73ab160 100644 --- a/plc4go/protocols/eip/readwrite/model/SetAttributeAllResponse.go +++ b/plc4go/protocols/eip/readwrite/model/SetAttributeAllResponse.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/eip/readwrite/model/SetAttributeListRequest.go b/plc4go/protocols/eip/readwrite/model/SetAttributeListRequest.go index a09b1f744e..373d4927ce 100644 --- a/plc4go/protocols/eip/readwrite/model/SetAttributeListRequest.go +++ b/plc4go/protocols/eip/readwrite/model/SetAttributeListRequest.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/eip/readwrite/model/SetAttributeListResponse.go b/plc4go/protocols/eip/readwrite/model/SetAttributeListResponse.go index b7bfabfe2a..125006e1b8 100644 --- a/plc4go/protocols/eip/readwrite/model/SetAttributeListResponse.go +++ b/plc4go/protocols/eip/readwrite/model/SetAttributeListResponse.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/eip/readwrite/model/SetAttributeSingleRequest.go b/plc4go/protocols/eip/readwrite/model/SetAttributeSingleRequest.go index c6b7517e2d..ac5c19d98a 100644 --- a/plc4go/protocols/eip/readwrite/model/SetAttributeSingleRequest.go +++ b/plc4go/protocols/eip/readwrite/model/SetAttributeSingleRequest.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/eip/readwrite/model/SetAttributeSingleResponse.go b/plc4go/protocols/eip/readwrite/model/SetAttributeSingleResponse.go index 935bd690a1..a55b36abb6 100644 --- a/plc4go/protocols/eip/readwrite/model/SetAttributeSingleResponse.go +++ b/plc4go/protocols/eip/readwrite/model/SetAttributeSingleResponse.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/eip/readwrite/model/TransportType.go b/plc4go/protocols/eip/readwrite/model/TransportType.go index 68c78c3c99..6bd6a0a6b7 100644 --- a/plc4go/protocols/eip/readwrite/model/TransportType.go +++ b/plc4go/protocols/eip/readwrite/model/TransportType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/eip/readwrite/model/TypeId.go b/plc4go/protocols/eip/readwrite/model/TypeId.go index 79236101f0..20764dbdd8 100644 --- a/plc4go/protocols/eip/readwrite/model/TypeId.go +++ b/plc4go/protocols/eip/readwrite/model/TypeId.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/eip/readwrite/model/UnConnectedDataItem.go b/plc4go/protocols/eip/readwrite/model/UnConnectedDataItem.go index 503a9c5d97..6c9659fc5b 100644 --- a/plc4go/protocols/eip/readwrite/model/UnConnectedDataItem.go +++ b/plc4go/protocols/eip/readwrite/model/UnConnectedDataItem.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -80,8 +82,6 @@ type UnConnectedDataItemBuilder interface { WithMandatoryFields(service CipService) UnConnectedDataItemBuilder // WithService adds Service (property field) WithService(CipService) UnConnectedDataItemBuilder - // WithServiceBuilder adds Service (property field) which is build by the builder - WithServiceBuilder(func(CipServiceBuilder) CipServiceBuilder) UnConnectedDataItemBuilder // Build builds the UnConnectedDataItem or returns an error if something is wrong Build() (UnConnectedDataItem, error) // MustBuild does the same as Build but panics on error @@ -110,19 +110,6 @@ func (m *_UnConnectedDataItemBuilder) WithService(service CipService) UnConnecte return m } -func (m *_UnConnectedDataItemBuilder) WithServiceBuilder(builderSupplier func(CipServiceBuilder) CipServiceBuilder) UnConnectedDataItemBuilder { - builder := builderSupplier(m.Service.CreateCipServiceBuilder()) - var err error - m.Service, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "CipServiceBuilder failed")) - } - return m -} - func (m *_UnConnectedDataItemBuilder) Build() (UnConnectedDataItem, error) { if m.Service == nil { if m.err == nil { diff --git a/plc4go/protocols/firmata/readwrite/ParserHelper.go b/plc4go/protocols/firmata/readwrite/ParserHelper.go index 1c47aac9a8..502568e29d 100644 --- a/plc4go/protocols/firmata/readwrite/ParserHelper.go +++ b/plc4go/protocols/firmata/readwrite/ParserHelper.go @@ -22,9 +22,10 @@ package readwrite import ( "context" + "github.com/pkg/errors" + . "github.com/apache/plc4x/plc4go/protocols/firmata/readwrite/model" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/firmata/readwrite/XmlParserHelper.go b/plc4go/protocols/firmata/readwrite/XmlParserHelper.go index 16209353f2..20391f86a8 100644 --- a/plc4go/protocols/firmata/readwrite/XmlParserHelper.go +++ b/plc4go/protocols/firmata/readwrite/XmlParserHelper.go @@ -24,9 +24,10 @@ import ( "strconv" "strings" + "github.com/pkg/errors" + . "github.com/apache/plc4x/plc4go/protocols/firmata/readwrite/model" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/firmata/readwrite/model/FirmataCommand.go b/plc4go/protocols/firmata/readwrite/model/FirmataCommand.go index 1e99a7b8e7..983fb2153d 100644 --- a/plc4go/protocols/firmata/readwrite/model/FirmataCommand.go +++ b/plc4go/protocols/firmata/readwrite/model/FirmataCommand.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/firmata/readwrite/model/FirmataCommandProtocolVersion.go b/plc4go/protocols/firmata/readwrite/model/FirmataCommandProtocolVersion.go index 8e4f1c4746..3954494905 100644 --- a/plc4go/protocols/firmata/readwrite/model/FirmataCommandProtocolVersion.go +++ b/plc4go/protocols/firmata/readwrite/model/FirmataCommandProtocolVersion.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/firmata/readwrite/model/FirmataCommandSetDigitalPinValue.go b/plc4go/protocols/firmata/readwrite/model/FirmataCommandSetDigitalPinValue.go index a8610ecec2..3cbd88ffc6 100644 --- a/plc4go/protocols/firmata/readwrite/model/FirmataCommandSetDigitalPinValue.go +++ b/plc4go/protocols/firmata/readwrite/model/FirmataCommandSetDigitalPinValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/firmata/readwrite/model/FirmataCommandSetPinMode.go b/plc4go/protocols/firmata/readwrite/model/FirmataCommandSetPinMode.go index 0089b0de0b..14bbf46eb5 100644 --- a/plc4go/protocols/firmata/readwrite/model/FirmataCommandSetPinMode.go +++ b/plc4go/protocols/firmata/readwrite/model/FirmataCommandSetPinMode.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/firmata/readwrite/model/FirmataCommandSysex.go b/plc4go/protocols/firmata/readwrite/model/FirmataCommandSysex.go index 448cf9533c..f722b0f3d8 100644 --- a/plc4go/protocols/firmata/readwrite/model/FirmataCommandSysex.go +++ b/plc4go/protocols/firmata/readwrite/model/FirmataCommandSysex.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -82,8 +84,6 @@ type FirmataCommandSysexBuilder interface { WithMandatoryFields(command SysexCommand) FirmataCommandSysexBuilder // WithCommand adds Command (property field) WithCommand(SysexCommand) FirmataCommandSysexBuilder - // WithCommandBuilder adds Command (property field) which is build by the builder - WithCommandBuilder(func(SysexCommandBuilder) SysexCommandBuilder) FirmataCommandSysexBuilder // Build builds the FirmataCommandSysex or returns an error if something is wrong Build() (FirmataCommandSysex, error) // MustBuild does the same as Build but panics on error @@ -112,19 +112,6 @@ func (m *_FirmataCommandSysexBuilder) WithCommand(command SysexCommand) FirmataC return m } -func (m *_FirmataCommandSysexBuilder) WithCommandBuilder(builderSupplier func(SysexCommandBuilder) SysexCommandBuilder) FirmataCommandSysexBuilder { - builder := builderSupplier(m.Command.CreateSysexCommandBuilder()) - var err error - m.Command, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "SysexCommandBuilder failed")) - } - return m -} - func (m *_FirmataCommandSysexBuilder) Build() (FirmataCommandSysex, error) { if m.Command == nil { if m.err == nil { diff --git a/plc4go/protocols/firmata/readwrite/model/FirmataCommandSystemReset.go b/plc4go/protocols/firmata/readwrite/model/FirmataCommandSystemReset.go index fde16288c8..1b6a0f118d 100644 --- a/plc4go/protocols/firmata/readwrite/model/FirmataCommandSystemReset.go +++ b/plc4go/protocols/firmata/readwrite/model/FirmataCommandSystemReset.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/firmata/readwrite/model/FirmataMessage.go b/plc4go/protocols/firmata/readwrite/model/FirmataMessage.go index c2c198edb1..9cf3129048 100644 --- a/plc4go/protocols/firmata/readwrite/model/FirmataMessage.go +++ b/plc4go/protocols/firmata/readwrite/model/FirmataMessage.go @@ -23,12 +23,14 @@ import ( "context" "encoding/binary" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + "github.com/apache/plc4x/plc4go/spi/codegen" . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/firmata/readwrite/model/FirmataMessageAnalogIO.go b/plc4go/protocols/firmata/readwrite/model/FirmataMessageAnalogIO.go index 31a4e56363..3dc4e1f9ef 100644 --- a/plc4go/protocols/firmata/readwrite/model/FirmataMessageAnalogIO.go +++ b/plc4go/protocols/firmata/readwrite/model/FirmataMessageAnalogIO.go @@ -23,12 +23,14 @@ import ( "context" "encoding/binary" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + "github.com/apache/plc4x/plc4go/spi/codegen" . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/firmata/readwrite/model/FirmataMessageCommand.go b/plc4go/protocols/firmata/readwrite/model/FirmataMessageCommand.go index 00bca726fa..9950dcc611 100644 --- a/plc4go/protocols/firmata/readwrite/model/FirmataMessageCommand.go +++ b/plc4go/protocols/firmata/readwrite/model/FirmataMessageCommand.go @@ -23,12 +23,14 @@ import ( "context" "encoding/binary" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + "github.com/apache/plc4x/plc4go/spi/codegen" . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -82,8 +84,6 @@ type FirmataMessageCommandBuilder interface { WithMandatoryFields(command FirmataCommand) FirmataMessageCommandBuilder // WithCommand adds Command (property field) WithCommand(FirmataCommand) FirmataMessageCommandBuilder - // WithCommandBuilder adds Command (property field) which is build by the builder - WithCommandBuilder(func(FirmataCommandBuilder) FirmataCommandBuilder) FirmataMessageCommandBuilder // Build builds the FirmataMessageCommand or returns an error if something is wrong Build() (FirmataMessageCommand, error) // MustBuild does the same as Build but panics on error @@ -112,19 +112,6 @@ func (m *_FirmataMessageCommandBuilder) WithCommand(command FirmataCommand) Firm return m } -func (m *_FirmataMessageCommandBuilder) WithCommandBuilder(builderSupplier func(FirmataCommandBuilder) FirmataCommandBuilder) FirmataMessageCommandBuilder { - builder := builderSupplier(m.Command.CreateFirmataCommandBuilder()) - var err error - m.Command, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "FirmataCommandBuilder failed")) - } - return m -} - func (m *_FirmataMessageCommandBuilder) Build() (FirmataMessageCommand, error) { if m.Command == nil { if m.err == nil { diff --git a/plc4go/protocols/firmata/readwrite/model/FirmataMessageDigitalIO.go b/plc4go/protocols/firmata/readwrite/model/FirmataMessageDigitalIO.go index efa9f27a0f..66981ca556 100644 --- a/plc4go/protocols/firmata/readwrite/model/FirmataMessageDigitalIO.go +++ b/plc4go/protocols/firmata/readwrite/model/FirmataMessageDigitalIO.go @@ -23,12 +23,14 @@ import ( "context" "encoding/binary" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + "github.com/apache/plc4x/plc4go/spi/codegen" . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/firmata/readwrite/model/FirmataMessageSubscribeAnalogPinValue.go b/plc4go/protocols/firmata/readwrite/model/FirmataMessageSubscribeAnalogPinValue.go index f36bb16788..c90ecfc68d 100644 --- a/plc4go/protocols/firmata/readwrite/model/FirmataMessageSubscribeAnalogPinValue.go +++ b/plc4go/protocols/firmata/readwrite/model/FirmataMessageSubscribeAnalogPinValue.go @@ -23,12 +23,14 @@ import ( "context" "encoding/binary" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + "github.com/apache/plc4x/plc4go/spi/codegen" . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/firmata/readwrite/model/FirmataMessageSubscribeDigitalPinValue.go b/plc4go/protocols/firmata/readwrite/model/FirmataMessageSubscribeDigitalPinValue.go index 96ff39ddab..2eb72645ef 100644 --- a/plc4go/protocols/firmata/readwrite/model/FirmataMessageSubscribeDigitalPinValue.go +++ b/plc4go/protocols/firmata/readwrite/model/FirmataMessageSubscribeDigitalPinValue.go @@ -23,12 +23,14 @@ import ( "context" "encoding/binary" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + "github.com/apache/plc4x/plc4go/spi/codegen" . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/firmata/readwrite/model/PinMode.go b/plc4go/protocols/firmata/readwrite/model/PinMode.go index 6b5f93e0f9..f4cdde4d6e 100644 --- a/plc4go/protocols/firmata/readwrite/model/PinMode.go +++ b/plc4go/protocols/firmata/readwrite/model/PinMode.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/firmata/readwrite/model/SysexCommand.go b/plc4go/protocols/firmata/readwrite/model/SysexCommand.go index 7f2dca4dfc..33a99c4bf5 100644 --- a/plc4go/protocols/firmata/readwrite/model/SysexCommand.go +++ b/plc4go/protocols/firmata/readwrite/model/SysexCommand.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/firmata/readwrite/model/SysexCommandAnalogMappingQueryRequest.go b/plc4go/protocols/firmata/readwrite/model/SysexCommandAnalogMappingQueryRequest.go index 76b4d36c48..035c9951e8 100644 --- a/plc4go/protocols/firmata/readwrite/model/SysexCommandAnalogMappingQueryRequest.go +++ b/plc4go/protocols/firmata/readwrite/model/SysexCommandAnalogMappingQueryRequest.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/firmata/readwrite/model/SysexCommandAnalogMappingQueryResponse.go b/plc4go/protocols/firmata/readwrite/model/SysexCommandAnalogMappingQueryResponse.go index 95bc795120..6d6977ea36 100644 --- a/plc4go/protocols/firmata/readwrite/model/SysexCommandAnalogMappingQueryResponse.go +++ b/plc4go/protocols/firmata/readwrite/model/SysexCommandAnalogMappingQueryResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/firmata/readwrite/model/SysexCommandAnalogMappingResponse.go b/plc4go/protocols/firmata/readwrite/model/SysexCommandAnalogMappingResponse.go index e1f9f95154..71eac41ee3 100644 --- a/plc4go/protocols/firmata/readwrite/model/SysexCommandAnalogMappingResponse.go +++ b/plc4go/protocols/firmata/readwrite/model/SysexCommandAnalogMappingResponse.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/firmata/readwrite/model/SysexCommandCapabilityQuery.go b/plc4go/protocols/firmata/readwrite/model/SysexCommandCapabilityQuery.go index a36b00c8c6..112df0272a 100644 --- a/plc4go/protocols/firmata/readwrite/model/SysexCommandCapabilityQuery.go +++ b/plc4go/protocols/firmata/readwrite/model/SysexCommandCapabilityQuery.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/firmata/readwrite/model/SysexCommandCapabilityResponse.go b/plc4go/protocols/firmata/readwrite/model/SysexCommandCapabilityResponse.go index cb43e75a6f..ab0182abaa 100644 --- a/plc4go/protocols/firmata/readwrite/model/SysexCommandCapabilityResponse.go +++ b/plc4go/protocols/firmata/readwrite/model/SysexCommandCapabilityResponse.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/firmata/readwrite/model/SysexCommandExtendedAnalog.go b/plc4go/protocols/firmata/readwrite/model/SysexCommandExtendedAnalog.go index b9d9d68ec9..fe169b46eb 100644 --- a/plc4go/protocols/firmata/readwrite/model/SysexCommandExtendedAnalog.go +++ b/plc4go/protocols/firmata/readwrite/model/SysexCommandExtendedAnalog.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/firmata/readwrite/model/SysexCommandExtendedId.go b/plc4go/protocols/firmata/readwrite/model/SysexCommandExtendedId.go index 56bdd744e3..94d559e31d 100644 --- a/plc4go/protocols/firmata/readwrite/model/SysexCommandExtendedId.go +++ b/plc4go/protocols/firmata/readwrite/model/SysexCommandExtendedId.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/firmata/readwrite/model/SysexCommandPinStateQuery.go b/plc4go/protocols/firmata/readwrite/model/SysexCommandPinStateQuery.go index 2631553e4e..cfb7bf43a7 100644 --- a/plc4go/protocols/firmata/readwrite/model/SysexCommandPinStateQuery.go +++ b/plc4go/protocols/firmata/readwrite/model/SysexCommandPinStateQuery.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/firmata/readwrite/model/SysexCommandPinStateResponse.go b/plc4go/protocols/firmata/readwrite/model/SysexCommandPinStateResponse.go index 8b9f13d5a4..d441fb9e8b 100644 --- a/plc4go/protocols/firmata/readwrite/model/SysexCommandPinStateResponse.go +++ b/plc4go/protocols/firmata/readwrite/model/SysexCommandPinStateResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/firmata/readwrite/model/SysexCommandReportFirmwareRequest.go b/plc4go/protocols/firmata/readwrite/model/SysexCommandReportFirmwareRequest.go index 7c65250cd2..8181438e82 100644 --- a/plc4go/protocols/firmata/readwrite/model/SysexCommandReportFirmwareRequest.go +++ b/plc4go/protocols/firmata/readwrite/model/SysexCommandReportFirmwareRequest.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/firmata/readwrite/model/SysexCommandReportFirmwareResponse.go b/plc4go/protocols/firmata/readwrite/model/SysexCommandReportFirmwareResponse.go index 873e521971..0b3d11c686 100644 --- a/plc4go/protocols/firmata/readwrite/model/SysexCommandReportFirmwareResponse.go +++ b/plc4go/protocols/firmata/readwrite/model/SysexCommandReportFirmwareResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/firmata/readwrite/model/SysexCommandSamplingInterval.go b/plc4go/protocols/firmata/readwrite/model/SysexCommandSamplingInterval.go index f8feeaac29..a184803082 100644 --- a/plc4go/protocols/firmata/readwrite/model/SysexCommandSamplingInterval.go +++ b/plc4go/protocols/firmata/readwrite/model/SysexCommandSamplingInterval.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/firmata/readwrite/model/SysexCommandStringData.go b/plc4go/protocols/firmata/readwrite/model/SysexCommandStringData.go index efb6fb7bfd..b85d3e1e31 100644 --- a/plc4go/protocols/firmata/readwrite/model/SysexCommandStringData.go +++ b/plc4go/protocols/firmata/readwrite/model/SysexCommandStringData.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/firmata/readwrite/model/SysexCommandSysexNonRealtime.go b/plc4go/protocols/firmata/readwrite/model/SysexCommandSysexNonRealtime.go index d0da492fc5..0dede03726 100644 --- a/plc4go/protocols/firmata/readwrite/model/SysexCommandSysexNonRealtime.go +++ b/plc4go/protocols/firmata/readwrite/model/SysexCommandSysexNonRealtime.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/firmata/readwrite/model/SysexCommandSysexRealtime.go b/plc4go/protocols/firmata/readwrite/model/SysexCommandSysexRealtime.go index 3715a80bfe..8fec819370 100644 --- a/plc4go/protocols/firmata/readwrite/model/SysexCommandSysexRealtime.go +++ b/plc4go/protocols/firmata/readwrite/model/SysexCommandSysexRealtime.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/ParserHelper.go b/plc4go/protocols/knxnetip/readwrite/ParserHelper.go index 20a411256a..81425ec308 100644 --- a/plc4go/protocols/knxnetip/readwrite/ParserHelper.go +++ b/plc4go/protocols/knxnetip/readwrite/ParserHelper.go @@ -22,9 +22,10 @@ package readwrite import ( "context" + "github.com/pkg/errors" + . "github.com/apache/plc4x/plc4go/protocols/knxnetip/readwrite/model" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/XmlParserHelper.go b/plc4go/protocols/knxnetip/readwrite/XmlParserHelper.go index 3aede3f2d7..57fc337deb 100644 --- a/plc4go/protocols/knxnetip/readwrite/XmlParserHelper.go +++ b/plc4go/protocols/knxnetip/readwrite/XmlParserHelper.go @@ -24,9 +24,10 @@ import ( "strconv" "strings" + "github.com/pkg/errors" + . "github.com/apache/plc4x/plc4go/protocols/knxnetip/readwrite/model" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/AccessLevel.go b/plc4go/protocols/knxnetip/readwrite/model/AccessLevel.go index 16c8f9f498..5856e2c92f 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/AccessLevel.go +++ b/plc4go/protocols/knxnetip/readwrite/model/AccessLevel.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/Apdu.go b/plc4go/protocols/knxnetip/readwrite/model/Apdu.go index 5c29e99d83..17908ab2e5 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/Apdu.go +++ b/plc4go/protocols/knxnetip/readwrite/model/Apdu.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduControl.go b/plc4go/protocols/knxnetip/readwrite/model/ApduControl.go index 00d0300630..ed5edf8f89 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduControl.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduControl.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduControlAck.go b/plc4go/protocols/knxnetip/readwrite/model/ApduControlAck.go index 5c169eb64b..a0e1c0d6fb 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduControlAck.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduControlAck.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduControlConnect.go b/plc4go/protocols/knxnetip/readwrite/model/ApduControlConnect.go index 9fa75ca4c4..715b3bf3d8 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduControlConnect.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduControlConnect.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduControlContainer.go b/plc4go/protocols/knxnetip/readwrite/model/ApduControlContainer.go index 621fc154fa..b5d1eaf724 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduControlContainer.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduControlContainer.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -80,8 +82,6 @@ type ApduControlContainerBuilder interface { WithMandatoryFields(controlApdu ApduControl) ApduControlContainerBuilder // WithControlApdu adds ControlApdu (property field) WithControlApdu(ApduControl) ApduControlContainerBuilder - // WithControlApduBuilder adds ControlApdu (property field) which is build by the builder - WithControlApduBuilder(func(ApduControlBuilder) ApduControlBuilder) ApduControlContainerBuilder // Build builds the ApduControlContainer or returns an error if something is wrong Build() (ApduControlContainer, error) // MustBuild does the same as Build but panics on error @@ -110,19 +110,6 @@ func (m *_ApduControlContainerBuilder) WithControlApdu(controlApdu ApduControl) return m } -func (m *_ApduControlContainerBuilder) WithControlApduBuilder(builderSupplier func(ApduControlBuilder) ApduControlBuilder) ApduControlContainerBuilder { - builder := builderSupplier(m.ControlApdu.CreateApduControlBuilder()) - var err error - m.ControlApdu, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ApduControlBuilder failed")) - } - return m -} - func (m *_ApduControlContainerBuilder) Build() (ApduControlContainer, error) { if m.ControlApdu == nil { if m.err == nil { diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduControlDisconnect.go b/plc4go/protocols/knxnetip/readwrite/model/ApduControlDisconnect.go index 186fdd7f31..19db4e313d 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduControlDisconnect.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduControlDisconnect.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduControlNack.go b/plc4go/protocols/knxnetip/readwrite/model/ApduControlNack.go index 0e230d4b7b..0b8181bf49 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduControlNack.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduControlNack.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduData.go b/plc4go/protocols/knxnetip/readwrite/model/ApduData.go index 35e89d819f..556728f307 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduData.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduData.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataAdcRead.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataAdcRead.go index d9e588395d..e4b0a7b44a 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataAdcRead.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataAdcRead.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataAdcResponse.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataAdcResponse.go index 958f6f5a11..44450d8777 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataAdcResponse.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataAdcResponse.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataContainer.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataContainer.go index e20534392d..3cb5f70e28 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataContainer.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataContainer.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -80,8 +82,6 @@ type ApduDataContainerBuilder interface { WithMandatoryFields(dataApdu ApduData) ApduDataContainerBuilder // WithDataApdu adds DataApdu (property field) WithDataApdu(ApduData) ApduDataContainerBuilder - // WithDataApduBuilder adds DataApdu (property field) which is build by the builder - WithDataApduBuilder(func(ApduDataBuilder) ApduDataBuilder) ApduDataContainerBuilder // Build builds the ApduDataContainer or returns an error if something is wrong Build() (ApduDataContainer, error) // MustBuild does the same as Build but panics on error @@ -110,19 +110,6 @@ func (m *_ApduDataContainerBuilder) WithDataApdu(dataApdu ApduData) ApduDataCont return m } -func (m *_ApduDataContainerBuilder) WithDataApduBuilder(builderSupplier func(ApduDataBuilder) ApduDataBuilder) ApduDataContainerBuilder { - builder := builderSupplier(m.DataApdu.CreateApduDataBuilder()) - var err error - m.DataApdu, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ApduDataBuilder failed")) - } - return m -} - func (m *_ApduDataContainerBuilder) Build() (ApduDataContainer, error) { if m.DataApdu == nil { if m.err == nil { diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataDeviceDescriptorRead.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataDeviceDescriptorRead.go index 15c8fc06a2..9af08ddd03 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataDeviceDescriptorRead.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataDeviceDescriptorRead.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataDeviceDescriptorResponse.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataDeviceDescriptorResponse.go index 881c0b55d2..1e326b200f 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataDeviceDescriptorResponse.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataDeviceDescriptorResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExt.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExt.go index e7eb6827f5..eb13348e20 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExt.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExt.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtAuthorizeRequest.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtAuthorizeRequest.go index 6b0b521baf..15a4beebb3 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtAuthorizeRequest.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtAuthorizeRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtAuthorizeResponse.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtAuthorizeResponse.go index dc4efa8aa5..c280bb5053 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtAuthorizeResponse.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtAuthorizeResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtDomainAddressRead.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtDomainAddressRead.go index 5adfc1f15a..98fcfc73d1 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtDomainAddressRead.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtDomainAddressRead.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtDomainAddressResponse.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtDomainAddressResponse.go index dbef64785e..e4cad32eb4 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtDomainAddressResponse.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtDomainAddressResponse.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtDomainAddressSelectiveRead.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtDomainAddressSelectiveRead.go index c6eb33d6fd..efe9e89feb 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtDomainAddressSelectiveRead.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtDomainAddressSelectiveRead.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtDomainAddressSerialNumberRead.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtDomainAddressSerialNumberRead.go index 0c93a29559..7f7c811bcb 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtDomainAddressSerialNumberRead.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtDomainAddressSerialNumberRead.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtDomainAddressSerialNumberResponse.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtDomainAddressSerialNumberResponse.go index f327ba7f41..9d8d307d46 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtDomainAddressSerialNumberResponse.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtDomainAddressSerialNumberResponse.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtDomainAddressSerialNumberWrite.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtDomainAddressSerialNumberWrite.go index 384285c3f4..63940a26ae 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtDomainAddressSerialNumberWrite.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtDomainAddressSerialNumberWrite.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtDomainAddressWrite.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtDomainAddressWrite.go index 528d5b7780..49e94f3570 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtDomainAddressWrite.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtDomainAddressWrite.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtFileStreamInfoReport.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtFileStreamInfoReport.go index a4d179e01a..168a468d50 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtFileStreamInfoReport.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtFileStreamInfoReport.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtGroupPropertyValueInfoReport.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtGroupPropertyValueInfoReport.go index f8353a338d..f2da09e35e 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtGroupPropertyValueInfoReport.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtGroupPropertyValueInfoReport.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtGroupPropertyValueRead.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtGroupPropertyValueRead.go index cb7483d690..96b7bd251f 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtGroupPropertyValueRead.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtGroupPropertyValueRead.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtGroupPropertyValueResponse.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtGroupPropertyValueResponse.go index 453e39ce9c..c5712cc993 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtGroupPropertyValueResponse.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtGroupPropertyValueResponse.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtGroupPropertyValueWrite.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtGroupPropertyValueWrite.go index 77f5fa26c4..07ff629f8c 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtGroupPropertyValueWrite.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtGroupPropertyValueWrite.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtIndividualAddressSerialNumberRead.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtIndividualAddressSerialNumberRead.go index 245efbc061..46ce2777ee 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtIndividualAddressSerialNumberRead.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtIndividualAddressSerialNumberRead.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtIndividualAddressSerialNumberResponse.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtIndividualAddressSerialNumberResponse.go index 46a86d51cb..358ef340e5 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtIndividualAddressSerialNumberResponse.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtIndividualAddressSerialNumberResponse.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtIndividualAddressSerialNumberWrite.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtIndividualAddressSerialNumberWrite.go index 7899952b29..8e92f979e0 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtIndividualAddressSerialNumberWrite.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtIndividualAddressSerialNumberWrite.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtKeyResponse.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtKeyResponse.go index 2683a39ae4..fe42efaa9a 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtKeyResponse.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtKeyResponse.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtKeyWrite.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtKeyWrite.go index 2b2d23c120..81b2850526 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtKeyWrite.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtKeyWrite.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtLinkRead.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtLinkRead.go index f43691f2d3..e62b5c6f20 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtLinkRead.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtLinkRead.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtLinkResponse.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtLinkResponse.go index 6b5fcdb254..3948b96179 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtLinkResponse.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtLinkResponse.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtLinkWrite.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtLinkWrite.go index 81a0aea122..5e21de3ca9 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtLinkWrite.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtLinkWrite.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtMemoryBitWrite.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtMemoryBitWrite.go index 5dcc4d4096..e3cd4765b7 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtMemoryBitWrite.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtMemoryBitWrite.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtNetworkParameterRead.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtNetworkParameterRead.go index 5bb7be395d..d05b3edacb 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtNetworkParameterRead.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtNetworkParameterRead.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtNetworkParameterResponse.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtNetworkParameterResponse.go index 5455684f43..6368b9222f 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtNetworkParameterResponse.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtNetworkParameterResponse.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtNetworkParameterWrite.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtNetworkParameterWrite.go index 0d00e825ea..2b72270e54 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtNetworkParameterWrite.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtNetworkParameterWrite.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtOpenRoutingTableRequest.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtOpenRoutingTableRequest.go index a314498e11..0a3f9cd750 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtOpenRoutingTableRequest.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtOpenRoutingTableRequest.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtPropertyDescriptionRead.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtPropertyDescriptionRead.go index afd664c6df..bbdca6bbc7 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtPropertyDescriptionRead.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtPropertyDescriptionRead.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtPropertyDescriptionResponse.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtPropertyDescriptionResponse.go index 4aa9e01fec..86a54ce1ea 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtPropertyDescriptionResponse.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtPropertyDescriptionResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtPropertyValueRead.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtPropertyValueRead.go index dbb4563af8..1953ed7445 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtPropertyValueRead.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtPropertyValueRead.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtPropertyValueResponse.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtPropertyValueResponse.go index b41fd3d9b5..c85ea905a9 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtPropertyValueResponse.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtPropertyValueResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtPropertyValueWrite.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtPropertyValueWrite.go index 797c702233..89df9e5d8a 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtPropertyValueWrite.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtPropertyValueWrite.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtReadRouterMemoryRequest.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtReadRouterMemoryRequest.go index 575e6f9ac7..0056d69e82 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtReadRouterMemoryRequest.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtReadRouterMemoryRequest.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtReadRouterMemoryResponse.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtReadRouterMemoryResponse.go index 7beef59cb9..7b2e5110cf 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtReadRouterMemoryResponse.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtReadRouterMemoryResponse.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtReadRouterStatusRequest.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtReadRouterStatusRequest.go index 470e1c9b28..5aa3109e96 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtReadRouterStatusRequest.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtReadRouterStatusRequest.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtReadRouterStatusResponse.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtReadRouterStatusResponse.go index d31b428401..6fd1ab0840 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtReadRouterStatusResponse.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtReadRouterStatusResponse.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtReadRoutingTableRequest.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtReadRoutingTableRequest.go index bcaa20d54f..7127bbca09 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtReadRoutingTableRequest.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtReadRoutingTableRequest.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtReadRoutingTableResponse.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtReadRoutingTableResponse.go index b573b34aae..7871eb9fcf 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtReadRoutingTableResponse.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtReadRoutingTableResponse.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtWriteRouterMemoryRequest.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtWriteRouterMemoryRequest.go index 63607b8c37..d6374288df 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtWriteRouterMemoryRequest.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtWriteRouterMemoryRequest.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtWriteRouterStatusRequest.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtWriteRouterStatusRequest.go index 855541fcf7..bf2d70a609 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtWriteRouterStatusRequest.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtWriteRouterStatusRequest.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtWriteRoutingTableRequest.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtWriteRoutingTableRequest.go index 3eaf5b81a7..e95a688303 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtWriteRoutingTableRequest.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtWriteRoutingTableRequest.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataGroupValueRead.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataGroupValueRead.go index d0f901363a..eac9b6b7bc 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataGroupValueRead.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataGroupValueRead.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataGroupValueResponse.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataGroupValueResponse.go index 2f18f05ae6..c8e5a2af91 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataGroupValueResponse.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataGroupValueResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataGroupValueWrite.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataGroupValueWrite.go index 40f2e33001..5faa36169f 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataGroupValueWrite.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataGroupValueWrite.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataIndividualAddressRead.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataIndividualAddressRead.go index 27bbd353ff..a91860be68 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataIndividualAddressRead.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataIndividualAddressRead.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataIndividualAddressResponse.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataIndividualAddressResponse.go index f178e87951..53ea032970 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataIndividualAddressResponse.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataIndividualAddressResponse.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataIndividualAddressWrite.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataIndividualAddressWrite.go index a94e726a38..ab12ae3dbd 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataIndividualAddressWrite.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataIndividualAddressWrite.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataMemoryRead.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataMemoryRead.go index ef48b38125..28c4d068ba 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataMemoryRead.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataMemoryRead.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataMemoryResponse.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataMemoryResponse.go index bd69a4d09b..77201d7415 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataMemoryResponse.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataMemoryResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataMemoryWrite.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataMemoryWrite.go index 2e0183540c..fc667f2f0c 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataMemoryWrite.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataMemoryWrite.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataOther.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataOther.go index 9c7240ada8..c06a08770d 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataOther.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataOther.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -80,8 +82,6 @@ type ApduDataOtherBuilder interface { WithMandatoryFields(extendedApdu ApduDataExt) ApduDataOtherBuilder // WithExtendedApdu adds ExtendedApdu (property field) WithExtendedApdu(ApduDataExt) ApduDataOtherBuilder - // WithExtendedApduBuilder adds ExtendedApdu (property field) which is build by the builder - WithExtendedApduBuilder(func(ApduDataExtBuilder) ApduDataExtBuilder) ApduDataOtherBuilder // Build builds the ApduDataOther or returns an error if something is wrong Build() (ApduDataOther, error) // MustBuild does the same as Build but panics on error @@ -110,19 +110,6 @@ func (m *_ApduDataOtherBuilder) WithExtendedApdu(extendedApdu ApduDataExt) ApduD return m } -func (m *_ApduDataOtherBuilder) WithExtendedApduBuilder(builderSupplier func(ApduDataExtBuilder) ApduDataExtBuilder) ApduDataOtherBuilder { - builder := builderSupplier(m.ExtendedApdu.CreateApduDataExtBuilder()) - var err error - m.ExtendedApdu, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ApduDataExtBuilder failed")) - } - return m -} - func (m *_ApduDataOtherBuilder) Build() (ApduDataOther, error) { if m.ExtendedApdu == nil { if m.err == nil { diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataRestart.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataRestart.go index 209b1d0250..a3df5d812b 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataRestart.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataRestart.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataUserMessage.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataUserMessage.go index 2932eae7ea..97dcb23537 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataUserMessage.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataUserMessage.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/CEMI.go b/plc4go/protocols/knxnetip/readwrite/model/CEMI.go index a1cae31b47..10d8f4f77f 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/CEMI.go +++ b/plc4go/protocols/knxnetip/readwrite/model/CEMI.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/CEMIAdditionalInformation.go b/plc4go/protocols/knxnetip/readwrite/model/CEMIAdditionalInformation.go index e77d381048..4cf2cdccc7 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/CEMIAdditionalInformation.go +++ b/plc4go/protocols/knxnetip/readwrite/model/CEMIAdditionalInformation.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/CEMIAdditionalInformationBusmonitorInfo.go b/plc4go/protocols/knxnetip/readwrite/model/CEMIAdditionalInformationBusmonitorInfo.go index be22dfad40..65e6efb523 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/CEMIAdditionalInformationBusmonitorInfo.go +++ b/plc4go/protocols/knxnetip/readwrite/model/CEMIAdditionalInformationBusmonitorInfo.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/CEMIAdditionalInformationRelativeTimestamp.go b/plc4go/protocols/knxnetip/readwrite/model/CEMIAdditionalInformationRelativeTimestamp.go index 50c75ce9e1..ed0c426b95 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/CEMIAdditionalInformationRelativeTimestamp.go +++ b/plc4go/protocols/knxnetip/readwrite/model/CEMIAdditionalInformationRelativeTimestamp.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/CEMIPriority.go b/plc4go/protocols/knxnetip/readwrite/model/CEMIPriority.go index 61e1234fa2..23491b46ae 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/CEMIPriority.go +++ b/plc4go/protocols/knxnetip/readwrite/model/CEMIPriority.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ChannelInformation.go b/plc4go/protocols/knxnetip/readwrite/model/ChannelInformation.go index 801d21d34c..619c0be126 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ChannelInformation.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ChannelInformation.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ComObjectTable.go b/plc4go/protocols/knxnetip/readwrite/model/ComObjectTable.go index 4ebabb913b..8a88a9340c 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ComObjectTable.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ComObjectTable.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ComObjectTableAddresses.go b/plc4go/protocols/knxnetip/readwrite/model/ComObjectTableAddresses.go index 8245fcff5b..d741d18c15 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ComObjectTableAddresses.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ComObjectTableAddresses.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ComObjectTableRealisationType1.go b/plc4go/protocols/knxnetip/readwrite/model/ComObjectTableRealisationType1.go index 184d3f4f9a..a84d083238 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ComObjectTableRealisationType1.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ComObjectTableRealisationType1.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ComObjectTableRealisationType2.go b/plc4go/protocols/knxnetip/readwrite/model/ComObjectTableRealisationType2.go index 36eee65eea..8021e3609e 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ComObjectTableRealisationType2.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ComObjectTableRealisationType2.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ComObjectTableRealisationType6.go b/plc4go/protocols/knxnetip/readwrite/model/ComObjectTableRealisationType6.go index a187158f91..f636e699c8 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ComObjectTableRealisationType6.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ComObjectTableRealisationType6.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ComObjectValueType.go b/plc4go/protocols/knxnetip/readwrite/model/ComObjectValueType.go index 4c2a8046cb..cb7346468d 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ComObjectValueType.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ComObjectValueType.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ConnectionRequest.go b/plc4go/protocols/knxnetip/readwrite/model/ConnectionRequest.go index c18bce1250..a89ec7b714 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ConnectionRequest.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ConnectionRequest.go @@ -23,12 +23,14 @@ import ( "context" "encoding/binary" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + "github.com/apache/plc4x/plc4go/spi/codegen" . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -104,8 +106,6 @@ type ConnectionRequestBuilder interface { WithHpaiDataEndpointBuilder(func(HPAIDataEndpointBuilder) HPAIDataEndpointBuilder) ConnectionRequestBuilder // WithConnectionRequestInformation adds ConnectionRequestInformation (property field) WithConnectionRequestInformation(ConnectionRequestInformation) ConnectionRequestBuilder - // WithConnectionRequestInformationBuilder adds ConnectionRequestInformation (property field) which is build by the builder - WithConnectionRequestInformationBuilder(func(ConnectionRequestInformationBuilder) ConnectionRequestInformationBuilder) ConnectionRequestBuilder // Build builds the ConnectionRequest or returns an error if something is wrong Build() (ConnectionRequest, error) // MustBuild does the same as Build but panics on error @@ -170,19 +170,6 @@ func (m *_ConnectionRequestBuilder) WithConnectionRequestInformation(connectionR return m } -func (m *_ConnectionRequestBuilder) WithConnectionRequestInformationBuilder(builderSupplier func(ConnectionRequestInformationBuilder) ConnectionRequestInformationBuilder) ConnectionRequestBuilder { - builder := builderSupplier(m.ConnectionRequestInformation.CreateConnectionRequestInformationBuilder()) - var err error - m.ConnectionRequestInformation, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ConnectionRequestInformationBuilder failed")) - } - return m -} - func (m *_ConnectionRequestBuilder) Build() (ConnectionRequest, error) { if m.HpaiDiscoveryEndpoint == nil { if m.err == nil { diff --git a/plc4go/protocols/knxnetip/readwrite/model/ConnectionRequestInformation.go b/plc4go/protocols/knxnetip/readwrite/model/ConnectionRequestInformation.go index a7667d0189..2ef69aec4e 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ConnectionRequestInformation.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ConnectionRequestInformation.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ConnectionRequestInformationDeviceManagement.go b/plc4go/protocols/knxnetip/readwrite/model/ConnectionRequestInformationDeviceManagement.go index 8847f66f8f..ac45b9deab 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ConnectionRequestInformationDeviceManagement.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ConnectionRequestInformationDeviceManagement.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ConnectionRequestInformationTunnelConnection.go b/plc4go/protocols/knxnetip/readwrite/model/ConnectionRequestInformationTunnelConnection.go index 30cf9fd6cc..c8fb4d2365 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ConnectionRequestInformationTunnelConnection.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ConnectionRequestInformationTunnelConnection.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ConnectionResponse.go b/plc4go/protocols/knxnetip/readwrite/model/ConnectionResponse.go index 8caed052a9..afa687edb9 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ConnectionResponse.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ConnectionResponse.go @@ -23,12 +23,14 @@ import ( "context" "encoding/binary" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + "github.com/apache/plc4x/plc4go/spi/codegen" . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -99,8 +101,6 @@ type ConnectionResponseBuilder interface { WithOptionalHpaiDataEndpointBuilder(func(HPAIDataEndpointBuilder) HPAIDataEndpointBuilder) ConnectionResponseBuilder // WithConnectionResponseDataBlock adds ConnectionResponseDataBlock (property field) WithOptionalConnectionResponseDataBlock(ConnectionResponseDataBlock) ConnectionResponseBuilder - // WithOptionalConnectionResponseDataBlockBuilder adds ConnectionResponseDataBlock (property field) which is build by the builder - WithOptionalConnectionResponseDataBlockBuilder(func(ConnectionResponseDataBlockBuilder) ConnectionResponseDataBlockBuilder) ConnectionResponseBuilder // Build builds the ConnectionResponse or returns an error if something is wrong Build() (ConnectionResponse, error) // MustBuild does the same as Build but panics on error @@ -157,19 +157,6 @@ func (m *_ConnectionResponseBuilder) WithOptionalConnectionResponseDataBlock(con return m } -func (m *_ConnectionResponseBuilder) WithOptionalConnectionResponseDataBlockBuilder(builderSupplier func(ConnectionResponseDataBlockBuilder) ConnectionResponseDataBlockBuilder) ConnectionResponseBuilder { - builder := builderSupplier(m.ConnectionResponseDataBlock.CreateConnectionResponseDataBlockBuilder()) - var err error - m.ConnectionResponseDataBlock, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ConnectionResponseDataBlockBuilder failed")) - } - return m -} - func (m *_ConnectionResponseBuilder) Build() (ConnectionResponse, error) { if m.err != nil { return nil, errors.Wrap(m.err, "error occurred during build") diff --git a/plc4go/protocols/knxnetip/readwrite/model/ConnectionResponseDataBlock.go b/plc4go/protocols/knxnetip/readwrite/model/ConnectionResponseDataBlock.go index d7f166ee7c..24f34e2ffa 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ConnectionResponseDataBlock.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ConnectionResponseDataBlock.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ConnectionResponseDataBlockDeviceManagement.go b/plc4go/protocols/knxnetip/readwrite/model/ConnectionResponseDataBlockDeviceManagement.go index 78dce6d596..cb4dd835d6 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ConnectionResponseDataBlockDeviceManagement.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ConnectionResponseDataBlockDeviceManagement.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ConnectionResponseDataBlockTunnelConnection.go b/plc4go/protocols/knxnetip/readwrite/model/ConnectionResponseDataBlockTunnelConnection.go index 651a9d17ec..6cf311e50f 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ConnectionResponseDataBlockTunnelConnection.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ConnectionResponseDataBlockTunnelConnection.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ConnectionStateRequest.go b/plc4go/protocols/knxnetip/readwrite/model/ConnectionStateRequest.go index 3606dbc213..594e06f2fe 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ConnectionStateRequest.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ConnectionStateRequest.go @@ -23,12 +23,14 @@ import ( "context" "encoding/binary" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + "github.com/apache/plc4x/plc4go/spi/codegen" . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ConnectionStateResponse.go b/plc4go/protocols/knxnetip/readwrite/model/ConnectionStateResponse.go index 4e6aaa2d89..e709d8e546 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ConnectionStateResponse.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ConnectionStateResponse.go @@ -23,12 +23,14 @@ import ( "context" "encoding/binary" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + "github.com/apache/plc4x/plc4go/spi/codegen" . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/DIBDeviceInfo.go b/plc4go/protocols/knxnetip/readwrite/model/DIBDeviceInfo.go index 66ab1a175b..4a6b3b6c55 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/DIBDeviceInfo.go +++ b/plc4go/protocols/knxnetip/readwrite/model/DIBDeviceInfo.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/DIBSuppSvcFamilies.go b/plc4go/protocols/knxnetip/readwrite/model/DIBSuppSvcFamilies.go index 37717bf7af..fd2625abc5 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/DIBSuppSvcFamilies.go +++ b/plc4go/protocols/knxnetip/readwrite/model/DIBSuppSvcFamilies.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/DescriptionRequest.go b/plc4go/protocols/knxnetip/readwrite/model/DescriptionRequest.go index e6b863ac29..ec00f5ee5a 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/DescriptionRequest.go +++ b/plc4go/protocols/knxnetip/readwrite/model/DescriptionRequest.go @@ -23,12 +23,14 @@ import ( "context" "encoding/binary" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + "github.com/apache/plc4x/plc4go/spi/codegen" . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/DescriptionResponse.go b/plc4go/protocols/knxnetip/readwrite/model/DescriptionResponse.go index 8ffac534b0..73448b4719 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/DescriptionResponse.go +++ b/plc4go/protocols/knxnetip/readwrite/model/DescriptionResponse.go @@ -23,12 +23,14 @@ import ( "context" "encoding/binary" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + "github.com/apache/plc4x/plc4go/spi/codegen" . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/DeviceConfigurationAck.go b/plc4go/protocols/knxnetip/readwrite/model/DeviceConfigurationAck.go index 2f58d88729..6013fc392c 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/DeviceConfigurationAck.go +++ b/plc4go/protocols/knxnetip/readwrite/model/DeviceConfigurationAck.go @@ -23,12 +23,14 @@ import ( "context" "encoding/binary" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + "github.com/apache/plc4x/plc4go/spi/codegen" . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/DeviceConfigurationAckDataBlock.go b/plc4go/protocols/knxnetip/readwrite/model/DeviceConfigurationAckDataBlock.go index a24080f565..ce3269d471 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/DeviceConfigurationAckDataBlock.go +++ b/plc4go/protocols/knxnetip/readwrite/model/DeviceConfigurationAckDataBlock.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/DeviceConfigurationRequest.go b/plc4go/protocols/knxnetip/readwrite/model/DeviceConfigurationRequest.go index b4f85cd446..3577189339 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/DeviceConfigurationRequest.go +++ b/plc4go/protocols/knxnetip/readwrite/model/DeviceConfigurationRequest.go @@ -23,12 +23,14 @@ import ( "context" "encoding/binary" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + "github.com/apache/plc4x/plc4go/spi/codegen" . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -96,8 +98,6 @@ type DeviceConfigurationRequestBuilder interface { WithDeviceConfigurationRequestDataBlockBuilder(func(DeviceConfigurationRequestDataBlockBuilder) DeviceConfigurationRequestDataBlockBuilder) DeviceConfigurationRequestBuilder // WithCemi adds Cemi (property field) WithCemi(CEMI) DeviceConfigurationRequestBuilder - // WithCemiBuilder adds Cemi (property field) which is build by the builder - WithCemiBuilder(func(CEMIBuilder) CEMIBuilder) DeviceConfigurationRequestBuilder // Build builds the DeviceConfigurationRequest or returns an error if something is wrong Build() (DeviceConfigurationRequest, error) // MustBuild does the same as Build but panics on error @@ -144,19 +144,6 @@ func (m *_DeviceConfigurationRequestBuilder) WithCemi(cemi CEMI) DeviceConfigura return m } -func (m *_DeviceConfigurationRequestBuilder) WithCemiBuilder(builderSupplier func(CEMIBuilder) CEMIBuilder) DeviceConfigurationRequestBuilder { - builder := builderSupplier(m.Cemi.CreateCEMIBuilder()) - var err error - m.Cemi, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "CEMIBuilder failed")) - } - return m -} - func (m *_DeviceConfigurationRequestBuilder) Build() (DeviceConfigurationRequest, error) { if m.DeviceConfigurationRequestDataBlock == nil { if m.err == nil { diff --git a/plc4go/protocols/knxnetip/readwrite/model/DeviceConfigurationRequestDataBlock.go b/plc4go/protocols/knxnetip/readwrite/model/DeviceConfigurationRequestDataBlock.go index c42f76b7ef..16180d3b22 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/DeviceConfigurationRequestDataBlock.go +++ b/plc4go/protocols/knxnetip/readwrite/model/DeviceConfigurationRequestDataBlock.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/DeviceDescriptor.go b/plc4go/protocols/knxnetip/readwrite/model/DeviceDescriptor.go index 2f25991a75..7492c13e89 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/DeviceDescriptor.go +++ b/plc4go/protocols/knxnetip/readwrite/model/DeviceDescriptor.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/DeviceDescriptorMediumType.go b/plc4go/protocols/knxnetip/readwrite/model/DeviceDescriptorMediumType.go index 078c78c561..a5cab5e21f 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/DeviceDescriptorMediumType.go +++ b/plc4go/protocols/knxnetip/readwrite/model/DeviceDescriptorMediumType.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/DeviceDescriptorType2.go b/plc4go/protocols/knxnetip/readwrite/model/DeviceDescriptorType2.go index 7ab12c54dc..46de646bca 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/DeviceDescriptorType2.go +++ b/plc4go/protocols/knxnetip/readwrite/model/DeviceDescriptorType2.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/DeviceStatus.go b/plc4go/protocols/knxnetip/readwrite/model/DeviceStatus.go index 63ebb7ff10..d0d85627c1 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/DeviceStatus.go +++ b/plc4go/protocols/knxnetip/readwrite/model/DeviceStatus.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/DisconnectRequest.go b/plc4go/protocols/knxnetip/readwrite/model/DisconnectRequest.go index c652151e1c..048a3f61fb 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/DisconnectRequest.go +++ b/plc4go/protocols/knxnetip/readwrite/model/DisconnectRequest.go @@ -23,12 +23,14 @@ import ( "context" "encoding/binary" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + "github.com/apache/plc4x/plc4go/spi/codegen" . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/DisconnectResponse.go b/plc4go/protocols/knxnetip/readwrite/model/DisconnectResponse.go index df5766a01a..ca7f85edfe 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/DisconnectResponse.go +++ b/plc4go/protocols/knxnetip/readwrite/model/DisconnectResponse.go @@ -23,12 +23,14 @@ import ( "context" "encoding/binary" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + "github.com/apache/plc4x/plc4go/spi/codegen" . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/FirmwareType.go b/plc4go/protocols/knxnetip/readwrite/model/FirmwareType.go index eb0321547b..233bf2b84f 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/FirmwareType.go +++ b/plc4go/protocols/knxnetip/readwrite/model/FirmwareType.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/GroupObjectDescriptorRealisationType1.go b/plc4go/protocols/knxnetip/readwrite/model/GroupObjectDescriptorRealisationType1.go index 136d5dde5e..5ea6d69d5a 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/GroupObjectDescriptorRealisationType1.go +++ b/plc4go/protocols/knxnetip/readwrite/model/GroupObjectDescriptorRealisationType1.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/GroupObjectDescriptorRealisationType2.go b/plc4go/protocols/knxnetip/readwrite/model/GroupObjectDescriptorRealisationType2.go index 16326b659a..145931080b 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/GroupObjectDescriptorRealisationType2.go +++ b/plc4go/protocols/knxnetip/readwrite/model/GroupObjectDescriptorRealisationType2.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/GroupObjectDescriptorRealisationType6.go b/plc4go/protocols/knxnetip/readwrite/model/GroupObjectDescriptorRealisationType6.go index 2b864f743c..a9ceec1142 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/GroupObjectDescriptorRealisationType6.go +++ b/plc4go/protocols/knxnetip/readwrite/model/GroupObjectDescriptorRealisationType6.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/GroupObjectDescriptorRealisationType7.go b/plc4go/protocols/knxnetip/readwrite/model/GroupObjectDescriptorRealisationType7.go index fe12df959e..8a3c0f8584 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/GroupObjectDescriptorRealisationType7.go +++ b/plc4go/protocols/knxnetip/readwrite/model/GroupObjectDescriptorRealisationType7.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/GroupObjectDescriptorRealisationTypeB.go b/plc4go/protocols/knxnetip/readwrite/model/GroupObjectDescriptorRealisationTypeB.go index c2bc80a6e6..6598499721 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/GroupObjectDescriptorRealisationTypeB.go +++ b/plc4go/protocols/knxnetip/readwrite/model/GroupObjectDescriptorRealisationTypeB.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/HPAIControlEndpoint.go b/plc4go/protocols/knxnetip/readwrite/model/HPAIControlEndpoint.go index 8fc4428e4e..657f10ef85 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/HPAIControlEndpoint.go +++ b/plc4go/protocols/knxnetip/readwrite/model/HPAIControlEndpoint.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/HPAIDataEndpoint.go b/plc4go/protocols/knxnetip/readwrite/model/HPAIDataEndpoint.go index 0db643c4f7..96182852f5 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/HPAIDataEndpoint.go +++ b/plc4go/protocols/knxnetip/readwrite/model/HPAIDataEndpoint.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/HPAIDiscoveryEndpoint.go b/plc4go/protocols/knxnetip/readwrite/model/HPAIDiscoveryEndpoint.go index b14b42643b..0728ef70e4 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/HPAIDiscoveryEndpoint.go +++ b/plc4go/protocols/knxnetip/readwrite/model/HPAIDiscoveryEndpoint.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/HostProtocolCode.go b/plc4go/protocols/knxnetip/readwrite/model/HostProtocolCode.go index bd74fd2d0b..89dffe58b0 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/HostProtocolCode.go +++ b/plc4go/protocols/knxnetip/readwrite/model/HostProtocolCode.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/IPAddress.go b/plc4go/protocols/knxnetip/readwrite/model/IPAddress.go index 0fee2eb6d2..05ee89c696 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/IPAddress.go +++ b/plc4go/protocols/knxnetip/readwrite/model/IPAddress.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/KnxAddress.go b/plc4go/protocols/knxnetip/readwrite/model/KnxAddress.go index af92efdff3..08ed7a118a 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/KnxAddress.go +++ b/plc4go/protocols/knxnetip/readwrite/model/KnxAddress.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/KnxDatapoint.go b/plc4go/protocols/knxnetip/readwrite/model/KnxDatapoint.go index 0af3b9e67e..31231eccdf 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/KnxDatapoint.go +++ b/plc4go/protocols/knxnetip/readwrite/model/KnxDatapoint.go @@ -21,11 +21,13 @@ package model import ( "context" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + api "github.com/apache/plc4x/plc4go/pkg/api/values" "github.com/apache/plc4x/plc4go/spi/utils" "github.com/apache/plc4x/plc4go/spi/values" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/KnxDatapointMainType.go b/plc4go/protocols/knxnetip/readwrite/model/KnxDatapointMainType.go index 29c15a41f0..5cf200d28f 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/KnxDatapointMainType.go +++ b/plc4go/protocols/knxnetip/readwrite/model/KnxDatapointMainType.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/KnxDatapointType.go b/plc4go/protocols/knxnetip/readwrite/model/KnxDatapointType.go index e60e71a386..60444524ca 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/KnxDatapointType.go +++ b/plc4go/protocols/knxnetip/readwrite/model/KnxDatapointType.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/KnxGroupAddress.go b/plc4go/protocols/knxnetip/readwrite/model/KnxGroupAddress.go index 2a053a74c9..8bb53af1cf 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/KnxGroupAddress.go +++ b/plc4go/protocols/knxnetip/readwrite/model/KnxGroupAddress.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/KnxGroupAddress2Level.go b/plc4go/protocols/knxnetip/readwrite/model/KnxGroupAddress2Level.go index 57e153bf04..21308b6a67 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/KnxGroupAddress2Level.go +++ b/plc4go/protocols/knxnetip/readwrite/model/KnxGroupAddress2Level.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/KnxGroupAddress3Level.go b/plc4go/protocols/knxnetip/readwrite/model/KnxGroupAddress3Level.go index 72b3636d4f..37e8eedff0 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/KnxGroupAddress3Level.go +++ b/plc4go/protocols/knxnetip/readwrite/model/KnxGroupAddress3Level.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/KnxGroupAddressFreeLevel.go b/plc4go/protocols/knxnetip/readwrite/model/KnxGroupAddressFreeLevel.go index 5d628e81ab..f39a310140 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/KnxGroupAddressFreeLevel.go +++ b/plc4go/protocols/knxnetip/readwrite/model/KnxGroupAddressFreeLevel.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/KnxInterfaceObjectProperty.go b/plc4go/protocols/knxnetip/readwrite/model/KnxInterfaceObjectProperty.go index ddae55e0fe..af46ad65b3 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/KnxInterfaceObjectProperty.go +++ b/plc4go/protocols/knxnetip/readwrite/model/KnxInterfaceObjectProperty.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/KnxInterfaceObjectType.go b/plc4go/protocols/knxnetip/readwrite/model/KnxInterfaceObjectType.go index 642e0815f5..dd08303172 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/KnxInterfaceObjectType.go +++ b/plc4go/protocols/knxnetip/readwrite/model/KnxInterfaceObjectType.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/KnxLayer.go b/plc4go/protocols/knxnetip/readwrite/model/KnxLayer.go index e8f8970e31..10b1b14443 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/KnxLayer.go +++ b/plc4go/protocols/knxnetip/readwrite/model/KnxLayer.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/KnxManufacturer.go b/plc4go/protocols/knxnetip/readwrite/model/KnxManufacturer.go index 796bcc081d..76e093de07 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/KnxManufacturer.go +++ b/plc4go/protocols/knxnetip/readwrite/model/KnxManufacturer.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/KnxMedium.go b/plc4go/protocols/knxnetip/readwrite/model/KnxMedium.go index 3bc1b6e7f6..eefe0d7a4c 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/KnxMedium.go +++ b/plc4go/protocols/knxnetip/readwrite/model/KnxMedium.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/KnxNetIpCore.go b/plc4go/protocols/knxnetip/readwrite/model/KnxNetIpCore.go index c14b9bcbe5..83d0a65941 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/KnxNetIpCore.go +++ b/plc4go/protocols/knxnetip/readwrite/model/KnxNetIpCore.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/KnxNetIpDeviceManagement.go b/plc4go/protocols/knxnetip/readwrite/model/KnxNetIpDeviceManagement.go index e8c7af795c..3c935e0283 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/KnxNetIpDeviceManagement.go +++ b/plc4go/protocols/knxnetip/readwrite/model/KnxNetIpDeviceManagement.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/KnxNetIpMessage.go b/plc4go/protocols/knxnetip/readwrite/model/KnxNetIpMessage.go index 8c21cd3298..84f17c8c09 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/KnxNetIpMessage.go +++ b/plc4go/protocols/knxnetip/readwrite/model/KnxNetIpMessage.go @@ -23,12 +23,14 @@ import ( "context" "encoding/binary" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + "github.com/apache/plc4x/plc4go/spi/codegen" . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/KnxNetIpRouting.go b/plc4go/protocols/knxnetip/readwrite/model/KnxNetIpRouting.go index 381eeecdd8..db7b26c320 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/KnxNetIpRouting.go +++ b/plc4go/protocols/knxnetip/readwrite/model/KnxNetIpRouting.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/KnxNetIpTunneling.go b/plc4go/protocols/knxnetip/readwrite/model/KnxNetIpTunneling.go index 43162a1f4a..d70cebe8f4 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/KnxNetIpTunneling.go +++ b/plc4go/protocols/knxnetip/readwrite/model/KnxNetIpTunneling.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/KnxNetObjectServer.go b/plc4go/protocols/knxnetip/readwrite/model/KnxNetObjectServer.go index b46dcc85bf..74c62d8963 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/KnxNetObjectServer.go +++ b/plc4go/protocols/knxnetip/readwrite/model/KnxNetObjectServer.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/KnxNetRemoteConfigurationAndDiagnosis.go b/plc4go/protocols/knxnetip/readwrite/model/KnxNetRemoteConfigurationAndDiagnosis.go index 008f76c578..cd56763be7 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/KnxNetRemoteConfigurationAndDiagnosis.go +++ b/plc4go/protocols/knxnetip/readwrite/model/KnxNetRemoteConfigurationAndDiagnosis.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/KnxNetRemoteLogging.go b/plc4go/protocols/knxnetip/readwrite/model/KnxNetRemoteLogging.go index 361c8e70ea..7673a9b300 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/KnxNetRemoteLogging.go +++ b/plc4go/protocols/knxnetip/readwrite/model/KnxNetRemoteLogging.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/KnxProperty.go b/plc4go/protocols/knxnetip/readwrite/model/KnxProperty.go index d384842efb..df68a5063a 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/KnxProperty.go +++ b/plc4go/protocols/knxnetip/readwrite/model/KnxProperty.go @@ -21,11 +21,13 @@ package model import ( "context" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + api "github.com/apache/plc4x/plc4go/pkg/api/values" "github.com/apache/plc4x/plc4go/spi/utils" "github.com/apache/plc4x/plc4go/spi/values" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/KnxPropertyDataType.go b/plc4go/protocols/knxnetip/readwrite/model/KnxPropertyDataType.go index cbcab53c3e..4d451ff7de 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/KnxPropertyDataType.go +++ b/plc4go/protocols/knxnetip/readwrite/model/KnxPropertyDataType.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/LBusmonInd.go b/plc4go/protocols/knxnetip/readwrite/model/LBusmonInd.go index 227b1a40d3..04fe5c2fc6 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/LBusmonInd.go +++ b/plc4go/protocols/knxnetip/readwrite/model/LBusmonInd.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -96,8 +98,6 @@ type LBusmonIndBuilder interface { WithAdditionalInformation(...CEMIAdditionalInformation) LBusmonIndBuilder // WithDataFrame adds DataFrame (property field) WithDataFrame(LDataFrame) LBusmonIndBuilder - // WithDataFrameBuilder adds DataFrame (property field) which is build by the builder - WithDataFrameBuilder(func(LDataFrameBuilder) LDataFrameBuilder) LBusmonIndBuilder // WithCrc adds Crc (property field) WithOptionalCrc(uint8) LBusmonIndBuilder // Build builds the LBusmonInd or returns an error if something is wrong @@ -138,19 +138,6 @@ func (m *_LBusmonIndBuilder) WithDataFrame(dataFrame LDataFrame) LBusmonIndBuild return m } -func (m *_LBusmonIndBuilder) WithDataFrameBuilder(builderSupplier func(LDataFrameBuilder) LDataFrameBuilder) LBusmonIndBuilder { - builder := builderSupplier(m.DataFrame.CreateLDataFrameBuilder()) - var err error - m.DataFrame, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "LDataFrameBuilder failed")) - } - return m -} - func (m *_LBusmonIndBuilder) WithOptionalCrc(crc uint8) LBusmonIndBuilder { m.Crc = &crc return m diff --git a/plc4go/protocols/knxnetip/readwrite/model/LDataCon.go b/plc4go/protocols/knxnetip/readwrite/model/LDataCon.go index 8048254355..5899d6e7d9 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/LDataCon.go +++ b/plc4go/protocols/knxnetip/readwrite/model/LDataCon.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -92,8 +94,6 @@ type LDataConBuilder interface { WithAdditionalInformation(...CEMIAdditionalInformation) LDataConBuilder // WithDataFrame adds DataFrame (property field) WithDataFrame(LDataFrame) LDataConBuilder - // WithDataFrameBuilder adds DataFrame (property field) which is build by the builder - WithDataFrameBuilder(func(LDataFrameBuilder) LDataFrameBuilder) LDataConBuilder // Build builds the LDataCon or returns an error if something is wrong Build() (LDataCon, error) // MustBuild does the same as Build but panics on error @@ -132,19 +132,6 @@ func (m *_LDataConBuilder) WithDataFrame(dataFrame LDataFrame) LDataConBuilder { return m } -func (m *_LDataConBuilder) WithDataFrameBuilder(builderSupplier func(LDataFrameBuilder) LDataFrameBuilder) LDataConBuilder { - builder := builderSupplier(m.DataFrame.CreateLDataFrameBuilder()) - var err error - m.DataFrame, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "LDataFrameBuilder failed")) - } - return m -} - func (m *_LDataConBuilder) Build() (LDataCon, error) { if m.DataFrame == nil { if m.err == nil { diff --git a/plc4go/protocols/knxnetip/readwrite/model/LDataExtended.go b/plc4go/protocols/knxnetip/readwrite/model/LDataExtended.go index bca28e53f6..4c6de15bd7 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/LDataExtended.go +++ b/plc4go/protocols/knxnetip/readwrite/model/LDataExtended.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -115,8 +117,6 @@ type LDataExtendedBuilder interface { WithDestinationAddress(...byte) LDataExtendedBuilder // WithApdu adds Apdu (property field) WithApdu(Apdu) LDataExtendedBuilder - // WithApduBuilder adds Apdu (property field) which is build by the builder - WithApduBuilder(func(ApduBuilder) ApduBuilder) LDataExtendedBuilder // Build builds the LDataExtended or returns an error if something is wrong Build() (LDataExtended, error) // MustBuild does the same as Build but panics on error @@ -183,19 +183,6 @@ func (m *_LDataExtendedBuilder) WithApdu(apdu Apdu) LDataExtendedBuilder { return m } -func (m *_LDataExtendedBuilder) WithApduBuilder(builderSupplier func(ApduBuilder) ApduBuilder) LDataExtendedBuilder { - builder := builderSupplier(m.Apdu.CreateApduBuilder()) - var err error - m.Apdu, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ApduBuilder failed")) - } - return m -} - func (m *_LDataExtendedBuilder) Build() (LDataExtended, error) { if m.SourceAddress == nil { if m.err == nil { diff --git a/plc4go/protocols/knxnetip/readwrite/model/LDataFrame.go b/plc4go/protocols/knxnetip/readwrite/model/LDataFrame.go index 435d2aba85..ed15bd8411 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/LDataFrame.go +++ b/plc4go/protocols/knxnetip/readwrite/model/LDataFrame.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/LDataFrameACK.go b/plc4go/protocols/knxnetip/readwrite/model/LDataFrameACK.go index 572dd4d180..5a1c46ec49 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/LDataFrameACK.go +++ b/plc4go/protocols/knxnetip/readwrite/model/LDataFrameACK.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/LDataInd.go b/plc4go/protocols/knxnetip/readwrite/model/LDataInd.go index 8109c9c12c..771445008d 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/LDataInd.go +++ b/plc4go/protocols/knxnetip/readwrite/model/LDataInd.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -92,8 +94,6 @@ type LDataIndBuilder interface { WithAdditionalInformation(...CEMIAdditionalInformation) LDataIndBuilder // WithDataFrame adds DataFrame (property field) WithDataFrame(LDataFrame) LDataIndBuilder - // WithDataFrameBuilder adds DataFrame (property field) which is build by the builder - WithDataFrameBuilder(func(LDataFrameBuilder) LDataFrameBuilder) LDataIndBuilder // Build builds the LDataInd or returns an error if something is wrong Build() (LDataInd, error) // MustBuild does the same as Build but panics on error @@ -132,19 +132,6 @@ func (m *_LDataIndBuilder) WithDataFrame(dataFrame LDataFrame) LDataIndBuilder { return m } -func (m *_LDataIndBuilder) WithDataFrameBuilder(builderSupplier func(LDataFrameBuilder) LDataFrameBuilder) LDataIndBuilder { - builder := builderSupplier(m.DataFrame.CreateLDataFrameBuilder()) - var err error - m.DataFrame, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "LDataFrameBuilder failed")) - } - return m -} - func (m *_LDataIndBuilder) Build() (LDataInd, error) { if m.DataFrame == nil { if m.err == nil { diff --git a/plc4go/protocols/knxnetip/readwrite/model/LDataReq.go b/plc4go/protocols/knxnetip/readwrite/model/LDataReq.go index d375f62073..8edd2e9054 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/LDataReq.go +++ b/plc4go/protocols/knxnetip/readwrite/model/LDataReq.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -92,8 +94,6 @@ type LDataReqBuilder interface { WithAdditionalInformation(...CEMIAdditionalInformation) LDataReqBuilder // WithDataFrame adds DataFrame (property field) WithDataFrame(LDataFrame) LDataReqBuilder - // WithDataFrameBuilder adds DataFrame (property field) which is build by the builder - WithDataFrameBuilder(func(LDataFrameBuilder) LDataFrameBuilder) LDataReqBuilder // Build builds the LDataReq or returns an error if something is wrong Build() (LDataReq, error) // MustBuild does the same as Build but panics on error @@ -132,19 +132,6 @@ func (m *_LDataReqBuilder) WithDataFrame(dataFrame LDataFrame) LDataReqBuilder { return m } -func (m *_LDataReqBuilder) WithDataFrameBuilder(builderSupplier func(LDataFrameBuilder) LDataFrameBuilder) LDataReqBuilder { - builder := builderSupplier(m.DataFrame.CreateLDataFrameBuilder()) - var err error - m.DataFrame, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "LDataFrameBuilder failed")) - } - return m -} - func (m *_LDataReqBuilder) Build() (LDataReq, error) { if m.DataFrame == nil { if m.err == nil { diff --git a/plc4go/protocols/knxnetip/readwrite/model/LPollData.go b/plc4go/protocols/knxnetip/readwrite/model/LPollData.go index 5b0fbcd947..6d0c2261cb 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/LPollData.go +++ b/plc4go/protocols/knxnetip/readwrite/model/LPollData.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/LPollDataCon.go b/plc4go/protocols/knxnetip/readwrite/model/LPollDataCon.go index 4174508270..ff05f4d93d 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/LPollDataCon.go +++ b/plc4go/protocols/knxnetip/readwrite/model/LPollDataCon.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/LPollDataReq.go b/plc4go/protocols/knxnetip/readwrite/model/LPollDataReq.go index f7b24b02ba..3fe2027f0b 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/LPollDataReq.go +++ b/plc4go/protocols/knxnetip/readwrite/model/LPollDataReq.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/LRawCon.go b/plc4go/protocols/knxnetip/readwrite/model/LRawCon.go index 0b8c5f3e26..9dbbc5e1b9 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/LRawCon.go +++ b/plc4go/protocols/knxnetip/readwrite/model/LRawCon.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/LRawInd.go b/plc4go/protocols/knxnetip/readwrite/model/LRawInd.go index 2faaa6870a..b3aa1059d4 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/LRawInd.go +++ b/plc4go/protocols/knxnetip/readwrite/model/LRawInd.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/LRawReq.go b/plc4go/protocols/knxnetip/readwrite/model/LRawReq.go index de57035bdc..947d1dee5c 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/LRawReq.go +++ b/plc4go/protocols/knxnetip/readwrite/model/LRawReq.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/MACAddress.go b/plc4go/protocols/knxnetip/readwrite/model/MACAddress.go index 631df05109..bb16be719b 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/MACAddress.go +++ b/plc4go/protocols/knxnetip/readwrite/model/MACAddress.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/MFuncPropCommandReq.go b/plc4go/protocols/knxnetip/readwrite/model/MFuncPropCommandReq.go index 819e32ef73..fd4f88e135 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/MFuncPropCommandReq.go +++ b/plc4go/protocols/knxnetip/readwrite/model/MFuncPropCommandReq.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/MFuncPropCon.go b/plc4go/protocols/knxnetip/readwrite/model/MFuncPropCon.go index f90ed2e7ad..a8d11006db 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/MFuncPropCon.go +++ b/plc4go/protocols/knxnetip/readwrite/model/MFuncPropCon.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/MFuncPropStateReadReq.go b/plc4go/protocols/knxnetip/readwrite/model/MFuncPropStateReadReq.go index c5f9e558f2..8c0a4ae789 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/MFuncPropStateReadReq.go +++ b/plc4go/protocols/knxnetip/readwrite/model/MFuncPropStateReadReq.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/MPropInfoInd.go b/plc4go/protocols/knxnetip/readwrite/model/MPropInfoInd.go index 24b633f882..c0bceee871 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/MPropInfoInd.go +++ b/plc4go/protocols/knxnetip/readwrite/model/MPropInfoInd.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/MPropReadCon.go b/plc4go/protocols/knxnetip/readwrite/model/MPropReadCon.go index 858bb233c4..1993fe4cab 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/MPropReadCon.go +++ b/plc4go/protocols/knxnetip/readwrite/model/MPropReadCon.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/MPropReadReq.go b/plc4go/protocols/knxnetip/readwrite/model/MPropReadReq.go index 1ff7e22d2d..1abdda6525 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/MPropReadReq.go +++ b/plc4go/protocols/knxnetip/readwrite/model/MPropReadReq.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/MPropWriteCon.go b/plc4go/protocols/knxnetip/readwrite/model/MPropWriteCon.go index 8a7d164d45..5d1f99e454 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/MPropWriteCon.go +++ b/plc4go/protocols/knxnetip/readwrite/model/MPropWriteCon.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/MPropWriteReq.go b/plc4go/protocols/knxnetip/readwrite/model/MPropWriteReq.go index ed62778c81..be3948764e 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/MPropWriteReq.go +++ b/plc4go/protocols/knxnetip/readwrite/model/MPropWriteReq.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/MResetInd.go b/plc4go/protocols/knxnetip/readwrite/model/MResetInd.go index a26771e06f..79a2852ae9 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/MResetInd.go +++ b/plc4go/protocols/knxnetip/readwrite/model/MResetInd.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/MResetReq.go b/plc4go/protocols/knxnetip/readwrite/model/MResetReq.go index be7c5b0930..fdd604c714 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/MResetReq.go +++ b/plc4go/protocols/knxnetip/readwrite/model/MResetReq.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ProjectInstallationIdentifier.go b/plc4go/protocols/knxnetip/readwrite/model/ProjectInstallationIdentifier.go index db69900eec..831a9bc91a 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ProjectInstallationIdentifier.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ProjectInstallationIdentifier.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/RelativeTimestamp.go b/plc4go/protocols/knxnetip/readwrite/model/RelativeTimestamp.go index 955db0bc45..b9b7f4e01b 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/RelativeTimestamp.go +++ b/plc4go/protocols/knxnetip/readwrite/model/RelativeTimestamp.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/RoutingIndication.go b/plc4go/protocols/knxnetip/readwrite/model/RoutingIndication.go index 4c46a54ee7..f81fe3dd31 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/RoutingIndication.go +++ b/plc4go/protocols/knxnetip/readwrite/model/RoutingIndication.go @@ -23,9 +23,11 @@ import ( "context" "encoding/binary" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/SearchRequest.go b/plc4go/protocols/knxnetip/readwrite/model/SearchRequest.go index b8b26b662b..9267301f2a 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/SearchRequest.go +++ b/plc4go/protocols/knxnetip/readwrite/model/SearchRequest.go @@ -23,12 +23,14 @@ import ( "context" "encoding/binary" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + "github.com/apache/plc4x/plc4go/spi/codegen" . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/SearchResponse.go b/plc4go/protocols/knxnetip/readwrite/model/SearchResponse.go index c57dea5a15..6900aa4abf 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/SearchResponse.go +++ b/plc4go/protocols/knxnetip/readwrite/model/SearchResponse.go @@ -23,12 +23,14 @@ import ( "context" "encoding/binary" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + "github.com/apache/plc4x/plc4go/spi/codegen" . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/ServiceId.go b/plc4go/protocols/knxnetip/readwrite/model/ServiceId.go index 0ae260a7da..72079e91f1 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ServiceId.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ServiceId.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/Status.go b/plc4go/protocols/knxnetip/readwrite/model/Status.go index 706689b3cc..d23db5f171 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/Status.go +++ b/plc4go/protocols/knxnetip/readwrite/model/Status.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/SupportedPhysicalMedia.go b/plc4go/protocols/knxnetip/readwrite/model/SupportedPhysicalMedia.go index e35e3da7f3..504beca71d 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/SupportedPhysicalMedia.go +++ b/plc4go/protocols/knxnetip/readwrite/model/SupportedPhysicalMedia.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/TDataConnectedInd.go b/plc4go/protocols/knxnetip/readwrite/model/TDataConnectedInd.go index 042642c54f..2e32e6ed7b 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/TDataConnectedInd.go +++ b/plc4go/protocols/knxnetip/readwrite/model/TDataConnectedInd.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/TDataConnectedReq.go b/plc4go/protocols/knxnetip/readwrite/model/TDataConnectedReq.go index c3b7b96e5f..126fc100eb 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/TDataConnectedReq.go +++ b/plc4go/protocols/knxnetip/readwrite/model/TDataConnectedReq.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/TDataIndividualInd.go b/plc4go/protocols/knxnetip/readwrite/model/TDataIndividualInd.go index cdc670bfcb..0b7f72be1e 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/TDataIndividualInd.go +++ b/plc4go/protocols/knxnetip/readwrite/model/TDataIndividualInd.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/TDataIndividualReq.go b/plc4go/protocols/knxnetip/readwrite/model/TDataIndividualReq.go index 4a9753742b..be76169444 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/TDataIndividualReq.go +++ b/plc4go/protocols/knxnetip/readwrite/model/TDataIndividualReq.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/TunnelingRequest.go b/plc4go/protocols/knxnetip/readwrite/model/TunnelingRequest.go index d8d23bba1d..ceb58e7ae3 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/TunnelingRequest.go +++ b/plc4go/protocols/knxnetip/readwrite/model/TunnelingRequest.go @@ -23,12 +23,14 @@ import ( "context" "encoding/binary" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + "github.com/apache/plc4x/plc4go/spi/codegen" . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -96,8 +98,6 @@ type TunnelingRequestBuilder interface { WithTunnelingRequestDataBlockBuilder(func(TunnelingRequestDataBlockBuilder) TunnelingRequestDataBlockBuilder) TunnelingRequestBuilder // WithCemi adds Cemi (property field) WithCemi(CEMI) TunnelingRequestBuilder - // WithCemiBuilder adds Cemi (property field) which is build by the builder - WithCemiBuilder(func(CEMIBuilder) CEMIBuilder) TunnelingRequestBuilder // Build builds the TunnelingRequest or returns an error if something is wrong Build() (TunnelingRequest, error) // MustBuild does the same as Build but panics on error @@ -144,19 +144,6 @@ func (m *_TunnelingRequestBuilder) WithCemi(cemi CEMI) TunnelingRequestBuilder { return m } -func (m *_TunnelingRequestBuilder) WithCemiBuilder(builderSupplier func(CEMIBuilder) CEMIBuilder) TunnelingRequestBuilder { - builder := builderSupplier(m.Cemi.CreateCEMIBuilder()) - var err error - m.Cemi, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "CEMIBuilder failed")) - } - return m -} - func (m *_TunnelingRequestBuilder) Build() (TunnelingRequest, error) { if m.TunnelingRequestDataBlock == nil { if m.err == nil { diff --git a/plc4go/protocols/knxnetip/readwrite/model/TunnelingRequestDataBlock.go b/plc4go/protocols/knxnetip/readwrite/model/TunnelingRequestDataBlock.go index 4a2c1062b8..a6c757a68c 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/TunnelingRequestDataBlock.go +++ b/plc4go/protocols/knxnetip/readwrite/model/TunnelingRequestDataBlock.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/TunnelingResponse.go b/plc4go/protocols/knxnetip/readwrite/model/TunnelingResponse.go index 9fe5fd0efe..090c7d357a 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/TunnelingResponse.go +++ b/plc4go/protocols/knxnetip/readwrite/model/TunnelingResponse.go @@ -23,12 +23,14 @@ import ( "context" "encoding/binary" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + "github.com/apache/plc4x/plc4go/spi/codegen" . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/TunnelingResponseDataBlock.go b/plc4go/protocols/knxnetip/readwrite/model/TunnelingResponseDataBlock.go index f617f5840c..6afa6c1f3a 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/TunnelingResponseDataBlock.go +++ b/plc4go/protocols/knxnetip/readwrite/model/TunnelingResponseDataBlock.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/knxnetip/readwrite/model/UnknownMessage.go b/plc4go/protocols/knxnetip/readwrite/model/UnknownMessage.go index 592f65bd37..5b1bdba4e8 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/UnknownMessage.go +++ b/plc4go/protocols/knxnetip/readwrite/model/UnknownMessage.go @@ -23,12 +23,14 @@ import ( "context" "encoding/binary" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + "github.com/apache/plc4x/plc4go/spi/codegen" . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/modbus/readwrite/ParserHelper.go b/plc4go/protocols/modbus/readwrite/ParserHelper.go index 81261b0e68..ca63544101 100644 --- a/plc4go/protocols/modbus/readwrite/ParserHelper.go +++ b/plc4go/protocols/modbus/readwrite/ParserHelper.go @@ -22,9 +22,10 @@ package readwrite import ( "context" + "github.com/pkg/errors" + . "github.com/apache/plc4x/plc4go/protocols/modbus/readwrite/model" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/modbus/readwrite/XmlParserHelper.go b/plc4go/protocols/modbus/readwrite/XmlParserHelper.go index 79333147ff..a9a6bda66f 100644 --- a/plc4go/protocols/modbus/readwrite/XmlParserHelper.go +++ b/plc4go/protocols/modbus/readwrite/XmlParserHelper.go @@ -24,9 +24,10 @@ import ( "strconv" "strings" + "github.com/pkg/errors" + . "github.com/apache/plc4x/plc4go/protocols/modbus/readwrite/model" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/modbus/readwrite/model/DataItem.go b/plc4go/protocols/modbus/readwrite/model/DataItem.go index 2104b536e2..017a02d2b2 100644 --- a/plc4go/protocols/modbus/readwrite/model/DataItem.go +++ b/plc4go/protocols/modbus/readwrite/model/DataItem.go @@ -21,11 +21,13 @@ package model import ( "context" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + api "github.com/apache/plc4x/plc4go/pkg/api/values" "github.com/apache/plc4x/plc4go/spi/utils" "github.com/apache/plc4x/plc4go/spi/values" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/modbus/readwrite/model/DriverType.go b/plc4go/protocols/modbus/readwrite/model/DriverType.go index 88162172a0..a4b6a038b2 100644 --- a/plc4go/protocols/modbus/readwrite/model/DriverType.go +++ b/plc4go/protocols/modbus/readwrite/model/DriverType.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusADU.go b/plc4go/protocols/modbus/readwrite/model/ModbusADU.go index 9a422c68c0..eac39b466b 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusADU.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusADU.go @@ -23,9 +23,11 @@ import ( "context" "encoding/binary" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusAsciiADU.go b/plc4go/protocols/modbus/readwrite/model/ModbusAsciiADU.go index 88e7d69746..ab75a506dc 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusAsciiADU.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusAsciiADU.go @@ -23,12 +23,14 @@ import ( "context" "encoding/binary" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + "github.com/apache/plc4x/plc4go/spi/codegen" . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -88,8 +90,6 @@ type ModbusAsciiADUBuilder interface { WithAddress(uint8) ModbusAsciiADUBuilder // WithPdu adds Pdu (property field) WithPdu(ModbusPDU) ModbusAsciiADUBuilder - // WithPduBuilder adds Pdu (property field) which is build by the builder - WithPduBuilder(func(ModbusPDUBuilder) ModbusPDUBuilder) ModbusAsciiADUBuilder // Build builds the ModbusAsciiADU or returns an error if something is wrong Build() (ModbusAsciiADU, error) // MustBuild does the same as Build but panics on error @@ -123,19 +123,6 @@ func (m *_ModbusAsciiADUBuilder) WithPdu(pdu ModbusPDU) ModbusAsciiADUBuilder { return m } -func (m *_ModbusAsciiADUBuilder) WithPduBuilder(builderSupplier func(ModbusPDUBuilder) ModbusPDUBuilder) ModbusAsciiADUBuilder { - builder := builderSupplier(m.Pdu.CreateModbusPDUBuilder()) - var err error - m.Pdu, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ModbusPDUBuilder failed")) - } - return m -} - func (m *_ModbusAsciiADUBuilder) Build() (ModbusAsciiADU, error) { if m.Pdu == nil { if m.err == nil { diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusConstants.go b/plc4go/protocols/modbus/readwrite/model/ModbusConstants.go index f24bbf52c2..b98dc83740 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusConstants.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusConstants.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusDataType.go b/plc4go/protocols/modbus/readwrite/model/ModbusDataType.go index d2eb0c2a80..95d4881de4 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusDataType.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusDataType.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusDeviceInformationConformityLevel.go b/plc4go/protocols/modbus/readwrite/model/ModbusDeviceInformationConformityLevel.go index 30b1f7fa5d..976b11c5f7 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusDeviceInformationConformityLevel.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusDeviceInformationConformityLevel.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusDeviceInformationLevel.go b/plc4go/protocols/modbus/readwrite/model/ModbusDeviceInformationLevel.go index e624514a13..fdf79ab277 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusDeviceInformationLevel.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusDeviceInformationLevel.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusDeviceInformationMoreFollows.go b/plc4go/protocols/modbus/readwrite/model/ModbusDeviceInformationMoreFollows.go index fe71206f77..ded2a165cb 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusDeviceInformationMoreFollows.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusDeviceInformationMoreFollows.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusDeviceInformationObject.go b/plc4go/protocols/modbus/readwrite/model/ModbusDeviceInformationObject.go index 15d65720bb..266547e558 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusDeviceInformationObject.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusDeviceInformationObject.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusErrorCode.go b/plc4go/protocols/modbus/readwrite/model/ModbusErrorCode.go index 673eb9f4c9..34f423378b 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusErrorCode.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusErrorCode.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDU.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDU.go index 5444a6aaa5..70f26896a1 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDU.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDU.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUDiagnosticRequest.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUDiagnosticRequest.go index c9ecddd1d8..100d094aeb 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUDiagnosticRequest.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUDiagnosticRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUDiagnosticResponse.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUDiagnosticResponse.go index 7b327ca830..6281a65325 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUDiagnosticResponse.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUDiagnosticResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUError.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUError.go index d8d7b7908a..ed9e431d98 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUError.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUError.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUGetComEventCounterRequest.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUGetComEventCounterRequest.go index 3a7b88ee59..8cf40e002f 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUGetComEventCounterRequest.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUGetComEventCounterRequest.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUGetComEventCounterResponse.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUGetComEventCounterResponse.go index 71a21e138d..5e0d297b56 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUGetComEventCounterResponse.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUGetComEventCounterResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUGetComEventLogRequest.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUGetComEventLogRequest.go index d11f7eb9aa..d3c7551e81 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUGetComEventLogRequest.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUGetComEventLogRequest.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUGetComEventLogResponse.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUGetComEventLogResponse.go index f22beecb99..3f5386a94b 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUGetComEventLogResponse.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUGetComEventLogResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUMaskWriteHoldingRegisterRequest.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUMaskWriteHoldingRegisterRequest.go index 9baa505010..48380260b3 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUMaskWriteHoldingRegisterRequest.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUMaskWriteHoldingRegisterRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUMaskWriteHoldingRegisterResponse.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUMaskWriteHoldingRegisterResponse.go index 15d9651754..2034e0b28c 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUMaskWriteHoldingRegisterResponse.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUMaskWriteHoldingRegisterResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadCoilsRequest.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadCoilsRequest.go index 83acfc87c9..6da3536020 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadCoilsRequest.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadCoilsRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadCoilsResponse.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadCoilsResponse.go index 967d1bcc08..f7121b3616 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadCoilsResponse.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadCoilsResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadDeviceIdentificationRequest.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadDeviceIdentificationRequest.go index 99768e224e..f7b9e48de1 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadDeviceIdentificationRequest.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadDeviceIdentificationRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadDeviceIdentificationResponse.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadDeviceIdentificationResponse.go index a6a28bfba6..c4038693f1 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadDeviceIdentificationResponse.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadDeviceIdentificationResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadDiscreteInputsRequest.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadDiscreteInputsRequest.go index 7c1b7c419a..d0b1a7e46b 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadDiscreteInputsRequest.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadDiscreteInputsRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadDiscreteInputsResponse.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadDiscreteInputsResponse.go index b4ae00d880..01ae4af65b 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadDiscreteInputsResponse.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadDiscreteInputsResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadExceptionStatusRequest.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadExceptionStatusRequest.go index bca1697968..f88ffb5157 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadExceptionStatusRequest.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadExceptionStatusRequest.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadExceptionStatusResponse.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadExceptionStatusResponse.go index 25308527f0..52b5a76097 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadExceptionStatusResponse.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadExceptionStatusResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadFifoQueueRequest.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadFifoQueueRequest.go index e4821b70dd..2f0d389966 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadFifoQueueRequest.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadFifoQueueRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadFifoQueueResponse.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadFifoQueueResponse.go index a07b2040b7..693e08ce15 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadFifoQueueResponse.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadFifoQueueResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadFileRecordRequest.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadFileRecordRequest.go index 68564c2a71..e2b0624fd3 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadFileRecordRequest.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadFileRecordRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadFileRecordRequestItem.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadFileRecordRequestItem.go index 977e26979a..d58af354d4 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadFileRecordRequestItem.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadFileRecordRequestItem.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadFileRecordResponse.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadFileRecordResponse.go index 24823009fe..ee6791b607 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadFileRecordResponse.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadFileRecordResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadFileRecordResponseItem.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadFileRecordResponseItem.go index bc578fbea1..c2161d96d0 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadFileRecordResponseItem.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadFileRecordResponseItem.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadHoldingRegistersRequest.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadHoldingRegistersRequest.go index 9e4fa1ee0d..82c3b9ecca 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadHoldingRegistersRequest.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadHoldingRegistersRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadHoldingRegistersResponse.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadHoldingRegistersResponse.go index f14876620e..ab31d8451a 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadHoldingRegistersResponse.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadHoldingRegistersResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadInputRegistersRequest.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadInputRegistersRequest.go index 5d73208321..21fcaed328 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadInputRegistersRequest.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadInputRegistersRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadInputRegistersResponse.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadInputRegistersResponse.go index 668f31c341..e5fc054efa 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadInputRegistersResponse.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadInputRegistersResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadWriteMultipleHoldingRegistersRequest.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadWriteMultipleHoldingRegistersRequest.go index 8ef163340f..13b3f20d64 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadWriteMultipleHoldingRegistersRequest.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadWriteMultipleHoldingRegistersRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadWriteMultipleHoldingRegistersResponse.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadWriteMultipleHoldingRegistersResponse.go index 472293048f..60324f0bea 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadWriteMultipleHoldingRegistersResponse.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadWriteMultipleHoldingRegistersResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReportServerIdRequest.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReportServerIdRequest.go index 45aeea01b2..829bbd4d84 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReportServerIdRequest.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReportServerIdRequest.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReportServerIdResponse.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReportServerIdResponse.go index 70275af402..376c27d245 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReportServerIdResponse.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReportServerIdResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteFileRecordRequest.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteFileRecordRequest.go index 76d138a005..af1ce7ed70 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteFileRecordRequest.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteFileRecordRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteFileRecordRequestItem.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteFileRecordRequestItem.go index 3bd98abdc1..6232c3cc52 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteFileRecordRequestItem.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteFileRecordRequestItem.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteFileRecordResponse.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteFileRecordResponse.go index 34dd133763..ddd64b22f8 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteFileRecordResponse.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteFileRecordResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteFileRecordResponseItem.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteFileRecordResponseItem.go index 8b5f6c9ddf..ccf54f0d00 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteFileRecordResponseItem.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteFileRecordResponseItem.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteMultipleCoilsRequest.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteMultipleCoilsRequest.go index f7e05210cd..03aebcae95 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteMultipleCoilsRequest.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteMultipleCoilsRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteMultipleCoilsResponse.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteMultipleCoilsResponse.go index d1e7e29fae..9f9197cc58 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteMultipleCoilsResponse.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteMultipleCoilsResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteMultipleHoldingRegistersRequest.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteMultipleHoldingRegistersRequest.go index 717de6c717..02f0166df1 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteMultipleHoldingRegistersRequest.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteMultipleHoldingRegistersRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteMultipleHoldingRegistersResponse.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteMultipleHoldingRegistersResponse.go index 93b0ae0eb1..d73f62ab01 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteMultipleHoldingRegistersResponse.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteMultipleHoldingRegistersResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteSingleCoilRequest.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteSingleCoilRequest.go index deed8319f0..691769ec7e 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteSingleCoilRequest.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteSingleCoilRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteSingleCoilResponse.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteSingleCoilResponse.go index 78d3fd1930..718a6377af 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteSingleCoilResponse.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteSingleCoilResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteSingleRegisterRequest.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteSingleRegisterRequest.go index ba131ecc5c..17f33aca45 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteSingleRegisterRequest.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteSingleRegisterRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteSingleRegisterResponse.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteSingleRegisterResponse.go index 74d7198760..cca72ccb64 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteSingleRegisterResponse.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteSingleRegisterResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusRtuADU.go b/plc4go/protocols/modbus/readwrite/model/ModbusRtuADU.go index 965ea6d9b8..9fa9ad97a4 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusRtuADU.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusRtuADU.go @@ -23,12 +23,14 @@ import ( "context" "encoding/binary" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + "github.com/apache/plc4x/plc4go/spi/codegen" . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -88,8 +90,6 @@ type ModbusRtuADUBuilder interface { WithAddress(uint8) ModbusRtuADUBuilder // WithPdu adds Pdu (property field) WithPdu(ModbusPDU) ModbusRtuADUBuilder - // WithPduBuilder adds Pdu (property field) which is build by the builder - WithPduBuilder(func(ModbusPDUBuilder) ModbusPDUBuilder) ModbusRtuADUBuilder // Build builds the ModbusRtuADU or returns an error if something is wrong Build() (ModbusRtuADU, error) // MustBuild does the same as Build but panics on error @@ -123,19 +123,6 @@ func (m *_ModbusRtuADUBuilder) WithPdu(pdu ModbusPDU) ModbusRtuADUBuilder { return m } -func (m *_ModbusRtuADUBuilder) WithPduBuilder(builderSupplier func(ModbusPDUBuilder) ModbusPDUBuilder) ModbusRtuADUBuilder { - builder := builderSupplier(m.Pdu.CreateModbusPDUBuilder()) - var err error - m.Pdu, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ModbusPDUBuilder failed")) - } - return m -} - func (m *_ModbusRtuADUBuilder) Build() (ModbusRtuADU, error) { if m.Pdu == nil { if m.err == nil { diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusTcpADU.go b/plc4go/protocols/modbus/readwrite/model/ModbusTcpADU.go index 512dc143b2..790a5f0dd6 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusTcpADU.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusTcpADU.go @@ -23,12 +23,14 @@ import ( "context" "encoding/binary" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + "github.com/apache/plc4x/plc4go/spi/codegen" . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -97,8 +99,6 @@ type ModbusTcpADUBuilder interface { WithUnitIdentifier(uint8) ModbusTcpADUBuilder // WithPdu adds Pdu (property field) WithPdu(ModbusPDU) ModbusTcpADUBuilder - // WithPduBuilder adds Pdu (property field) which is build by the builder - WithPduBuilder(func(ModbusPDUBuilder) ModbusPDUBuilder) ModbusTcpADUBuilder // Build builds the ModbusTcpADU or returns an error if something is wrong Build() (ModbusTcpADU, error) // MustBuild does the same as Build but panics on error @@ -137,19 +137,6 @@ func (m *_ModbusTcpADUBuilder) WithPdu(pdu ModbusPDU) ModbusTcpADUBuilder { return m } -func (m *_ModbusTcpADUBuilder) WithPduBuilder(builderSupplier func(ModbusPDUBuilder) ModbusPDUBuilder) ModbusTcpADUBuilder { - builder := builderSupplier(m.Pdu.CreateModbusPDUBuilder()) - var err error - m.Pdu, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ModbusPDUBuilder failed")) - } - return m -} - func (m *_ModbusTcpADUBuilder) Build() (ModbusTcpADU, error) { if m.Pdu == nil { if m.err == nil { diff --git a/plc4go/protocols/opcua/readwrite/ParserHelper.go b/plc4go/protocols/opcua/readwrite/ParserHelper.go index c12d845488..1044aa72f1 100644 --- a/plc4go/protocols/opcua/readwrite/ParserHelper.go +++ b/plc4go/protocols/opcua/readwrite/ParserHelper.go @@ -22,9 +22,10 @@ package readwrite import ( "context" + "github.com/pkg/errors" + . "github.com/apache/plc4x/plc4go/protocols/opcua/readwrite/model" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/XmlParserHelper.go b/plc4go/protocols/opcua/readwrite/XmlParserHelper.go index 85de819dad..5e6178b596 100644 --- a/plc4go/protocols/opcua/readwrite/XmlParserHelper.go +++ b/plc4go/protocols/opcua/readwrite/XmlParserHelper.go @@ -24,9 +24,10 @@ import ( "strconv" "strings" + "github.com/pkg/errors" + . "github.com/apache/plc4x/plc4go/protocols/opcua/readwrite/model" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/AccessLevelExType.go b/plc4go/protocols/opcua/readwrite/model/AccessLevelExType.go index e7f736407b..6b01e53328 100644 --- a/plc4go/protocols/opcua/readwrite/model/AccessLevelExType.go +++ b/plc4go/protocols/opcua/readwrite/model/AccessLevelExType.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/AccessLevelType.go b/plc4go/protocols/opcua/readwrite/model/AccessLevelType.go index 3ac0f71f63..f5f38fd475 100644 --- a/plc4go/protocols/opcua/readwrite/model/AccessLevelType.go +++ b/plc4go/protocols/opcua/readwrite/model/AccessLevelType.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/AccessRestrictionType.go b/plc4go/protocols/opcua/readwrite/model/AccessRestrictionType.go index 53568308d3..8c0839fe6d 100644 --- a/plc4go/protocols/opcua/readwrite/model/AccessRestrictionType.go +++ b/plc4go/protocols/opcua/readwrite/model/AccessRestrictionType.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/ActivateSessionRequest.go b/plc4go/protocols/opcua/readwrite/model/ActivateSessionRequest.go index be6d121285..d17bd9b559 100644 --- a/plc4go/protocols/opcua/readwrite/model/ActivateSessionRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/ActivateSessionRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -117,12 +119,8 @@ type ActivateSessionRequestBuilder interface { WithMandatoryFields(requestHeader ExtensionObjectDefinition, clientSignature ExtensionObjectDefinition, noOfClientSoftwareCertificates int32, clientSoftwareCertificates []ExtensionObjectDefinition, noOfLocaleIds int32, localeIds []PascalString, userIdentityToken ExtensionObject, userTokenSignature ExtensionObjectDefinition) ActivateSessionRequestBuilder // WithRequestHeader adds RequestHeader (property field) WithRequestHeader(ExtensionObjectDefinition) ActivateSessionRequestBuilder - // WithRequestHeaderBuilder adds RequestHeader (property field) which is build by the builder - WithRequestHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) ActivateSessionRequestBuilder // WithClientSignature adds ClientSignature (property field) WithClientSignature(ExtensionObjectDefinition) ActivateSessionRequestBuilder - // WithClientSignatureBuilder adds ClientSignature (property field) which is build by the builder - WithClientSignatureBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) ActivateSessionRequestBuilder // WithNoOfClientSoftwareCertificates adds NoOfClientSoftwareCertificates (property field) WithNoOfClientSoftwareCertificates(int32) ActivateSessionRequestBuilder // WithClientSoftwareCertificates adds ClientSoftwareCertificates (property field) @@ -137,8 +135,6 @@ type ActivateSessionRequestBuilder interface { WithUserIdentityTokenBuilder(func(ExtensionObjectBuilder) ExtensionObjectBuilder) ActivateSessionRequestBuilder // WithUserTokenSignature adds UserTokenSignature (property field) WithUserTokenSignature(ExtensionObjectDefinition) ActivateSessionRequestBuilder - // WithUserTokenSignatureBuilder adds UserTokenSignature (property field) which is build by the builder - WithUserTokenSignatureBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) ActivateSessionRequestBuilder // Build builds the ActivateSessionRequest or returns an error if something is wrong Build() (ActivateSessionRequest, error) // MustBuild does the same as Build but panics on error @@ -167,37 +163,11 @@ func (m *_ActivateSessionRequestBuilder) WithRequestHeader(requestHeader Extensi return m } -func (m *_ActivateSessionRequestBuilder) WithRequestHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) ActivateSessionRequestBuilder { - builder := builderSupplier(m.RequestHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.RequestHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_ActivateSessionRequestBuilder) WithClientSignature(clientSignature ExtensionObjectDefinition) ActivateSessionRequestBuilder { m.ClientSignature = clientSignature return m } -func (m *_ActivateSessionRequestBuilder) WithClientSignatureBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) ActivateSessionRequestBuilder { - builder := builderSupplier(m.ClientSignature.CreateExtensionObjectDefinitionBuilder()) - var err error - m.ClientSignature, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_ActivateSessionRequestBuilder) WithNoOfClientSoftwareCertificates(noOfClientSoftwareCertificates int32) ActivateSessionRequestBuilder { m.NoOfClientSoftwareCertificates = noOfClientSoftwareCertificates return m @@ -241,19 +211,6 @@ func (m *_ActivateSessionRequestBuilder) WithUserTokenSignature(userTokenSignatu return m } -func (m *_ActivateSessionRequestBuilder) WithUserTokenSignatureBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) ActivateSessionRequestBuilder { - builder := builderSupplier(m.UserTokenSignature.CreateExtensionObjectDefinitionBuilder()) - var err error - m.UserTokenSignature, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_ActivateSessionRequestBuilder) Build() (ActivateSessionRequest, error) { if m.RequestHeader == nil { if m.err == nil { diff --git a/plc4go/protocols/opcua/readwrite/model/ActivateSessionResponse.go b/plc4go/protocols/opcua/readwrite/model/ActivateSessionResponse.go index 27f149a5b0..6c741aa890 100644 --- a/plc4go/protocols/opcua/readwrite/model/ActivateSessionResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/ActivateSessionResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -103,8 +105,6 @@ type ActivateSessionResponseBuilder interface { WithMandatoryFields(responseHeader ExtensionObjectDefinition, serverNonce PascalByteString, noOfResults int32, results []StatusCode, noOfDiagnosticInfos int32, diagnosticInfos []DiagnosticInfo) ActivateSessionResponseBuilder // WithResponseHeader adds ResponseHeader (property field) WithResponseHeader(ExtensionObjectDefinition) ActivateSessionResponseBuilder - // WithResponseHeaderBuilder adds ResponseHeader (property field) which is build by the builder - WithResponseHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) ActivateSessionResponseBuilder // WithServerNonce adds ServerNonce (property field) WithServerNonce(PascalByteString) ActivateSessionResponseBuilder // WithServerNonceBuilder adds ServerNonce (property field) which is build by the builder @@ -145,19 +145,6 @@ func (m *_ActivateSessionResponseBuilder) WithResponseHeader(responseHeader Exte return m } -func (m *_ActivateSessionResponseBuilder) WithResponseHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) ActivateSessionResponseBuilder { - builder := builderSupplier(m.ResponseHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.ResponseHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_ActivateSessionResponseBuilder) WithServerNonce(serverNonce PascalByteString) ActivateSessionResponseBuilder { m.ServerNonce = serverNonce return m diff --git a/plc4go/protocols/opcua/readwrite/model/AddNodesItem.go b/plc4go/protocols/opcua/readwrite/model/AddNodesItem.go index 1a4625f28e..9a2074bab7 100644 --- a/plc4go/protocols/opcua/readwrite/model/AddNodesItem.go +++ b/plc4go/protocols/opcua/readwrite/model/AddNodesItem.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/AddNodesRequest.go b/plc4go/protocols/opcua/readwrite/model/AddNodesRequest.go index 5678e66eed..b231986fbc 100644 --- a/plc4go/protocols/opcua/readwrite/model/AddNodesRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/AddNodesRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -88,8 +90,6 @@ type AddNodesRequestBuilder interface { WithMandatoryFields(requestHeader ExtensionObjectDefinition, noOfNodesToAdd int32, nodesToAdd []ExtensionObjectDefinition) AddNodesRequestBuilder // WithRequestHeader adds RequestHeader (property field) WithRequestHeader(ExtensionObjectDefinition) AddNodesRequestBuilder - // WithRequestHeaderBuilder adds RequestHeader (property field) which is build by the builder - WithRequestHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) AddNodesRequestBuilder // WithNoOfNodesToAdd adds NoOfNodesToAdd (property field) WithNoOfNodesToAdd(int32) AddNodesRequestBuilder // WithNodesToAdd adds NodesToAdd (property field) @@ -122,19 +122,6 @@ func (m *_AddNodesRequestBuilder) WithRequestHeader(requestHeader ExtensionObjec return m } -func (m *_AddNodesRequestBuilder) WithRequestHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) AddNodesRequestBuilder { - builder := builderSupplier(m.RequestHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.RequestHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_AddNodesRequestBuilder) WithNoOfNodesToAdd(noOfNodesToAdd int32) AddNodesRequestBuilder { m.NoOfNodesToAdd = noOfNodesToAdd return m diff --git a/plc4go/protocols/opcua/readwrite/model/AddNodesResponse.go b/plc4go/protocols/opcua/readwrite/model/AddNodesResponse.go index 1b85b7ac0a..d5c522d8a5 100644 --- a/plc4go/protocols/opcua/readwrite/model/AddNodesResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/AddNodesResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -96,8 +98,6 @@ type AddNodesResponseBuilder interface { WithMandatoryFields(responseHeader ExtensionObjectDefinition, noOfResults int32, results []ExtensionObjectDefinition, noOfDiagnosticInfos int32, diagnosticInfos []DiagnosticInfo) AddNodesResponseBuilder // WithResponseHeader adds ResponseHeader (property field) WithResponseHeader(ExtensionObjectDefinition) AddNodesResponseBuilder - // WithResponseHeaderBuilder adds ResponseHeader (property field) which is build by the builder - WithResponseHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) AddNodesResponseBuilder // WithNoOfResults adds NoOfResults (property field) WithNoOfResults(int32) AddNodesResponseBuilder // WithResults adds Results (property field) @@ -134,19 +134,6 @@ func (m *_AddNodesResponseBuilder) WithResponseHeader(responseHeader ExtensionOb return m } -func (m *_AddNodesResponseBuilder) WithResponseHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) AddNodesResponseBuilder { - builder := builderSupplier(m.ResponseHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.ResponseHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_AddNodesResponseBuilder) WithNoOfResults(noOfResults int32) AddNodesResponseBuilder { m.NoOfResults = noOfResults return m diff --git a/plc4go/protocols/opcua/readwrite/model/AddNodesResult.go b/plc4go/protocols/opcua/readwrite/model/AddNodesResult.go index 75c20bb670..bdf7c6246b 100644 --- a/plc4go/protocols/opcua/readwrite/model/AddNodesResult.go +++ b/plc4go/protocols/opcua/readwrite/model/AddNodesResult.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/AddReferencesItem.go b/plc4go/protocols/opcua/readwrite/model/AddReferencesItem.go index 9c479bb838..e13fc5b6d7 100644 --- a/plc4go/protocols/opcua/readwrite/model/AddReferencesItem.go +++ b/plc4go/protocols/opcua/readwrite/model/AddReferencesItem.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/AddReferencesRequest.go b/plc4go/protocols/opcua/readwrite/model/AddReferencesRequest.go index 73f1d84431..c52d53ba1a 100644 --- a/plc4go/protocols/opcua/readwrite/model/AddReferencesRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/AddReferencesRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -88,8 +90,6 @@ type AddReferencesRequestBuilder interface { WithMandatoryFields(requestHeader ExtensionObjectDefinition, noOfReferencesToAdd int32, referencesToAdd []ExtensionObjectDefinition) AddReferencesRequestBuilder // WithRequestHeader adds RequestHeader (property field) WithRequestHeader(ExtensionObjectDefinition) AddReferencesRequestBuilder - // WithRequestHeaderBuilder adds RequestHeader (property field) which is build by the builder - WithRequestHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) AddReferencesRequestBuilder // WithNoOfReferencesToAdd adds NoOfReferencesToAdd (property field) WithNoOfReferencesToAdd(int32) AddReferencesRequestBuilder // WithReferencesToAdd adds ReferencesToAdd (property field) @@ -122,19 +122,6 @@ func (m *_AddReferencesRequestBuilder) WithRequestHeader(requestHeader Extension return m } -func (m *_AddReferencesRequestBuilder) WithRequestHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) AddReferencesRequestBuilder { - builder := builderSupplier(m.RequestHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.RequestHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_AddReferencesRequestBuilder) WithNoOfReferencesToAdd(noOfReferencesToAdd int32) AddReferencesRequestBuilder { m.NoOfReferencesToAdd = noOfReferencesToAdd return m diff --git a/plc4go/protocols/opcua/readwrite/model/AddReferencesResponse.go b/plc4go/protocols/opcua/readwrite/model/AddReferencesResponse.go index 67f351acb6..b8755758f2 100644 --- a/plc4go/protocols/opcua/readwrite/model/AddReferencesResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/AddReferencesResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -96,8 +98,6 @@ type AddReferencesResponseBuilder interface { WithMandatoryFields(responseHeader ExtensionObjectDefinition, noOfResults int32, results []StatusCode, noOfDiagnosticInfos int32, diagnosticInfos []DiagnosticInfo) AddReferencesResponseBuilder // WithResponseHeader adds ResponseHeader (property field) WithResponseHeader(ExtensionObjectDefinition) AddReferencesResponseBuilder - // WithResponseHeaderBuilder adds ResponseHeader (property field) which is build by the builder - WithResponseHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) AddReferencesResponseBuilder // WithNoOfResults adds NoOfResults (property field) WithNoOfResults(int32) AddReferencesResponseBuilder // WithResults adds Results (property field) @@ -134,19 +134,6 @@ func (m *_AddReferencesResponseBuilder) WithResponseHeader(responseHeader Extens return m } -func (m *_AddReferencesResponseBuilder) WithResponseHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) AddReferencesResponseBuilder { - builder := builderSupplier(m.ResponseHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.ResponseHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_AddReferencesResponseBuilder) WithNoOfResults(noOfResults int32) AddReferencesResponseBuilder { m.NoOfResults = noOfResults return m diff --git a/plc4go/protocols/opcua/readwrite/model/AdditionalParametersType.go b/plc4go/protocols/opcua/readwrite/model/AdditionalParametersType.go index 7d60e6b46d..6643f80887 100644 --- a/plc4go/protocols/opcua/readwrite/model/AdditionalParametersType.go +++ b/plc4go/protocols/opcua/readwrite/model/AdditionalParametersType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/AggregateConfiguration.go b/plc4go/protocols/opcua/readwrite/model/AggregateConfiguration.go index 3f07a3e742..783346d2d3 100644 --- a/plc4go/protocols/opcua/readwrite/model/AggregateConfiguration.go +++ b/plc4go/protocols/opcua/readwrite/model/AggregateConfiguration.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/AlarmMask.go b/plc4go/protocols/opcua/readwrite/model/AlarmMask.go index 808cf11480..16c7371f36 100644 --- a/plc4go/protocols/opcua/readwrite/model/AlarmMask.go +++ b/plc4go/protocols/opcua/readwrite/model/AlarmMask.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/AliasNameDataType.go b/plc4go/protocols/opcua/readwrite/model/AliasNameDataType.go index 0b6e389a78..e784c20b30 100644 --- a/plc4go/protocols/opcua/readwrite/model/AliasNameDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/AliasNameDataType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/Annotation.go b/plc4go/protocols/opcua/readwrite/model/Annotation.go index 8ad4017acd..bcd2a2070f 100644 --- a/plc4go/protocols/opcua/readwrite/model/Annotation.go +++ b/plc4go/protocols/opcua/readwrite/model/Annotation.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/AnnotationDataType.go b/plc4go/protocols/opcua/readwrite/model/AnnotationDataType.go index 440d3de0c9..639e5140dd 100644 --- a/plc4go/protocols/opcua/readwrite/model/AnnotationDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/AnnotationDataType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/AnonymousIdentityToken.go b/plc4go/protocols/opcua/readwrite/model/AnonymousIdentityToken.go index 1941fadbfe..d96b26168d 100644 --- a/plc4go/protocols/opcua/readwrite/model/AnonymousIdentityToken.go +++ b/plc4go/protocols/opcua/readwrite/model/AnonymousIdentityToken.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/ApplicationDescription.go b/plc4go/protocols/opcua/readwrite/model/ApplicationDescription.go index fe9ba1013e..6f32da153d 100644 --- a/plc4go/protocols/opcua/readwrite/model/ApplicationDescription.go +++ b/plc4go/protocols/opcua/readwrite/model/ApplicationDescription.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/ApplicationInstanceCertificate.go b/plc4go/protocols/opcua/readwrite/model/ApplicationInstanceCertificate.go index cbd0daa590..d5b2d3fd62 100644 --- a/plc4go/protocols/opcua/readwrite/model/ApplicationInstanceCertificate.go +++ b/plc4go/protocols/opcua/readwrite/model/ApplicationInstanceCertificate.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/ApplicationType.go b/plc4go/protocols/opcua/readwrite/model/ApplicationType.go index ceff0c8719..e3b99a651b 100644 --- a/plc4go/protocols/opcua/readwrite/model/ApplicationType.go +++ b/plc4go/protocols/opcua/readwrite/model/ApplicationType.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/Argument.go b/plc4go/protocols/opcua/readwrite/model/Argument.go index 2fe922530c..98feaa5385 100644 --- a/plc4go/protocols/opcua/readwrite/model/Argument.go +++ b/plc4go/protocols/opcua/readwrite/model/Argument.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/AttributeWriteMask.go b/plc4go/protocols/opcua/readwrite/model/AttributeWriteMask.go index b68c36cdfd..164a43438b 100644 --- a/plc4go/protocols/opcua/readwrite/model/AttributeWriteMask.go +++ b/plc4go/protocols/opcua/readwrite/model/AttributeWriteMask.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/AudioDataType.go b/plc4go/protocols/opcua/readwrite/model/AudioDataType.go index 9a5b3f9836..c1749bbc92 100644 --- a/plc4go/protocols/opcua/readwrite/model/AudioDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/AudioDataType.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/AxisInformation.go b/plc4go/protocols/opcua/readwrite/model/AxisInformation.go index 68879727fe..40e83ebdd1 100644 --- a/plc4go/protocols/opcua/readwrite/model/AxisInformation.go +++ b/plc4go/protocols/opcua/readwrite/model/AxisInformation.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -106,12 +108,8 @@ type AxisInformationBuilder interface { WithMandatoryFields(engineeringUnits ExtensionObjectDefinition, eURange ExtensionObjectDefinition, title LocalizedText, axisScaleType AxisScaleEnumeration, noOfAxisSteps int32, axisSteps []float64) AxisInformationBuilder // WithEngineeringUnits adds EngineeringUnits (property field) WithEngineeringUnits(ExtensionObjectDefinition) AxisInformationBuilder - // WithEngineeringUnitsBuilder adds EngineeringUnits (property field) which is build by the builder - WithEngineeringUnitsBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) AxisInformationBuilder // WithEURange adds EURange (property field) WithEURange(ExtensionObjectDefinition) AxisInformationBuilder - // WithEURangeBuilder adds EURange (property field) which is build by the builder - WithEURangeBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) AxisInformationBuilder // WithTitle adds Title (property field) WithTitle(LocalizedText) AxisInformationBuilder // WithTitleBuilder adds Title (property field) which is build by the builder @@ -150,37 +148,11 @@ func (m *_AxisInformationBuilder) WithEngineeringUnits(engineeringUnits Extensio return m } -func (m *_AxisInformationBuilder) WithEngineeringUnitsBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) AxisInformationBuilder { - builder := builderSupplier(m.EngineeringUnits.CreateExtensionObjectDefinitionBuilder()) - var err error - m.EngineeringUnits, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_AxisInformationBuilder) WithEURange(eURange ExtensionObjectDefinition) AxisInformationBuilder { m.EURange = eURange return m } -func (m *_AxisInformationBuilder) WithEURangeBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) AxisInformationBuilder { - builder := builderSupplier(m.EURange.CreateExtensionObjectDefinitionBuilder()) - var err error - m.EURange, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_AxisInformationBuilder) WithTitle(title LocalizedText) AxisInformationBuilder { m.Title = title return m diff --git a/plc4go/protocols/opcua/readwrite/model/AxisScaleEnumeration.go b/plc4go/protocols/opcua/readwrite/model/AxisScaleEnumeration.go index 27c154de6c..04edccc2ca 100644 --- a/plc4go/protocols/opcua/readwrite/model/AxisScaleEnumeration.go +++ b/plc4go/protocols/opcua/readwrite/model/AxisScaleEnumeration.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/BinaryPayload.go b/plc4go/protocols/opcua/readwrite/model/BinaryPayload.go index 232f9f742e..d1c8cd9f01 100644 --- a/plc4go/protocols/opcua/readwrite/model/BinaryPayload.go +++ b/plc4go/protocols/opcua/readwrite/model/BinaryPayload.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/BitFieldDefinition.go b/plc4go/protocols/opcua/readwrite/model/BitFieldDefinition.go index 572bfb0a12..d2398127c2 100644 --- a/plc4go/protocols/opcua/readwrite/model/BitFieldDefinition.go +++ b/plc4go/protocols/opcua/readwrite/model/BitFieldDefinition.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/BitFieldMaskDataType.go b/plc4go/protocols/opcua/readwrite/model/BitFieldMaskDataType.go index cf145d20a1..3ed6029fd4 100644 --- a/plc4go/protocols/opcua/readwrite/model/BitFieldMaskDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/BitFieldMaskDataType.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/BrokerTransportQualityOfService.go b/plc4go/protocols/opcua/readwrite/model/BrokerTransportQualityOfService.go index 0453b2863a..42fcabe315 100644 --- a/plc4go/protocols/opcua/readwrite/model/BrokerTransportQualityOfService.go +++ b/plc4go/protocols/opcua/readwrite/model/BrokerTransportQualityOfService.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/BrowseDescription.go b/plc4go/protocols/opcua/readwrite/model/BrowseDescription.go index d948e77b58..be8f09f583 100644 --- a/plc4go/protocols/opcua/readwrite/model/BrowseDescription.go +++ b/plc4go/protocols/opcua/readwrite/model/BrowseDescription.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/BrowseDirection.go b/plc4go/protocols/opcua/readwrite/model/BrowseDirection.go index 8dcf520453..d7afc93340 100644 --- a/plc4go/protocols/opcua/readwrite/model/BrowseDirection.go +++ b/plc4go/protocols/opcua/readwrite/model/BrowseDirection.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/BrowseNextRequest.go b/plc4go/protocols/opcua/readwrite/model/BrowseNextRequest.go index 5a6661f4ea..e99b93e9ee 100644 --- a/plc4go/protocols/opcua/readwrite/model/BrowseNextRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/BrowseNextRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -94,8 +96,6 @@ type BrowseNextRequestBuilder interface { WithMandatoryFields(requestHeader ExtensionObjectDefinition, releaseContinuationPoints bool, noOfContinuationPoints int32, continuationPoints []PascalByteString) BrowseNextRequestBuilder // WithRequestHeader adds RequestHeader (property field) WithRequestHeader(ExtensionObjectDefinition) BrowseNextRequestBuilder - // WithRequestHeaderBuilder adds RequestHeader (property field) which is build by the builder - WithRequestHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) BrowseNextRequestBuilder // WithReleaseContinuationPoints adds ReleaseContinuationPoints (property field) WithReleaseContinuationPoints(bool) BrowseNextRequestBuilder // WithNoOfContinuationPoints adds NoOfContinuationPoints (property field) @@ -130,19 +130,6 @@ func (m *_BrowseNextRequestBuilder) WithRequestHeader(requestHeader ExtensionObj return m } -func (m *_BrowseNextRequestBuilder) WithRequestHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) BrowseNextRequestBuilder { - builder := builderSupplier(m.RequestHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.RequestHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_BrowseNextRequestBuilder) WithReleaseContinuationPoints(releaseContinuationPoints bool) BrowseNextRequestBuilder { m.ReleaseContinuationPoints = releaseContinuationPoints return m diff --git a/plc4go/protocols/opcua/readwrite/model/BrowseNextResponse.go b/plc4go/protocols/opcua/readwrite/model/BrowseNextResponse.go index bf8eb05565..2fdcd6cec5 100644 --- a/plc4go/protocols/opcua/readwrite/model/BrowseNextResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/BrowseNextResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -96,8 +98,6 @@ type BrowseNextResponseBuilder interface { WithMandatoryFields(responseHeader ExtensionObjectDefinition, noOfResults int32, results []ExtensionObjectDefinition, noOfDiagnosticInfos int32, diagnosticInfos []DiagnosticInfo) BrowseNextResponseBuilder // WithResponseHeader adds ResponseHeader (property field) WithResponseHeader(ExtensionObjectDefinition) BrowseNextResponseBuilder - // WithResponseHeaderBuilder adds ResponseHeader (property field) which is build by the builder - WithResponseHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) BrowseNextResponseBuilder // WithNoOfResults adds NoOfResults (property field) WithNoOfResults(int32) BrowseNextResponseBuilder // WithResults adds Results (property field) @@ -134,19 +134,6 @@ func (m *_BrowseNextResponseBuilder) WithResponseHeader(responseHeader Extension return m } -func (m *_BrowseNextResponseBuilder) WithResponseHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) BrowseNextResponseBuilder { - builder := builderSupplier(m.ResponseHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.ResponseHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_BrowseNextResponseBuilder) WithNoOfResults(noOfResults int32) BrowseNextResponseBuilder { m.NoOfResults = noOfResults return m diff --git a/plc4go/protocols/opcua/readwrite/model/BrowsePath.go b/plc4go/protocols/opcua/readwrite/model/BrowsePath.go index 5576774faa..a54a927899 100644 --- a/plc4go/protocols/opcua/readwrite/model/BrowsePath.go +++ b/plc4go/protocols/opcua/readwrite/model/BrowsePath.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -91,8 +93,6 @@ type BrowsePathBuilder interface { WithStartingNodeBuilder(func(NodeIdBuilder) NodeIdBuilder) BrowsePathBuilder // WithRelativePath adds RelativePath (property field) WithRelativePath(ExtensionObjectDefinition) BrowsePathBuilder - // WithRelativePathBuilder adds RelativePath (property field) which is build by the builder - WithRelativePathBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) BrowsePathBuilder // Build builds the BrowsePath or returns an error if something is wrong Build() (BrowsePath, error) // MustBuild does the same as Build but panics on error @@ -139,19 +139,6 @@ func (m *_BrowsePathBuilder) WithRelativePath(relativePath ExtensionObjectDefini return m } -func (m *_BrowsePathBuilder) WithRelativePathBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) BrowsePathBuilder { - builder := builderSupplier(m.RelativePath.CreateExtensionObjectDefinitionBuilder()) - var err error - m.RelativePath, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_BrowsePathBuilder) Build() (BrowsePath, error) { if m.StartingNode == nil { if m.err == nil { diff --git a/plc4go/protocols/opcua/readwrite/model/BrowsePathResult.go b/plc4go/protocols/opcua/readwrite/model/BrowsePathResult.go index c907ba9ce5..1b5a456f11 100644 --- a/plc4go/protocols/opcua/readwrite/model/BrowsePathResult.go +++ b/plc4go/protocols/opcua/readwrite/model/BrowsePathResult.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/BrowsePathTarget.go b/plc4go/protocols/opcua/readwrite/model/BrowsePathTarget.go index aba38e03da..83d0c3193f 100644 --- a/plc4go/protocols/opcua/readwrite/model/BrowsePathTarget.go +++ b/plc4go/protocols/opcua/readwrite/model/BrowsePathTarget.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/BrowseRequest.go b/plc4go/protocols/opcua/readwrite/model/BrowseRequest.go index 44cc0640f2..9ea7fcb221 100644 --- a/plc4go/protocols/opcua/readwrite/model/BrowseRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/BrowseRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -99,12 +101,8 @@ type BrowseRequestBuilder interface { WithMandatoryFields(requestHeader ExtensionObjectDefinition, view ExtensionObjectDefinition, requestedMaxReferencesPerNode uint32, noOfNodesToBrowse int32, nodesToBrowse []ExtensionObjectDefinition) BrowseRequestBuilder // WithRequestHeader adds RequestHeader (property field) WithRequestHeader(ExtensionObjectDefinition) BrowseRequestBuilder - // WithRequestHeaderBuilder adds RequestHeader (property field) which is build by the builder - WithRequestHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) BrowseRequestBuilder // WithView adds View (property field) WithView(ExtensionObjectDefinition) BrowseRequestBuilder - // WithViewBuilder adds View (property field) which is build by the builder - WithViewBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) BrowseRequestBuilder // WithRequestedMaxReferencesPerNode adds RequestedMaxReferencesPerNode (property field) WithRequestedMaxReferencesPerNode(uint32) BrowseRequestBuilder // WithNoOfNodesToBrowse adds NoOfNodesToBrowse (property field) @@ -139,37 +137,11 @@ func (m *_BrowseRequestBuilder) WithRequestHeader(requestHeader ExtensionObjectD return m } -func (m *_BrowseRequestBuilder) WithRequestHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) BrowseRequestBuilder { - builder := builderSupplier(m.RequestHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.RequestHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_BrowseRequestBuilder) WithView(view ExtensionObjectDefinition) BrowseRequestBuilder { m.View = view return m } -func (m *_BrowseRequestBuilder) WithViewBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) BrowseRequestBuilder { - builder := builderSupplier(m.View.CreateExtensionObjectDefinitionBuilder()) - var err error - m.View, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_BrowseRequestBuilder) WithRequestedMaxReferencesPerNode(requestedMaxReferencesPerNode uint32) BrowseRequestBuilder { m.RequestedMaxReferencesPerNode = requestedMaxReferencesPerNode return m diff --git a/plc4go/protocols/opcua/readwrite/model/BrowseResponse.go b/plc4go/protocols/opcua/readwrite/model/BrowseResponse.go index 8f66ccb75e..b78f7bca14 100644 --- a/plc4go/protocols/opcua/readwrite/model/BrowseResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/BrowseResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -96,8 +98,6 @@ type BrowseResponseBuilder interface { WithMandatoryFields(responseHeader ExtensionObjectDefinition, noOfResults int32, results []ExtensionObjectDefinition, noOfDiagnosticInfos int32, diagnosticInfos []DiagnosticInfo) BrowseResponseBuilder // WithResponseHeader adds ResponseHeader (property field) WithResponseHeader(ExtensionObjectDefinition) BrowseResponseBuilder - // WithResponseHeaderBuilder adds ResponseHeader (property field) which is build by the builder - WithResponseHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) BrowseResponseBuilder // WithNoOfResults adds NoOfResults (property field) WithNoOfResults(int32) BrowseResponseBuilder // WithResults adds Results (property field) @@ -134,19 +134,6 @@ func (m *_BrowseResponseBuilder) WithResponseHeader(responseHeader ExtensionObje return m } -func (m *_BrowseResponseBuilder) WithResponseHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) BrowseResponseBuilder { - builder := builderSupplier(m.ResponseHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.ResponseHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_BrowseResponseBuilder) WithNoOfResults(noOfResults int32) BrowseResponseBuilder { m.NoOfResults = noOfResults return m diff --git a/plc4go/protocols/opcua/readwrite/model/BrowseResult.go b/plc4go/protocols/opcua/readwrite/model/BrowseResult.go index 0d4fe7a50a..f3c61d727b 100644 --- a/plc4go/protocols/opcua/readwrite/model/BrowseResult.go +++ b/plc4go/protocols/opcua/readwrite/model/BrowseResult.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/BrowseResultMask.go b/plc4go/protocols/opcua/readwrite/model/BrowseResultMask.go index 4d55369876..e87721930e 100644 --- a/plc4go/protocols/opcua/readwrite/model/BrowseResultMask.go +++ b/plc4go/protocols/opcua/readwrite/model/BrowseResultMask.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/BuildInfo.go b/plc4go/protocols/opcua/readwrite/model/BuildInfo.go index ae57f4df38..705e5bffaa 100644 --- a/plc4go/protocols/opcua/readwrite/model/BuildInfo.go +++ b/plc4go/protocols/opcua/readwrite/model/BuildInfo.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/ByteStringArray.go b/plc4go/protocols/opcua/readwrite/model/ByteStringArray.go index b61d7fdb63..1dc05f02ad 100644 --- a/plc4go/protocols/opcua/readwrite/model/ByteStringArray.go +++ b/plc4go/protocols/opcua/readwrite/model/ByteStringArray.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/ByteStringNodeId.go b/plc4go/protocols/opcua/readwrite/model/ByteStringNodeId.go index aa6ee6e806..21587db921 100644 --- a/plc4go/protocols/opcua/readwrite/model/ByteStringNodeId.go +++ b/plc4go/protocols/opcua/readwrite/model/ByteStringNodeId.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/CallMethodRequest.go b/plc4go/protocols/opcua/readwrite/model/CallMethodRequest.go index 9f0255fc27..2adf5f11d6 100644 --- a/plc4go/protocols/opcua/readwrite/model/CallMethodRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/CallMethodRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/CallMethodResult.go b/plc4go/protocols/opcua/readwrite/model/CallMethodResult.go index 5d41456d16..d5e3b265b4 100644 --- a/plc4go/protocols/opcua/readwrite/model/CallMethodResult.go +++ b/plc4go/protocols/opcua/readwrite/model/CallMethodResult.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/CallRequest.go b/plc4go/protocols/opcua/readwrite/model/CallRequest.go index 55575dcdf4..fff208556b 100644 --- a/plc4go/protocols/opcua/readwrite/model/CallRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/CallRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -88,8 +90,6 @@ type CallRequestBuilder interface { WithMandatoryFields(requestHeader ExtensionObjectDefinition, noOfMethodsToCall int32, methodsToCall []ExtensionObjectDefinition) CallRequestBuilder // WithRequestHeader adds RequestHeader (property field) WithRequestHeader(ExtensionObjectDefinition) CallRequestBuilder - // WithRequestHeaderBuilder adds RequestHeader (property field) which is build by the builder - WithRequestHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) CallRequestBuilder // WithNoOfMethodsToCall adds NoOfMethodsToCall (property field) WithNoOfMethodsToCall(int32) CallRequestBuilder // WithMethodsToCall adds MethodsToCall (property field) @@ -122,19 +122,6 @@ func (m *_CallRequestBuilder) WithRequestHeader(requestHeader ExtensionObjectDef return m } -func (m *_CallRequestBuilder) WithRequestHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) CallRequestBuilder { - builder := builderSupplier(m.RequestHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.RequestHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_CallRequestBuilder) WithNoOfMethodsToCall(noOfMethodsToCall int32) CallRequestBuilder { m.NoOfMethodsToCall = noOfMethodsToCall return m diff --git a/plc4go/protocols/opcua/readwrite/model/CallResponse.go b/plc4go/protocols/opcua/readwrite/model/CallResponse.go index 0c63766665..1f7536a289 100644 --- a/plc4go/protocols/opcua/readwrite/model/CallResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/CallResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -96,8 +98,6 @@ type CallResponseBuilder interface { WithMandatoryFields(responseHeader ExtensionObjectDefinition, noOfResults int32, results []ExtensionObjectDefinition, noOfDiagnosticInfos int32, diagnosticInfos []DiagnosticInfo) CallResponseBuilder // WithResponseHeader adds ResponseHeader (property field) WithResponseHeader(ExtensionObjectDefinition) CallResponseBuilder - // WithResponseHeaderBuilder adds ResponseHeader (property field) which is build by the builder - WithResponseHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) CallResponseBuilder // WithNoOfResults adds NoOfResults (property field) WithNoOfResults(int32) CallResponseBuilder // WithResults adds Results (property field) @@ -134,19 +134,6 @@ func (m *_CallResponseBuilder) WithResponseHeader(responseHeader ExtensionObject return m } -func (m *_CallResponseBuilder) WithResponseHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) CallResponseBuilder { - builder := builderSupplier(m.ResponseHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.ResponseHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_CallResponseBuilder) WithNoOfResults(noOfResults int32) CallResponseBuilder { m.NoOfResults = noOfResults return m diff --git a/plc4go/protocols/opcua/readwrite/model/CancelRequest.go b/plc4go/protocols/opcua/readwrite/model/CancelRequest.go index 924fa90359..5605323049 100644 --- a/plc4go/protocols/opcua/readwrite/model/CancelRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/CancelRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -84,8 +86,6 @@ type CancelRequestBuilder interface { WithMandatoryFields(requestHeader ExtensionObjectDefinition, requestHandle uint32) CancelRequestBuilder // WithRequestHeader adds RequestHeader (property field) WithRequestHeader(ExtensionObjectDefinition) CancelRequestBuilder - // WithRequestHeaderBuilder adds RequestHeader (property field) which is build by the builder - WithRequestHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) CancelRequestBuilder // WithRequestHandle adds RequestHandle (property field) WithRequestHandle(uint32) CancelRequestBuilder // Build builds the CancelRequest or returns an error if something is wrong @@ -116,19 +116,6 @@ func (m *_CancelRequestBuilder) WithRequestHeader(requestHeader ExtensionObjectD return m } -func (m *_CancelRequestBuilder) WithRequestHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) CancelRequestBuilder { - builder := builderSupplier(m.RequestHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.RequestHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_CancelRequestBuilder) WithRequestHandle(requestHandle uint32) CancelRequestBuilder { m.RequestHandle = requestHandle return m diff --git a/plc4go/protocols/opcua/readwrite/model/CancelResponse.go b/plc4go/protocols/opcua/readwrite/model/CancelResponse.go index bd0d41ed07..2f80fbfbca 100644 --- a/plc4go/protocols/opcua/readwrite/model/CancelResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/CancelResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -84,8 +86,6 @@ type CancelResponseBuilder interface { WithMandatoryFields(responseHeader ExtensionObjectDefinition, cancelCount uint32) CancelResponseBuilder // WithResponseHeader adds ResponseHeader (property field) WithResponseHeader(ExtensionObjectDefinition) CancelResponseBuilder - // WithResponseHeaderBuilder adds ResponseHeader (property field) which is build by the builder - WithResponseHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) CancelResponseBuilder // WithCancelCount adds CancelCount (property field) WithCancelCount(uint32) CancelResponseBuilder // Build builds the CancelResponse or returns an error if something is wrong @@ -116,19 +116,6 @@ func (m *_CancelResponseBuilder) WithResponseHeader(responseHeader ExtensionObje return m } -func (m *_CancelResponseBuilder) WithResponseHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) CancelResponseBuilder { - builder := builderSupplier(m.ResponseHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.ResponseHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_CancelResponseBuilder) WithCancelCount(cancelCount uint32) CancelResponseBuilder { m.CancelCount = cancelCount return m diff --git a/plc4go/protocols/opcua/readwrite/model/CartesianCoordinates.go b/plc4go/protocols/opcua/readwrite/model/CartesianCoordinates.go index e138ee4538..1fa85f7077 100644 --- a/plc4go/protocols/opcua/readwrite/model/CartesianCoordinates.go +++ b/plc4go/protocols/opcua/readwrite/model/CartesianCoordinates.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/ChannelSecurityToken.go b/plc4go/protocols/opcua/readwrite/model/ChannelSecurityToken.go index 49be85410f..52fd01dc21 100644 --- a/plc4go/protocols/opcua/readwrite/model/ChannelSecurityToken.go +++ b/plc4go/protocols/opcua/readwrite/model/ChannelSecurityToken.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/ChunkType.go b/plc4go/protocols/opcua/readwrite/model/ChunkType.go index 3daa9d5e7c..eeb3004823 100644 --- a/plc4go/protocols/opcua/readwrite/model/ChunkType.go +++ b/plc4go/protocols/opcua/readwrite/model/ChunkType.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/CloseSecureChannelRequest.go b/plc4go/protocols/opcua/readwrite/model/CloseSecureChannelRequest.go index 0158cd5f39..5c2aea0fb8 100644 --- a/plc4go/protocols/opcua/readwrite/model/CloseSecureChannelRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/CloseSecureChannelRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -80,8 +82,6 @@ type CloseSecureChannelRequestBuilder interface { WithMandatoryFields(requestHeader ExtensionObjectDefinition) CloseSecureChannelRequestBuilder // WithRequestHeader adds RequestHeader (property field) WithRequestHeader(ExtensionObjectDefinition) CloseSecureChannelRequestBuilder - // WithRequestHeaderBuilder adds RequestHeader (property field) which is build by the builder - WithRequestHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) CloseSecureChannelRequestBuilder // Build builds the CloseSecureChannelRequest or returns an error if something is wrong Build() (CloseSecureChannelRequest, error) // MustBuild does the same as Build but panics on error @@ -110,19 +110,6 @@ func (m *_CloseSecureChannelRequestBuilder) WithRequestHeader(requestHeader Exte return m } -func (m *_CloseSecureChannelRequestBuilder) WithRequestHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) CloseSecureChannelRequestBuilder { - builder := builderSupplier(m.RequestHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.RequestHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_CloseSecureChannelRequestBuilder) Build() (CloseSecureChannelRequest, error) { if m.RequestHeader == nil { if m.err == nil { diff --git a/plc4go/protocols/opcua/readwrite/model/CloseSecureChannelResponse.go b/plc4go/protocols/opcua/readwrite/model/CloseSecureChannelResponse.go index 12334cc2e2..31fdb6c5c5 100644 --- a/plc4go/protocols/opcua/readwrite/model/CloseSecureChannelResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/CloseSecureChannelResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -80,8 +82,6 @@ type CloseSecureChannelResponseBuilder interface { WithMandatoryFields(responseHeader ExtensionObjectDefinition) CloseSecureChannelResponseBuilder // WithResponseHeader adds ResponseHeader (property field) WithResponseHeader(ExtensionObjectDefinition) CloseSecureChannelResponseBuilder - // WithResponseHeaderBuilder adds ResponseHeader (property field) which is build by the builder - WithResponseHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) CloseSecureChannelResponseBuilder // Build builds the CloseSecureChannelResponse or returns an error if something is wrong Build() (CloseSecureChannelResponse, error) // MustBuild does the same as Build but panics on error @@ -110,19 +110,6 @@ func (m *_CloseSecureChannelResponseBuilder) WithResponseHeader(responseHeader E return m } -func (m *_CloseSecureChannelResponseBuilder) WithResponseHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) CloseSecureChannelResponseBuilder { - builder := builderSupplier(m.ResponseHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.ResponseHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_CloseSecureChannelResponseBuilder) Build() (CloseSecureChannelResponse, error) { if m.ResponseHeader == nil { if m.err == nil { diff --git a/plc4go/protocols/opcua/readwrite/model/CloseSessionRequest.go b/plc4go/protocols/opcua/readwrite/model/CloseSessionRequest.go index e703a9ed15..ba51012d70 100644 --- a/plc4go/protocols/opcua/readwrite/model/CloseSessionRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/CloseSessionRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -86,8 +88,6 @@ type CloseSessionRequestBuilder interface { WithMandatoryFields(requestHeader ExtensionObjectDefinition, deleteSubscriptions bool) CloseSessionRequestBuilder // WithRequestHeader adds RequestHeader (property field) WithRequestHeader(ExtensionObjectDefinition) CloseSessionRequestBuilder - // WithRequestHeaderBuilder adds RequestHeader (property field) which is build by the builder - WithRequestHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) CloseSessionRequestBuilder // WithDeleteSubscriptions adds DeleteSubscriptions (property field) WithDeleteSubscriptions(bool) CloseSessionRequestBuilder // Build builds the CloseSessionRequest or returns an error if something is wrong @@ -118,19 +118,6 @@ func (m *_CloseSessionRequestBuilder) WithRequestHeader(requestHeader ExtensionO return m } -func (m *_CloseSessionRequestBuilder) WithRequestHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) CloseSessionRequestBuilder { - builder := builderSupplier(m.RequestHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.RequestHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_CloseSessionRequestBuilder) WithDeleteSubscriptions(deleteSubscriptions bool) CloseSessionRequestBuilder { m.DeleteSubscriptions = deleteSubscriptions return m diff --git a/plc4go/protocols/opcua/readwrite/model/CloseSessionResponse.go b/plc4go/protocols/opcua/readwrite/model/CloseSessionResponse.go index e3e3921142..4c6b40241c 100644 --- a/plc4go/protocols/opcua/readwrite/model/CloseSessionResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/CloseSessionResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -80,8 +82,6 @@ type CloseSessionResponseBuilder interface { WithMandatoryFields(responseHeader ExtensionObjectDefinition) CloseSessionResponseBuilder // WithResponseHeader adds ResponseHeader (property field) WithResponseHeader(ExtensionObjectDefinition) CloseSessionResponseBuilder - // WithResponseHeaderBuilder adds ResponseHeader (property field) which is build by the builder - WithResponseHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) CloseSessionResponseBuilder // Build builds the CloseSessionResponse or returns an error if something is wrong Build() (CloseSessionResponse, error) // MustBuild does the same as Build but panics on error @@ -110,19 +110,6 @@ func (m *_CloseSessionResponseBuilder) WithResponseHeader(responseHeader Extensi return m } -func (m *_CloseSessionResponseBuilder) WithResponseHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) CloseSessionResponseBuilder { - builder := builderSupplier(m.ResponseHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.ResponseHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_CloseSessionResponseBuilder) Build() (CloseSessionResponse, error) { if m.ResponseHeader == nil { if m.err == nil { diff --git a/plc4go/protocols/opcua/readwrite/model/ComplexNumberType.go b/plc4go/protocols/opcua/readwrite/model/ComplexNumberType.go index 44f805937f..9ca5783e15 100644 --- a/plc4go/protocols/opcua/readwrite/model/ComplexNumberType.go +++ b/plc4go/protocols/opcua/readwrite/model/ComplexNumberType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/ConfigurationVersionDataType.go b/plc4go/protocols/opcua/readwrite/model/ConfigurationVersionDataType.go index 59336b7228..086dcaf586 100644 --- a/plc4go/protocols/opcua/readwrite/model/ConfigurationVersionDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/ConfigurationVersionDataType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/ConnectionTransportDataType.go b/plc4go/protocols/opcua/readwrite/model/ConnectionTransportDataType.go index e50735f042..ace0c60b02 100644 --- a/plc4go/protocols/opcua/readwrite/model/ConnectionTransportDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/ConnectionTransportDataType.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/ContentFilter.go b/plc4go/protocols/opcua/readwrite/model/ContentFilter.go index 78632e06b3..7be471a6d9 100644 --- a/plc4go/protocols/opcua/readwrite/model/ContentFilter.go +++ b/plc4go/protocols/opcua/readwrite/model/ContentFilter.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/ContentFilterElement.go b/plc4go/protocols/opcua/readwrite/model/ContentFilterElement.go index e8c9a216c0..6249294384 100644 --- a/plc4go/protocols/opcua/readwrite/model/ContentFilterElement.go +++ b/plc4go/protocols/opcua/readwrite/model/ContentFilterElement.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/ContentFilterElementResult.go b/plc4go/protocols/opcua/readwrite/model/ContentFilterElementResult.go index 949205bbfe..6cf5f1b425 100644 --- a/plc4go/protocols/opcua/readwrite/model/ContentFilterElementResult.go +++ b/plc4go/protocols/opcua/readwrite/model/ContentFilterElementResult.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/ContentFilterResult.go b/plc4go/protocols/opcua/readwrite/model/ContentFilterResult.go index 9390b5c157..e726f601e8 100644 --- a/plc4go/protocols/opcua/readwrite/model/ContentFilterResult.go +++ b/plc4go/protocols/opcua/readwrite/model/ContentFilterResult.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/ContinuationPoint.go b/plc4go/protocols/opcua/readwrite/model/ContinuationPoint.go index c7840e66aa..a91929bf54 100644 --- a/plc4go/protocols/opcua/readwrite/model/ContinuationPoint.go +++ b/plc4go/protocols/opcua/readwrite/model/ContinuationPoint.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/ConversionLimitEnum.go b/plc4go/protocols/opcua/readwrite/model/ConversionLimitEnum.go index ffd0cf2239..d1007c9d42 100644 --- a/plc4go/protocols/opcua/readwrite/model/ConversionLimitEnum.go +++ b/plc4go/protocols/opcua/readwrite/model/ConversionLimitEnum.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/Counter.go b/plc4go/protocols/opcua/readwrite/model/Counter.go index fb0238c50f..7c3d45cbff 100644 --- a/plc4go/protocols/opcua/readwrite/model/Counter.go +++ b/plc4go/protocols/opcua/readwrite/model/Counter.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/CreateMonitoredItemsRequest.go b/plc4go/protocols/opcua/readwrite/model/CreateMonitoredItemsRequest.go index 768bfe733a..78563f37b6 100644 --- a/plc4go/protocols/opcua/readwrite/model/CreateMonitoredItemsRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/CreateMonitoredItemsRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -96,8 +98,6 @@ type CreateMonitoredItemsRequestBuilder interface { WithMandatoryFields(requestHeader ExtensionObjectDefinition, subscriptionId uint32, timestampsToReturn TimestampsToReturn, noOfItemsToCreate int32, itemsToCreate []ExtensionObjectDefinition) CreateMonitoredItemsRequestBuilder // WithRequestHeader adds RequestHeader (property field) WithRequestHeader(ExtensionObjectDefinition) CreateMonitoredItemsRequestBuilder - // WithRequestHeaderBuilder adds RequestHeader (property field) which is build by the builder - WithRequestHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) CreateMonitoredItemsRequestBuilder // WithSubscriptionId adds SubscriptionId (property field) WithSubscriptionId(uint32) CreateMonitoredItemsRequestBuilder // WithTimestampsToReturn adds TimestampsToReturn (property field) @@ -134,19 +134,6 @@ func (m *_CreateMonitoredItemsRequestBuilder) WithRequestHeader(requestHeader Ex return m } -func (m *_CreateMonitoredItemsRequestBuilder) WithRequestHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) CreateMonitoredItemsRequestBuilder { - builder := builderSupplier(m.RequestHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.RequestHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_CreateMonitoredItemsRequestBuilder) WithSubscriptionId(subscriptionId uint32) CreateMonitoredItemsRequestBuilder { m.SubscriptionId = subscriptionId return m diff --git a/plc4go/protocols/opcua/readwrite/model/CreateMonitoredItemsResponse.go b/plc4go/protocols/opcua/readwrite/model/CreateMonitoredItemsResponse.go index bb4ef5279a..b296634286 100644 --- a/plc4go/protocols/opcua/readwrite/model/CreateMonitoredItemsResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/CreateMonitoredItemsResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -96,8 +98,6 @@ type CreateMonitoredItemsResponseBuilder interface { WithMandatoryFields(responseHeader ExtensionObjectDefinition, noOfResults int32, results []ExtensionObjectDefinition, noOfDiagnosticInfos int32, diagnosticInfos []DiagnosticInfo) CreateMonitoredItemsResponseBuilder // WithResponseHeader adds ResponseHeader (property field) WithResponseHeader(ExtensionObjectDefinition) CreateMonitoredItemsResponseBuilder - // WithResponseHeaderBuilder adds ResponseHeader (property field) which is build by the builder - WithResponseHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) CreateMonitoredItemsResponseBuilder // WithNoOfResults adds NoOfResults (property field) WithNoOfResults(int32) CreateMonitoredItemsResponseBuilder // WithResults adds Results (property field) @@ -134,19 +134,6 @@ func (m *_CreateMonitoredItemsResponseBuilder) WithResponseHeader(responseHeader return m } -func (m *_CreateMonitoredItemsResponseBuilder) WithResponseHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) CreateMonitoredItemsResponseBuilder { - builder := builderSupplier(m.ResponseHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.ResponseHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_CreateMonitoredItemsResponseBuilder) WithNoOfResults(noOfResults int32) CreateMonitoredItemsResponseBuilder { m.NoOfResults = noOfResults return m diff --git a/plc4go/protocols/opcua/readwrite/model/CreateSessionRequest.go b/plc4go/protocols/opcua/readwrite/model/CreateSessionRequest.go index 9f9aa75fea..b783b76562 100644 --- a/plc4go/protocols/opcua/readwrite/model/CreateSessionRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/CreateSessionRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -130,12 +132,8 @@ type CreateSessionRequestBuilder interface { WithMandatoryFields(requestHeader ExtensionObjectDefinition, clientDescription ExtensionObjectDefinition, serverUri PascalString, endpointUrl PascalString, sessionName PascalString, clientNonce PascalByteString, clientCertificate PascalByteString, requestedSessionTimeout float64, maxResponseMessageSize uint32) CreateSessionRequestBuilder // WithRequestHeader adds RequestHeader (property field) WithRequestHeader(ExtensionObjectDefinition) CreateSessionRequestBuilder - // WithRequestHeaderBuilder adds RequestHeader (property field) which is build by the builder - WithRequestHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) CreateSessionRequestBuilder // WithClientDescription adds ClientDescription (property field) WithClientDescription(ExtensionObjectDefinition) CreateSessionRequestBuilder - // WithClientDescriptionBuilder adds ClientDescription (property field) which is build by the builder - WithClientDescriptionBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) CreateSessionRequestBuilder // WithServerUri adds ServerUri (property field) WithServerUri(PascalString) CreateSessionRequestBuilder // WithServerUriBuilder adds ServerUri (property field) which is build by the builder @@ -188,37 +186,11 @@ func (m *_CreateSessionRequestBuilder) WithRequestHeader(requestHeader Extension return m } -func (m *_CreateSessionRequestBuilder) WithRequestHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) CreateSessionRequestBuilder { - builder := builderSupplier(m.RequestHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.RequestHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_CreateSessionRequestBuilder) WithClientDescription(clientDescription ExtensionObjectDefinition) CreateSessionRequestBuilder { m.ClientDescription = clientDescription return m } -func (m *_CreateSessionRequestBuilder) WithClientDescriptionBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) CreateSessionRequestBuilder { - builder := builderSupplier(m.ClientDescription.CreateExtensionObjectDefinitionBuilder()) - var err error - m.ClientDescription, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_CreateSessionRequestBuilder) WithServerUri(serverUri PascalString) CreateSessionRequestBuilder { m.ServerUri = serverUri return m diff --git a/plc4go/protocols/opcua/readwrite/model/CreateSessionResponse.go b/plc4go/protocols/opcua/readwrite/model/CreateSessionResponse.go index ac12c494fa..30c1862f75 100644 --- a/plc4go/protocols/opcua/readwrite/model/CreateSessionResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/CreateSessionResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -139,8 +141,6 @@ type CreateSessionResponseBuilder interface { WithMandatoryFields(responseHeader ExtensionObjectDefinition, sessionId NodeId, authenticationToken NodeId, revisedSessionTimeout float64, serverNonce PascalByteString, serverCertificate PascalByteString, noOfServerEndpoints int32, serverEndpoints []ExtensionObjectDefinition, noOfServerSoftwareCertificates int32, serverSoftwareCertificates []ExtensionObjectDefinition, serverSignature ExtensionObjectDefinition, maxRequestMessageSize uint32) CreateSessionResponseBuilder // WithResponseHeader adds ResponseHeader (property field) WithResponseHeader(ExtensionObjectDefinition) CreateSessionResponseBuilder - // WithResponseHeaderBuilder adds ResponseHeader (property field) which is build by the builder - WithResponseHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) CreateSessionResponseBuilder // WithSessionId adds SessionId (property field) WithSessionId(NodeId) CreateSessionResponseBuilder // WithSessionIdBuilder adds SessionId (property field) which is build by the builder @@ -169,8 +169,6 @@ type CreateSessionResponseBuilder interface { WithServerSoftwareCertificates(...ExtensionObjectDefinition) CreateSessionResponseBuilder // WithServerSignature adds ServerSignature (property field) WithServerSignature(ExtensionObjectDefinition) CreateSessionResponseBuilder - // WithServerSignatureBuilder adds ServerSignature (property field) which is build by the builder - WithServerSignatureBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) CreateSessionResponseBuilder // WithMaxRequestMessageSize adds MaxRequestMessageSize (property field) WithMaxRequestMessageSize(uint32) CreateSessionResponseBuilder // Build builds the CreateSessionResponse or returns an error if something is wrong @@ -201,19 +199,6 @@ func (m *_CreateSessionResponseBuilder) WithResponseHeader(responseHeader Extens return m } -func (m *_CreateSessionResponseBuilder) WithResponseHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) CreateSessionResponseBuilder { - builder := builderSupplier(m.ResponseHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.ResponseHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_CreateSessionResponseBuilder) WithSessionId(sessionId NodeId) CreateSessionResponseBuilder { m.SessionId = sessionId return m @@ -316,19 +301,6 @@ func (m *_CreateSessionResponseBuilder) WithServerSignature(serverSignature Exte return m } -func (m *_CreateSessionResponseBuilder) WithServerSignatureBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) CreateSessionResponseBuilder { - builder := builderSupplier(m.ServerSignature.CreateExtensionObjectDefinitionBuilder()) - var err error - m.ServerSignature, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_CreateSessionResponseBuilder) WithMaxRequestMessageSize(maxRequestMessageSize uint32) CreateSessionResponseBuilder { m.MaxRequestMessageSize = maxRequestMessageSize return m diff --git a/plc4go/protocols/opcua/readwrite/model/CreateSubscriptionRequest.go b/plc4go/protocols/opcua/readwrite/model/CreateSubscriptionRequest.go index 0fd8b73449..5cd526fb11 100644 --- a/plc4go/protocols/opcua/readwrite/model/CreateSubscriptionRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/CreateSubscriptionRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -106,8 +108,6 @@ type CreateSubscriptionRequestBuilder interface { WithMandatoryFields(requestHeader ExtensionObjectDefinition, requestedPublishingInterval float64, requestedLifetimeCount uint32, requestedMaxKeepAliveCount uint32, maxNotificationsPerPublish uint32, publishingEnabled bool, priority uint8) CreateSubscriptionRequestBuilder // WithRequestHeader adds RequestHeader (property field) WithRequestHeader(ExtensionObjectDefinition) CreateSubscriptionRequestBuilder - // WithRequestHeaderBuilder adds RequestHeader (property field) which is build by the builder - WithRequestHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) CreateSubscriptionRequestBuilder // WithRequestedPublishingInterval adds RequestedPublishingInterval (property field) WithRequestedPublishingInterval(float64) CreateSubscriptionRequestBuilder // WithRequestedLifetimeCount adds RequestedLifetimeCount (property field) @@ -148,19 +148,6 @@ func (m *_CreateSubscriptionRequestBuilder) WithRequestHeader(requestHeader Exte return m } -func (m *_CreateSubscriptionRequestBuilder) WithRequestHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) CreateSubscriptionRequestBuilder { - builder := builderSupplier(m.RequestHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.RequestHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_CreateSubscriptionRequestBuilder) WithRequestedPublishingInterval(requestedPublishingInterval float64) CreateSubscriptionRequestBuilder { m.RequestedPublishingInterval = requestedPublishingInterval return m diff --git a/plc4go/protocols/opcua/readwrite/model/CreateSubscriptionResponse.go b/plc4go/protocols/opcua/readwrite/model/CreateSubscriptionResponse.go index 2e5d9c178d..17f16f128a 100644 --- a/plc4go/protocols/opcua/readwrite/model/CreateSubscriptionResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/CreateSubscriptionResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -96,8 +98,6 @@ type CreateSubscriptionResponseBuilder interface { WithMandatoryFields(responseHeader ExtensionObjectDefinition, subscriptionId uint32, revisedPublishingInterval float64, revisedLifetimeCount uint32, revisedMaxKeepAliveCount uint32) CreateSubscriptionResponseBuilder // WithResponseHeader adds ResponseHeader (property field) WithResponseHeader(ExtensionObjectDefinition) CreateSubscriptionResponseBuilder - // WithResponseHeaderBuilder adds ResponseHeader (property field) which is build by the builder - WithResponseHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) CreateSubscriptionResponseBuilder // WithSubscriptionId adds SubscriptionId (property field) WithSubscriptionId(uint32) CreateSubscriptionResponseBuilder // WithRevisedPublishingInterval adds RevisedPublishingInterval (property field) @@ -134,19 +134,6 @@ func (m *_CreateSubscriptionResponseBuilder) WithResponseHeader(responseHeader E return m } -func (m *_CreateSubscriptionResponseBuilder) WithResponseHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) CreateSubscriptionResponseBuilder { - builder := builderSupplier(m.ResponseHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.ResponseHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_CreateSubscriptionResponseBuilder) WithSubscriptionId(subscriptionId uint32) CreateSubscriptionResponseBuilder { m.SubscriptionId = subscriptionId return m diff --git a/plc4go/protocols/opcua/readwrite/model/CurrencyUnitType.go b/plc4go/protocols/opcua/readwrite/model/CurrencyUnitType.go index 84817b9ac6..5881435674 100644 --- a/plc4go/protocols/opcua/readwrite/model/CurrencyUnitType.go +++ b/plc4go/protocols/opcua/readwrite/model/CurrencyUnitType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/DataChangeNotification.go b/plc4go/protocols/opcua/readwrite/model/DataChangeNotification.go index a08f32fa78..cfb37eecfe 100644 --- a/plc4go/protocols/opcua/readwrite/model/DataChangeNotification.go +++ b/plc4go/protocols/opcua/readwrite/model/DataChangeNotification.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/DataChangeTrigger.go b/plc4go/protocols/opcua/readwrite/model/DataChangeTrigger.go index 557e8ed92f..5d9ac191f6 100644 --- a/plc4go/protocols/opcua/readwrite/model/DataChangeTrigger.go +++ b/plc4go/protocols/opcua/readwrite/model/DataChangeTrigger.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/DataSetFieldContentMask.go b/plc4go/protocols/opcua/readwrite/model/DataSetFieldContentMask.go index 757c559f78..ced72a5c79 100644 --- a/plc4go/protocols/opcua/readwrite/model/DataSetFieldContentMask.go +++ b/plc4go/protocols/opcua/readwrite/model/DataSetFieldContentMask.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/DataSetFieldFlags.go b/plc4go/protocols/opcua/readwrite/model/DataSetFieldFlags.go index 253f437eee..4db01f2f64 100644 --- a/plc4go/protocols/opcua/readwrite/model/DataSetFieldFlags.go +++ b/plc4go/protocols/opcua/readwrite/model/DataSetFieldFlags.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/DataSetOrderingType.go b/plc4go/protocols/opcua/readwrite/model/DataSetOrderingType.go index ac56deb81e..8119fb9f73 100644 --- a/plc4go/protocols/opcua/readwrite/model/DataSetOrderingType.go +++ b/plc4go/protocols/opcua/readwrite/model/DataSetOrderingType.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/DataSetReaderMessageDataType.go b/plc4go/protocols/opcua/readwrite/model/DataSetReaderMessageDataType.go index 24d0750c4d..b16d43ea54 100644 --- a/plc4go/protocols/opcua/readwrite/model/DataSetReaderMessageDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/DataSetReaderMessageDataType.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/DataSetReaderTransportDataType.go b/plc4go/protocols/opcua/readwrite/model/DataSetReaderTransportDataType.go index 47c2b53fc0..4b29193d25 100644 --- a/plc4go/protocols/opcua/readwrite/model/DataSetReaderTransportDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/DataSetReaderTransportDataType.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/DataSetWriterDataType.go b/plc4go/protocols/opcua/readwrite/model/DataSetWriterDataType.go index 9489142b9c..e2ef963d93 100644 --- a/plc4go/protocols/opcua/readwrite/model/DataSetWriterDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/DataSetWriterDataType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/DataSetWriterMessageDataType.go b/plc4go/protocols/opcua/readwrite/model/DataSetWriterMessageDataType.go index 2cd0a10a0c..1279c04397 100644 --- a/plc4go/protocols/opcua/readwrite/model/DataSetWriterMessageDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/DataSetWriterMessageDataType.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/DataSetWriterTransportDataType.go b/plc4go/protocols/opcua/readwrite/model/DataSetWriterTransportDataType.go index 8d087551df..fb86c46030 100644 --- a/plc4go/protocols/opcua/readwrite/model/DataSetWriterTransportDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/DataSetWriterTransportDataType.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/DataTypeDefinition.go b/plc4go/protocols/opcua/readwrite/model/DataTypeDefinition.go index a501fe3698..5ff31a51fb 100644 --- a/plc4go/protocols/opcua/readwrite/model/DataTypeDefinition.go +++ b/plc4go/protocols/opcua/readwrite/model/DataTypeDefinition.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/DataTypeDescription.go b/plc4go/protocols/opcua/readwrite/model/DataTypeDescription.go index c430c85ac4..076e8c9a87 100644 --- a/plc4go/protocols/opcua/readwrite/model/DataTypeDescription.go +++ b/plc4go/protocols/opcua/readwrite/model/DataTypeDescription.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/DataTypeSchemaHeader.go b/plc4go/protocols/opcua/readwrite/model/DataTypeSchemaHeader.go index f07cf785a7..b5740d0be8 100644 --- a/plc4go/protocols/opcua/readwrite/model/DataTypeSchemaHeader.go +++ b/plc4go/protocols/opcua/readwrite/model/DataTypeSchemaHeader.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/DataValue.go b/plc4go/protocols/opcua/readwrite/model/DataValue.go index 7aa5e1824b..a02f407c70 100644 --- a/plc4go/protocols/opcua/readwrite/model/DataValue.go +++ b/plc4go/protocols/opcua/readwrite/model/DataValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -116,8 +118,6 @@ type DataValueBuilder interface { WithValueSpecified(bool) DataValueBuilder // WithValue adds Value (property field) WithOptionalValue(Variant) DataValueBuilder - // WithOptionalValueBuilder adds Value (property field) which is build by the builder - WithOptionalValueBuilder(func(VariantBuilder) VariantBuilder) DataValueBuilder // WithStatusCode adds StatusCode (property field) WithOptionalStatusCode(StatusCode) DataValueBuilder // WithOptionalStatusCodeBuilder adds StatusCode (property field) which is build by the builder @@ -188,19 +188,6 @@ func (m *_DataValueBuilder) WithOptionalValue(value Variant) DataValueBuilder { return m } -func (m *_DataValueBuilder) WithOptionalValueBuilder(builderSupplier func(VariantBuilder) VariantBuilder) DataValueBuilder { - builder := builderSupplier(m.Value.CreateVariantBuilder()) - var err error - m.Value, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "VariantBuilder failed")) - } - return m -} - func (m *_DataValueBuilder) WithOptionalStatusCode(statusCode StatusCode) DataValueBuilder { m.StatusCode = statusCode return m diff --git a/plc4go/protocols/opcua/readwrite/model/DateString.go b/plc4go/protocols/opcua/readwrite/model/DateString.go index 10a98b9b1c..67cd4bafb1 100644 --- a/plc4go/protocols/opcua/readwrite/model/DateString.go +++ b/plc4go/protocols/opcua/readwrite/model/DateString.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/DeadbandType.go b/plc4go/protocols/opcua/readwrite/model/DeadbandType.go index 71ed91fee1..94f83df32a 100644 --- a/plc4go/protocols/opcua/readwrite/model/DeadbandType.go +++ b/plc4go/protocols/opcua/readwrite/model/DeadbandType.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/DecimalString.go b/plc4go/protocols/opcua/readwrite/model/DecimalString.go index 70a30c7adb..47b04f2318 100644 --- a/plc4go/protocols/opcua/readwrite/model/DecimalString.go +++ b/plc4go/protocols/opcua/readwrite/model/DecimalString.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/DeleteMonitoredItemsRequest.go b/plc4go/protocols/opcua/readwrite/model/DeleteMonitoredItemsRequest.go index 1e45be184f..fbbd1ce7e5 100644 --- a/plc4go/protocols/opcua/readwrite/model/DeleteMonitoredItemsRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/DeleteMonitoredItemsRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -92,8 +94,6 @@ type DeleteMonitoredItemsRequestBuilder interface { WithMandatoryFields(requestHeader ExtensionObjectDefinition, subscriptionId uint32, noOfMonitoredItemIds int32, monitoredItemIds []uint32) DeleteMonitoredItemsRequestBuilder // WithRequestHeader adds RequestHeader (property field) WithRequestHeader(ExtensionObjectDefinition) DeleteMonitoredItemsRequestBuilder - // WithRequestHeaderBuilder adds RequestHeader (property field) which is build by the builder - WithRequestHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) DeleteMonitoredItemsRequestBuilder // WithSubscriptionId adds SubscriptionId (property field) WithSubscriptionId(uint32) DeleteMonitoredItemsRequestBuilder // WithNoOfMonitoredItemIds adds NoOfMonitoredItemIds (property field) @@ -128,19 +128,6 @@ func (m *_DeleteMonitoredItemsRequestBuilder) WithRequestHeader(requestHeader Ex return m } -func (m *_DeleteMonitoredItemsRequestBuilder) WithRequestHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) DeleteMonitoredItemsRequestBuilder { - builder := builderSupplier(m.RequestHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.RequestHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_DeleteMonitoredItemsRequestBuilder) WithSubscriptionId(subscriptionId uint32) DeleteMonitoredItemsRequestBuilder { m.SubscriptionId = subscriptionId return m diff --git a/plc4go/protocols/opcua/readwrite/model/DeleteMonitoredItemsResponse.go b/plc4go/protocols/opcua/readwrite/model/DeleteMonitoredItemsResponse.go index b2800d4f4d..26e69fe9c1 100644 --- a/plc4go/protocols/opcua/readwrite/model/DeleteMonitoredItemsResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/DeleteMonitoredItemsResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -96,8 +98,6 @@ type DeleteMonitoredItemsResponseBuilder interface { WithMandatoryFields(responseHeader ExtensionObjectDefinition, noOfResults int32, results []StatusCode, noOfDiagnosticInfos int32, diagnosticInfos []DiagnosticInfo) DeleteMonitoredItemsResponseBuilder // WithResponseHeader adds ResponseHeader (property field) WithResponseHeader(ExtensionObjectDefinition) DeleteMonitoredItemsResponseBuilder - // WithResponseHeaderBuilder adds ResponseHeader (property field) which is build by the builder - WithResponseHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) DeleteMonitoredItemsResponseBuilder // WithNoOfResults adds NoOfResults (property field) WithNoOfResults(int32) DeleteMonitoredItemsResponseBuilder // WithResults adds Results (property field) @@ -134,19 +134,6 @@ func (m *_DeleteMonitoredItemsResponseBuilder) WithResponseHeader(responseHeader return m } -func (m *_DeleteMonitoredItemsResponseBuilder) WithResponseHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) DeleteMonitoredItemsResponseBuilder { - builder := builderSupplier(m.ResponseHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.ResponseHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_DeleteMonitoredItemsResponseBuilder) WithNoOfResults(noOfResults int32) DeleteMonitoredItemsResponseBuilder { m.NoOfResults = noOfResults return m diff --git a/plc4go/protocols/opcua/readwrite/model/DeleteNodesItem.go b/plc4go/protocols/opcua/readwrite/model/DeleteNodesItem.go index 60c70deaa0..0d7e512109 100644 --- a/plc4go/protocols/opcua/readwrite/model/DeleteNodesItem.go +++ b/plc4go/protocols/opcua/readwrite/model/DeleteNodesItem.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/DeleteNodesRequest.go b/plc4go/protocols/opcua/readwrite/model/DeleteNodesRequest.go index bfe9896da2..bbfe5d6570 100644 --- a/plc4go/protocols/opcua/readwrite/model/DeleteNodesRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/DeleteNodesRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -88,8 +90,6 @@ type DeleteNodesRequestBuilder interface { WithMandatoryFields(requestHeader ExtensionObjectDefinition, noOfNodesToDelete int32, nodesToDelete []ExtensionObjectDefinition) DeleteNodesRequestBuilder // WithRequestHeader adds RequestHeader (property field) WithRequestHeader(ExtensionObjectDefinition) DeleteNodesRequestBuilder - // WithRequestHeaderBuilder adds RequestHeader (property field) which is build by the builder - WithRequestHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) DeleteNodesRequestBuilder // WithNoOfNodesToDelete adds NoOfNodesToDelete (property field) WithNoOfNodesToDelete(int32) DeleteNodesRequestBuilder // WithNodesToDelete adds NodesToDelete (property field) @@ -122,19 +122,6 @@ func (m *_DeleteNodesRequestBuilder) WithRequestHeader(requestHeader ExtensionOb return m } -func (m *_DeleteNodesRequestBuilder) WithRequestHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) DeleteNodesRequestBuilder { - builder := builderSupplier(m.RequestHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.RequestHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_DeleteNodesRequestBuilder) WithNoOfNodesToDelete(noOfNodesToDelete int32) DeleteNodesRequestBuilder { m.NoOfNodesToDelete = noOfNodesToDelete return m diff --git a/plc4go/protocols/opcua/readwrite/model/DeleteNodesResponse.go b/plc4go/protocols/opcua/readwrite/model/DeleteNodesResponse.go index 07eb5c6697..6770552e78 100644 --- a/plc4go/protocols/opcua/readwrite/model/DeleteNodesResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/DeleteNodesResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -96,8 +98,6 @@ type DeleteNodesResponseBuilder interface { WithMandatoryFields(responseHeader ExtensionObjectDefinition, noOfResults int32, results []StatusCode, noOfDiagnosticInfos int32, diagnosticInfos []DiagnosticInfo) DeleteNodesResponseBuilder // WithResponseHeader adds ResponseHeader (property field) WithResponseHeader(ExtensionObjectDefinition) DeleteNodesResponseBuilder - // WithResponseHeaderBuilder adds ResponseHeader (property field) which is build by the builder - WithResponseHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) DeleteNodesResponseBuilder // WithNoOfResults adds NoOfResults (property field) WithNoOfResults(int32) DeleteNodesResponseBuilder // WithResults adds Results (property field) @@ -134,19 +134,6 @@ func (m *_DeleteNodesResponseBuilder) WithResponseHeader(responseHeader Extensio return m } -func (m *_DeleteNodesResponseBuilder) WithResponseHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) DeleteNodesResponseBuilder { - builder := builderSupplier(m.ResponseHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.ResponseHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_DeleteNodesResponseBuilder) WithNoOfResults(noOfResults int32) DeleteNodesResponseBuilder { m.NoOfResults = noOfResults return m diff --git a/plc4go/protocols/opcua/readwrite/model/DeleteReferencesItem.go b/plc4go/protocols/opcua/readwrite/model/DeleteReferencesItem.go index 7b05b6e188..229a152420 100644 --- a/plc4go/protocols/opcua/readwrite/model/DeleteReferencesItem.go +++ b/plc4go/protocols/opcua/readwrite/model/DeleteReferencesItem.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/DeleteReferencesRequest.go b/plc4go/protocols/opcua/readwrite/model/DeleteReferencesRequest.go index fd9551a4bd..a5b45d3fe0 100644 --- a/plc4go/protocols/opcua/readwrite/model/DeleteReferencesRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/DeleteReferencesRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -88,8 +90,6 @@ type DeleteReferencesRequestBuilder interface { WithMandatoryFields(requestHeader ExtensionObjectDefinition, noOfReferencesToDelete int32, referencesToDelete []ExtensionObjectDefinition) DeleteReferencesRequestBuilder // WithRequestHeader adds RequestHeader (property field) WithRequestHeader(ExtensionObjectDefinition) DeleteReferencesRequestBuilder - // WithRequestHeaderBuilder adds RequestHeader (property field) which is build by the builder - WithRequestHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) DeleteReferencesRequestBuilder // WithNoOfReferencesToDelete adds NoOfReferencesToDelete (property field) WithNoOfReferencesToDelete(int32) DeleteReferencesRequestBuilder // WithReferencesToDelete adds ReferencesToDelete (property field) @@ -122,19 +122,6 @@ func (m *_DeleteReferencesRequestBuilder) WithRequestHeader(requestHeader Extens return m } -func (m *_DeleteReferencesRequestBuilder) WithRequestHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) DeleteReferencesRequestBuilder { - builder := builderSupplier(m.RequestHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.RequestHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_DeleteReferencesRequestBuilder) WithNoOfReferencesToDelete(noOfReferencesToDelete int32) DeleteReferencesRequestBuilder { m.NoOfReferencesToDelete = noOfReferencesToDelete return m diff --git a/plc4go/protocols/opcua/readwrite/model/DeleteReferencesResponse.go b/plc4go/protocols/opcua/readwrite/model/DeleteReferencesResponse.go index 7b3bf6ad85..11d959c639 100644 --- a/plc4go/protocols/opcua/readwrite/model/DeleteReferencesResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/DeleteReferencesResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -96,8 +98,6 @@ type DeleteReferencesResponseBuilder interface { WithMandatoryFields(responseHeader ExtensionObjectDefinition, noOfResults int32, results []StatusCode, noOfDiagnosticInfos int32, diagnosticInfos []DiagnosticInfo) DeleteReferencesResponseBuilder // WithResponseHeader adds ResponseHeader (property field) WithResponseHeader(ExtensionObjectDefinition) DeleteReferencesResponseBuilder - // WithResponseHeaderBuilder adds ResponseHeader (property field) which is build by the builder - WithResponseHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) DeleteReferencesResponseBuilder // WithNoOfResults adds NoOfResults (property field) WithNoOfResults(int32) DeleteReferencesResponseBuilder // WithResults adds Results (property field) @@ -134,19 +134,6 @@ func (m *_DeleteReferencesResponseBuilder) WithResponseHeader(responseHeader Ext return m } -func (m *_DeleteReferencesResponseBuilder) WithResponseHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) DeleteReferencesResponseBuilder { - builder := builderSupplier(m.ResponseHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.ResponseHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_DeleteReferencesResponseBuilder) WithNoOfResults(noOfResults int32) DeleteReferencesResponseBuilder { m.NoOfResults = noOfResults return m diff --git a/plc4go/protocols/opcua/readwrite/model/DeleteSubscriptionsRequest.go b/plc4go/protocols/opcua/readwrite/model/DeleteSubscriptionsRequest.go index 48664eec4d..e8d9124495 100644 --- a/plc4go/protocols/opcua/readwrite/model/DeleteSubscriptionsRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/DeleteSubscriptionsRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -88,8 +90,6 @@ type DeleteSubscriptionsRequestBuilder interface { WithMandatoryFields(requestHeader ExtensionObjectDefinition, noOfSubscriptionIds int32, subscriptionIds []uint32) DeleteSubscriptionsRequestBuilder // WithRequestHeader adds RequestHeader (property field) WithRequestHeader(ExtensionObjectDefinition) DeleteSubscriptionsRequestBuilder - // WithRequestHeaderBuilder adds RequestHeader (property field) which is build by the builder - WithRequestHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) DeleteSubscriptionsRequestBuilder // WithNoOfSubscriptionIds adds NoOfSubscriptionIds (property field) WithNoOfSubscriptionIds(int32) DeleteSubscriptionsRequestBuilder // WithSubscriptionIds adds SubscriptionIds (property field) @@ -122,19 +122,6 @@ func (m *_DeleteSubscriptionsRequestBuilder) WithRequestHeader(requestHeader Ext return m } -func (m *_DeleteSubscriptionsRequestBuilder) WithRequestHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) DeleteSubscriptionsRequestBuilder { - builder := builderSupplier(m.RequestHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.RequestHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_DeleteSubscriptionsRequestBuilder) WithNoOfSubscriptionIds(noOfSubscriptionIds int32) DeleteSubscriptionsRequestBuilder { m.NoOfSubscriptionIds = noOfSubscriptionIds return m diff --git a/plc4go/protocols/opcua/readwrite/model/DeleteSubscriptionsResponse.go b/plc4go/protocols/opcua/readwrite/model/DeleteSubscriptionsResponse.go index 6f71ca9a1e..c2c5dc11d5 100644 --- a/plc4go/protocols/opcua/readwrite/model/DeleteSubscriptionsResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/DeleteSubscriptionsResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -96,8 +98,6 @@ type DeleteSubscriptionsResponseBuilder interface { WithMandatoryFields(responseHeader ExtensionObjectDefinition, noOfResults int32, results []StatusCode, noOfDiagnosticInfos int32, diagnosticInfos []DiagnosticInfo) DeleteSubscriptionsResponseBuilder // WithResponseHeader adds ResponseHeader (property field) WithResponseHeader(ExtensionObjectDefinition) DeleteSubscriptionsResponseBuilder - // WithResponseHeaderBuilder adds ResponseHeader (property field) which is build by the builder - WithResponseHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) DeleteSubscriptionsResponseBuilder // WithNoOfResults adds NoOfResults (property field) WithNoOfResults(int32) DeleteSubscriptionsResponseBuilder // WithResults adds Results (property field) @@ -134,19 +134,6 @@ func (m *_DeleteSubscriptionsResponseBuilder) WithResponseHeader(responseHeader return m } -func (m *_DeleteSubscriptionsResponseBuilder) WithResponseHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) DeleteSubscriptionsResponseBuilder { - builder := builderSupplier(m.ResponseHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.ResponseHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_DeleteSubscriptionsResponseBuilder) WithNoOfResults(noOfResults int32) DeleteSubscriptionsResponseBuilder { m.NoOfResults = noOfResults return m diff --git a/plc4go/protocols/opcua/readwrite/model/DiagnosticInfo.go b/plc4go/protocols/opcua/readwrite/model/DiagnosticInfo.go index 359ae43a3a..e20f998bb5 100644 --- a/plc4go/protocols/opcua/readwrite/model/DiagnosticInfo.go +++ b/plc4go/protocols/opcua/readwrite/model/DiagnosticInfo.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/DiagnosticsLevel.go b/plc4go/protocols/opcua/readwrite/model/DiagnosticsLevel.go index 83eaaa9b14..8d87ee46b8 100644 --- a/plc4go/protocols/opcua/readwrite/model/DiagnosticsLevel.go +++ b/plc4go/protocols/opcua/readwrite/model/DiagnosticsLevel.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/DiscoveryConfiguration.go b/plc4go/protocols/opcua/readwrite/model/DiscoveryConfiguration.go index 4184f5db0d..0806b62f10 100644 --- a/plc4go/protocols/opcua/readwrite/model/DiscoveryConfiguration.go +++ b/plc4go/protocols/opcua/readwrite/model/DiscoveryConfiguration.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/DoubleComplexNumberType.go b/plc4go/protocols/opcua/readwrite/model/DoubleComplexNumberType.go index 5768e2bf9a..6de23b1d42 100644 --- a/plc4go/protocols/opcua/readwrite/model/DoubleComplexNumberType.go +++ b/plc4go/protocols/opcua/readwrite/model/DoubleComplexNumberType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/Duplex.go b/plc4go/protocols/opcua/readwrite/model/Duplex.go index bd5a544ee8..d7c844d3b4 100644 --- a/plc4go/protocols/opcua/readwrite/model/Duplex.go +++ b/plc4go/protocols/opcua/readwrite/model/Duplex.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/DurationString.go b/plc4go/protocols/opcua/readwrite/model/DurationString.go index d4903d6c02..1652e904a4 100644 --- a/plc4go/protocols/opcua/readwrite/model/DurationString.go +++ b/plc4go/protocols/opcua/readwrite/model/DurationString.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/EUInformation.go b/plc4go/protocols/opcua/readwrite/model/EUInformation.go index bb239e8c5a..53e1cbdab3 100644 --- a/plc4go/protocols/opcua/readwrite/model/EUInformation.go +++ b/plc4go/protocols/opcua/readwrite/model/EUInformation.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/EccEncryptedSecret.go b/plc4go/protocols/opcua/readwrite/model/EccEncryptedSecret.go index 61bcbb7399..ded10795d2 100644 --- a/plc4go/protocols/opcua/readwrite/model/EccEncryptedSecret.go +++ b/plc4go/protocols/opcua/readwrite/model/EccEncryptedSecret.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/EncodedTicket.go b/plc4go/protocols/opcua/readwrite/model/EncodedTicket.go index 174764467d..6bee1ac814 100644 --- a/plc4go/protocols/opcua/readwrite/model/EncodedTicket.go +++ b/plc4go/protocols/opcua/readwrite/model/EncodedTicket.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/EndpointConfiguration.go b/plc4go/protocols/opcua/readwrite/model/EndpointConfiguration.go index e91f7ae2e0..a69447f614 100644 --- a/plc4go/protocols/opcua/readwrite/model/EndpointConfiguration.go +++ b/plc4go/protocols/opcua/readwrite/model/EndpointConfiguration.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/EndpointDescription.go b/plc4go/protocols/opcua/readwrite/model/EndpointDescription.go index d34e5cd57c..bafcad1a15 100644 --- a/plc4go/protocols/opcua/readwrite/model/EndpointDescription.go +++ b/plc4go/protocols/opcua/readwrite/model/EndpointDescription.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -128,8 +130,6 @@ type EndpointDescriptionBuilder interface { WithEndpointUrlBuilder(func(PascalStringBuilder) PascalStringBuilder) EndpointDescriptionBuilder // WithServer adds Server (property field) WithServer(ExtensionObjectDefinition) EndpointDescriptionBuilder - // WithServerBuilder adds Server (property field) which is build by the builder - WithServerBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) EndpointDescriptionBuilder // WithServerCertificate adds ServerCertificate (property field) WithServerCertificate(PascalByteString) EndpointDescriptionBuilder // WithServerCertificateBuilder adds ServerCertificate (property field) which is build by the builder @@ -196,19 +196,6 @@ func (m *_EndpointDescriptionBuilder) WithServer(server ExtensionObjectDefinitio return m } -func (m *_EndpointDescriptionBuilder) WithServerBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) EndpointDescriptionBuilder { - builder := builderSupplier(m.Server.CreateExtensionObjectDefinitionBuilder()) - var err error - m.Server, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_EndpointDescriptionBuilder) WithServerCertificate(serverCertificate PascalByteString) EndpointDescriptionBuilder { m.ServerCertificate = serverCertificate return m diff --git a/plc4go/protocols/opcua/readwrite/model/EndpointType.go b/plc4go/protocols/opcua/readwrite/model/EndpointType.go index 87da600407..a5c5b5057d 100644 --- a/plc4go/protocols/opcua/readwrite/model/EndpointType.go +++ b/plc4go/protocols/opcua/readwrite/model/EndpointType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/EndpointUrlListDataType.go b/plc4go/protocols/opcua/readwrite/model/EndpointUrlListDataType.go index 5658d3bc72..a6d5eed39d 100644 --- a/plc4go/protocols/opcua/readwrite/model/EndpointUrlListDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/EndpointUrlListDataType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/EnumValueType.go b/plc4go/protocols/opcua/readwrite/model/EnumValueType.go index 0656599d65..0f6a8c402b 100644 --- a/plc4go/protocols/opcua/readwrite/model/EnumValueType.go +++ b/plc4go/protocols/opcua/readwrite/model/EnumValueType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/EphemeralKeyType.go b/plc4go/protocols/opcua/readwrite/model/EphemeralKeyType.go index 8f13ac977d..52133b0959 100644 --- a/plc4go/protocols/opcua/readwrite/model/EphemeralKeyType.go +++ b/plc4go/protocols/opcua/readwrite/model/EphemeralKeyType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/EventFieldList.go b/plc4go/protocols/opcua/readwrite/model/EventFieldList.go index b0c1939522..4787fad282 100644 --- a/plc4go/protocols/opcua/readwrite/model/EventFieldList.go +++ b/plc4go/protocols/opcua/readwrite/model/EventFieldList.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/EventNotificationList.go b/plc4go/protocols/opcua/readwrite/model/EventNotificationList.go index abd44f6762..85b8eb3f29 100644 --- a/plc4go/protocols/opcua/readwrite/model/EventNotificationList.go +++ b/plc4go/protocols/opcua/readwrite/model/EventNotificationList.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/EventNotifierType.go b/plc4go/protocols/opcua/readwrite/model/EventNotifierType.go index 79b1ead070..f502a48442 100644 --- a/plc4go/protocols/opcua/readwrite/model/EventNotifierType.go +++ b/plc4go/protocols/opcua/readwrite/model/EventNotifierType.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/ExceptionDeviationFormat.go b/plc4go/protocols/opcua/readwrite/model/ExceptionDeviationFormat.go index 0994447e06..ed1c72702b 100644 --- a/plc4go/protocols/opcua/readwrite/model/ExceptionDeviationFormat.go +++ b/plc4go/protocols/opcua/readwrite/model/ExceptionDeviationFormat.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/ExpandedNodeId.go b/plc4go/protocols/opcua/readwrite/model/ExpandedNodeId.go index 0a698cab06..c4cdb62ebf 100644 --- a/plc4go/protocols/opcua/readwrite/model/ExpandedNodeId.go +++ b/plc4go/protocols/opcua/readwrite/model/ExpandedNodeId.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -90,8 +92,6 @@ type ExpandedNodeIdBuilder interface { WithServerIndexSpecified(bool) ExpandedNodeIdBuilder // WithNodeId adds NodeId (property field) WithNodeId(NodeIdTypeDefinition) ExpandedNodeIdBuilder - // WithNodeIdBuilder adds NodeId (property field) which is build by the builder - WithNodeIdBuilder(func(NodeIdTypeDefinitionBuilder) NodeIdTypeDefinitionBuilder) ExpandedNodeIdBuilder // WithNamespaceURI adds NamespaceURI (property field) WithOptionalNamespaceURI(PascalString) ExpandedNodeIdBuilder // WithOptionalNamespaceURIBuilder adds NamespaceURI (property field) which is build by the builder @@ -136,19 +136,6 @@ func (m *_ExpandedNodeIdBuilder) WithNodeId(nodeId NodeIdTypeDefinition) Expande return m } -func (m *_ExpandedNodeIdBuilder) WithNodeIdBuilder(builderSupplier func(NodeIdTypeDefinitionBuilder) NodeIdTypeDefinitionBuilder) ExpandedNodeIdBuilder { - builder := builderSupplier(m.NodeId.CreateNodeIdTypeDefinitionBuilder()) - var err error - m.NodeId, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "NodeIdTypeDefinitionBuilder failed")) - } - return m -} - func (m *_ExpandedNodeIdBuilder) WithOptionalNamespaceURI(namespaceURI PascalString) ExpandedNodeIdBuilder { m.NamespaceURI = namespaceURI return m diff --git a/plc4go/protocols/opcua/readwrite/model/ExtensiblePayload.go b/plc4go/protocols/opcua/readwrite/model/ExtensiblePayload.go index c09150beec..3a816081ae 100644 --- a/plc4go/protocols/opcua/readwrite/model/ExtensiblePayload.go +++ b/plc4go/protocols/opcua/readwrite/model/ExtensiblePayload.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/ExtensionHeader.go b/plc4go/protocols/opcua/readwrite/model/ExtensionHeader.go index 830001b52f..74c12deed6 100644 --- a/plc4go/protocols/opcua/readwrite/model/ExtensionHeader.go +++ b/plc4go/protocols/opcua/readwrite/model/ExtensionHeader.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/ExtensionObject.go b/plc4go/protocols/opcua/readwrite/model/ExtensionObject.go index 4093af7cbe..fb8a19a57f 100644 --- a/plc4go/protocols/opcua/readwrite/model/ExtensionObject.go +++ b/plc4go/protocols/opcua/readwrite/model/ExtensionObject.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -94,8 +96,6 @@ type ExtensionObjectBuilder interface { WithOptionalEncodingMaskBuilder(func(ExtensionObjectEncodingMaskBuilder) ExtensionObjectEncodingMaskBuilder) ExtensionObjectBuilder // WithBody adds Body (property field) WithBody(ExtensionObjectDefinition) ExtensionObjectBuilder - // WithBodyBuilder adds Body (property field) which is build by the builder - WithBodyBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) ExtensionObjectBuilder // Build builds the ExtensionObject or returns an error if something is wrong Build() (ExtensionObject, error) // MustBuild does the same as Build but panics on error @@ -160,19 +160,6 @@ func (m *_ExtensionObjectBuilder) WithBody(body ExtensionObjectDefinition) Exten return m } -func (m *_ExtensionObjectBuilder) WithBodyBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) ExtensionObjectBuilder { - builder := builderSupplier(m.Body.CreateExtensionObjectDefinitionBuilder()) - var err error - m.Body, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_ExtensionObjectBuilder) Build() (ExtensionObject, error) { if m.TypeId == nil { if m.err == nil { diff --git a/plc4go/protocols/opcua/readwrite/model/ExtensionObjectDefinition.go b/plc4go/protocols/opcua/readwrite/model/ExtensionObjectDefinition.go index 3938d48496..93a512f9ca 100644 --- a/plc4go/protocols/opcua/readwrite/model/ExtensionObjectDefinition.go +++ b/plc4go/protocols/opcua/readwrite/model/ExtensionObjectDefinition.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/ExtensionObjectEncodingMask.go b/plc4go/protocols/opcua/readwrite/model/ExtensionObjectEncodingMask.go index 5e373081f8..eaf1ee5079 100644 --- a/plc4go/protocols/opcua/readwrite/model/ExtensionObjectEncodingMask.go +++ b/plc4go/protocols/opcua/readwrite/model/ExtensionObjectEncodingMask.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/FieldMetaData.go b/plc4go/protocols/opcua/readwrite/model/FieldMetaData.go index 8f4fe7ecc4..c2d33fb10f 100644 --- a/plc4go/protocols/opcua/readwrite/model/FieldMetaData.go +++ b/plc4go/protocols/opcua/readwrite/model/FieldMetaData.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/FieldTargetDataType.go b/plc4go/protocols/opcua/readwrite/model/FieldTargetDataType.go index 38a21c3ac7..78ca247ba9 100644 --- a/plc4go/protocols/opcua/readwrite/model/FieldTargetDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/FieldTargetDataType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -136,8 +138,6 @@ type FieldTargetDataTypeBuilder interface { WithOverrideValueHandling(OverrideValueHandling) FieldTargetDataTypeBuilder // WithOverrideValue adds OverrideValue (property field) WithOverrideValue(Variant) FieldTargetDataTypeBuilder - // WithOverrideValueBuilder adds OverrideValue (property field) which is build by the builder - WithOverrideValueBuilder(func(VariantBuilder) VariantBuilder) FieldTargetDataTypeBuilder // Build builds the FieldTargetDataType or returns an error if something is wrong Build() (FieldTargetDataType, error) // MustBuild does the same as Build but panics on error @@ -248,19 +248,6 @@ func (m *_FieldTargetDataTypeBuilder) WithOverrideValue(overrideValue Variant) F return m } -func (m *_FieldTargetDataTypeBuilder) WithOverrideValueBuilder(builderSupplier func(VariantBuilder) VariantBuilder) FieldTargetDataTypeBuilder { - builder := builderSupplier(m.OverrideValue.CreateVariantBuilder()) - var err error - m.OverrideValue, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "VariantBuilder failed")) - } - return m -} - func (m *_FieldTargetDataTypeBuilder) Build() (FieldTargetDataType, error) { if m.DataSetFieldId == nil { if m.err == nil { diff --git a/plc4go/protocols/opcua/readwrite/model/FilterOperand.go b/plc4go/protocols/opcua/readwrite/model/FilterOperand.go index 13ae332257..446f0bf9e3 100644 --- a/plc4go/protocols/opcua/readwrite/model/FilterOperand.go +++ b/plc4go/protocols/opcua/readwrite/model/FilterOperand.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/FilterOperator.go b/plc4go/protocols/opcua/readwrite/model/FilterOperator.go index 080684b094..a77c51bb4b 100644 --- a/plc4go/protocols/opcua/readwrite/model/FilterOperator.go +++ b/plc4go/protocols/opcua/readwrite/model/FilterOperator.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/FindServersOnNetworkRequest.go b/plc4go/protocols/opcua/readwrite/model/FindServersOnNetworkRequest.go index f41681ffa0..9794824551 100644 --- a/plc4go/protocols/opcua/readwrite/model/FindServersOnNetworkRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/FindServersOnNetworkRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -96,8 +98,6 @@ type FindServersOnNetworkRequestBuilder interface { WithMandatoryFields(requestHeader ExtensionObjectDefinition, startingRecordId uint32, maxRecordsToReturn uint32, noOfServerCapabilityFilter int32, serverCapabilityFilter []PascalString) FindServersOnNetworkRequestBuilder // WithRequestHeader adds RequestHeader (property field) WithRequestHeader(ExtensionObjectDefinition) FindServersOnNetworkRequestBuilder - // WithRequestHeaderBuilder adds RequestHeader (property field) which is build by the builder - WithRequestHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) FindServersOnNetworkRequestBuilder // WithStartingRecordId adds StartingRecordId (property field) WithStartingRecordId(uint32) FindServersOnNetworkRequestBuilder // WithMaxRecordsToReturn adds MaxRecordsToReturn (property field) @@ -134,19 +134,6 @@ func (m *_FindServersOnNetworkRequestBuilder) WithRequestHeader(requestHeader Ex return m } -func (m *_FindServersOnNetworkRequestBuilder) WithRequestHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) FindServersOnNetworkRequestBuilder { - builder := builderSupplier(m.RequestHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.RequestHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_FindServersOnNetworkRequestBuilder) WithStartingRecordId(startingRecordId uint32) FindServersOnNetworkRequestBuilder { m.StartingRecordId = startingRecordId return m diff --git a/plc4go/protocols/opcua/readwrite/model/FindServersOnNetworkResponse.go b/plc4go/protocols/opcua/readwrite/model/FindServersOnNetworkResponse.go index b54c243756..3c0e692c8d 100644 --- a/plc4go/protocols/opcua/readwrite/model/FindServersOnNetworkResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/FindServersOnNetworkResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -92,8 +94,6 @@ type FindServersOnNetworkResponseBuilder interface { WithMandatoryFields(responseHeader ExtensionObjectDefinition, lastCounterResetTime int64, noOfServers int32, servers []ExtensionObjectDefinition) FindServersOnNetworkResponseBuilder // WithResponseHeader adds ResponseHeader (property field) WithResponseHeader(ExtensionObjectDefinition) FindServersOnNetworkResponseBuilder - // WithResponseHeaderBuilder adds ResponseHeader (property field) which is build by the builder - WithResponseHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) FindServersOnNetworkResponseBuilder // WithLastCounterResetTime adds LastCounterResetTime (property field) WithLastCounterResetTime(int64) FindServersOnNetworkResponseBuilder // WithNoOfServers adds NoOfServers (property field) @@ -128,19 +128,6 @@ func (m *_FindServersOnNetworkResponseBuilder) WithResponseHeader(responseHeader return m } -func (m *_FindServersOnNetworkResponseBuilder) WithResponseHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) FindServersOnNetworkResponseBuilder { - builder := builderSupplier(m.ResponseHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.ResponseHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_FindServersOnNetworkResponseBuilder) WithLastCounterResetTime(lastCounterResetTime int64) FindServersOnNetworkResponseBuilder { m.LastCounterResetTime = lastCounterResetTime return m diff --git a/plc4go/protocols/opcua/readwrite/model/FindServersRequest.go b/plc4go/protocols/opcua/readwrite/model/FindServersRequest.go index c3b1ccb30f..7caa50bb3c 100644 --- a/plc4go/protocols/opcua/readwrite/model/FindServersRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/FindServersRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -103,8 +105,6 @@ type FindServersRequestBuilder interface { WithMandatoryFields(requestHeader ExtensionObjectDefinition, endpointUrl PascalString, noOfLocaleIds int32, localeIds []PascalString, noOfServerUris int32, serverUris []PascalString) FindServersRequestBuilder // WithRequestHeader adds RequestHeader (property field) WithRequestHeader(ExtensionObjectDefinition) FindServersRequestBuilder - // WithRequestHeaderBuilder adds RequestHeader (property field) which is build by the builder - WithRequestHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) FindServersRequestBuilder // WithEndpointUrl adds EndpointUrl (property field) WithEndpointUrl(PascalString) FindServersRequestBuilder // WithEndpointUrlBuilder adds EndpointUrl (property field) which is build by the builder @@ -145,19 +145,6 @@ func (m *_FindServersRequestBuilder) WithRequestHeader(requestHeader ExtensionOb return m } -func (m *_FindServersRequestBuilder) WithRequestHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) FindServersRequestBuilder { - builder := builderSupplier(m.RequestHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.RequestHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_FindServersRequestBuilder) WithEndpointUrl(endpointUrl PascalString) FindServersRequestBuilder { m.EndpointUrl = endpointUrl return m diff --git a/plc4go/protocols/opcua/readwrite/model/FindServersResponse.go b/plc4go/protocols/opcua/readwrite/model/FindServersResponse.go index 09a1381c2f..910a0f89ee 100644 --- a/plc4go/protocols/opcua/readwrite/model/FindServersResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/FindServersResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -88,8 +90,6 @@ type FindServersResponseBuilder interface { WithMandatoryFields(responseHeader ExtensionObjectDefinition, noOfServers int32, servers []ExtensionObjectDefinition) FindServersResponseBuilder // WithResponseHeader adds ResponseHeader (property field) WithResponseHeader(ExtensionObjectDefinition) FindServersResponseBuilder - // WithResponseHeaderBuilder adds ResponseHeader (property field) which is build by the builder - WithResponseHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) FindServersResponseBuilder // WithNoOfServers adds NoOfServers (property field) WithNoOfServers(int32) FindServersResponseBuilder // WithServers adds Servers (property field) @@ -122,19 +122,6 @@ func (m *_FindServersResponseBuilder) WithResponseHeader(responseHeader Extensio return m } -func (m *_FindServersResponseBuilder) WithResponseHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) FindServersResponseBuilder { - builder := builderSupplier(m.ResponseHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.ResponseHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_FindServersResponseBuilder) WithNoOfServers(noOfServers int32) FindServersResponseBuilder { m.NoOfServers = noOfServers return m diff --git a/plc4go/protocols/opcua/readwrite/model/FourByteNodeId.go b/plc4go/protocols/opcua/readwrite/model/FourByteNodeId.go index 9de623b2ae..c3bbb8a7e0 100644 --- a/plc4go/protocols/opcua/readwrite/model/FourByteNodeId.go +++ b/plc4go/protocols/opcua/readwrite/model/FourByteNodeId.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/Frame.go b/plc4go/protocols/opcua/readwrite/model/Frame.go index af125e9178..30f3668b04 100644 --- a/plc4go/protocols/opcua/readwrite/model/Frame.go +++ b/plc4go/protocols/opcua/readwrite/model/Frame.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/GenericAttributeValue.go b/plc4go/protocols/opcua/readwrite/model/GenericAttributeValue.go index dcffe09f3b..c304e158de 100644 --- a/plc4go/protocols/opcua/readwrite/model/GenericAttributeValue.go +++ b/plc4go/protocols/opcua/readwrite/model/GenericAttributeValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -86,8 +88,6 @@ type GenericAttributeValueBuilder interface { WithAttributeId(uint32) GenericAttributeValueBuilder // WithValue adds Value (property field) WithValue(Variant) GenericAttributeValueBuilder - // WithValueBuilder adds Value (property field) which is build by the builder - WithValueBuilder(func(VariantBuilder) VariantBuilder) GenericAttributeValueBuilder // Build builds the GenericAttributeValue or returns an error if something is wrong Build() (GenericAttributeValue, error) // MustBuild does the same as Build but panics on error @@ -121,19 +121,6 @@ func (m *_GenericAttributeValueBuilder) WithValue(value Variant) GenericAttribut return m } -func (m *_GenericAttributeValueBuilder) WithValueBuilder(builderSupplier func(VariantBuilder) VariantBuilder) GenericAttributeValueBuilder { - builder := builderSupplier(m.Value.CreateVariantBuilder()) - var err error - m.Value, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "VariantBuilder failed")) - } - return m -} - func (m *_GenericAttributeValueBuilder) Build() (GenericAttributeValue, error) { if m.Value == nil { if m.err == nil { diff --git a/plc4go/protocols/opcua/readwrite/model/GetEndpointsRequest.go b/plc4go/protocols/opcua/readwrite/model/GetEndpointsRequest.go index 791701ee02..8cb58d751b 100644 --- a/plc4go/protocols/opcua/readwrite/model/GetEndpointsRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/GetEndpointsRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -103,8 +105,6 @@ type GetEndpointsRequestBuilder interface { WithMandatoryFields(requestHeader ExtensionObjectDefinition, endpointUrl PascalString, noOfLocaleIds int32, localeIds []PascalString, noOfProfileUris int32, profileUris []PascalString) GetEndpointsRequestBuilder // WithRequestHeader adds RequestHeader (property field) WithRequestHeader(ExtensionObjectDefinition) GetEndpointsRequestBuilder - // WithRequestHeaderBuilder adds RequestHeader (property field) which is build by the builder - WithRequestHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) GetEndpointsRequestBuilder // WithEndpointUrl adds EndpointUrl (property field) WithEndpointUrl(PascalString) GetEndpointsRequestBuilder // WithEndpointUrlBuilder adds EndpointUrl (property field) which is build by the builder @@ -145,19 +145,6 @@ func (m *_GetEndpointsRequestBuilder) WithRequestHeader(requestHeader ExtensionO return m } -func (m *_GetEndpointsRequestBuilder) WithRequestHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) GetEndpointsRequestBuilder { - builder := builderSupplier(m.RequestHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.RequestHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_GetEndpointsRequestBuilder) WithEndpointUrl(endpointUrl PascalString) GetEndpointsRequestBuilder { m.EndpointUrl = endpointUrl return m diff --git a/plc4go/protocols/opcua/readwrite/model/GetEndpointsResponse.go b/plc4go/protocols/opcua/readwrite/model/GetEndpointsResponse.go index 93b89657b0..9491237b9a 100644 --- a/plc4go/protocols/opcua/readwrite/model/GetEndpointsResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/GetEndpointsResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -88,8 +90,6 @@ type GetEndpointsResponseBuilder interface { WithMandatoryFields(responseHeader ExtensionObjectDefinition, noOfEndpoints int32, endpoints []ExtensionObjectDefinition) GetEndpointsResponseBuilder // WithResponseHeader adds ResponseHeader (property field) WithResponseHeader(ExtensionObjectDefinition) GetEndpointsResponseBuilder - // WithResponseHeaderBuilder adds ResponseHeader (property field) which is build by the builder - WithResponseHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) GetEndpointsResponseBuilder // WithNoOfEndpoints adds NoOfEndpoints (property field) WithNoOfEndpoints(int32) GetEndpointsResponseBuilder // WithEndpoints adds Endpoints (property field) @@ -122,19 +122,6 @@ func (m *_GetEndpointsResponseBuilder) WithResponseHeader(responseHeader Extensi return m } -func (m *_GetEndpointsResponseBuilder) WithResponseHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) GetEndpointsResponseBuilder { - builder := builderSupplier(m.ResponseHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.ResponseHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_GetEndpointsResponseBuilder) WithNoOfEndpoints(noOfEndpoints int32) GetEndpointsResponseBuilder { m.NoOfEndpoints = noOfEndpoints return m diff --git a/plc4go/protocols/opcua/readwrite/model/GuidNodeId.go b/plc4go/protocols/opcua/readwrite/model/GuidNodeId.go index c680b2ae1b..466aceaaee 100644 --- a/plc4go/protocols/opcua/readwrite/model/GuidNodeId.go +++ b/plc4go/protocols/opcua/readwrite/model/GuidNodeId.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/GuidValue.go b/plc4go/protocols/opcua/readwrite/model/GuidValue.go index 0f3d0f3be6..135f67c6f4 100644 --- a/plc4go/protocols/opcua/readwrite/model/GuidValue.go +++ b/plc4go/protocols/opcua/readwrite/model/GuidValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/Handle.go b/plc4go/protocols/opcua/readwrite/model/Handle.go index 17234d33e0..0be58f6c8d 100644 --- a/plc4go/protocols/opcua/readwrite/model/Handle.go +++ b/plc4go/protocols/opcua/readwrite/model/Handle.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/HistoryData.go b/plc4go/protocols/opcua/readwrite/model/HistoryData.go index 4b843b11d6..df164cd694 100644 --- a/plc4go/protocols/opcua/readwrite/model/HistoryData.go +++ b/plc4go/protocols/opcua/readwrite/model/HistoryData.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/HistoryEvent.go b/plc4go/protocols/opcua/readwrite/model/HistoryEvent.go index e8a4c5f804..22c9bda8ec 100644 --- a/plc4go/protocols/opcua/readwrite/model/HistoryEvent.go +++ b/plc4go/protocols/opcua/readwrite/model/HistoryEvent.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/HistoryEventFieldList.go b/plc4go/protocols/opcua/readwrite/model/HistoryEventFieldList.go index 45dc03b5f5..84072b1e14 100644 --- a/plc4go/protocols/opcua/readwrite/model/HistoryEventFieldList.go +++ b/plc4go/protocols/opcua/readwrite/model/HistoryEventFieldList.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/HistoryReadDetails.go b/plc4go/protocols/opcua/readwrite/model/HistoryReadDetails.go index 31c7c0bf49..abda361ca1 100644 --- a/plc4go/protocols/opcua/readwrite/model/HistoryReadDetails.go +++ b/plc4go/protocols/opcua/readwrite/model/HistoryReadDetails.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/HistoryReadRequest.go b/plc4go/protocols/opcua/readwrite/model/HistoryReadRequest.go index cb57950ba7..3d375a3a29 100644 --- a/plc4go/protocols/opcua/readwrite/model/HistoryReadRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/HistoryReadRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -105,8 +107,6 @@ type HistoryReadRequestBuilder interface { WithMandatoryFields(requestHeader ExtensionObjectDefinition, historyReadDetails ExtensionObject, timestampsToReturn TimestampsToReturn, releaseContinuationPoints bool, noOfNodesToRead int32, nodesToRead []ExtensionObjectDefinition) HistoryReadRequestBuilder // WithRequestHeader adds RequestHeader (property field) WithRequestHeader(ExtensionObjectDefinition) HistoryReadRequestBuilder - // WithRequestHeaderBuilder adds RequestHeader (property field) which is build by the builder - WithRequestHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) HistoryReadRequestBuilder // WithHistoryReadDetails adds HistoryReadDetails (property field) WithHistoryReadDetails(ExtensionObject) HistoryReadRequestBuilder // WithHistoryReadDetailsBuilder adds HistoryReadDetails (property field) which is build by the builder @@ -147,19 +147,6 @@ func (m *_HistoryReadRequestBuilder) WithRequestHeader(requestHeader ExtensionOb return m } -func (m *_HistoryReadRequestBuilder) WithRequestHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) HistoryReadRequestBuilder { - builder := builderSupplier(m.RequestHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.RequestHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_HistoryReadRequestBuilder) WithHistoryReadDetails(historyReadDetails ExtensionObject) HistoryReadRequestBuilder { m.HistoryReadDetails = historyReadDetails return m diff --git a/plc4go/protocols/opcua/readwrite/model/HistoryReadResponse.go b/plc4go/protocols/opcua/readwrite/model/HistoryReadResponse.go index 82a239c743..15abf3a8c2 100644 --- a/plc4go/protocols/opcua/readwrite/model/HistoryReadResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/HistoryReadResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -96,8 +98,6 @@ type HistoryReadResponseBuilder interface { WithMandatoryFields(responseHeader ExtensionObjectDefinition, noOfResults int32, results []ExtensionObjectDefinition, noOfDiagnosticInfos int32, diagnosticInfos []DiagnosticInfo) HistoryReadResponseBuilder // WithResponseHeader adds ResponseHeader (property field) WithResponseHeader(ExtensionObjectDefinition) HistoryReadResponseBuilder - // WithResponseHeaderBuilder adds ResponseHeader (property field) which is build by the builder - WithResponseHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) HistoryReadResponseBuilder // WithNoOfResults adds NoOfResults (property field) WithNoOfResults(int32) HistoryReadResponseBuilder // WithResults adds Results (property field) @@ -134,19 +134,6 @@ func (m *_HistoryReadResponseBuilder) WithResponseHeader(responseHeader Extensio return m } -func (m *_HistoryReadResponseBuilder) WithResponseHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) HistoryReadResponseBuilder { - builder := builderSupplier(m.ResponseHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.ResponseHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_HistoryReadResponseBuilder) WithNoOfResults(noOfResults int32) HistoryReadResponseBuilder { m.NoOfResults = noOfResults return m diff --git a/plc4go/protocols/opcua/readwrite/model/HistoryReadResult.go b/plc4go/protocols/opcua/readwrite/model/HistoryReadResult.go index 758dd5c8db..4767b05be3 100644 --- a/plc4go/protocols/opcua/readwrite/model/HistoryReadResult.go +++ b/plc4go/protocols/opcua/readwrite/model/HistoryReadResult.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/HistoryReadValueId.go b/plc4go/protocols/opcua/readwrite/model/HistoryReadValueId.go index 25f36fa13a..14cd86d8c4 100644 --- a/plc4go/protocols/opcua/readwrite/model/HistoryReadValueId.go +++ b/plc4go/protocols/opcua/readwrite/model/HistoryReadValueId.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/HistoryUpdateDetails.go b/plc4go/protocols/opcua/readwrite/model/HistoryUpdateDetails.go index ae629c8243..ec50153206 100644 --- a/plc4go/protocols/opcua/readwrite/model/HistoryUpdateDetails.go +++ b/plc4go/protocols/opcua/readwrite/model/HistoryUpdateDetails.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/HistoryUpdateRequest.go b/plc4go/protocols/opcua/readwrite/model/HistoryUpdateRequest.go index 6c6ce417f8..8ccaa9baba 100644 --- a/plc4go/protocols/opcua/readwrite/model/HistoryUpdateRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/HistoryUpdateRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -88,8 +90,6 @@ type HistoryUpdateRequestBuilder interface { WithMandatoryFields(requestHeader ExtensionObjectDefinition, noOfHistoryUpdateDetails int32, historyUpdateDetails []ExtensionObject) HistoryUpdateRequestBuilder // WithRequestHeader adds RequestHeader (property field) WithRequestHeader(ExtensionObjectDefinition) HistoryUpdateRequestBuilder - // WithRequestHeaderBuilder adds RequestHeader (property field) which is build by the builder - WithRequestHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) HistoryUpdateRequestBuilder // WithNoOfHistoryUpdateDetails adds NoOfHistoryUpdateDetails (property field) WithNoOfHistoryUpdateDetails(int32) HistoryUpdateRequestBuilder // WithHistoryUpdateDetails adds HistoryUpdateDetails (property field) @@ -122,19 +122,6 @@ func (m *_HistoryUpdateRequestBuilder) WithRequestHeader(requestHeader Extension return m } -func (m *_HistoryUpdateRequestBuilder) WithRequestHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) HistoryUpdateRequestBuilder { - builder := builderSupplier(m.RequestHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.RequestHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_HistoryUpdateRequestBuilder) WithNoOfHistoryUpdateDetails(noOfHistoryUpdateDetails int32) HistoryUpdateRequestBuilder { m.NoOfHistoryUpdateDetails = noOfHistoryUpdateDetails return m diff --git a/plc4go/protocols/opcua/readwrite/model/HistoryUpdateResponse.go b/plc4go/protocols/opcua/readwrite/model/HistoryUpdateResponse.go index 175972bfc3..eedf35475c 100644 --- a/plc4go/protocols/opcua/readwrite/model/HistoryUpdateResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/HistoryUpdateResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -96,8 +98,6 @@ type HistoryUpdateResponseBuilder interface { WithMandatoryFields(responseHeader ExtensionObjectDefinition, noOfResults int32, results []ExtensionObjectDefinition, noOfDiagnosticInfos int32, diagnosticInfos []DiagnosticInfo) HistoryUpdateResponseBuilder // WithResponseHeader adds ResponseHeader (property field) WithResponseHeader(ExtensionObjectDefinition) HistoryUpdateResponseBuilder - // WithResponseHeaderBuilder adds ResponseHeader (property field) which is build by the builder - WithResponseHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) HistoryUpdateResponseBuilder // WithNoOfResults adds NoOfResults (property field) WithNoOfResults(int32) HistoryUpdateResponseBuilder // WithResults adds Results (property field) @@ -134,19 +134,6 @@ func (m *_HistoryUpdateResponseBuilder) WithResponseHeader(responseHeader Extens return m } -func (m *_HistoryUpdateResponseBuilder) WithResponseHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) HistoryUpdateResponseBuilder { - builder := builderSupplier(m.ResponseHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.ResponseHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_HistoryUpdateResponseBuilder) WithNoOfResults(noOfResults int32) HistoryUpdateResponseBuilder { m.NoOfResults = noOfResults return m diff --git a/plc4go/protocols/opcua/readwrite/model/HistoryUpdateResult.go b/plc4go/protocols/opcua/readwrite/model/HistoryUpdateResult.go index 70da861f39..1453388c01 100644 --- a/plc4go/protocols/opcua/readwrite/model/HistoryUpdateResult.go +++ b/plc4go/protocols/opcua/readwrite/model/HistoryUpdateResult.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/HistoryUpdateType.go b/plc4go/protocols/opcua/readwrite/model/HistoryUpdateType.go index 1b1e86c8c5..a159b1de2d 100644 --- a/plc4go/protocols/opcua/readwrite/model/HistoryUpdateType.go +++ b/plc4go/protocols/opcua/readwrite/model/HistoryUpdateType.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/IdType.go b/plc4go/protocols/opcua/readwrite/model/IdType.go index 4c541c7a3d..d597b02ab5 100644 --- a/plc4go/protocols/opcua/readwrite/model/IdType.go +++ b/plc4go/protocols/opcua/readwrite/model/IdType.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/IdentityCriteriaType.go b/plc4go/protocols/opcua/readwrite/model/IdentityCriteriaType.go index d84ef7b310..554f519bdd 100644 --- a/plc4go/protocols/opcua/readwrite/model/IdentityCriteriaType.go +++ b/plc4go/protocols/opcua/readwrite/model/IdentityCriteriaType.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/IdentityMappingRuleType.go b/plc4go/protocols/opcua/readwrite/model/IdentityMappingRuleType.go index 6f050316c1..cab6027501 100644 --- a/plc4go/protocols/opcua/readwrite/model/IdentityMappingRuleType.go +++ b/plc4go/protocols/opcua/readwrite/model/IdentityMappingRuleType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/ImageBMP.go b/plc4go/protocols/opcua/readwrite/model/ImageBMP.go index 000e00a7fc..d047b89fe8 100644 --- a/plc4go/protocols/opcua/readwrite/model/ImageBMP.go +++ b/plc4go/protocols/opcua/readwrite/model/ImageBMP.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/ImageGIF.go b/plc4go/protocols/opcua/readwrite/model/ImageGIF.go index 8297b13507..f989376986 100644 --- a/plc4go/protocols/opcua/readwrite/model/ImageGIF.go +++ b/plc4go/protocols/opcua/readwrite/model/ImageGIF.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/ImageJPG.go b/plc4go/protocols/opcua/readwrite/model/ImageJPG.go index ea7169cc23..ba618af2f6 100644 --- a/plc4go/protocols/opcua/readwrite/model/ImageJPG.go +++ b/plc4go/protocols/opcua/readwrite/model/ImageJPG.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/ImagePNG.go b/plc4go/protocols/opcua/readwrite/model/ImagePNG.go index 3739374218..d98fe4372e 100644 --- a/plc4go/protocols/opcua/readwrite/model/ImagePNG.go +++ b/plc4go/protocols/opcua/readwrite/model/ImagePNG.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/Index.go b/plc4go/protocols/opcua/readwrite/model/Index.go index fbbb960a0c..9847d36d8a 100644 --- a/plc4go/protocols/opcua/readwrite/model/Index.go +++ b/plc4go/protocols/opcua/readwrite/model/Index.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/IntegerId.go b/plc4go/protocols/opcua/readwrite/model/IntegerId.go index c9fa9b6777..37421e03a1 100644 --- a/plc4go/protocols/opcua/readwrite/model/IntegerId.go +++ b/plc4go/protocols/opcua/readwrite/model/IntegerId.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/InterfaceAdminStatus.go b/plc4go/protocols/opcua/readwrite/model/InterfaceAdminStatus.go index c8d962cd54..23e6bee625 100644 --- a/plc4go/protocols/opcua/readwrite/model/InterfaceAdminStatus.go +++ b/plc4go/protocols/opcua/readwrite/model/InterfaceAdminStatus.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/InterfaceOperStatus.go b/plc4go/protocols/opcua/readwrite/model/InterfaceOperStatus.go index 5f2f227c5e..4e71888657 100644 --- a/plc4go/protocols/opcua/readwrite/model/InterfaceOperStatus.go +++ b/plc4go/protocols/opcua/readwrite/model/InterfaceOperStatus.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/IssuedIdentityToken.go b/plc4go/protocols/opcua/readwrite/model/IssuedIdentityToken.go index 1d13dfb09d..e707d5f8fb 100644 --- a/plc4go/protocols/opcua/readwrite/model/IssuedIdentityToken.go +++ b/plc4go/protocols/opcua/readwrite/model/IssuedIdentityToken.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/JsonDataSetMessageContentMask.go b/plc4go/protocols/opcua/readwrite/model/JsonDataSetMessageContentMask.go index 471c1343a2..4d2338d5a1 100644 --- a/plc4go/protocols/opcua/readwrite/model/JsonDataSetMessageContentMask.go +++ b/plc4go/protocols/opcua/readwrite/model/JsonDataSetMessageContentMask.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/JsonNetworkMessageContentMask.go b/plc4go/protocols/opcua/readwrite/model/JsonNetworkMessageContentMask.go index 5fa9b3f3df..89273d4d81 100644 --- a/plc4go/protocols/opcua/readwrite/model/JsonNetworkMessageContentMask.go +++ b/plc4go/protocols/opcua/readwrite/model/JsonNetworkMessageContentMask.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/KeyValuePair.go b/plc4go/protocols/opcua/readwrite/model/KeyValuePair.go index ddd05e9ec8..109609680b 100644 --- a/plc4go/protocols/opcua/readwrite/model/KeyValuePair.go +++ b/plc4go/protocols/opcua/readwrite/model/KeyValuePair.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -91,8 +93,6 @@ type KeyValuePairBuilder interface { WithKeyBuilder(func(QualifiedNameBuilder) QualifiedNameBuilder) KeyValuePairBuilder // WithValue adds Value (property field) WithValue(Variant) KeyValuePairBuilder - // WithValueBuilder adds Value (property field) which is build by the builder - WithValueBuilder(func(VariantBuilder) VariantBuilder) KeyValuePairBuilder // Build builds the KeyValuePair or returns an error if something is wrong Build() (KeyValuePair, error) // MustBuild does the same as Build but panics on error @@ -139,19 +139,6 @@ func (m *_KeyValuePairBuilder) WithValue(value Variant) KeyValuePairBuilder { return m } -func (m *_KeyValuePairBuilder) WithValueBuilder(builderSupplier func(VariantBuilder) VariantBuilder) KeyValuePairBuilder { - builder := builderSupplier(m.Value.CreateVariantBuilder()) - var err error - m.Value, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "VariantBuilder failed")) - } - return m -} - func (m *_KeyValuePairBuilder) Build() (KeyValuePair, error) { if m.Key == nil { if m.err == nil { diff --git a/plc4go/protocols/opcua/readwrite/model/LinearConversionDataType.go b/plc4go/protocols/opcua/readwrite/model/LinearConversionDataType.go index 6ceeea9d8c..ff61cc2e8d 100644 --- a/plc4go/protocols/opcua/readwrite/model/LinearConversionDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/LinearConversionDataType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/LocaleId.go b/plc4go/protocols/opcua/readwrite/model/LocaleId.go index ca51d2c31a..23e662ee75 100644 --- a/plc4go/protocols/opcua/readwrite/model/LocaleId.go +++ b/plc4go/protocols/opcua/readwrite/model/LocaleId.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/LocalizedText.go b/plc4go/protocols/opcua/readwrite/model/LocalizedText.go index 1d6fe0648c..9630af4e35 100644 --- a/plc4go/protocols/opcua/readwrite/model/LocalizedText.go +++ b/plc4go/protocols/opcua/readwrite/model/LocalizedText.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/MessagePDU.go b/plc4go/protocols/opcua/readwrite/model/MessagePDU.go index 875197f1da..23e8b027fd 100644 --- a/plc4go/protocols/opcua/readwrite/model/MessagePDU.go +++ b/plc4go/protocols/opcua/readwrite/model/MessagePDU.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/MessageSecurityMode.go b/plc4go/protocols/opcua/readwrite/model/MessageSecurityMode.go index b4e3af8e13..5af57bd348 100644 --- a/plc4go/protocols/opcua/readwrite/model/MessageSecurityMode.go +++ b/plc4go/protocols/opcua/readwrite/model/MessageSecurityMode.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/MessageType.go b/plc4go/protocols/opcua/readwrite/model/MessageType.go index 959fa22f36..9c367d918e 100644 --- a/plc4go/protocols/opcua/readwrite/model/MessageType.go +++ b/plc4go/protocols/opcua/readwrite/model/MessageType.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/ModelChangeStructureDataType.go b/plc4go/protocols/opcua/readwrite/model/ModelChangeStructureDataType.go index 97df158f55..39fc15cfb8 100644 --- a/plc4go/protocols/opcua/readwrite/model/ModelChangeStructureDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/ModelChangeStructureDataType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/ModelChangeStructureVerbMask.go b/plc4go/protocols/opcua/readwrite/model/ModelChangeStructureVerbMask.go index 7a877dbf58..62cf1b027e 100644 --- a/plc4go/protocols/opcua/readwrite/model/ModelChangeStructureVerbMask.go +++ b/plc4go/protocols/opcua/readwrite/model/ModelChangeStructureVerbMask.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/ModificationInfo.go b/plc4go/protocols/opcua/readwrite/model/ModificationInfo.go index e9e501f71b..195cf7556f 100644 --- a/plc4go/protocols/opcua/readwrite/model/ModificationInfo.go +++ b/plc4go/protocols/opcua/readwrite/model/ModificationInfo.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/ModifyMonitoredItemsRequest.go b/plc4go/protocols/opcua/readwrite/model/ModifyMonitoredItemsRequest.go index 7d0cd0adfd..e17ec1ca65 100644 --- a/plc4go/protocols/opcua/readwrite/model/ModifyMonitoredItemsRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/ModifyMonitoredItemsRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -96,8 +98,6 @@ type ModifyMonitoredItemsRequestBuilder interface { WithMandatoryFields(requestHeader ExtensionObjectDefinition, subscriptionId uint32, timestampsToReturn TimestampsToReturn, noOfItemsToModify int32, itemsToModify []ExtensionObjectDefinition) ModifyMonitoredItemsRequestBuilder // WithRequestHeader adds RequestHeader (property field) WithRequestHeader(ExtensionObjectDefinition) ModifyMonitoredItemsRequestBuilder - // WithRequestHeaderBuilder adds RequestHeader (property field) which is build by the builder - WithRequestHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) ModifyMonitoredItemsRequestBuilder // WithSubscriptionId adds SubscriptionId (property field) WithSubscriptionId(uint32) ModifyMonitoredItemsRequestBuilder // WithTimestampsToReturn adds TimestampsToReturn (property field) @@ -134,19 +134,6 @@ func (m *_ModifyMonitoredItemsRequestBuilder) WithRequestHeader(requestHeader Ex return m } -func (m *_ModifyMonitoredItemsRequestBuilder) WithRequestHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) ModifyMonitoredItemsRequestBuilder { - builder := builderSupplier(m.RequestHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.RequestHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_ModifyMonitoredItemsRequestBuilder) WithSubscriptionId(subscriptionId uint32) ModifyMonitoredItemsRequestBuilder { m.SubscriptionId = subscriptionId return m diff --git a/plc4go/protocols/opcua/readwrite/model/ModifyMonitoredItemsResponse.go b/plc4go/protocols/opcua/readwrite/model/ModifyMonitoredItemsResponse.go index 760e920e1e..8a0d7423fb 100644 --- a/plc4go/protocols/opcua/readwrite/model/ModifyMonitoredItemsResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/ModifyMonitoredItemsResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -96,8 +98,6 @@ type ModifyMonitoredItemsResponseBuilder interface { WithMandatoryFields(responseHeader ExtensionObjectDefinition, noOfResults int32, results []ExtensionObjectDefinition, noOfDiagnosticInfos int32, diagnosticInfos []DiagnosticInfo) ModifyMonitoredItemsResponseBuilder // WithResponseHeader adds ResponseHeader (property field) WithResponseHeader(ExtensionObjectDefinition) ModifyMonitoredItemsResponseBuilder - // WithResponseHeaderBuilder adds ResponseHeader (property field) which is build by the builder - WithResponseHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) ModifyMonitoredItemsResponseBuilder // WithNoOfResults adds NoOfResults (property field) WithNoOfResults(int32) ModifyMonitoredItemsResponseBuilder // WithResults adds Results (property field) @@ -134,19 +134,6 @@ func (m *_ModifyMonitoredItemsResponseBuilder) WithResponseHeader(responseHeader return m } -func (m *_ModifyMonitoredItemsResponseBuilder) WithResponseHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) ModifyMonitoredItemsResponseBuilder { - builder := builderSupplier(m.ResponseHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.ResponseHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_ModifyMonitoredItemsResponseBuilder) WithNoOfResults(noOfResults int32) ModifyMonitoredItemsResponseBuilder { m.NoOfResults = noOfResults return m diff --git a/plc4go/protocols/opcua/readwrite/model/ModifySubscriptionRequest.go b/plc4go/protocols/opcua/readwrite/model/ModifySubscriptionRequest.go index 503cdfe863..8366d5908c 100644 --- a/plc4go/protocols/opcua/readwrite/model/ModifySubscriptionRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/ModifySubscriptionRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -104,8 +106,6 @@ type ModifySubscriptionRequestBuilder interface { WithMandatoryFields(requestHeader ExtensionObjectDefinition, subscriptionId uint32, requestedPublishingInterval float64, requestedLifetimeCount uint32, requestedMaxKeepAliveCount uint32, maxNotificationsPerPublish uint32, priority uint8) ModifySubscriptionRequestBuilder // WithRequestHeader adds RequestHeader (property field) WithRequestHeader(ExtensionObjectDefinition) ModifySubscriptionRequestBuilder - // WithRequestHeaderBuilder adds RequestHeader (property field) which is build by the builder - WithRequestHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) ModifySubscriptionRequestBuilder // WithSubscriptionId adds SubscriptionId (property field) WithSubscriptionId(uint32) ModifySubscriptionRequestBuilder // WithRequestedPublishingInterval adds RequestedPublishingInterval (property field) @@ -146,19 +146,6 @@ func (m *_ModifySubscriptionRequestBuilder) WithRequestHeader(requestHeader Exte return m } -func (m *_ModifySubscriptionRequestBuilder) WithRequestHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) ModifySubscriptionRequestBuilder { - builder := builderSupplier(m.RequestHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.RequestHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_ModifySubscriptionRequestBuilder) WithSubscriptionId(subscriptionId uint32) ModifySubscriptionRequestBuilder { m.SubscriptionId = subscriptionId return m diff --git a/plc4go/protocols/opcua/readwrite/model/ModifySubscriptionResponse.go b/plc4go/protocols/opcua/readwrite/model/ModifySubscriptionResponse.go index 6dea267e93..14bb21218c 100644 --- a/plc4go/protocols/opcua/readwrite/model/ModifySubscriptionResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/ModifySubscriptionResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -92,8 +94,6 @@ type ModifySubscriptionResponseBuilder interface { WithMandatoryFields(responseHeader ExtensionObjectDefinition, revisedPublishingInterval float64, revisedLifetimeCount uint32, revisedMaxKeepAliveCount uint32) ModifySubscriptionResponseBuilder // WithResponseHeader adds ResponseHeader (property field) WithResponseHeader(ExtensionObjectDefinition) ModifySubscriptionResponseBuilder - // WithResponseHeaderBuilder adds ResponseHeader (property field) which is build by the builder - WithResponseHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) ModifySubscriptionResponseBuilder // WithRevisedPublishingInterval adds RevisedPublishingInterval (property field) WithRevisedPublishingInterval(float64) ModifySubscriptionResponseBuilder // WithRevisedLifetimeCount adds RevisedLifetimeCount (property field) @@ -128,19 +128,6 @@ func (m *_ModifySubscriptionResponseBuilder) WithResponseHeader(responseHeader E return m } -func (m *_ModifySubscriptionResponseBuilder) WithResponseHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) ModifySubscriptionResponseBuilder { - builder := builderSupplier(m.ResponseHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.ResponseHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_ModifySubscriptionResponseBuilder) WithRevisedPublishingInterval(revisedPublishingInterval float64) ModifySubscriptionResponseBuilder { m.RevisedPublishingInterval = revisedPublishingInterval return m diff --git a/plc4go/protocols/opcua/readwrite/model/MonitoredItemCreateRequest.go b/plc4go/protocols/opcua/readwrite/model/MonitoredItemCreateRequest.go index 1f832ab5c3..27add2f774 100644 --- a/plc4go/protocols/opcua/readwrite/model/MonitoredItemCreateRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/MonitoredItemCreateRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -91,14 +93,10 @@ type MonitoredItemCreateRequestBuilder interface { WithMandatoryFields(itemToMonitor ExtensionObjectDefinition, monitoringMode MonitoringMode, requestedParameters ExtensionObjectDefinition) MonitoredItemCreateRequestBuilder // WithItemToMonitor adds ItemToMonitor (property field) WithItemToMonitor(ExtensionObjectDefinition) MonitoredItemCreateRequestBuilder - // WithItemToMonitorBuilder adds ItemToMonitor (property field) which is build by the builder - WithItemToMonitorBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) MonitoredItemCreateRequestBuilder // WithMonitoringMode adds MonitoringMode (property field) WithMonitoringMode(MonitoringMode) MonitoredItemCreateRequestBuilder // WithRequestedParameters adds RequestedParameters (property field) WithRequestedParameters(ExtensionObjectDefinition) MonitoredItemCreateRequestBuilder - // WithRequestedParametersBuilder adds RequestedParameters (property field) which is build by the builder - WithRequestedParametersBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) MonitoredItemCreateRequestBuilder // Build builds the MonitoredItemCreateRequest or returns an error if something is wrong Build() (MonitoredItemCreateRequest, error) // MustBuild does the same as Build but panics on error @@ -127,19 +125,6 @@ func (m *_MonitoredItemCreateRequestBuilder) WithItemToMonitor(itemToMonitor Ext return m } -func (m *_MonitoredItemCreateRequestBuilder) WithItemToMonitorBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) MonitoredItemCreateRequestBuilder { - builder := builderSupplier(m.ItemToMonitor.CreateExtensionObjectDefinitionBuilder()) - var err error - m.ItemToMonitor, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_MonitoredItemCreateRequestBuilder) WithMonitoringMode(monitoringMode MonitoringMode) MonitoredItemCreateRequestBuilder { m.MonitoringMode = monitoringMode return m @@ -150,19 +135,6 @@ func (m *_MonitoredItemCreateRequestBuilder) WithRequestedParameters(requestedPa return m } -func (m *_MonitoredItemCreateRequestBuilder) WithRequestedParametersBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) MonitoredItemCreateRequestBuilder { - builder := builderSupplier(m.RequestedParameters.CreateExtensionObjectDefinitionBuilder()) - var err error - m.RequestedParameters, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_MonitoredItemCreateRequestBuilder) Build() (MonitoredItemCreateRequest, error) { if m.ItemToMonitor == nil { if m.err == nil { diff --git a/plc4go/protocols/opcua/readwrite/model/MonitoredItemCreateResult.go b/plc4go/protocols/opcua/readwrite/model/MonitoredItemCreateResult.go index 97bb00a4da..5eefb09ed6 100644 --- a/plc4go/protocols/opcua/readwrite/model/MonitoredItemCreateResult.go +++ b/plc4go/protocols/opcua/readwrite/model/MonitoredItemCreateResult.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/MonitoredItemModifyRequest.go b/plc4go/protocols/opcua/readwrite/model/MonitoredItemModifyRequest.go index 360ab21884..8b4235cf18 100644 --- a/plc4go/protocols/opcua/readwrite/model/MonitoredItemModifyRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/MonitoredItemModifyRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -86,8 +88,6 @@ type MonitoredItemModifyRequestBuilder interface { WithMonitoredItemId(uint32) MonitoredItemModifyRequestBuilder // WithRequestedParameters adds RequestedParameters (property field) WithRequestedParameters(ExtensionObjectDefinition) MonitoredItemModifyRequestBuilder - // WithRequestedParametersBuilder adds RequestedParameters (property field) which is build by the builder - WithRequestedParametersBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) MonitoredItemModifyRequestBuilder // Build builds the MonitoredItemModifyRequest or returns an error if something is wrong Build() (MonitoredItemModifyRequest, error) // MustBuild does the same as Build but panics on error @@ -121,19 +121,6 @@ func (m *_MonitoredItemModifyRequestBuilder) WithRequestedParameters(requestedPa return m } -func (m *_MonitoredItemModifyRequestBuilder) WithRequestedParametersBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) MonitoredItemModifyRequestBuilder { - builder := builderSupplier(m.RequestedParameters.CreateExtensionObjectDefinitionBuilder()) - var err error - m.RequestedParameters, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_MonitoredItemModifyRequestBuilder) Build() (MonitoredItemModifyRequest, error) { if m.RequestedParameters == nil { if m.err == nil { diff --git a/plc4go/protocols/opcua/readwrite/model/MonitoredItemModifyResult.go b/plc4go/protocols/opcua/readwrite/model/MonitoredItemModifyResult.go index 6861f914ba..5e759abaa6 100644 --- a/plc4go/protocols/opcua/readwrite/model/MonitoredItemModifyResult.go +++ b/plc4go/protocols/opcua/readwrite/model/MonitoredItemModifyResult.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/MonitoredItemNotification.go b/plc4go/protocols/opcua/readwrite/model/MonitoredItemNotification.go index 0010aabfce..7c01fec033 100644 --- a/plc4go/protocols/opcua/readwrite/model/MonitoredItemNotification.go +++ b/plc4go/protocols/opcua/readwrite/model/MonitoredItemNotification.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/MonitoringFilter.go b/plc4go/protocols/opcua/readwrite/model/MonitoringFilter.go index bdc525d9f7..9b4ab023a6 100644 --- a/plc4go/protocols/opcua/readwrite/model/MonitoringFilter.go +++ b/plc4go/protocols/opcua/readwrite/model/MonitoringFilter.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/MonitoringFilterResult.go b/plc4go/protocols/opcua/readwrite/model/MonitoringFilterResult.go index d6be3dd05b..e73e7d55b0 100644 --- a/plc4go/protocols/opcua/readwrite/model/MonitoringFilterResult.go +++ b/plc4go/protocols/opcua/readwrite/model/MonitoringFilterResult.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/MonitoringMode.go b/plc4go/protocols/opcua/readwrite/model/MonitoringMode.go index 79eb7e4d57..f665927962 100644 --- a/plc4go/protocols/opcua/readwrite/model/MonitoringMode.go +++ b/plc4go/protocols/opcua/readwrite/model/MonitoringMode.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/MonitoringParameters.go b/plc4go/protocols/opcua/readwrite/model/MonitoringParameters.go index 6c0909eac6..dc9fe337c6 100644 --- a/plc4go/protocols/opcua/readwrite/model/MonitoringParameters.go +++ b/plc4go/protocols/opcua/readwrite/model/MonitoringParameters.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/NamingRuleType.go b/plc4go/protocols/opcua/readwrite/model/NamingRuleType.go index 540b94faa2..a9896e77c1 100644 --- a/plc4go/protocols/opcua/readwrite/model/NamingRuleType.go +++ b/plc4go/protocols/opcua/readwrite/model/NamingRuleType.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/NegotiationStatus.go b/plc4go/protocols/opcua/readwrite/model/NegotiationStatus.go index d6f6ff7040..c54f7a32ac 100644 --- a/plc4go/protocols/opcua/readwrite/model/NegotiationStatus.go +++ b/plc4go/protocols/opcua/readwrite/model/NegotiationStatus.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/NetworkAddressDataType.go b/plc4go/protocols/opcua/readwrite/model/NetworkAddressDataType.go index 60995514c0..3bb6df8608 100644 --- a/plc4go/protocols/opcua/readwrite/model/NetworkAddressDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/NetworkAddressDataType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/NetworkGroupDataType.go b/plc4go/protocols/opcua/readwrite/model/NetworkGroupDataType.go index 611cf4baab..1bda0b4e25 100644 --- a/plc4go/protocols/opcua/readwrite/model/NetworkGroupDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/NetworkGroupDataType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/NodeAttributes.go b/plc4go/protocols/opcua/readwrite/model/NodeAttributes.go index f147136b5f..e13ed45aac 100644 --- a/plc4go/protocols/opcua/readwrite/model/NodeAttributes.go +++ b/plc4go/protocols/opcua/readwrite/model/NodeAttributes.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/NodeAttributesMask.go b/plc4go/protocols/opcua/readwrite/model/NodeAttributesMask.go index 41663c206a..4f2bf3a99f 100644 --- a/plc4go/protocols/opcua/readwrite/model/NodeAttributesMask.go +++ b/plc4go/protocols/opcua/readwrite/model/NodeAttributesMask.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/NodeClass.go b/plc4go/protocols/opcua/readwrite/model/NodeClass.go index a5a78e217f..af7c108707 100644 --- a/plc4go/protocols/opcua/readwrite/model/NodeClass.go +++ b/plc4go/protocols/opcua/readwrite/model/NodeClass.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/NodeId.go b/plc4go/protocols/opcua/readwrite/model/NodeId.go index 8c0bfc31ed..52d39f500a 100644 --- a/plc4go/protocols/opcua/readwrite/model/NodeId.go +++ b/plc4go/protocols/opcua/readwrite/model/NodeId.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -76,8 +78,6 @@ type NodeIdBuilder interface { WithMandatoryFields(nodeId NodeIdTypeDefinition) NodeIdBuilder // WithNodeId adds NodeId (property field) WithNodeId(NodeIdTypeDefinition) NodeIdBuilder - // WithNodeIdBuilder adds NodeId (property field) which is build by the builder - WithNodeIdBuilder(func(NodeIdTypeDefinitionBuilder) NodeIdTypeDefinitionBuilder) NodeIdBuilder // Build builds the NodeId or returns an error if something is wrong Build() (NodeId, error) // MustBuild does the same as Build but panics on error @@ -106,19 +106,6 @@ func (m *_NodeIdBuilder) WithNodeId(nodeId NodeIdTypeDefinition) NodeIdBuilder { return m } -func (m *_NodeIdBuilder) WithNodeIdBuilder(builderSupplier func(NodeIdTypeDefinitionBuilder) NodeIdTypeDefinitionBuilder) NodeIdBuilder { - builder := builderSupplier(m.NodeId.CreateNodeIdTypeDefinitionBuilder()) - var err error - m.NodeId, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "NodeIdTypeDefinitionBuilder failed")) - } - return m -} - func (m *_NodeIdBuilder) Build() (NodeId, error) { if m.NodeId == nil { if m.err == nil { diff --git a/plc4go/protocols/opcua/readwrite/model/NodeIdByteString.go b/plc4go/protocols/opcua/readwrite/model/NodeIdByteString.go index a39a367da5..b34d4e987b 100644 --- a/plc4go/protocols/opcua/readwrite/model/NodeIdByteString.go +++ b/plc4go/protocols/opcua/readwrite/model/NodeIdByteString.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/NodeIdFourByte.go b/plc4go/protocols/opcua/readwrite/model/NodeIdFourByte.go index ac80d537bc..28f5b1e47b 100644 --- a/plc4go/protocols/opcua/readwrite/model/NodeIdFourByte.go +++ b/plc4go/protocols/opcua/readwrite/model/NodeIdFourByte.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/NodeIdGuid.go b/plc4go/protocols/opcua/readwrite/model/NodeIdGuid.go index ae04ba6c72..70f87dc9de 100644 --- a/plc4go/protocols/opcua/readwrite/model/NodeIdGuid.go +++ b/plc4go/protocols/opcua/readwrite/model/NodeIdGuid.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/NodeIdNumeric.go b/plc4go/protocols/opcua/readwrite/model/NodeIdNumeric.go index 08084ab857..e23b5f6f7f 100644 --- a/plc4go/protocols/opcua/readwrite/model/NodeIdNumeric.go +++ b/plc4go/protocols/opcua/readwrite/model/NodeIdNumeric.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/NodeIdString.go b/plc4go/protocols/opcua/readwrite/model/NodeIdString.go index 64a6f1bf05..e252dc6ba9 100644 --- a/plc4go/protocols/opcua/readwrite/model/NodeIdString.go +++ b/plc4go/protocols/opcua/readwrite/model/NodeIdString.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/NodeIdTwoByte.go b/plc4go/protocols/opcua/readwrite/model/NodeIdTwoByte.go index 3a7ec24d90..ab021ab592 100644 --- a/plc4go/protocols/opcua/readwrite/model/NodeIdTwoByte.go +++ b/plc4go/protocols/opcua/readwrite/model/NodeIdTwoByte.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/NodeIdType.go b/plc4go/protocols/opcua/readwrite/model/NodeIdType.go index a09163970b..dae690e882 100644 --- a/plc4go/protocols/opcua/readwrite/model/NodeIdType.go +++ b/plc4go/protocols/opcua/readwrite/model/NodeIdType.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/NodeIdTypeDefinition.go b/plc4go/protocols/opcua/readwrite/model/NodeIdTypeDefinition.go index 3b0c53e073..68626693bf 100644 --- a/plc4go/protocols/opcua/readwrite/model/NodeIdTypeDefinition.go +++ b/plc4go/protocols/opcua/readwrite/model/NodeIdTypeDefinition.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/NodeReference.go b/plc4go/protocols/opcua/readwrite/model/NodeReference.go index b9e79246ca..856cb92ee5 100644 --- a/plc4go/protocols/opcua/readwrite/model/NodeReference.go +++ b/plc4go/protocols/opcua/readwrite/model/NodeReference.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/NodeTypeDescription.go b/plc4go/protocols/opcua/readwrite/model/NodeTypeDescription.go index 3b9a0dd045..17b1ed42b9 100644 --- a/plc4go/protocols/opcua/readwrite/model/NodeTypeDescription.go +++ b/plc4go/protocols/opcua/readwrite/model/NodeTypeDescription.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/NormalizedString.go b/plc4go/protocols/opcua/readwrite/model/NormalizedString.go index f27ed8150e..a07b6004d1 100644 --- a/plc4go/protocols/opcua/readwrite/model/NormalizedString.go +++ b/plc4go/protocols/opcua/readwrite/model/NormalizedString.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/NotificationData.go b/plc4go/protocols/opcua/readwrite/model/NotificationData.go index eccd0acec6..7bb68de6a9 100644 --- a/plc4go/protocols/opcua/readwrite/model/NotificationData.go +++ b/plc4go/protocols/opcua/readwrite/model/NotificationData.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/NotificationMessage.go b/plc4go/protocols/opcua/readwrite/model/NotificationMessage.go index e217f326e0..aa77eaf1e8 100644 --- a/plc4go/protocols/opcua/readwrite/model/NotificationMessage.go +++ b/plc4go/protocols/opcua/readwrite/model/NotificationMessage.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/NullExtension.go b/plc4go/protocols/opcua/readwrite/model/NullExtension.go index ddf465fcc0..de1a1c8d6b 100644 --- a/plc4go/protocols/opcua/readwrite/model/NullExtension.go +++ b/plc4go/protocols/opcua/readwrite/model/NullExtension.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/NumericNodeId.go b/plc4go/protocols/opcua/readwrite/model/NumericNodeId.go index bedcc145fc..19a5204fca 100644 --- a/plc4go/protocols/opcua/readwrite/model/NumericNodeId.go +++ b/plc4go/protocols/opcua/readwrite/model/NumericNodeId.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/NumericRange.go b/plc4go/protocols/opcua/readwrite/model/NumericRange.go index cf2a02d61a..97b8f85544 100644 --- a/plc4go/protocols/opcua/readwrite/model/NumericRange.go +++ b/plc4go/protocols/opcua/readwrite/model/NumericRange.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaAPU.go b/plc4go/protocols/opcua/readwrite/model/OpcuaAPU.go index e2062bee4c..0414798c33 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaAPU.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaAPU.go @@ -23,12 +23,14 @@ import ( "context" "encoding/binary" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + "github.com/apache/plc4x/plc4go/spi/codegen" . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -77,8 +79,6 @@ type OpcuaAPUBuilder interface { WithMandatoryFields(message MessagePDU) OpcuaAPUBuilder // WithMessage adds Message (property field) WithMessage(MessagePDU) OpcuaAPUBuilder - // WithMessageBuilder adds Message (property field) which is build by the builder - WithMessageBuilder(func(MessagePDUBuilder) MessagePDUBuilder) OpcuaAPUBuilder // Build builds the OpcuaAPU or returns an error if something is wrong Build() (OpcuaAPU, error) // MustBuild does the same as Build but panics on error @@ -107,19 +107,6 @@ func (m *_OpcuaAPUBuilder) WithMessage(message MessagePDU) OpcuaAPUBuilder { return m } -func (m *_OpcuaAPUBuilder) WithMessageBuilder(builderSupplier func(MessagePDUBuilder) MessagePDUBuilder) OpcuaAPUBuilder { - builder := builderSupplier(m.Message.CreateMessagePDUBuilder()) - var err error - m.Message, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "MessagePDUBuilder failed")) - } - return m -} - func (m *_OpcuaAPUBuilder) Build() (OpcuaAPU, error) { if m.Message == nil { if m.err == nil { diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaAcknowledgeResponse.go b/plc4go/protocols/opcua/readwrite/model/OpcuaAcknowledgeResponse.go index 69ede9388f..e0d2f871fc 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaAcknowledgeResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaAcknowledgeResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaCloseRequest.go b/plc4go/protocols/opcua/readwrite/model/OpcuaCloseRequest.go index d18fd112b6..caa6ae45d3 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaCloseRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaCloseRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -91,8 +93,6 @@ type OpcuaCloseRequestBuilder interface { WithSecurityHeaderBuilder(func(SecurityHeaderBuilder) SecurityHeaderBuilder) OpcuaCloseRequestBuilder // WithMessage adds Message (property field) WithMessage(Payload) OpcuaCloseRequestBuilder - // WithMessageBuilder adds Message (property field) which is build by the builder - WithMessageBuilder(func(PayloadBuilder) PayloadBuilder) OpcuaCloseRequestBuilder // Build builds the OpcuaCloseRequest or returns an error if something is wrong Build() (OpcuaCloseRequest, error) // MustBuild does the same as Build but panics on error @@ -139,19 +139,6 @@ func (m *_OpcuaCloseRequestBuilder) WithMessage(message Payload) OpcuaCloseReque return m } -func (m *_OpcuaCloseRequestBuilder) WithMessageBuilder(builderSupplier func(PayloadBuilder) PayloadBuilder) OpcuaCloseRequestBuilder { - builder := builderSupplier(m.Message.CreatePayloadBuilder()) - var err error - m.Message, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "PayloadBuilder failed")) - } - return m -} - func (m *_OpcuaCloseRequestBuilder) Build() (OpcuaCloseRequest, error) { if m.SecurityHeader == nil { if m.err == nil { diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaConstants.go b/plc4go/protocols/opcua/readwrite/model/OpcuaConstants.go index 5d087e7f92..aaa41772f0 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaConstants.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaConstants.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaDataType.go b/plc4go/protocols/opcua/readwrite/model/OpcuaDataType.go index 063cf500bd..3c66af92ea 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaDataType.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaHelloRequest.go b/plc4go/protocols/opcua/readwrite/model/OpcuaHelloRequest.go index 80dd5ed820..b46214c726 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaHelloRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaHelloRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaIdentifierType.go b/plc4go/protocols/opcua/readwrite/model/OpcuaIdentifierType.go index 8412950397..08b33f7585 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaIdentifierType.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaIdentifierType.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaMessageError.go b/plc4go/protocols/opcua/readwrite/model/OpcuaMessageError.go index c6a0acdbd4..d26c6f5c96 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaMessageError.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaMessageError.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaMessageRequest.go b/plc4go/protocols/opcua/readwrite/model/OpcuaMessageRequest.go index 4e2621cd9f..4feb6d81ac 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaMessageRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaMessageRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -94,8 +96,6 @@ type OpcuaMessageRequestBuilder interface { WithSecurityHeaderBuilder(func(SecurityHeaderBuilder) SecurityHeaderBuilder) OpcuaMessageRequestBuilder // WithMessage adds Message (property field) WithMessage(Payload) OpcuaMessageRequestBuilder - // WithMessageBuilder adds Message (property field) which is build by the builder - WithMessageBuilder(func(PayloadBuilder) PayloadBuilder) OpcuaMessageRequestBuilder // Build builds the OpcuaMessageRequest or returns an error if something is wrong Build() (OpcuaMessageRequest, error) // MustBuild does the same as Build but panics on error @@ -142,19 +142,6 @@ func (m *_OpcuaMessageRequestBuilder) WithMessage(message Payload) OpcuaMessageR return m } -func (m *_OpcuaMessageRequestBuilder) WithMessageBuilder(builderSupplier func(PayloadBuilder) PayloadBuilder) OpcuaMessageRequestBuilder { - builder := builderSupplier(m.Message.CreatePayloadBuilder()) - var err error - m.Message, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "PayloadBuilder failed")) - } - return m -} - func (m *_OpcuaMessageRequestBuilder) Build() (OpcuaMessageRequest, error) { if m.SecurityHeader == nil { if m.err == nil { diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaMessageResponse.go b/plc4go/protocols/opcua/readwrite/model/OpcuaMessageResponse.go index a547538685..defee0c2d3 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaMessageResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaMessageResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -94,8 +96,6 @@ type OpcuaMessageResponseBuilder interface { WithSecurityHeaderBuilder(func(SecurityHeaderBuilder) SecurityHeaderBuilder) OpcuaMessageResponseBuilder // WithMessage adds Message (property field) WithMessage(Payload) OpcuaMessageResponseBuilder - // WithMessageBuilder adds Message (property field) which is build by the builder - WithMessageBuilder(func(PayloadBuilder) PayloadBuilder) OpcuaMessageResponseBuilder // Build builds the OpcuaMessageResponse or returns an error if something is wrong Build() (OpcuaMessageResponse, error) // MustBuild does the same as Build but panics on error @@ -142,19 +142,6 @@ func (m *_OpcuaMessageResponseBuilder) WithMessage(message Payload) OpcuaMessage return m } -func (m *_OpcuaMessageResponseBuilder) WithMessageBuilder(builderSupplier func(PayloadBuilder) PayloadBuilder) OpcuaMessageResponseBuilder { - builder := builderSupplier(m.Message.CreatePayloadBuilder()) - var err error - m.Message, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "PayloadBuilder failed")) - } - return m -} - func (m *_OpcuaMessageResponseBuilder) Build() (OpcuaMessageResponse, error) { if m.SecurityHeader == nil { if m.err == nil { diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesDataType.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesDataType.go index f84c072110..57f65f8869 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesDataType.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesMethod.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesMethod.go index 4bfe37d9e5..3ecbce544b 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesMethod.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesMethod.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesObject.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesObject.go index 7640e1ad22..c742814402 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesObject.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesObject.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesObjectType.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesObjectType.go index bf2280a148..00b1bb1b32 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesObjectType.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesObjectType.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesReferenceType.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesReferenceType.go index decbe37175..787da0c53a 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesReferenceType.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesReferenceType.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableAccess.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableAccess.go index 2a92125099..e67929c911 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableAccess.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableAccess.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableAcknowledgeable.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableAcknowledgeable.go index fb6c1246e2..fab9435eb6 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableAcknowledgeable.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableAcknowledgeable.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableAdd.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableAdd.go index 5046a43081..518ae9064f 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableAdd.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableAdd.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableAggregate.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableAggregate.go index f82bb9ed30..bba8b7c9b8 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableAggregate.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableAggregate.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableAlarm.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableAlarm.go index 71600fde08..080338756d 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableAlarm.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableAlarm.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableAlias.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableAlias.go index 833956bd08..ed91df0d5f 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableAlias.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableAlias.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableAliases.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableAliases.go index bf51f09cca..f73d7b1b25 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableAliases.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableAliases.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableAllow.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableAllow.go index 72ef1424ba..7558fc5e26 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableAllow.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableAllow.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableAlternative.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableAlternative.go index 355ededb4e..e96c8be39b 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableAlternative.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableAlternative.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableAnalog.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableAnalog.go index 9ddbcaa188..e00ffd3b29 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableAnalog.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableAnalog.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableAnnotations.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableAnnotations.go index bf1635eedb..035378de1e 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableAnnotations.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableAnnotations.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableApplication.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableApplication.go index 3d0aff88a5..33499432ba 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableApplication.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableApplication.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableArray.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableArray.go index d05feb3118..c59cc482b3 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableArray.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableArray.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableAttribute.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableAttribute.go index ab8fd2c74f..90b4d7ac99 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableAttribute.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableAttribute.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableAudio.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableAudio.go index ed3f01b963..f0aef8a011 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableAudio.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableAudio.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableAudit.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableAudit.go index 0cf22a6e83..8c3ab598df 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableAudit.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableAudit.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableAuthorization.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableAuthorization.go index 7805260585..bf4afde4d7 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableAuthorization.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableAuthorization.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableAxis.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableAxis.go index a9f2587df0..0dc58655f7 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableAxis.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableAxis.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableBase.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableBase.go index b6a0c026ed..5ff1640f97 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableBase.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableBase.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableBit.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableBit.go index 8988f641a8..678d6ecb19 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableBit.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableBit.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableBroker.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableBroker.go index 185e58dffc..6f1afb3970 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableBroker.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableBroker.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableBrowse.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableBrowse.go index 69925c19bf..8834dc167c 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableBrowse.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableBrowse.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableBuild.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableBuild.go index 26d1de043c..e83ad6a069 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableBuild.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableBuild.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableCartesian.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableCartesian.go index a08974e747..bd7077750e 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableCartesian.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableCartesian.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableCertificate.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableCertificate.go index da924733bd..986da921fe 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableCertificate.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableCertificate.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableChange.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableChange.go index 45be5b2550..6e26a5b5d5 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableChange.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableChange.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableClose.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableClose.go index 2d37a2f615..d1222fc49f 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableClose.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableClose.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableCondition.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableCondition.go index fdf704079a..2e85aeecba 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableCondition.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableCondition.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableConnect.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableConnect.go index 47800b4210..c621868bc8 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableConnect.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableConnect.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableConversion.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableConversion.go index 3ad6fd9bb5..57911e9e3d 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableConversion.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableConversion.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableCreate.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableCreate.go index fdab192b3f..053a7db9c1 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableCreate.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableCreate.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableCube.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableCube.go index aeff4ee8bd..da3125e362 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableCube.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableCube.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableCurrency.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableCurrency.go index 24067e1f92..8a72b44d39 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableCurrency.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableCurrency.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableData.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableData.go index 166375cb04..1b21c2d6de 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableData.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableData.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableDatagram.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableDatagram.go index da099b177c..2598fe228f 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableDatagram.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableDatagram.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableDeadband.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableDeadband.go index 53db42cb42..835c6d1ba6 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableDeadband.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableDeadband.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableDefault.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableDefault.go index bd1181e34d..5125958a31 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableDefault.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableDefault.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableDelete.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableDelete.go index cbb45b898b..65b166b646 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableDelete.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableDelete.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableDiagnostics.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableDiagnostics.go index 7f9b90c635..76b5eb6e37 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableDiagnostics.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableDiagnostics.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableDialog.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableDialog.go index 53a36d8929..289f8b8089 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableDialog.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableDialog.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableDisconnect.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableDisconnect.go index ebe0dabcfd..dd5479db46 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableDisconnect.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableDisconnect.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableDiscrepancy.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableDiscrepancy.go index cad8195423..dd1532a90e 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableDiscrepancy.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableDiscrepancy.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableDuplex.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableDuplex.go index b68d32cb3e..9045f5d626 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableDuplex.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableDuplex.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableEngineering.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableEngineering.go index cc7aea9da5..016d90842d 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableEngineering.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableEngineering.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableEnum.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableEnum.go index 02f4c199b8..b2d6792063 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableEnum.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableEnum.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableEvent.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableEvent.go index 36498c2285..376142df52 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableEvent.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableEvent.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableException.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableException.go index 428ad6965f..c4ef263a8a 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableException.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableException.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableExclusive.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableExclusive.go index 4936b23fad..8e3822e60b 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableExclusive.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableExclusive.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableExpression.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableExpression.go index 7b41f57945..67ff4e75a9 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableExpression.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableExpression.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableExtension.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableExtension.go index 74c36a528c..ea55133143 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableExtension.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableExtension.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableFile.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableFile.go index 8d0bd9c5c4..21f6b61dbd 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableFile.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableFile.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableFilter.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableFilter.go index 74166ada32..40b5924542 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableFilter.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableFilter.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableFind.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableFind.go index 60ca3e4a6b..9bbdc721b1 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableFind.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableFind.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableFinite.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableFinite.go index e7a19b59db..4bc99eee7c 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableFinite.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableFinite.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableFrame.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableFrame.go index f7d4be9826..0b2bc5fc37 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableFrame.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableFrame.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableGeneral.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableGeneral.go index 1e0f931b6f..c8f12cc3ea 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableGeneral.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableGeneral.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableGenerate.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableGenerate.go index b8e994b272..195e870f68 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableGenerate.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableGenerate.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableGet.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableGet.go index e6d039db08..761cc79333 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableGet.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableGet.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableH.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableH.go index 5ba5669984..62b819dc4a 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableH.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableH.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableHistorical.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableHistorical.go index b5c2a32cb6..649f67ae06 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableHistorical.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableHistorical.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableHistory.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableHistory.go index cc24468ec9..e49556c543 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableHistory.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableHistory.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableI.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableI.go index a8eb80aba1..b7a24c5c06 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableI.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableI.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableIcon.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableIcon.go index a9e8b5062f..24e4f9d3fa 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableIcon.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableIcon.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableId.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableId.go index 2a5cbf746b..dd2f3eecb2 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableId.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableId.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableIdentity.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableIdentity.go index ddf8d3bb88..003d350a07 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableIdentity.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableIdentity.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableIetf.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableIetf.go index 7c1cfb937d..3333149b07 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableIetf.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableIetf.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableImage.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableImage.go index 251c699ae0..6e84276982 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableImage.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableImage.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableInput.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableInput.go index 14c4abb717..382d40615b 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableInput.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableInput.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableInterface.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableInterface.go index f288edc5f0..4f4f94fd55 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableInterface.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableInterface.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableJson.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableJson.go index c7866959ad..0beba6bb14 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableJson.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableJson.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableKey.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableKey.go index b996ad4428..94345e3e4f 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableKey.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableKey.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableLimit.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableLimit.go index c7228cad4c..dfc205c3c5 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableLimit.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableLimit.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableLocal.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableLocal.go index db5a64052b..659a833402 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableLocal.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableLocal.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableMax.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableMax.go index 3d0560c439..948713c396 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableMax.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableMax.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableMessage.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableMessage.go index 385b1a4f99..636783c246 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableMessage.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableMessage.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableModel.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableModel.go index c3cf8d6ec1..6e222cb4ce 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableModel.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableModel.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableModify.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableModify.go index e7312ba726..4cbf02ef8e 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableModify.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableModify.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableMonitoring.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableMonitoring.go index 33e7bfca08..8f7e19496a 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableMonitoring.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableMonitoring.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableMove.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableMove.go index 03a8839d8f..8ac3543963 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableMove.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableMove.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableMulti.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableMulti.go index 28af93f3a2..ea5dbc3d48 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableMulti.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableMulti.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableN.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableN.go index e9247ac653..2eca1892d8 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableN.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableN.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableNamespace.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableNamespace.go index f778b8fff1..1e5bda44e2 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableNamespace.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableNamespace.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableNamespaces.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableNamespaces.go index a9376429b6..9f160fa2c4 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableNamespaces.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableNamespaces.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableNaming.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableNaming.go index 83c269ab25..4efeabb160 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableNaming.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableNaming.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableNegotiation.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableNegotiation.go index 7147911563..c5591fece4 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableNegotiation.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableNegotiation.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableNetwork.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableNetwork.go index fed42d2c8a..982276f1d7 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableNetwork.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableNetwork.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableNode.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableNode.go index 3ecf386893..2455bf19ee 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableNode.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableNode.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableNon.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableNon.go index 22f6d156d2..538e0d1ed5 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableNon.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableNon.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableO.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableO.go index 5b23c749bf..e0e5316361 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableO.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableO.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableOff.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableOff.go index dbc54b2361..a5f1c3101a 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableOff.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableOff.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableOpc.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableOpc.go index e2555df873..4c53a0a35c 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableOpc.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableOpc.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableOpen.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableOpen.go index 262a2085ce..dc0fbc0e3f 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableOpen.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableOpen.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableOperation.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableOperation.go index 6cc227b6c2..057144ad4e 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableOperation.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableOperation.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableOption.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableOption.go index 1b0e54ddb6..3f2d923675 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableOption.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableOption.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableOrdered.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableOrdered.go index 4620d22bf7..fceb5a544e 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableOrdered.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableOrdered.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableOrientation.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableOrientation.go index 5b9b0223ff..7fa57e8b07 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableOrientation.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableOrientation.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableOutput.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableOutput.go index d0c0df3238..4217b4dd66 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableOutput.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableOutput.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableOverride.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableOverride.go index a7364db16e..f38feab8a2 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableOverride.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableOverride.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariablePassword.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariablePassword.go index e9ca49ad99..fe3ee11850 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariablePassword.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariablePassword.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariablePerform.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariablePerform.go index 7563ba50b4..0c1081f7de 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariablePerform.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariablePerform.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariablePermission.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariablePermission.go index a9aa52ff68..2f7b72ae84 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariablePermission.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariablePermission.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariablePriority.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariablePriority.go index c44fc7d6f7..3a1e051b32 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariablePriority.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariablePriority.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableProgram.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableProgram.go index 55b65fdf90..c72d5f65cc 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableProgram.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableProgram.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableProgress.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableProgress.go index 042445a7c7..74d14970b6 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableProgress.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableProgress.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableProvisionable.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableProvisionable.go index ad100b4ead..5873de7a06 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableProvisionable.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableProvisionable.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariablePub.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariablePub.go index 09fdae7ce0..07a3a54cd6 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariablePub.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariablePub.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariablePublish.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariablePublish.go index 4263632095..c79691eccf 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariablePublish.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariablePublish.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariablePublished.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariablePublished.go index 4ef31e1c70..0642547772 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariablePublished.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariablePublished.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableQuantities.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableQuantities.go index 7c99f79037..44fcb826bf 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableQuantities.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableQuantities.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableQuantity.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableQuantity.go index 5ac4771eff..82e314e474 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableQuantity.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableQuantity.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableRational.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableRational.go index cd3c0396d3..c78a27b901 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableRational.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableRational.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableRead.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableRead.go index 215b28e4e3..a97ad65aba 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableRead.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableRead.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableReader.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableReader.go index e3a8bbb496..a2edfdd51f 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableReader.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableReader.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableRedundancy.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableRedundancy.go index 6e5d4311fc..7d823d7647 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableRedundancy.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableRedundancy.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableRedundant.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableRedundant.go index c99f6b4011..11de5a113b 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableRedundant.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableRedundant.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableReference.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableReference.go index ec7713360b..b424ea73dd 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableReference.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableReference.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableRemove.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableRemove.go index e4f76c6d9e..4dacfb6fc4 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableRemove.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableRemove.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableRequest.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableRequest.go index d92df995d7..829c1d3afa 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableRequest.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableResend.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableResend.go index 358fe87599..1e0426f6e6 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableResend.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableResend.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableRole.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableRole.go index 5949540e62..1a6ba6ea7d 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableRole.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableRole.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableSampling.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableSampling.go index 060de77552..690b55be57 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableSampling.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableSampling.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableSecurity.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableSecurity.go index 5bd50e5442..6817eabd69 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableSecurity.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableSecurity.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableSelection.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableSelection.go index 8bee22236b..c3d7b20ea4 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableSelection.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableSelection.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableSemantic.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableSemantic.go index a5b6ff88e8..082b8640a4 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableSemantic.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableSemantic.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableServer.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableServer.go index 8a70954436..03da26ed63 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableServer.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableServer.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableSession.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableSession.go index 126e9153c7..a426056cd8 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableSession.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableSession.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableSessions.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableSessions.go index 93d15effc7..58e2c15ba5 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableSessions.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableSessions.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableSet.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableSet.go index ec21c991ab..fd13865691 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableSet.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableSet.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableShelved.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableShelved.go index c6c7fef1eb..467e7ab2bd 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableShelved.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableShelved.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableStandalone.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableStandalone.go index 91684c0c9d..53f6d8ab24 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableStandalone.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableStandalone.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableState.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableState.go index 8907e43e27..f2d7d2aed8 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableState.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableState.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableStructure.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableStructure.go index 46ffd0aa8a..67d46d2b23 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableStructure.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableStructure.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableSubscribed.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableSubscribed.go index ca5b45508a..2acd0d234c 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableSubscribed.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableSubscribed.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableSubscription.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableSubscription.go index 93dcebe4fe..ae783c614d 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableSubscription.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableSubscription.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableSyntax.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableSyntax.go index 624622f151..bed8ba5ab8 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableSyntax.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableSyntax.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableSystem.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableSystem.go index cd3d42c8f5..64dbfa5632 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableSystem.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableSystem.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableTag.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableTag.go index 69e9ddab63..eb915687b0 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableTag.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableTag.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableTarget.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableTarget.go index 4ebcaaaeaa..b02d0ba317 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableTarget.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableTarget.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableTemporary.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableTemporary.go index 9d38c42940..144a1e2838 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableTemporary.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableTemporary.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableThree.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableThree.go index a578e890bd..f0a8ee3f68 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableThree.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableThree.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableTimed.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableTimed.go index 371046ff1b..00c5c0410e 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableTimed.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableTimed.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableTimestamps.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableTimestamps.go index 7141604670..25c265cc6b 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableTimestamps.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableTimestamps.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableTopics.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableTopics.go index 5dcbca5714..552201a28f 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableTopics.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableTopics.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableTransaction.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableTransaction.go index cb8b228433..2b8fe5561d 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableTransaction.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableTransaction.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableTransition.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableTransition.go index 8b95309cc7..7bba82b376 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableTransition.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableTransition.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableTransparent.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableTransparent.go index 0d576323c0..dd91692ca1 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableTransparent.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableTransparent.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableTrust.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableTrust.go index 2f8f72c3c2..85febc6613 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableTrust.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableTrust.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableTsn.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableTsn.go index a076c37e68..23c59192e8 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableTsn.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableTsn.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableTwo.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableTwo.go index 060cbba988..59e266e0ac 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableTwo.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableTwo.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableType.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableType.go index de66df7756..3b5737fe64 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableType.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableType.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableUadp.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableUadp.go index 58bd3738fa..e696b6f6b1 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableUadp.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableUadp.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableUnit.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableUnit.go index d83a617ca8..4b9d31d3a3 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableUnit.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableUnit.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableUpdate.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableUpdate.go index 7e4929d163..8af8bbc60d 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableUpdate.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableUpdate.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableUser.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableUser.go index 10c7cfe6b5..0081df08f0 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableUser.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableUser.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableValue.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableValue.go index df5fbbfbf5..db111ad6a4 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableValue.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableValue.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableVector.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableVector.go index 53daa86d4f..a509c43059 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableVector.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableVector.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableView.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableView.go index 1b6fdf5681..0fde26bac4 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableView.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableView.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableWell.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableWell.go index 2a57f6eb12..4b4099aabc 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableWell.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableWell.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableWith.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableWith.go index 688009649c..ca1046e827 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableWith.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableWith.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableWrite.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableWrite.go index e548b0b8d9..d7435516fb 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableWrite.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableWrite.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableWriter.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableWriter.go index a14d2aa61e..633fc595a1 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableWriter.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableWriter.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableX.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableX.go index ee20cd480c..811bc742e6 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableX.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableX.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableY.go b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableY.go index 9fec876d36..acdac72e98 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableY.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaNodeIdServicesVariableY.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaOpenRequest.go b/plc4go/protocols/opcua/readwrite/model/OpcuaOpenRequest.go index fe9493a336..9424deebaf 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaOpenRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaOpenRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -90,12 +92,8 @@ type OpcuaOpenRequestBuilder interface { WithMandatoryFields(openRequest OpenChannelMessage, message Payload) OpcuaOpenRequestBuilder // WithOpenRequest adds OpenRequest (property field) WithOpenRequest(OpenChannelMessage) OpcuaOpenRequestBuilder - // WithOpenRequestBuilder adds OpenRequest (property field) which is build by the builder - WithOpenRequestBuilder(func(OpenChannelMessageBuilder) OpenChannelMessageBuilder) OpcuaOpenRequestBuilder // WithMessage adds Message (property field) WithMessage(Payload) OpcuaOpenRequestBuilder - // WithMessageBuilder adds Message (property field) which is build by the builder - WithMessageBuilder(func(PayloadBuilder) PayloadBuilder) OpcuaOpenRequestBuilder // Build builds the OpcuaOpenRequest or returns an error if something is wrong Build() (OpcuaOpenRequest, error) // MustBuild does the same as Build but panics on error @@ -124,37 +122,11 @@ func (m *_OpcuaOpenRequestBuilder) WithOpenRequest(openRequest OpenChannelMessag return m } -func (m *_OpcuaOpenRequestBuilder) WithOpenRequestBuilder(builderSupplier func(OpenChannelMessageBuilder) OpenChannelMessageBuilder) OpcuaOpenRequestBuilder { - builder := builderSupplier(m.OpenRequest.CreateOpenChannelMessageBuilder()) - var err error - m.OpenRequest, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "OpenChannelMessageBuilder failed")) - } - return m -} - func (m *_OpcuaOpenRequestBuilder) WithMessage(message Payload) OpcuaOpenRequestBuilder { m.Message = message return m } -func (m *_OpcuaOpenRequestBuilder) WithMessageBuilder(builderSupplier func(PayloadBuilder) PayloadBuilder) OpcuaOpenRequestBuilder { - builder := builderSupplier(m.Message.CreatePayloadBuilder()) - var err error - m.Message, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "PayloadBuilder failed")) - } - return m -} - func (m *_OpcuaOpenRequestBuilder) Build() (OpcuaOpenRequest, error) { if m.OpenRequest == nil { if m.err == nil { diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaOpenResponse.go b/plc4go/protocols/opcua/readwrite/model/OpcuaOpenResponse.go index 542fc134e0..d2cdb74768 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaOpenResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaOpenResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -90,12 +92,8 @@ type OpcuaOpenResponseBuilder interface { WithMandatoryFields(openResponse OpenChannelMessage, message Payload) OpcuaOpenResponseBuilder // WithOpenResponse adds OpenResponse (property field) WithOpenResponse(OpenChannelMessage) OpcuaOpenResponseBuilder - // WithOpenResponseBuilder adds OpenResponse (property field) which is build by the builder - WithOpenResponseBuilder(func(OpenChannelMessageBuilder) OpenChannelMessageBuilder) OpcuaOpenResponseBuilder // WithMessage adds Message (property field) WithMessage(Payload) OpcuaOpenResponseBuilder - // WithMessageBuilder adds Message (property field) which is build by the builder - WithMessageBuilder(func(PayloadBuilder) PayloadBuilder) OpcuaOpenResponseBuilder // Build builds the OpcuaOpenResponse or returns an error if something is wrong Build() (OpcuaOpenResponse, error) // MustBuild does the same as Build but panics on error @@ -124,37 +122,11 @@ func (m *_OpcuaOpenResponseBuilder) WithOpenResponse(openResponse OpenChannelMes return m } -func (m *_OpcuaOpenResponseBuilder) WithOpenResponseBuilder(builderSupplier func(OpenChannelMessageBuilder) OpenChannelMessageBuilder) OpcuaOpenResponseBuilder { - builder := builderSupplier(m.OpenResponse.CreateOpenChannelMessageBuilder()) - var err error - m.OpenResponse, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "OpenChannelMessageBuilder failed")) - } - return m -} - func (m *_OpcuaOpenResponseBuilder) WithMessage(message Payload) OpcuaOpenResponseBuilder { m.Message = message return m } -func (m *_OpcuaOpenResponseBuilder) WithMessageBuilder(builderSupplier func(PayloadBuilder) PayloadBuilder) OpcuaOpenResponseBuilder { - builder := builderSupplier(m.Message.CreatePayloadBuilder()) - var err error - m.Message, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "PayloadBuilder failed")) - } - return m -} - func (m *_OpcuaOpenResponseBuilder) Build() (OpcuaOpenResponse, error) { if m.OpenResponse == nil { if m.err == nil { diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaProtocolLimits.go b/plc4go/protocols/opcua/readwrite/model/OpcuaProtocolLimits.go index 129bcc2b73..62f008c227 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaProtocolLimits.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaProtocolLimits.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaStatusCode.go b/plc4go/protocols/opcua/readwrite/model/OpcuaStatusCode.go index 0538cd2be0..d0f870abb9 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaStatusCode.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaStatusCode.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaVector.go b/plc4go/protocols/opcua/readwrite/model/OpcuaVector.go index 07fa67535b..5d1c31b3bd 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaVector.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaVector.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpenChannelMessage.go b/plc4go/protocols/opcua/readwrite/model/OpenChannelMessage.go index 75726f2371..7452d878db 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpenChannelMessage.go +++ b/plc4go/protocols/opcua/readwrite/model/OpenChannelMessage.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpenChannelMessageRequest.go b/plc4go/protocols/opcua/readwrite/model/OpenChannelMessageRequest.go index b24878cb42..49d1f9ebaf 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpenChannelMessageRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/OpenChannelMessageRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpenChannelMessageResponse.go b/plc4go/protocols/opcua/readwrite/model/OpenChannelMessageResponse.go index f62e19df1a..438987426f 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpenChannelMessageResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/OpenChannelMessageResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpenFileMode.go b/plc4go/protocols/opcua/readwrite/model/OpenFileMode.go index 7789ae2ac0..7754d7cc12 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpenFileMode.go +++ b/plc4go/protocols/opcua/readwrite/model/OpenFileMode.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OpenSecureChannelRequest.go b/plc4go/protocols/opcua/readwrite/model/OpenSecureChannelRequest.go index 5d12e6497f..5e309c0a44 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpenSecureChannelRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/OpenSecureChannelRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -103,8 +105,6 @@ type OpenSecureChannelRequestBuilder interface { WithMandatoryFields(requestHeader ExtensionObjectDefinition, clientProtocolVersion uint32, requestType SecurityTokenRequestType, securityMode MessageSecurityMode, clientNonce PascalByteString, requestedLifetime uint32) OpenSecureChannelRequestBuilder // WithRequestHeader adds RequestHeader (property field) WithRequestHeader(ExtensionObjectDefinition) OpenSecureChannelRequestBuilder - // WithRequestHeaderBuilder adds RequestHeader (property field) which is build by the builder - WithRequestHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) OpenSecureChannelRequestBuilder // WithClientProtocolVersion adds ClientProtocolVersion (property field) WithClientProtocolVersion(uint32) OpenSecureChannelRequestBuilder // WithRequestType adds RequestType (property field) @@ -145,19 +145,6 @@ func (m *_OpenSecureChannelRequestBuilder) WithRequestHeader(requestHeader Exten return m } -func (m *_OpenSecureChannelRequestBuilder) WithRequestHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) OpenSecureChannelRequestBuilder { - builder := builderSupplier(m.RequestHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.RequestHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_OpenSecureChannelRequestBuilder) WithClientProtocolVersion(clientProtocolVersion uint32) OpenSecureChannelRequestBuilder { m.ClientProtocolVersion = clientProtocolVersion return m diff --git a/plc4go/protocols/opcua/readwrite/model/OpenSecureChannelResponse.go b/plc4go/protocols/opcua/readwrite/model/OpenSecureChannelResponse.go index 378c0f3c88..2e47160d93 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpenSecureChannelResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/OpenSecureChannelResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -98,14 +100,10 @@ type OpenSecureChannelResponseBuilder interface { WithMandatoryFields(responseHeader ExtensionObjectDefinition, serverProtocolVersion uint32, securityToken ExtensionObjectDefinition, serverNonce PascalByteString) OpenSecureChannelResponseBuilder // WithResponseHeader adds ResponseHeader (property field) WithResponseHeader(ExtensionObjectDefinition) OpenSecureChannelResponseBuilder - // WithResponseHeaderBuilder adds ResponseHeader (property field) which is build by the builder - WithResponseHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) OpenSecureChannelResponseBuilder // WithServerProtocolVersion adds ServerProtocolVersion (property field) WithServerProtocolVersion(uint32) OpenSecureChannelResponseBuilder // WithSecurityToken adds SecurityToken (property field) WithSecurityToken(ExtensionObjectDefinition) OpenSecureChannelResponseBuilder - // WithSecurityTokenBuilder adds SecurityToken (property field) which is build by the builder - WithSecurityTokenBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) OpenSecureChannelResponseBuilder // WithServerNonce adds ServerNonce (property field) WithServerNonce(PascalByteString) OpenSecureChannelResponseBuilder // WithServerNonceBuilder adds ServerNonce (property field) which is build by the builder @@ -138,19 +136,6 @@ func (m *_OpenSecureChannelResponseBuilder) WithResponseHeader(responseHeader Ex return m } -func (m *_OpenSecureChannelResponseBuilder) WithResponseHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) OpenSecureChannelResponseBuilder { - builder := builderSupplier(m.ResponseHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.ResponseHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_OpenSecureChannelResponseBuilder) WithServerProtocolVersion(serverProtocolVersion uint32) OpenSecureChannelResponseBuilder { m.ServerProtocolVersion = serverProtocolVersion return m @@ -161,19 +146,6 @@ func (m *_OpenSecureChannelResponseBuilder) WithSecurityToken(securityToken Exte return m } -func (m *_OpenSecureChannelResponseBuilder) WithSecurityTokenBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) OpenSecureChannelResponseBuilder { - builder := builderSupplier(m.SecurityToken.CreateExtensionObjectDefinitionBuilder()) - var err error - m.SecurityToken, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_OpenSecureChannelResponseBuilder) WithServerNonce(serverNonce PascalByteString) OpenSecureChannelResponseBuilder { m.ServerNonce = serverNonce return m diff --git a/plc4go/protocols/opcua/readwrite/model/OptionSet.go b/plc4go/protocols/opcua/readwrite/model/OptionSet.go index 9fb79b1cb0..8fcad422ec 100644 --- a/plc4go/protocols/opcua/readwrite/model/OptionSet.go +++ b/plc4go/protocols/opcua/readwrite/model/OptionSet.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/Orientation.go b/plc4go/protocols/opcua/readwrite/model/Orientation.go index bebfef0cad..a9b61f3e24 100644 --- a/plc4go/protocols/opcua/readwrite/model/Orientation.go +++ b/plc4go/protocols/opcua/readwrite/model/Orientation.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/OverrideValueHandling.go b/plc4go/protocols/opcua/readwrite/model/OverrideValueHandling.go index 980bcb8fbb..d57a598074 100644 --- a/plc4go/protocols/opcua/readwrite/model/OverrideValueHandling.go +++ b/plc4go/protocols/opcua/readwrite/model/OverrideValueHandling.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/ParsingResult.go b/plc4go/protocols/opcua/readwrite/model/ParsingResult.go index 8ddf261979..ee46889f72 100644 --- a/plc4go/protocols/opcua/readwrite/model/ParsingResult.go +++ b/plc4go/protocols/opcua/readwrite/model/ParsingResult.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/PascalByteString.go b/plc4go/protocols/opcua/readwrite/model/PascalByteString.go index f72acf760b..f386609ace 100644 --- a/plc4go/protocols/opcua/readwrite/model/PascalByteString.go +++ b/plc4go/protocols/opcua/readwrite/model/PascalByteString.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/PascalString.go b/plc4go/protocols/opcua/readwrite/model/PascalString.go index 1de7ff4f11..f584b7a061 100644 --- a/plc4go/protocols/opcua/readwrite/model/PascalString.go +++ b/plc4go/protocols/opcua/readwrite/model/PascalString.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/PasswordOptionsMask.go b/plc4go/protocols/opcua/readwrite/model/PasswordOptionsMask.go index a7627565c2..e22f6345dd 100644 --- a/plc4go/protocols/opcua/readwrite/model/PasswordOptionsMask.go +++ b/plc4go/protocols/opcua/readwrite/model/PasswordOptionsMask.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/Payload.go b/plc4go/protocols/opcua/readwrite/model/Payload.go index 164f53e468..230b17013f 100644 --- a/plc4go/protocols/opcua/readwrite/model/Payload.go +++ b/plc4go/protocols/opcua/readwrite/model/Payload.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/PerformUpdateType.go b/plc4go/protocols/opcua/readwrite/model/PerformUpdateType.go index 6f61d28a24..1d520e70bb 100644 --- a/plc4go/protocols/opcua/readwrite/model/PerformUpdateType.go +++ b/plc4go/protocols/opcua/readwrite/model/PerformUpdateType.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/PermissionType.go b/plc4go/protocols/opcua/readwrite/model/PermissionType.go index dfda16a13e..315fac6a43 100644 --- a/plc4go/protocols/opcua/readwrite/model/PermissionType.go +++ b/plc4go/protocols/opcua/readwrite/model/PermissionType.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/PortableQualifiedName.go b/plc4go/protocols/opcua/readwrite/model/PortableQualifiedName.go index 4e4f2e5a2b..6c2a730ebe 100644 --- a/plc4go/protocols/opcua/readwrite/model/PortableQualifiedName.go +++ b/plc4go/protocols/opcua/readwrite/model/PortableQualifiedName.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/PriorityMappingEntryType.go b/plc4go/protocols/opcua/readwrite/model/PriorityMappingEntryType.go index f0bbb10af3..720244b19e 100644 --- a/plc4go/protocols/opcua/readwrite/model/PriorityMappingEntryType.go +++ b/plc4go/protocols/opcua/readwrite/model/PriorityMappingEntryType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/ProgramDiagnostic2DataType.go b/plc4go/protocols/opcua/readwrite/model/ProgramDiagnostic2DataType.go index 74c6c2b0b8..ffede80247 100644 --- a/plc4go/protocols/opcua/readwrite/model/ProgramDiagnostic2DataType.go +++ b/plc4go/protocols/opcua/readwrite/model/ProgramDiagnostic2DataType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/ProgramDiagnosticDataType.go b/plc4go/protocols/opcua/readwrite/model/ProgramDiagnosticDataType.go index 9755d38586..5390bd2969 100644 --- a/plc4go/protocols/opcua/readwrite/model/ProgramDiagnosticDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/ProgramDiagnosticDataType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -166,8 +168,6 @@ type ProgramDiagnosticDataTypeBuilder interface { WithLastMethodCallTime(int64) ProgramDiagnosticDataTypeBuilder // WithLastMethodReturnStatus adds LastMethodReturnStatus (property field) WithLastMethodReturnStatus(ExtensionObjectDefinition) ProgramDiagnosticDataTypeBuilder - // WithLastMethodReturnStatusBuilder adds LastMethodReturnStatus (property field) which is build by the builder - WithLastMethodReturnStatusBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) ProgramDiagnosticDataTypeBuilder // Build builds the ProgramDiagnosticDataType or returns an error if something is wrong Build() (ProgramDiagnosticDataType, error) // MustBuild does the same as Build but panics on error @@ -303,19 +303,6 @@ func (m *_ProgramDiagnosticDataTypeBuilder) WithLastMethodReturnStatus(lastMetho return m } -func (m *_ProgramDiagnosticDataTypeBuilder) WithLastMethodReturnStatusBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) ProgramDiagnosticDataTypeBuilder { - builder := builderSupplier(m.LastMethodReturnStatus.CreateExtensionObjectDefinitionBuilder()) - var err error - m.LastMethodReturnStatus, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_ProgramDiagnosticDataTypeBuilder) Build() (ProgramDiagnosticDataType, error) { if m.CreateSessionId == nil { if m.err == nil { diff --git a/plc4go/protocols/opcua/readwrite/model/PubSubConfigurationDataType.go b/plc4go/protocols/opcua/readwrite/model/PubSubConfigurationDataType.go index 9a2f7b023b..99132f5ff6 100644 --- a/plc4go/protocols/opcua/readwrite/model/PubSubConfigurationDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/PubSubConfigurationDataType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/PubSubConfigurationRefDataType.go b/plc4go/protocols/opcua/readwrite/model/PubSubConfigurationRefDataType.go index 6b56217255..07e66d0d9c 100644 --- a/plc4go/protocols/opcua/readwrite/model/PubSubConfigurationRefDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/PubSubConfigurationRefDataType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/PubSubConfigurationRefMask.go b/plc4go/protocols/opcua/readwrite/model/PubSubConfigurationRefMask.go index e17ad6eccc..dbc2300edc 100644 --- a/plc4go/protocols/opcua/readwrite/model/PubSubConfigurationRefMask.go +++ b/plc4go/protocols/opcua/readwrite/model/PubSubConfigurationRefMask.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/PubSubConnectionDataType.go b/plc4go/protocols/opcua/readwrite/model/PubSubConnectionDataType.go index 5c178d144b..8274997de8 100644 --- a/plc4go/protocols/opcua/readwrite/model/PubSubConnectionDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/PubSubConnectionDataType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -144,8 +146,6 @@ type PubSubConnectionDataTypeBuilder interface { WithEnabled(bool) PubSubConnectionDataTypeBuilder // WithPublisherId adds PublisherId (property field) WithPublisherId(Variant) PubSubConnectionDataTypeBuilder - // WithPublisherIdBuilder adds PublisherId (property field) which is build by the builder - WithPublisherIdBuilder(func(VariantBuilder) VariantBuilder) PubSubConnectionDataTypeBuilder // WithTransportProfileUri adds TransportProfileUri (property field) WithTransportProfileUri(PascalString) PubSubConnectionDataTypeBuilder // WithTransportProfileUriBuilder adds TransportProfileUri (property field) which is build by the builder @@ -221,19 +221,6 @@ func (m *_PubSubConnectionDataTypeBuilder) WithPublisherId(publisherId Variant) return m } -func (m *_PubSubConnectionDataTypeBuilder) WithPublisherIdBuilder(builderSupplier func(VariantBuilder) VariantBuilder) PubSubConnectionDataTypeBuilder { - builder := builderSupplier(m.PublisherId.CreateVariantBuilder()) - var err error - m.PublisherId, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "VariantBuilder failed")) - } - return m -} - func (m *_PubSubConnectionDataTypeBuilder) WithTransportProfileUri(transportProfileUri PascalString) PubSubConnectionDataTypeBuilder { m.TransportProfileUri = transportProfileUri return m diff --git a/plc4go/protocols/opcua/readwrite/model/PubSubDiagnosticsCounterClassification.go b/plc4go/protocols/opcua/readwrite/model/PubSubDiagnosticsCounterClassification.go index c6ff782fde..02bfbf2a48 100644 --- a/plc4go/protocols/opcua/readwrite/model/PubSubDiagnosticsCounterClassification.go +++ b/plc4go/protocols/opcua/readwrite/model/PubSubDiagnosticsCounterClassification.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/PubSubGroupDataType.go b/plc4go/protocols/opcua/readwrite/model/PubSubGroupDataType.go index f4d4294e22..d417879792 100644 --- a/plc4go/protocols/opcua/readwrite/model/PubSubGroupDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/PubSubGroupDataType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/PubSubKeyPushTargetDataType.go b/plc4go/protocols/opcua/readwrite/model/PubSubKeyPushTargetDataType.go index 5653f2f78e..4cc557f37f 100644 --- a/plc4go/protocols/opcua/readwrite/model/PubSubKeyPushTargetDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/PubSubKeyPushTargetDataType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -149,8 +151,6 @@ type PubSubKeyPushTargetDataTypeBuilder interface { WithSecurityPolicyUriBuilder(func(PascalStringBuilder) PascalStringBuilder) PubSubKeyPushTargetDataTypeBuilder // WithUserTokenType adds UserTokenType (property field) WithUserTokenType(ExtensionObjectDefinition) PubSubKeyPushTargetDataTypeBuilder - // WithUserTokenTypeBuilder adds UserTokenType (property field) which is build by the builder - WithUserTokenTypeBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) PubSubKeyPushTargetDataTypeBuilder // WithRequestedKeyCount adds RequestedKeyCount (property field) WithRequestedKeyCount(uint16) PubSubKeyPushTargetDataTypeBuilder // WithRetryInterval adds RetryInterval (property field) @@ -255,19 +255,6 @@ func (m *_PubSubKeyPushTargetDataTypeBuilder) WithUserTokenType(userTokenType Ex return m } -func (m *_PubSubKeyPushTargetDataTypeBuilder) WithUserTokenTypeBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) PubSubKeyPushTargetDataTypeBuilder { - builder := builderSupplier(m.UserTokenType.CreateExtensionObjectDefinitionBuilder()) - var err error - m.UserTokenType, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_PubSubKeyPushTargetDataTypeBuilder) WithRequestedKeyCount(requestedKeyCount uint16) PubSubKeyPushTargetDataTypeBuilder { m.RequestedKeyCount = requestedKeyCount return m diff --git a/plc4go/protocols/opcua/readwrite/model/PubSubState.go b/plc4go/protocols/opcua/readwrite/model/PubSubState.go index 46e833b064..26cef5051c 100644 --- a/plc4go/protocols/opcua/readwrite/model/PubSubState.go +++ b/plc4go/protocols/opcua/readwrite/model/PubSubState.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/PublishRequest.go b/plc4go/protocols/opcua/readwrite/model/PublishRequest.go index 7e79709bf9..a1827e8691 100644 --- a/plc4go/protocols/opcua/readwrite/model/PublishRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/PublishRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -88,8 +90,6 @@ type PublishRequestBuilder interface { WithMandatoryFields(requestHeader ExtensionObjectDefinition, noOfSubscriptionAcknowledgements int32, subscriptionAcknowledgements []ExtensionObjectDefinition) PublishRequestBuilder // WithRequestHeader adds RequestHeader (property field) WithRequestHeader(ExtensionObjectDefinition) PublishRequestBuilder - // WithRequestHeaderBuilder adds RequestHeader (property field) which is build by the builder - WithRequestHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) PublishRequestBuilder // WithNoOfSubscriptionAcknowledgements adds NoOfSubscriptionAcknowledgements (property field) WithNoOfSubscriptionAcknowledgements(int32) PublishRequestBuilder // WithSubscriptionAcknowledgements adds SubscriptionAcknowledgements (property field) @@ -122,19 +122,6 @@ func (m *_PublishRequestBuilder) WithRequestHeader(requestHeader ExtensionObject return m } -func (m *_PublishRequestBuilder) WithRequestHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) PublishRequestBuilder { - builder := builderSupplier(m.RequestHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.RequestHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_PublishRequestBuilder) WithNoOfSubscriptionAcknowledgements(noOfSubscriptionAcknowledgements int32) PublishRequestBuilder { m.NoOfSubscriptionAcknowledgements = noOfSubscriptionAcknowledgements return m diff --git a/plc4go/protocols/opcua/readwrite/model/PublishResponse.go b/plc4go/protocols/opcua/readwrite/model/PublishResponse.go index 78b8fd5438..9557ce9e4b 100644 --- a/plc4go/protocols/opcua/readwrite/model/PublishResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/PublishResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -121,8 +123,6 @@ type PublishResponseBuilder interface { WithMandatoryFields(responseHeader ExtensionObjectDefinition, subscriptionId uint32, noOfAvailableSequenceNumbers int32, availableSequenceNumbers []uint32, moreNotifications bool, notificationMessage ExtensionObjectDefinition, noOfResults int32, results []StatusCode, noOfDiagnosticInfos int32, diagnosticInfos []DiagnosticInfo) PublishResponseBuilder // WithResponseHeader adds ResponseHeader (property field) WithResponseHeader(ExtensionObjectDefinition) PublishResponseBuilder - // WithResponseHeaderBuilder adds ResponseHeader (property field) which is build by the builder - WithResponseHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) PublishResponseBuilder // WithSubscriptionId adds SubscriptionId (property field) WithSubscriptionId(uint32) PublishResponseBuilder // WithNoOfAvailableSequenceNumbers adds NoOfAvailableSequenceNumbers (property field) @@ -133,8 +133,6 @@ type PublishResponseBuilder interface { WithMoreNotifications(bool) PublishResponseBuilder // WithNotificationMessage adds NotificationMessage (property field) WithNotificationMessage(ExtensionObjectDefinition) PublishResponseBuilder - // WithNotificationMessageBuilder adds NotificationMessage (property field) which is build by the builder - WithNotificationMessageBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) PublishResponseBuilder // WithNoOfResults adds NoOfResults (property field) WithNoOfResults(int32) PublishResponseBuilder // WithResults adds Results (property field) @@ -171,19 +169,6 @@ func (m *_PublishResponseBuilder) WithResponseHeader(responseHeader ExtensionObj return m } -func (m *_PublishResponseBuilder) WithResponseHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) PublishResponseBuilder { - builder := builderSupplier(m.ResponseHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.ResponseHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_PublishResponseBuilder) WithSubscriptionId(subscriptionId uint32) PublishResponseBuilder { m.SubscriptionId = subscriptionId return m @@ -209,19 +194,6 @@ func (m *_PublishResponseBuilder) WithNotificationMessage(notificationMessage Ex return m } -func (m *_PublishResponseBuilder) WithNotificationMessageBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) PublishResponseBuilder { - builder := builderSupplier(m.NotificationMessage.CreateExtensionObjectDefinitionBuilder()) - var err error - m.NotificationMessage, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_PublishResponseBuilder) WithNoOfResults(noOfResults int32) PublishResponseBuilder { m.NoOfResults = noOfResults return m diff --git a/plc4go/protocols/opcua/readwrite/model/PublishedDataSetSourceDataType.go b/plc4go/protocols/opcua/readwrite/model/PublishedDataSetSourceDataType.go index 2e0af92125..de2e683354 100644 --- a/plc4go/protocols/opcua/readwrite/model/PublishedDataSetSourceDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/PublishedDataSetSourceDataType.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/PublishedVariableDataType.go b/plc4go/protocols/opcua/readwrite/model/PublishedVariableDataType.go index f79bb25d36..d8336332ed 100644 --- a/plc4go/protocols/opcua/readwrite/model/PublishedVariableDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/PublishedVariableDataType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -134,8 +136,6 @@ type PublishedVariableDataTypeBuilder interface { WithIndexRangeBuilder(func(PascalStringBuilder) PascalStringBuilder) PublishedVariableDataTypeBuilder // WithSubstituteValue adds SubstituteValue (property field) WithSubstituteValue(Variant) PublishedVariableDataTypeBuilder - // WithSubstituteValueBuilder adds SubstituteValue (property field) which is build by the builder - WithSubstituteValueBuilder(func(VariantBuilder) VariantBuilder) PublishedVariableDataTypeBuilder // WithNoOfMetaDataProperties adds NoOfMetaDataProperties (property field) WithNoOfMetaDataProperties(int32) PublishedVariableDataTypeBuilder // WithMetaDataProperties adds MetaDataProperties (property field) @@ -224,19 +224,6 @@ func (m *_PublishedVariableDataTypeBuilder) WithSubstituteValue(substituteValue return m } -func (m *_PublishedVariableDataTypeBuilder) WithSubstituteValueBuilder(builderSupplier func(VariantBuilder) VariantBuilder) PublishedVariableDataTypeBuilder { - builder := builderSupplier(m.SubstituteValue.CreateVariantBuilder()) - var err error - m.SubstituteValue, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "VariantBuilder failed")) - } - return m -} - func (m *_PublishedVariableDataTypeBuilder) WithNoOfMetaDataProperties(noOfMetaDataProperties int32) PublishedVariableDataTypeBuilder { m.NoOfMetaDataProperties = noOfMetaDataProperties return m diff --git a/plc4go/protocols/opcua/readwrite/model/QosDataType.go b/plc4go/protocols/opcua/readwrite/model/QosDataType.go index 3e6b3e7888..c07db1728f 100644 --- a/plc4go/protocols/opcua/readwrite/model/QosDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/QosDataType.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/QualifiedName.go b/plc4go/protocols/opcua/readwrite/model/QualifiedName.go index 6c0ed09051..4bd4640c9c 100644 --- a/plc4go/protocols/opcua/readwrite/model/QualifiedName.go +++ b/plc4go/protocols/opcua/readwrite/model/QualifiedName.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/QuantityDimension.go b/plc4go/protocols/opcua/readwrite/model/QuantityDimension.go index 5afdb37e58..5656467767 100644 --- a/plc4go/protocols/opcua/readwrite/model/QuantityDimension.go +++ b/plc4go/protocols/opcua/readwrite/model/QuantityDimension.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/QueryDataDescription.go b/plc4go/protocols/opcua/readwrite/model/QueryDataDescription.go index aabad6fa77..abae07b90d 100644 --- a/plc4go/protocols/opcua/readwrite/model/QueryDataDescription.go +++ b/plc4go/protocols/opcua/readwrite/model/QueryDataDescription.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -91,8 +93,6 @@ type QueryDataDescriptionBuilder interface { WithMandatoryFields(relativePath ExtensionObjectDefinition, attributeId uint32, indexRange PascalString) QueryDataDescriptionBuilder // WithRelativePath adds RelativePath (property field) WithRelativePath(ExtensionObjectDefinition) QueryDataDescriptionBuilder - // WithRelativePathBuilder adds RelativePath (property field) which is build by the builder - WithRelativePathBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) QueryDataDescriptionBuilder // WithAttributeId adds AttributeId (property field) WithAttributeId(uint32) QueryDataDescriptionBuilder // WithIndexRange adds IndexRange (property field) @@ -127,19 +127,6 @@ func (m *_QueryDataDescriptionBuilder) WithRelativePath(relativePath ExtensionOb return m } -func (m *_QueryDataDescriptionBuilder) WithRelativePathBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) QueryDataDescriptionBuilder { - builder := builderSupplier(m.RelativePath.CreateExtensionObjectDefinitionBuilder()) - var err error - m.RelativePath, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_QueryDataDescriptionBuilder) WithAttributeId(attributeId uint32) QueryDataDescriptionBuilder { m.AttributeId = attributeId return m diff --git a/plc4go/protocols/opcua/readwrite/model/QueryDataSet.go b/plc4go/protocols/opcua/readwrite/model/QueryDataSet.go index d4a5f4cf2d..09055dffbe 100644 --- a/plc4go/protocols/opcua/readwrite/model/QueryDataSet.go +++ b/plc4go/protocols/opcua/readwrite/model/QueryDataSet.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/QueryFirstRequest.go b/plc4go/protocols/opcua/readwrite/model/QueryFirstRequest.go index 7ac8f9a806..c1dd36a914 100644 --- a/plc4go/protocols/opcua/readwrite/model/QueryFirstRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/QueryFirstRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -110,20 +112,14 @@ type QueryFirstRequestBuilder interface { WithMandatoryFields(requestHeader ExtensionObjectDefinition, view ExtensionObjectDefinition, noOfNodeTypes int32, nodeTypes []ExtensionObjectDefinition, filter ExtensionObjectDefinition, maxDataSetsToReturn uint32, maxReferencesToReturn uint32) QueryFirstRequestBuilder // WithRequestHeader adds RequestHeader (property field) WithRequestHeader(ExtensionObjectDefinition) QueryFirstRequestBuilder - // WithRequestHeaderBuilder adds RequestHeader (property field) which is build by the builder - WithRequestHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) QueryFirstRequestBuilder // WithView adds View (property field) WithView(ExtensionObjectDefinition) QueryFirstRequestBuilder - // WithViewBuilder adds View (property field) which is build by the builder - WithViewBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) QueryFirstRequestBuilder // WithNoOfNodeTypes adds NoOfNodeTypes (property field) WithNoOfNodeTypes(int32) QueryFirstRequestBuilder // WithNodeTypes adds NodeTypes (property field) WithNodeTypes(...ExtensionObjectDefinition) QueryFirstRequestBuilder // WithFilter adds Filter (property field) WithFilter(ExtensionObjectDefinition) QueryFirstRequestBuilder - // WithFilterBuilder adds Filter (property field) which is build by the builder - WithFilterBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) QueryFirstRequestBuilder // WithMaxDataSetsToReturn adds MaxDataSetsToReturn (property field) WithMaxDataSetsToReturn(uint32) QueryFirstRequestBuilder // WithMaxReferencesToReturn adds MaxReferencesToReturn (property field) @@ -156,37 +152,11 @@ func (m *_QueryFirstRequestBuilder) WithRequestHeader(requestHeader ExtensionObj return m } -func (m *_QueryFirstRequestBuilder) WithRequestHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) QueryFirstRequestBuilder { - builder := builderSupplier(m.RequestHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.RequestHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_QueryFirstRequestBuilder) WithView(view ExtensionObjectDefinition) QueryFirstRequestBuilder { m.View = view return m } -func (m *_QueryFirstRequestBuilder) WithViewBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) QueryFirstRequestBuilder { - builder := builderSupplier(m.View.CreateExtensionObjectDefinitionBuilder()) - var err error - m.View, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_QueryFirstRequestBuilder) WithNoOfNodeTypes(noOfNodeTypes int32) QueryFirstRequestBuilder { m.NoOfNodeTypes = noOfNodeTypes return m @@ -202,19 +172,6 @@ func (m *_QueryFirstRequestBuilder) WithFilter(filter ExtensionObjectDefinition) return m } -func (m *_QueryFirstRequestBuilder) WithFilterBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) QueryFirstRequestBuilder { - builder := builderSupplier(m.Filter.CreateExtensionObjectDefinitionBuilder()) - var err error - m.Filter, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_QueryFirstRequestBuilder) WithMaxDataSetsToReturn(maxDataSetsToReturn uint32) QueryFirstRequestBuilder { m.MaxDataSetsToReturn = maxDataSetsToReturn return m diff --git a/plc4go/protocols/opcua/readwrite/model/QueryFirstResponse.go b/plc4go/protocols/opcua/readwrite/model/QueryFirstResponse.go index b5d8cb9903..da45206d51 100644 --- a/plc4go/protocols/opcua/readwrite/model/QueryFirstResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/QueryFirstResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -118,8 +120,6 @@ type QueryFirstResponseBuilder interface { WithMandatoryFields(responseHeader ExtensionObjectDefinition, noOfQueryDataSets int32, queryDataSets []ExtensionObjectDefinition, continuationPoint PascalByteString, noOfParsingResults int32, parsingResults []ExtensionObjectDefinition, noOfDiagnosticInfos int32, diagnosticInfos []DiagnosticInfo, filterResult ExtensionObjectDefinition) QueryFirstResponseBuilder // WithResponseHeader adds ResponseHeader (property field) WithResponseHeader(ExtensionObjectDefinition) QueryFirstResponseBuilder - // WithResponseHeaderBuilder adds ResponseHeader (property field) which is build by the builder - WithResponseHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) QueryFirstResponseBuilder // WithNoOfQueryDataSets adds NoOfQueryDataSets (property field) WithNoOfQueryDataSets(int32) QueryFirstResponseBuilder // WithQueryDataSets adds QueryDataSets (property field) @@ -138,8 +138,6 @@ type QueryFirstResponseBuilder interface { WithDiagnosticInfos(...DiagnosticInfo) QueryFirstResponseBuilder // WithFilterResult adds FilterResult (property field) WithFilterResult(ExtensionObjectDefinition) QueryFirstResponseBuilder - // WithFilterResultBuilder adds FilterResult (property field) which is build by the builder - WithFilterResultBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) QueryFirstResponseBuilder // Build builds the QueryFirstResponse or returns an error if something is wrong Build() (QueryFirstResponse, error) // MustBuild does the same as Build but panics on error @@ -168,19 +166,6 @@ func (m *_QueryFirstResponseBuilder) WithResponseHeader(responseHeader Extension return m } -func (m *_QueryFirstResponseBuilder) WithResponseHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) QueryFirstResponseBuilder { - builder := builderSupplier(m.ResponseHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.ResponseHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_QueryFirstResponseBuilder) WithNoOfQueryDataSets(noOfQueryDataSets int32) QueryFirstResponseBuilder { m.NoOfQueryDataSets = noOfQueryDataSets return m @@ -234,19 +219,6 @@ func (m *_QueryFirstResponseBuilder) WithFilterResult(filterResult ExtensionObje return m } -func (m *_QueryFirstResponseBuilder) WithFilterResultBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) QueryFirstResponseBuilder { - builder := builderSupplier(m.FilterResult.CreateExtensionObjectDefinitionBuilder()) - var err error - m.FilterResult, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_QueryFirstResponseBuilder) Build() (QueryFirstResponse, error) { if m.ResponseHeader == nil { if m.err == nil { diff --git a/plc4go/protocols/opcua/readwrite/model/QueryNextRequest.go b/plc4go/protocols/opcua/readwrite/model/QueryNextRequest.go index 7885c89b9c..32331c23fb 100644 --- a/plc4go/protocols/opcua/readwrite/model/QueryNextRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/QueryNextRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -93,8 +95,6 @@ type QueryNextRequestBuilder interface { WithMandatoryFields(requestHeader ExtensionObjectDefinition, releaseContinuationPoint bool, continuationPoint PascalByteString) QueryNextRequestBuilder // WithRequestHeader adds RequestHeader (property field) WithRequestHeader(ExtensionObjectDefinition) QueryNextRequestBuilder - // WithRequestHeaderBuilder adds RequestHeader (property field) which is build by the builder - WithRequestHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) QueryNextRequestBuilder // WithReleaseContinuationPoint adds ReleaseContinuationPoint (property field) WithReleaseContinuationPoint(bool) QueryNextRequestBuilder // WithContinuationPoint adds ContinuationPoint (property field) @@ -129,19 +129,6 @@ func (m *_QueryNextRequestBuilder) WithRequestHeader(requestHeader ExtensionObje return m } -func (m *_QueryNextRequestBuilder) WithRequestHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) QueryNextRequestBuilder { - builder := builderSupplier(m.RequestHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.RequestHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_QueryNextRequestBuilder) WithReleaseContinuationPoint(releaseContinuationPoint bool) QueryNextRequestBuilder { m.ReleaseContinuationPoint = releaseContinuationPoint return m diff --git a/plc4go/protocols/opcua/readwrite/model/QueryNextResponse.go b/plc4go/protocols/opcua/readwrite/model/QueryNextResponse.go index 2d8c4771a9..2d4e801603 100644 --- a/plc4go/protocols/opcua/readwrite/model/QueryNextResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/QueryNextResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -95,8 +97,6 @@ type QueryNextResponseBuilder interface { WithMandatoryFields(responseHeader ExtensionObjectDefinition, noOfQueryDataSets int32, queryDataSets []ExtensionObjectDefinition, revisedContinuationPoint PascalByteString) QueryNextResponseBuilder // WithResponseHeader adds ResponseHeader (property field) WithResponseHeader(ExtensionObjectDefinition) QueryNextResponseBuilder - // WithResponseHeaderBuilder adds ResponseHeader (property field) which is build by the builder - WithResponseHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) QueryNextResponseBuilder // WithNoOfQueryDataSets adds NoOfQueryDataSets (property field) WithNoOfQueryDataSets(int32) QueryNextResponseBuilder // WithQueryDataSets adds QueryDataSets (property field) @@ -133,19 +133,6 @@ func (m *_QueryNextResponseBuilder) WithResponseHeader(responseHeader ExtensionO return m } -func (m *_QueryNextResponseBuilder) WithResponseHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) QueryNextResponseBuilder { - builder := builderSupplier(m.ResponseHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.ResponseHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_QueryNextResponseBuilder) WithNoOfQueryDataSets(noOfQueryDataSets int32) QueryNextResponseBuilder { m.NoOfQueryDataSets = noOfQueryDataSets return m diff --git a/plc4go/protocols/opcua/readwrite/model/Range.go b/plc4go/protocols/opcua/readwrite/model/Range.go index 97a5f6eff3..687b61ba77 100644 --- a/plc4go/protocols/opcua/readwrite/model/Range.go +++ b/plc4go/protocols/opcua/readwrite/model/Range.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/RationalNumber.go b/plc4go/protocols/opcua/readwrite/model/RationalNumber.go index 01e5999921..74f1374db8 100644 --- a/plc4go/protocols/opcua/readwrite/model/RationalNumber.go +++ b/plc4go/protocols/opcua/readwrite/model/RationalNumber.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/ReadRequest.go b/plc4go/protocols/opcua/readwrite/model/ReadRequest.go index cd9ab76c42..266100c129 100644 --- a/plc4go/protocols/opcua/readwrite/model/ReadRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/ReadRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -96,8 +98,6 @@ type ReadRequestBuilder interface { WithMandatoryFields(requestHeader ExtensionObjectDefinition, maxAge float64, timestampsToReturn TimestampsToReturn, noOfNodesToRead int32, nodesToRead []ExtensionObjectDefinition) ReadRequestBuilder // WithRequestHeader adds RequestHeader (property field) WithRequestHeader(ExtensionObjectDefinition) ReadRequestBuilder - // WithRequestHeaderBuilder adds RequestHeader (property field) which is build by the builder - WithRequestHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) ReadRequestBuilder // WithMaxAge adds MaxAge (property field) WithMaxAge(float64) ReadRequestBuilder // WithTimestampsToReturn adds TimestampsToReturn (property field) @@ -134,19 +134,6 @@ func (m *_ReadRequestBuilder) WithRequestHeader(requestHeader ExtensionObjectDef return m } -func (m *_ReadRequestBuilder) WithRequestHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) ReadRequestBuilder { - builder := builderSupplier(m.RequestHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.RequestHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_ReadRequestBuilder) WithMaxAge(maxAge float64) ReadRequestBuilder { m.MaxAge = maxAge return m diff --git a/plc4go/protocols/opcua/readwrite/model/ReadResponse.go b/plc4go/protocols/opcua/readwrite/model/ReadResponse.go index ee84a3fe4a..1860558d30 100644 --- a/plc4go/protocols/opcua/readwrite/model/ReadResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/ReadResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -96,8 +98,6 @@ type ReadResponseBuilder interface { WithMandatoryFields(responseHeader ExtensionObjectDefinition, noOfResults int32, results []DataValue, noOfDiagnosticInfos int32, diagnosticInfos []DiagnosticInfo) ReadResponseBuilder // WithResponseHeader adds ResponseHeader (property field) WithResponseHeader(ExtensionObjectDefinition) ReadResponseBuilder - // WithResponseHeaderBuilder adds ResponseHeader (property field) which is build by the builder - WithResponseHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) ReadResponseBuilder // WithNoOfResults adds NoOfResults (property field) WithNoOfResults(int32) ReadResponseBuilder // WithResults adds Results (property field) @@ -134,19 +134,6 @@ func (m *_ReadResponseBuilder) WithResponseHeader(responseHeader ExtensionObject return m } -func (m *_ReadResponseBuilder) WithResponseHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) ReadResponseBuilder { - builder := builderSupplier(m.ResponseHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.ResponseHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_ReadResponseBuilder) WithNoOfResults(noOfResults int32) ReadResponseBuilder { m.NoOfResults = noOfResults return m diff --git a/plc4go/protocols/opcua/readwrite/model/ReadValueId.go b/plc4go/protocols/opcua/readwrite/model/ReadValueId.go index e294fe3d2b..73ec6b7398 100644 --- a/plc4go/protocols/opcua/readwrite/model/ReadValueId.go +++ b/plc4go/protocols/opcua/readwrite/model/ReadValueId.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/ReaderGroupMessageDataType.go b/plc4go/protocols/opcua/readwrite/model/ReaderGroupMessageDataType.go index 9a4c7cccf9..5bfd72525b 100644 --- a/plc4go/protocols/opcua/readwrite/model/ReaderGroupMessageDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/ReaderGroupMessageDataType.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/ReaderGroupTransportDataType.go b/plc4go/protocols/opcua/readwrite/model/ReaderGroupTransportDataType.go index 5990557c4a..2f39fd156d 100644 --- a/plc4go/protocols/opcua/readwrite/model/ReaderGroupTransportDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/ReaderGroupTransportDataType.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/RedundancySupport.go b/plc4go/protocols/opcua/readwrite/model/RedundancySupport.go index 3056e201cc..40b5255a0b 100644 --- a/plc4go/protocols/opcua/readwrite/model/RedundancySupport.go +++ b/plc4go/protocols/opcua/readwrite/model/RedundancySupport.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/RedundantServerDataType.go b/plc4go/protocols/opcua/readwrite/model/RedundantServerDataType.go index 80b3609621..d51b931d3b 100644 --- a/plc4go/protocols/opcua/readwrite/model/RedundantServerDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/RedundantServerDataType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/RedundantServerMode.go b/plc4go/protocols/opcua/readwrite/model/RedundantServerMode.go index 1a4582c26f..1ce4e9a2df 100644 --- a/plc4go/protocols/opcua/readwrite/model/RedundantServerMode.go +++ b/plc4go/protocols/opcua/readwrite/model/RedundantServerMode.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/ReferenceDescription.go b/plc4go/protocols/opcua/readwrite/model/ReferenceDescription.go index a44f5c78be..b5431a4f72 100644 --- a/plc4go/protocols/opcua/readwrite/model/ReferenceDescription.go +++ b/plc4go/protocols/opcua/readwrite/model/ReferenceDescription.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/ReferenceDescriptionDataType.go b/plc4go/protocols/opcua/readwrite/model/ReferenceDescriptionDataType.go index dfe042d12c..53d95b10f5 100644 --- a/plc4go/protocols/opcua/readwrite/model/ReferenceDescriptionDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/ReferenceDescriptionDataType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/ReferenceListEntryDataType.go b/plc4go/protocols/opcua/readwrite/model/ReferenceListEntryDataType.go index 4360ab92fb..2eb0baf3e7 100644 --- a/plc4go/protocols/opcua/readwrite/model/ReferenceListEntryDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/ReferenceListEntryDataType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/RegisterNodesRequest.go b/plc4go/protocols/opcua/readwrite/model/RegisterNodesRequest.go index 25833f691d..2b991000c4 100644 --- a/plc4go/protocols/opcua/readwrite/model/RegisterNodesRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/RegisterNodesRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -88,8 +90,6 @@ type RegisterNodesRequestBuilder interface { WithMandatoryFields(requestHeader ExtensionObjectDefinition, noOfNodesToRegister int32, nodesToRegister []NodeId) RegisterNodesRequestBuilder // WithRequestHeader adds RequestHeader (property field) WithRequestHeader(ExtensionObjectDefinition) RegisterNodesRequestBuilder - // WithRequestHeaderBuilder adds RequestHeader (property field) which is build by the builder - WithRequestHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) RegisterNodesRequestBuilder // WithNoOfNodesToRegister adds NoOfNodesToRegister (property field) WithNoOfNodesToRegister(int32) RegisterNodesRequestBuilder // WithNodesToRegister adds NodesToRegister (property field) @@ -122,19 +122,6 @@ func (m *_RegisterNodesRequestBuilder) WithRequestHeader(requestHeader Extension return m } -func (m *_RegisterNodesRequestBuilder) WithRequestHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) RegisterNodesRequestBuilder { - builder := builderSupplier(m.RequestHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.RequestHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_RegisterNodesRequestBuilder) WithNoOfNodesToRegister(noOfNodesToRegister int32) RegisterNodesRequestBuilder { m.NoOfNodesToRegister = noOfNodesToRegister return m diff --git a/plc4go/protocols/opcua/readwrite/model/RegisterNodesResponse.go b/plc4go/protocols/opcua/readwrite/model/RegisterNodesResponse.go index 6c3a3d9784..3b279cb1c3 100644 --- a/plc4go/protocols/opcua/readwrite/model/RegisterNodesResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/RegisterNodesResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -88,8 +90,6 @@ type RegisterNodesResponseBuilder interface { WithMandatoryFields(responseHeader ExtensionObjectDefinition, noOfRegisteredNodeIds int32, registeredNodeIds []NodeId) RegisterNodesResponseBuilder // WithResponseHeader adds ResponseHeader (property field) WithResponseHeader(ExtensionObjectDefinition) RegisterNodesResponseBuilder - // WithResponseHeaderBuilder adds ResponseHeader (property field) which is build by the builder - WithResponseHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) RegisterNodesResponseBuilder // WithNoOfRegisteredNodeIds adds NoOfRegisteredNodeIds (property field) WithNoOfRegisteredNodeIds(int32) RegisterNodesResponseBuilder // WithRegisteredNodeIds adds RegisteredNodeIds (property field) @@ -122,19 +122,6 @@ func (m *_RegisterNodesResponseBuilder) WithResponseHeader(responseHeader Extens return m } -func (m *_RegisterNodesResponseBuilder) WithResponseHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) RegisterNodesResponseBuilder { - builder := builderSupplier(m.ResponseHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.ResponseHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_RegisterNodesResponseBuilder) WithNoOfRegisteredNodeIds(noOfRegisteredNodeIds int32) RegisterNodesResponseBuilder { m.NoOfRegisteredNodeIds = noOfRegisteredNodeIds return m diff --git a/plc4go/protocols/opcua/readwrite/model/RegisterServer2Request.go b/plc4go/protocols/opcua/readwrite/model/RegisterServer2Request.go index 4e06f340b0..ebbdaf157c 100644 --- a/plc4go/protocols/opcua/readwrite/model/RegisterServer2Request.go +++ b/plc4go/protocols/opcua/readwrite/model/RegisterServer2Request.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -95,12 +97,8 @@ type RegisterServer2RequestBuilder interface { WithMandatoryFields(requestHeader ExtensionObjectDefinition, server ExtensionObjectDefinition, noOfDiscoveryConfiguration int32, discoveryConfiguration []ExtensionObject) RegisterServer2RequestBuilder // WithRequestHeader adds RequestHeader (property field) WithRequestHeader(ExtensionObjectDefinition) RegisterServer2RequestBuilder - // WithRequestHeaderBuilder adds RequestHeader (property field) which is build by the builder - WithRequestHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) RegisterServer2RequestBuilder // WithServer adds Server (property field) WithServer(ExtensionObjectDefinition) RegisterServer2RequestBuilder - // WithServerBuilder adds Server (property field) which is build by the builder - WithServerBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) RegisterServer2RequestBuilder // WithNoOfDiscoveryConfiguration adds NoOfDiscoveryConfiguration (property field) WithNoOfDiscoveryConfiguration(int32) RegisterServer2RequestBuilder // WithDiscoveryConfiguration adds DiscoveryConfiguration (property field) @@ -133,37 +131,11 @@ func (m *_RegisterServer2RequestBuilder) WithRequestHeader(requestHeader Extensi return m } -func (m *_RegisterServer2RequestBuilder) WithRequestHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) RegisterServer2RequestBuilder { - builder := builderSupplier(m.RequestHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.RequestHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_RegisterServer2RequestBuilder) WithServer(server ExtensionObjectDefinition) RegisterServer2RequestBuilder { m.Server = server return m } -func (m *_RegisterServer2RequestBuilder) WithServerBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) RegisterServer2RequestBuilder { - builder := builderSupplier(m.Server.CreateExtensionObjectDefinitionBuilder()) - var err error - m.Server, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_RegisterServer2RequestBuilder) WithNoOfDiscoveryConfiguration(noOfDiscoveryConfiguration int32) RegisterServer2RequestBuilder { m.NoOfDiscoveryConfiguration = noOfDiscoveryConfiguration return m diff --git a/plc4go/protocols/opcua/readwrite/model/RegisterServer2Response.go b/plc4go/protocols/opcua/readwrite/model/RegisterServer2Response.go index e1a3e5a12f..b660035548 100644 --- a/plc4go/protocols/opcua/readwrite/model/RegisterServer2Response.go +++ b/plc4go/protocols/opcua/readwrite/model/RegisterServer2Response.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -96,8 +98,6 @@ type RegisterServer2ResponseBuilder interface { WithMandatoryFields(responseHeader ExtensionObjectDefinition, noOfConfigurationResults int32, configurationResults []StatusCode, noOfDiagnosticInfos int32, diagnosticInfos []DiagnosticInfo) RegisterServer2ResponseBuilder // WithResponseHeader adds ResponseHeader (property field) WithResponseHeader(ExtensionObjectDefinition) RegisterServer2ResponseBuilder - // WithResponseHeaderBuilder adds ResponseHeader (property field) which is build by the builder - WithResponseHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) RegisterServer2ResponseBuilder // WithNoOfConfigurationResults adds NoOfConfigurationResults (property field) WithNoOfConfigurationResults(int32) RegisterServer2ResponseBuilder // WithConfigurationResults adds ConfigurationResults (property field) @@ -134,19 +134,6 @@ func (m *_RegisterServer2ResponseBuilder) WithResponseHeader(responseHeader Exte return m } -func (m *_RegisterServer2ResponseBuilder) WithResponseHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) RegisterServer2ResponseBuilder { - builder := builderSupplier(m.ResponseHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.ResponseHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_RegisterServer2ResponseBuilder) WithNoOfConfigurationResults(noOfConfigurationResults int32) RegisterServer2ResponseBuilder { m.NoOfConfigurationResults = noOfConfigurationResults return m diff --git a/plc4go/protocols/opcua/readwrite/model/RegisterServerRequest.go b/plc4go/protocols/opcua/readwrite/model/RegisterServerRequest.go index 42244f1011..7f1f71f085 100644 --- a/plc4go/protocols/opcua/readwrite/model/RegisterServerRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/RegisterServerRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -87,12 +89,8 @@ type RegisterServerRequestBuilder interface { WithMandatoryFields(requestHeader ExtensionObjectDefinition, server ExtensionObjectDefinition) RegisterServerRequestBuilder // WithRequestHeader adds RequestHeader (property field) WithRequestHeader(ExtensionObjectDefinition) RegisterServerRequestBuilder - // WithRequestHeaderBuilder adds RequestHeader (property field) which is build by the builder - WithRequestHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) RegisterServerRequestBuilder // WithServer adds Server (property field) WithServer(ExtensionObjectDefinition) RegisterServerRequestBuilder - // WithServerBuilder adds Server (property field) which is build by the builder - WithServerBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) RegisterServerRequestBuilder // Build builds the RegisterServerRequest or returns an error if something is wrong Build() (RegisterServerRequest, error) // MustBuild does the same as Build but panics on error @@ -121,37 +119,11 @@ func (m *_RegisterServerRequestBuilder) WithRequestHeader(requestHeader Extensio return m } -func (m *_RegisterServerRequestBuilder) WithRequestHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) RegisterServerRequestBuilder { - builder := builderSupplier(m.RequestHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.RequestHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_RegisterServerRequestBuilder) WithServer(server ExtensionObjectDefinition) RegisterServerRequestBuilder { m.Server = server return m } -func (m *_RegisterServerRequestBuilder) WithServerBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) RegisterServerRequestBuilder { - builder := builderSupplier(m.Server.CreateExtensionObjectDefinitionBuilder()) - var err error - m.Server, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_RegisterServerRequestBuilder) Build() (RegisterServerRequest, error) { if m.RequestHeader == nil { if m.err == nil { diff --git a/plc4go/protocols/opcua/readwrite/model/RegisterServerResponse.go b/plc4go/protocols/opcua/readwrite/model/RegisterServerResponse.go index ae1e06c2fc..e86dc4a2ec 100644 --- a/plc4go/protocols/opcua/readwrite/model/RegisterServerResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/RegisterServerResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -80,8 +82,6 @@ type RegisterServerResponseBuilder interface { WithMandatoryFields(responseHeader ExtensionObjectDefinition) RegisterServerResponseBuilder // WithResponseHeader adds ResponseHeader (property field) WithResponseHeader(ExtensionObjectDefinition) RegisterServerResponseBuilder - // WithResponseHeaderBuilder adds ResponseHeader (property field) which is build by the builder - WithResponseHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) RegisterServerResponseBuilder // Build builds the RegisterServerResponse or returns an error if something is wrong Build() (RegisterServerResponse, error) // MustBuild does the same as Build but panics on error @@ -110,19 +110,6 @@ func (m *_RegisterServerResponseBuilder) WithResponseHeader(responseHeader Exten return m } -func (m *_RegisterServerResponseBuilder) WithResponseHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) RegisterServerResponseBuilder { - builder := builderSupplier(m.ResponseHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.ResponseHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_RegisterServerResponseBuilder) Build() (RegisterServerResponse, error) { if m.ResponseHeader == nil { if m.err == nil { diff --git a/plc4go/protocols/opcua/readwrite/model/RegisteredServer.go b/plc4go/protocols/opcua/readwrite/model/RegisteredServer.go index ce419a3a65..ea3586414e 100644 --- a/plc4go/protocols/opcua/readwrite/model/RegisteredServer.go +++ b/plc4go/protocols/opcua/readwrite/model/RegisteredServer.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/RelativePath.go b/plc4go/protocols/opcua/readwrite/model/RelativePath.go index 6d83b39168..7fbc494b23 100644 --- a/plc4go/protocols/opcua/readwrite/model/RelativePath.go +++ b/plc4go/protocols/opcua/readwrite/model/RelativePath.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/RelativePathElement.go b/plc4go/protocols/opcua/readwrite/model/RelativePathElement.go index 07caf049fb..85acddb467 100644 --- a/plc4go/protocols/opcua/readwrite/model/RelativePathElement.go +++ b/plc4go/protocols/opcua/readwrite/model/RelativePathElement.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/RepublishRequest.go b/plc4go/protocols/opcua/readwrite/model/RepublishRequest.go index 97656cf548..22dc96b04d 100644 --- a/plc4go/protocols/opcua/readwrite/model/RepublishRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/RepublishRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -88,8 +90,6 @@ type RepublishRequestBuilder interface { WithMandatoryFields(requestHeader ExtensionObjectDefinition, subscriptionId uint32, retransmitSequenceNumber uint32) RepublishRequestBuilder // WithRequestHeader adds RequestHeader (property field) WithRequestHeader(ExtensionObjectDefinition) RepublishRequestBuilder - // WithRequestHeaderBuilder adds RequestHeader (property field) which is build by the builder - WithRequestHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) RepublishRequestBuilder // WithSubscriptionId adds SubscriptionId (property field) WithSubscriptionId(uint32) RepublishRequestBuilder // WithRetransmitSequenceNumber adds RetransmitSequenceNumber (property field) @@ -122,19 +122,6 @@ func (m *_RepublishRequestBuilder) WithRequestHeader(requestHeader ExtensionObje return m } -func (m *_RepublishRequestBuilder) WithRequestHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) RepublishRequestBuilder { - builder := builderSupplier(m.RequestHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.RequestHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_RepublishRequestBuilder) WithSubscriptionId(subscriptionId uint32) RepublishRequestBuilder { m.SubscriptionId = subscriptionId return m diff --git a/plc4go/protocols/opcua/readwrite/model/RepublishResponse.go b/plc4go/protocols/opcua/readwrite/model/RepublishResponse.go index d5a0460f51..815867b062 100644 --- a/plc4go/protocols/opcua/readwrite/model/RepublishResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/RepublishResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -87,12 +89,8 @@ type RepublishResponseBuilder interface { WithMandatoryFields(responseHeader ExtensionObjectDefinition, notificationMessage ExtensionObjectDefinition) RepublishResponseBuilder // WithResponseHeader adds ResponseHeader (property field) WithResponseHeader(ExtensionObjectDefinition) RepublishResponseBuilder - // WithResponseHeaderBuilder adds ResponseHeader (property field) which is build by the builder - WithResponseHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) RepublishResponseBuilder // WithNotificationMessage adds NotificationMessage (property field) WithNotificationMessage(ExtensionObjectDefinition) RepublishResponseBuilder - // WithNotificationMessageBuilder adds NotificationMessage (property field) which is build by the builder - WithNotificationMessageBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) RepublishResponseBuilder // Build builds the RepublishResponse or returns an error if something is wrong Build() (RepublishResponse, error) // MustBuild does the same as Build but panics on error @@ -121,37 +119,11 @@ func (m *_RepublishResponseBuilder) WithResponseHeader(responseHeader ExtensionO return m } -func (m *_RepublishResponseBuilder) WithResponseHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) RepublishResponseBuilder { - builder := builderSupplier(m.ResponseHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.ResponseHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_RepublishResponseBuilder) WithNotificationMessage(notificationMessage ExtensionObjectDefinition) RepublishResponseBuilder { m.NotificationMessage = notificationMessage return m } -func (m *_RepublishResponseBuilder) WithNotificationMessageBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) RepublishResponseBuilder { - builder := builderSupplier(m.NotificationMessage.CreateExtensionObjectDefinitionBuilder()) - var err error - m.NotificationMessage, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_RepublishResponseBuilder) Build() (RepublishResponse, error) { if m.ResponseHeader == nil { if m.err == nil { diff --git a/plc4go/protocols/opcua/readwrite/model/RequestHeader.go b/plc4go/protocols/opcua/readwrite/model/RequestHeader.go index d02e6cc3f1..23fb528df1 100644 --- a/plc4go/protocols/opcua/readwrite/model/RequestHeader.go +++ b/plc4go/protocols/opcua/readwrite/model/RequestHeader.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/ResponseHeader.go b/plc4go/protocols/opcua/readwrite/model/ResponseHeader.go index d66cac7b46..2f6a0e1417 100644 --- a/plc4go/protocols/opcua/readwrite/model/ResponseHeader.go +++ b/plc4go/protocols/opcua/readwrite/model/ResponseHeader.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/RolePermissionType.go b/plc4go/protocols/opcua/readwrite/model/RolePermissionType.go index f466192c1f..abe51770d9 100644 --- a/plc4go/protocols/opcua/readwrite/model/RolePermissionType.go +++ b/plc4go/protocols/opcua/readwrite/model/RolePermissionType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/RsaEncryptedSecret.go b/plc4go/protocols/opcua/readwrite/model/RsaEncryptedSecret.go index f7c66eec13..663c2a6df9 100644 --- a/plc4go/protocols/opcua/readwrite/model/RsaEncryptedSecret.go +++ b/plc4go/protocols/opcua/readwrite/model/RsaEncryptedSecret.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/SamplingIntervalDiagnosticsDataType.go b/plc4go/protocols/opcua/readwrite/model/SamplingIntervalDiagnosticsDataType.go index 2f7657db43..fe55dd602b 100644 --- a/plc4go/protocols/opcua/readwrite/model/SamplingIntervalDiagnosticsDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/SamplingIntervalDiagnosticsDataType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/SecurityGroupDataType.go b/plc4go/protocols/opcua/readwrite/model/SecurityGroupDataType.go index 0b11eaa7c5..8eb96239c2 100644 --- a/plc4go/protocols/opcua/readwrite/model/SecurityGroupDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/SecurityGroupDataType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/SecurityHeader.go b/plc4go/protocols/opcua/readwrite/model/SecurityHeader.go index 1ea3a15319..cc8f4a6342 100644 --- a/plc4go/protocols/opcua/readwrite/model/SecurityHeader.go +++ b/plc4go/protocols/opcua/readwrite/model/SecurityHeader.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/SecurityTokenRequestType.go b/plc4go/protocols/opcua/readwrite/model/SecurityTokenRequestType.go index d29860ec59..5a5e0923de 100644 --- a/plc4go/protocols/opcua/readwrite/model/SecurityTokenRequestType.go +++ b/plc4go/protocols/opcua/readwrite/model/SecurityTokenRequestType.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/SemanticChangeStructureDataType.go b/plc4go/protocols/opcua/readwrite/model/SemanticChangeStructureDataType.go index 0997799837..4bbb47b271 100644 --- a/plc4go/protocols/opcua/readwrite/model/SemanticChangeStructureDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/SemanticChangeStructureDataType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/SemanticVersionString.go b/plc4go/protocols/opcua/readwrite/model/SemanticVersionString.go index 206b2391dd..e22bb4e835 100644 --- a/plc4go/protocols/opcua/readwrite/model/SemanticVersionString.go +++ b/plc4go/protocols/opcua/readwrite/model/SemanticVersionString.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/SequenceHeader.go b/plc4go/protocols/opcua/readwrite/model/SequenceHeader.go index 3e0d8f9342..a123234cba 100644 --- a/plc4go/protocols/opcua/readwrite/model/SequenceHeader.go +++ b/plc4go/protocols/opcua/readwrite/model/SequenceHeader.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/ServerDiagnosticsSummaryDataType.go b/plc4go/protocols/opcua/readwrite/model/ServerDiagnosticsSummaryDataType.go index 819318ca7f..fb98857f50 100644 --- a/plc4go/protocols/opcua/readwrite/model/ServerDiagnosticsSummaryDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/ServerDiagnosticsSummaryDataType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/ServerOnNetwork.go b/plc4go/protocols/opcua/readwrite/model/ServerOnNetwork.go index 54fc3ffc14..0956885379 100644 --- a/plc4go/protocols/opcua/readwrite/model/ServerOnNetwork.go +++ b/plc4go/protocols/opcua/readwrite/model/ServerOnNetwork.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/ServerState.go b/plc4go/protocols/opcua/readwrite/model/ServerState.go index 11c3241402..53e8f245f1 100644 --- a/plc4go/protocols/opcua/readwrite/model/ServerState.go +++ b/plc4go/protocols/opcua/readwrite/model/ServerState.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/ServerStatusDataType.go b/plc4go/protocols/opcua/readwrite/model/ServerStatusDataType.go index 44046a962f..c97a2ce64c 100644 --- a/plc4go/protocols/opcua/readwrite/model/ServerStatusDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/ServerStatusDataType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -109,8 +111,6 @@ type ServerStatusDataTypeBuilder interface { WithState(ServerState) ServerStatusDataTypeBuilder // WithBuildInfo adds BuildInfo (property field) WithBuildInfo(ExtensionObjectDefinition) ServerStatusDataTypeBuilder - // WithBuildInfoBuilder adds BuildInfo (property field) which is build by the builder - WithBuildInfoBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) ServerStatusDataTypeBuilder // WithSecondsTillShutdown adds SecondsTillShutdown (property field) WithSecondsTillShutdown(uint32) ServerStatusDataTypeBuilder // WithShutdownReason adds ShutdownReason (property field) @@ -160,19 +160,6 @@ func (m *_ServerStatusDataTypeBuilder) WithBuildInfo(buildInfo ExtensionObjectDe return m } -func (m *_ServerStatusDataTypeBuilder) WithBuildInfoBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) ServerStatusDataTypeBuilder { - builder := builderSupplier(m.BuildInfo.CreateExtensionObjectDefinitionBuilder()) - var err error - m.BuildInfo, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_ServerStatusDataTypeBuilder) WithSecondsTillShutdown(secondsTillShutdown uint32) ServerStatusDataTypeBuilder { m.SecondsTillShutdown = secondsTillShutdown return m diff --git a/plc4go/protocols/opcua/readwrite/model/ServiceCounterDataType.go b/plc4go/protocols/opcua/readwrite/model/ServiceCounterDataType.go index e82253991e..e79c7bf1aa 100644 --- a/plc4go/protocols/opcua/readwrite/model/ServiceCounterDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/ServiceCounterDataType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/ServiceFault.go b/plc4go/protocols/opcua/readwrite/model/ServiceFault.go index d511981afa..59411b8c7a 100644 --- a/plc4go/protocols/opcua/readwrite/model/ServiceFault.go +++ b/plc4go/protocols/opcua/readwrite/model/ServiceFault.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -80,8 +82,6 @@ type ServiceFaultBuilder interface { WithMandatoryFields(responseHeader ExtensionObjectDefinition) ServiceFaultBuilder // WithResponseHeader adds ResponseHeader (property field) WithResponseHeader(ExtensionObjectDefinition) ServiceFaultBuilder - // WithResponseHeaderBuilder adds ResponseHeader (property field) which is build by the builder - WithResponseHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) ServiceFaultBuilder // Build builds the ServiceFault or returns an error if something is wrong Build() (ServiceFault, error) // MustBuild does the same as Build but panics on error @@ -110,19 +110,6 @@ func (m *_ServiceFaultBuilder) WithResponseHeader(responseHeader ExtensionObject return m } -func (m *_ServiceFaultBuilder) WithResponseHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) ServiceFaultBuilder { - builder := builderSupplier(m.ResponseHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.ResponseHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_ServiceFaultBuilder) Build() (ServiceFault, error) { if m.ResponseHeader == nil { if m.err == nil { diff --git a/plc4go/protocols/opcua/readwrite/model/SessionAuthenticationToken.go b/plc4go/protocols/opcua/readwrite/model/SessionAuthenticationToken.go index 5232a2efaa..1cdbc1a69c 100644 --- a/plc4go/protocols/opcua/readwrite/model/SessionAuthenticationToken.go +++ b/plc4go/protocols/opcua/readwrite/model/SessionAuthenticationToken.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/SessionDiagnosticsDataType.go b/plc4go/protocols/opcua/readwrite/model/SessionDiagnosticsDataType.go index 6e1590734f..97044b841d 100644 --- a/plc4go/protocols/opcua/readwrite/model/SessionDiagnosticsDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/SessionDiagnosticsDataType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -359,8 +361,6 @@ type SessionDiagnosticsDataTypeBuilder interface { WithSessionNameBuilder(func(PascalStringBuilder) PascalStringBuilder) SessionDiagnosticsDataTypeBuilder // WithClientDescription adds ClientDescription (property field) WithClientDescription(ExtensionObjectDefinition) SessionDiagnosticsDataTypeBuilder - // WithClientDescriptionBuilder adds ClientDescription (property field) which is build by the builder - WithClientDescriptionBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) SessionDiagnosticsDataTypeBuilder // WithServerUri adds ServerUri (property field) WithServerUri(PascalString) SessionDiagnosticsDataTypeBuilder // WithServerUriBuilder adds ServerUri (property field) which is build by the builder @@ -389,122 +389,64 @@ type SessionDiagnosticsDataTypeBuilder interface { WithCurrentPublishRequestsInQueue(uint32) SessionDiagnosticsDataTypeBuilder // WithTotalRequestCount adds TotalRequestCount (property field) WithTotalRequestCount(ExtensionObjectDefinition) SessionDiagnosticsDataTypeBuilder - // WithTotalRequestCountBuilder adds TotalRequestCount (property field) which is build by the builder - WithTotalRequestCountBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) SessionDiagnosticsDataTypeBuilder // WithUnauthorizedRequestCount adds UnauthorizedRequestCount (property field) WithUnauthorizedRequestCount(uint32) SessionDiagnosticsDataTypeBuilder // WithReadCount adds ReadCount (property field) WithReadCount(ExtensionObjectDefinition) SessionDiagnosticsDataTypeBuilder - // WithReadCountBuilder adds ReadCount (property field) which is build by the builder - WithReadCountBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) SessionDiagnosticsDataTypeBuilder // WithHistoryReadCount adds HistoryReadCount (property field) WithHistoryReadCount(ExtensionObjectDefinition) SessionDiagnosticsDataTypeBuilder - // WithHistoryReadCountBuilder adds HistoryReadCount (property field) which is build by the builder - WithHistoryReadCountBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) SessionDiagnosticsDataTypeBuilder // WithWriteCount adds WriteCount (property field) WithWriteCount(ExtensionObjectDefinition) SessionDiagnosticsDataTypeBuilder - // WithWriteCountBuilder adds WriteCount (property field) which is build by the builder - WithWriteCountBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) SessionDiagnosticsDataTypeBuilder // WithHistoryUpdateCount adds HistoryUpdateCount (property field) WithHistoryUpdateCount(ExtensionObjectDefinition) SessionDiagnosticsDataTypeBuilder - // WithHistoryUpdateCountBuilder adds HistoryUpdateCount (property field) which is build by the builder - WithHistoryUpdateCountBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) SessionDiagnosticsDataTypeBuilder // WithCallCount adds CallCount (property field) WithCallCount(ExtensionObjectDefinition) SessionDiagnosticsDataTypeBuilder - // WithCallCountBuilder adds CallCount (property field) which is build by the builder - WithCallCountBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) SessionDiagnosticsDataTypeBuilder // WithCreateMonitoredItemsCount adds CreateMonitoredItemsCount (property field) WithCreateMonitoredItemsCount(ExtensionObjectDefinition) SessionDiagnosticsDataTypeBuilder - // WithCreateMonitoredItemsCountBuilder adds CreateMonitoredItemsCount (property field) which is build by the builder - WithCreateMonitoredItemsCountBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) SessionDiagnosticsDataTypeBuilder // WithModifyMonitoredItemsCount adds ModifyMonitoredItemsCount (property field) WithModifyMonitoredItemsCount(ExtensionObjectDefinition) SessionDiagnosticsDataTypeBuilder - // WithModifyMonitoredItemsCountBuilder adds ModifyMonitoredItemsCount (property field) which is build by the builder - WithModifyMonitoredItemsCountBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) SessionDiagnosticsDataTypeBuilder // WithSetMonitoringModeCount adds SetMonitoringModeCount (property field) WithSetMonitoringModeCount(ExtensionObjectDefinition) SessionDiagnosticsDataTypeBuilder - // WithSetMonitoringModeCountBuilder adds SetMonitoringModeCount (property field) which is build by the builder - WithSetMonitoringModeCountBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) SessionDiagnosticsDataTypeBuilder // WithSetTriggeringCount adds SetTriggeringCount (property field) WithSetTriggeringCount(ExtensionObjectDefinition) SessionDiagnosticsDataTypeBuilder - // WithSetTriggeringCountBuilder adds SetTriggeringCount (property field) which is build by the builder - WithSetTriggeringCountBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) SessionDiagnosticsDataTypeBuilder // WithDeleteMonitoredItemsCount adds DeleteMonitoredItemsCount (property field) WithDeleteMonitoredItemsCount(ExtensionObjectDefinition) SessionDiagnosticsDataTypeBuilder - // WithDeleteMonitoredItemsCountBuilder adds DeleteMonitoredItemsCount (property field) which is build by the builder - WithDeleteMonitoredItemsCountBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) SessionDiagnosticsDataTypeBuilder // WithCreateSubscriptionCount adds CreateSubscriptionCount (property field) WithCreateSubscriptionCount(ExtensionObjectDefinition) SessionDiagnosticsDataTypeBuilder - // WithCreateSubscriptionCountBuilder adds CreateSubscriptionCount (property field) which is build by the builder - WithCreateSubscriptionCountBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) SessionDiagnosticsDataTypeBuilder // WithModifySubscriptionCount adds ModifySubscriptionCount (property field) WithModifySubscriptionCount(ExtensionObjectDefinition) SessionDiagnosticsDataTypeBuilder - // WithModifySubscriptionCountBuilder adds ModifySubscriptionCount (property field) which is build by the builder - WithModifySubscriptionCountBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) SessionDiagnosticsDataTypeBuilder // WithSetPublishingModeCount adds SetPublishingModeCount (property field) WithSetPublishingModeCount(ExtensionObjectDefinition) SessionDiagnosticsDataTypeBuilder - // WithSetPublishingModeCountBuilder adds SetPublishingModeCount (property field) which is build by the builder - WithSetPublishingModeCountBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) SessionDiagnosticsDataTypeBuilder // WithPublishCount adds PublishCount (property field) WithPublishCount(ExtensionObjectDefinition) SessionDiagnosticsDataTypeBuilder - // WithPublishCountBuilder adds PublishCount (property field) which is build by the builder - WithPublishCountBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) SessionDiagnosticsDataTypeBuilder // WithRepublishCount adds RepublishCount (property field) WithRepublishCount(ExtensionObjectDefinition) SessionDiagnosticsDataTypeBuilder - // WithRepublishCountBuilder adds RepublishCount (property field) which is build by the builder - WithRepublishCountBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) SessionDiagnosticsDataTypeBuilder // WithTransferSubscriptionsCount adds TransferSubscriptionsCount (property field) WithTransferSubscriptionsCount(ExtensionObjectDefinition) SessionDiagnosticsDataTypeBuilder - // WithTransferSubscriptionsCountBuilder adds TransferSubscriptionsCount (property field) which is build by the builder - WithTransferSubscriptionsCountBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) SessionDiagnosticsDataTypeBuilder // WithDeleteSubscriptionsCount adds DeleteSubscriptionsCount (property field) WithDeleteSubscriptionsCount(ExtensionObjectDefinition) SessionDiagnosticsDataTypeBuilder - // WithDeleteSubscriptionsCountBuilder adds DeleteSubscriptionsCount (property field) which is build by the builder - WithDeleteSubscriptionsCountBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) SessionDiagnosticsDataTypeBuilder // WithAddNodesCount adds AddNodesCount (property field) WithAddNodesCount(ExtensionObjectDefinition) SessionDiagnosticsDataTypeBuilder - // WithAddNodesCountBuilder adds AddNodesCount (property field) which is build by the builder - WithAddNodesCountBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) SessionDiagnosticsDataTypeBuilder // WithAddReferencesCount adds AddReferencesCount (property field) WithAddReferencesCount(ExtensionObjectDefinition) SessionDiagnosticsDataTypeBuilder - // WithAddReferencesCountBuilder adds AddReferencesCount (property field) which is build by the builder - WithAddReferencesCountBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) SessionDiagnosticsDataTypeBuilder // WithDeleteNodesCount adds DeleteNodesCount (property field) WithDeleteNodesCount(ExtensionObjectDefinition) SessionDiagnosticsDataTypeBuilder - // WithDeleteNodesCountBuilder adds DeleteNodesCount (property field) which is build by the builder - WithDeleteNodesCountBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) SessionDiagnosticsDataTypeBuilder // WithDeleteReferencesCount adds DeleteReferencesCount (property field) WithDeleteReferencesCount(ExtensionObjectDefinition) SessionDiagnosticsDataTypeBuilder - // WithDeleteReferencesCountBuilder adds DeleteReferencesCount (property field) which is build by the builder - WithDeleteReferencesCountBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) SessionDiagnosticsDataTypeBuilder // WithBrowseCount adds BrowseCount (property field) WithBrowseCount(ExtensionObjectDefinition) SessionDiagnosticsDataTypeBuilder - // WithBrowseCountBuilder adds BrowseCount (property field) which is build by the builder - WithBrowseCountBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) SessionDiagnosticsDataTypeBuilder // WithBrowseNextCount adds BrowseNextCount (property field) WithBrowseNextCount(ExtensionObjectDefinition) SessionDiagnosticsDataTypeBuilder - // WithBrowseNextCountBuilder adds BrowseNextCount (property field) which is build by the builder - WithBrowseNextCountBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) SessionDiagnosticsDataTypeBuilder // WithTranslateBrowsePathsToNodeIdsCount adds TranslateBrowsePathsToNodeIdsCount (property field) WithTranslateBrowsePathsToNodeIdsCount(ExtensionObjectDefinition) SessionDiagnosticsDataTypeBuilder - // WithTranslateBrowsePathsToNodeIdsCountBuilder adds TranslateBrowsePathsToNodeIdsCount (property field) which is build by the builder - WithTranslateBrowsePathsToNodeIdsCountBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) SessionDiagnosticsDataTypeBuilder // WithQueryFirstCount adds QueryFirstCount (property field) WithQueryFirstCount(ExtensionObjectDefinition) SessionDiagnosticsDataTypeBuilder - // WithQueryFirstCountBuilder adds QueryFirstCount (property field) which is build by the builder - WithQueryFirstCountBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) SessionDiagnosticsDataTypeBuilder // WithQueryNextCount adds QueryNextCount (property field) WithQueryNextCount(ExtensionObjectDefinition) SessionDiagnosticsDataTypeBuilder - // WithQueryNextCountBuilder adds QueryNextCount (property field) which is build by the builder - WithQueryNextCountBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) SessionDiagnosticsDataTypeBuilder // WithRegisterNodesCount adds RegisterNodesCount (property field) WithRegisterNodesCount(ExtensionObjectDefinition) SessionDiagnosticsDataTypeBuilder - // WithRegisterNodesCountBuilder adds RegisterNodesCount (property field) which is build by the builder - WithRegisterNodesCountBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) SessionDiagnosticsDataTypeBuilder // WithUnregisterNodesCount adds UnregisterNodesCount (property field) WithUnregisterNodesCount(ExtensionObjectDefinition) SessionDiagnosticsDataTypeBuilder - // WithUnregisterNodesCountBuilder adds UnregisterNodesCount (property field) which is build by the builder - WithUnregisterNodesCountBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) SessionDiagnosticsDataTypeBuilder // Build builds the SessionDiagnosticsDataType or returns an error if something is wrong Build() (SessionDiagnosticsDataType, error) // MustBuild does the same as Build but panics on error @@ -569,19 +511,6 @@ func (m *_SessionDiagnosticsDataTypeBuilder) WithClientDescription(clientDescrip return m } -func (m *_SessionDiagnosticsDataTypeBuilder) WithClientDescriptionBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) SessionDiagnosticsDataTypeBuilder { - builder := builderSupplier(m.ClientDescription.CreateExtensionObjectDefinitionBuilder()) - var err error - m.ClientDescription, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_SessionDiagnosticsDataTypeBuilder) WithServerUri(serverUri PascalString) SessionDiagnosticsDataTypeBuilder { m.ServerUri = serverUri return m @@ -668,19 +597,6 @@ func (m *_SessionDiagnosticsDataTypeBuilder) WithTotalRequestCount(totalRequestC return m } -func (m *_SessionDiagnosticsDataTypeBuilder) WithTotalRequestCountBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) SessionDiagnosticsDataTypeBuilder { - builder := builderSupplier(m.TotalRequestCount.CreateExtensionObjectDefinitionBuilder()) - var err error - m.TotalRequestCount, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_SessionDiagnosticsDataTypeBuilder) WithUnauthorizedRequestCount(unauthorizedRequestCount uint32) SessionDiagnosticsDataTypeBuilder { m.UnauthorizedRequestCount = unauthorizedRequestCount return m @@ -691,505 +607,141 @@ func (m *_SessionDiagnosticsDataTypeBuilder) WithReadCount(readCount ExtensionOb return m } -func (m *_SessionDiagnosticsDataTypeBuilder) WithReadCountBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) SessionDiagnosticsDataTypeBuilder { - builder := builderSupplier(m.ReadCount.CreateExtensionObjectDefinitionBuilder()) - var err error - m.ReadCount, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_SessionDiagnosticsDataTypeBuilder) WithHistoryReadCount(historyReadCount ExtensionObjectDefinition) SessionDiagnosticsDataTypeBuilder { m.HistoryReadCount = historyReadCount return m } -func (m *_SessionDiagnosticsDataTypeBuilder) WithHistoryReadCountBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) SessionDiagnosticsDataTypeBuilder { - builder := builderSupplier(m.HistoryReadCount.CreateExtensionObjectDefinitionBuilder()) - var err error - m.HistoryReadCount, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_SessionDiagnosticsDataTypeBuilder) WithWriteCount(writeCount ExtensionObjectDefinition) SessionDiagnosticsDataTypeBuilder { m.WriteCount = writeCount return m } -func (m *_SessionDiagnosticsDataTypeBuilder) WithWriteCountBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) SessionDiagnosticsDataTypeBuilder { - builder := builderSupplier(m.WriteCount.CreateExtensionObjectDefinitionBuilder()) - var err error - m.WriteCount, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_SessionDiagnosticsDataTypeBuilder) WithHistoryUpdateCount(historyUpdateCount ExtensionObjectDefinition) SessionDiagnosticsDataTypeBuilder { m.HistoryUpdateCount = historyUpdateCount return m } -func (m *_SessionDiagnosticsDataTypeBuilder) WithHistoryUpdateCountBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) SessionDiagnosticsDataTypeBuilder { - builder := builderSupplier(m.HistoryUpdateCount.CreateExtensionObjectDefinitionBuilder()) - var err error - m.HistoryUpdateCount, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_SessionDiagnosticsDataTypeBuilder) WithCallCount(callCount ExtensionObjectDefinition) SessionDiagnosticsDataTypeBuilder { m.CallCount = callCount return m } -func (m *_SessionDiagnosticsDataTypeBuilder) WithCallCountBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) SessionDiagnosticsDataTypeBuilder { - builder := builderSupplier(m.CallCount.CreateExtensionObjectDefinitionBuilder()) - var err error - m.CallCount, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_SessionDiagnosticsDataTypeBuilder) WithCreateMonitoredItemsCount(createMonitoredItemsCount ExtensionObjectDefinition) SessionDiagnosticsDataTypeBuilder { m.CreateMonitoredItemsCount = createMonitoredItemsCount return m } -func (m *_SessionDiagnosticsDataTypeBuilder) WithCreateMonitoredItemsCountBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) SessionDiagnosticsDataTypeBuilder { - builder := builderSupplier(m.CreateMonitoredItemsCount.CreateExtensionObjectDefinitionBuilder()) - var err error - m.CreateMonitoredItemsCount, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_SessionDiagnosticsDataTypeBuilder) WithModifyMonitoredItemsCount(modifyMonitoredItemsCount ExtensionObjectDefinition) SessionDiagnosticsDataTypeBuilder { m.ModifyMonitoredItemsCount = modifyMonitoredItemsCount return m } -func (m *_SessionDiagnosticsDataTypeBuilder) WithModifyMonitoredItemsCountBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) SessionDiagnosticsDataTypeBuilder { - builder := builderSupplier(m.ModifyMonitoredItemsCount.CreateExtensionObjectDefinitionBuilder()) - var err error - m.ModifyMonitoredItemsCount, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_SessionDiagnosticsDataTypeBuilder) WithSetMonitoringModeCount(setMonitoringModeCount ExtensionObjectDefinition) SessionDiagnosticsDataTypeBuilder { m.SetMonitoringModeCount = setMonitoringModeCount return m } -func (m *_SessionDiagnosticsDataTypeBuilder) WithSetMonitoringModeCountBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) SessionDiagnosticsDataTypeBuilder { - builder := builderSupplier(m.SetMonitoringModeCount.CreateExtensionObjectDefinitionBuilder()) - var err error - m.SetMonitoringModeCount, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_SessionDiagnosticsDataTypeBuilder) WithSetTriggeringCount(setTriggeringCount ExtensionObjectDefinition) SessionDiagnosticsDataTypeBuilder { m.SetTriggeringCount = setTriggeringCount return m } -func (m *_SessionDiagnosticsDataTypeBuilder) WithSetTriggeringCountBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) SessionDiagnosticsDataTypeBuilder { - builder := builderSupplier(m.SetTriggeringCount.CreateExtensionObjectDefinitionBuilder()) - var err error - m.SetTriggeringCount, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_SessionDiagnosticsDataTypeBuilder) WithDeleteMonitoredItemsCount(deleteMonitoredItemsCount ExtensionObjectDefinition) SessionDiagnosticsDataTypeBuilder { m.DeleteMonitoredItemsCount = deleteMonitoredItemsCount return m } -func (m *_SessionDiagnosticsDataTypeBuilder) WithDeleteMonitoredItemsCountBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) SessionDiagnosticsDataTypeBuilder { - builder := builderSupplier(m.DeleteMonitoredItemsCount.CreateExtensionObjectDefinitionBuilder()) - var err error - m.DeleteMonitoredItemsCount, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_SessionDiagnosticsDataTypeBuilder) WithCreateSubscriptionCount(createSubscriptionCount ExtensionObjectDefinition) SessionDiagnosticsDataTypeBuilder { m.CreateSubscriptionCount = createSubscriptionCount return m } -func (m *_SessionDiagnosticsDataTypeBuilder) WithCreateSubscriptionCountBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) SessionDiagnosticsDataTypeBuilder { - builder := builderSupplier(m.CreateSubscriptionCount.CreateExtensionObjectDefinitionBuilder()) - var err error - m.CreateSubscriptionCount, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_SessionDiagnosticsDataTypeBuilder) WithModifySubscriptionCount(modifySubscriptionCount ExtensionObjectDefinition) SessionDiagnosticsDataTypeBuilder { m.ModifySubscriptionCount = modifySubscriptionCount return m } -func (m *_SessionDiagnosticsDataTypeBuilder) WithModifySubscriptionCountBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) SessionDiagnosticsDataTypeBuilder { - builder := builderSupplier(m.ModifySubscriptionCount.CreateExtensionObjectDefinitionBuilder()) - var err error - m.ModifySubscriptionCount, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_SessionDiagnosticsDataTypeBuilder) WithSetPublishingModeCount(setPublishingModeCount ExtensionObjectDefinition) SessionDiagnosticsDataTypeBuilder { m.SetPublishingModeCount = setPublishingModeCount return m } -func (m *_SessionDiagnosticsDataTypeBuilder) WithSetPublishingModeCountBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) SessionDiagnosticsDataTypeBuilder { - builder := builderSupplier(m.SetPublishingModeCount.CreateExtensionObjectDefinitionBuilder()) - var err error - m.SetPublishingModeCount, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_SessionDiagnosticsDataTypeBuilder) WithPublishCount(publishCount ExtensionObjectDefinition) SessionDiagnosticsDataTypeBuilder { m.PublishCount = publishCount return m } -func (m *_SessionDiagnosticsDataTypeBuilder) WithPublishCountBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) SessionDiagnosticsDataTypeBuilder { - builder := builderSupplier(m.PublishCount.CreateExtensionObjectDefinitionBuilder()) - var err error - m.PublishCount, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_SessionDiagnosticsDataTypeBuilder) WithRepublishCount(republishCount ExtensionObjectDefinition) SessionDiagnosticsDataTypeBuilder { m.RepublishCount = republishCount return m } -func (m *_SessionDiagnosticsDataTypeBuilder) WithRepublishCountBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) SessionDiagnosticsDataTypeBuilder { - builder := builderSupplier(m.RepublishCount.CreateExtensionObjectDefinitionBuilder()) - var err error - m.RepublishCount, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_SessionDiagnosticsDataTypeBuilder) WithTransferSubscriptionsCount(transferSubscriptionsCount ExtensionObjectDefinition) SessionDiagnosticsDataTypeBuilder { m.TransferSubscriptionsCount = transferSubscriptionsCount return m } -func (m *_SessionDiagnosticsDataTypeBuilder) WithTransferSubscriptionsCountBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) SessionDiagnosticsDataTypeBuilder { - builder := builderSupplier(m.TransferSubscriptionsCount.CreateExtensionObjectDefinitionBuilder()) - var err error - m.TransferSubscriptionsCount, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_SessionDiagnosticsDataTypeBuilder) WithDeleteSubscriptionsCount(deleteSubscriptionsCount ExtensionObjectDefinition) SessionDiagnosticsDataTypeBuilder { m.DeleteSubscriptionsCount = deleteSubscriptionsCount return m } -func (m *_SessionDiagnosticsDataTypeBuilder) WithDeleteSubscriptionsCountBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) SessionDiagnosticsDataTypeBuilder { - builder := builderSupplier(m.DeleteSubscriptionsCount.CreateExtensionObjectDefinitionBuilder()) - var err error - m.DeleteSubscriptionsCount, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_SessionDiagnosticsDataTypeBuilder) WithAddNodesCount(addNodesCount ExtensionObjectDefinition) SessionDiagnosticsDataTypeBuilder { m.AddNodesCount = addNodesCount return m } -func (m *_SessionDiagnosticsDataTypeBuilder) WithAddNodesCountBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) SessionDiagnosticsDataTypeBuilder { - builder := builderSupplier(m.AddNodesCount.CreateExtensionObjectDefinitionBuilder()) - var err error - m.AddNodesCount, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_SessionDiagnosticsDataTypeBuilder) WithAddReferencesCount(addReferencesCount ExtensionObjectDefinition) SessionDiagnosticsDataTypeBuilder { m.AddReferencesCount = addReferencesCount return m } -func (m *_SessionDiagnosticsDataTypeBuilder) WithAddReferencesCountBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) SessionDiagnosticsDataTypeBuilder { - builder := builderSupplier(m.AddReferencesCount.CreateExtensionObjectDefinitionBuilder()) - var err error - m.AddReferencesCount, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_SessionDiagnosticsDataTypeBuilder) WithDeleteNodesCount(deleteNodesCount ExtensionObjectDefinition) SessionDiagnosticsDataTypeBuilder { m.DeleteNodesCount = deleteNodesCount return m } -func (m *_SessionDiagnosticsDataTypeBuilder) WithDeleteNodesCountBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) SessionDiagnosticsDataTypeBuilder { - builder := builderSupplier(m.DeleteNodesCount.CreateExtensionObjectDefinitionBuilder()) - var err error - m.DeleteNodesCount, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_SessionDiagnosticsDataTypeBuilder) WithDeleteReferencesCount(deleteReferencesCount ExtensionObjectDefinition) SessionDiagnosticsDataTypeBuilder { m.DeleteReferencesCount = deleteReferencesCount return m } -func (m *_SessionDiagnosticsDataTypeBuilder) WithDeleteReferencesCountBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) SessionDiagnosticsDataTypeBuilder { - builder := builderSupplier(m.DeleteReferencesCount.CreateExtensionObjectDefinitionBuilder()) - var err error - m.DeleteReferencesCount, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_SessionDiagnosticsDataTypeBuilder) WithBrowseCount(browseCount ExtensionObjectDefinition) SessionDiagnosticsDataTypeBuilder { m.BrowseCount = browseCount return m } -func (m *_SessionDiagnosticsDataTypeBuilder) WithBrowseCountBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) SessionDiagnosticsDataTypeBuilder { - builder := builderSupplier(m.BrowseCount.CreateExtensionObjectDefinitionBuilder()) - var err error - m.BrowseCount, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_SessionDiagnosticsDataTypeBuilder) WithBrowseNextCount(browseNextCount ExtensionObjectDefinition) SessionDiagnosticsDataTypeBuilder { m.BrowseNextCount = browseNextCount return m } -func (m *_SessionDiagnosticsDataTypeBuilder) WithBrowseNextCountBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) SessionDiagnosticsDataTypeBuilder { - builder := builderSupplier(m.BrowseNextCount.CreateExtensionObjectDefinitionBuilder()) - var err error - m.BrowseNextCount, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_SessionDiagnosticsDataTypeBuilder) WithTranslateBrowsePathsToNodeIdsCount(translateBrowsePathsToNodeIdsCount ExtensionObjectDefinition) SessionDiagnosticsDataTypeBuilder { m.TranslateBrowsePathsToNodeIdsCount = translateBrowsePathsToNodeIdsCount return m } -func (m *_SessionDiagnosticsDataTypeBuilder) WithTranslateBrowsePathsToNodeIdsCountBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) SessionDiagnosticsDataTypeBuilder { - builder := builderSupplier(m.TranslateBrowsePathsToNodeIdsCount.CreateExtensionObjectDefinitionBuilder()) - var err error - m.TranslateBrowsePathsToNodeIdsCount, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_SessionDiagnosticsDataTypeBuilder) WithQueryFirstCount(queryFirstCount ExtensionObjectDefinition) SessionDiagnosticsDataTypeBuilder { m.QueryFirstCount = queryFirstCount return m } -func (m *_SessionDiagnosticsDataTypeBuilder) WithQueryFirstCountBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) SessionDiagnosticsDataTypeBuilder { - builder := builderSupplier(m.QueryFirstCount.CreateExtensionObjectDefinitionBuilder()) - var err error - m.QueryFirstCount, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_SessionDiagnosticsDataTypeBuilder) WithQueryNextCount(queryNextCount ExtensionObjectDefinition) SessionDiagnosticsDataTypeBuilder { m.QueryNextCount = queryNextCount return m } -func (m *_SessionDiagnosticsDataTypeBuilder) WithQueryNextCountBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) SessionDiagnosticsDataTypeBuilder { - builder := builderSupplier(m.QueryNextCount.CreateExtensionObjectDefinitionBuilder()) - var err error - m.QueryNextCount, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_SessionDiagnosticsDataTypeBuilder) WithRegisterNodesCount(registerNodesCount ExtensionObjectDefinition) SessionDiagnosticsDataTypeBuilder { m.RegisterNodesCount = registerNodesCount return m } -func (m *_SessionDiagnosticsDataTypeBuilder) WithRegisterNodesCountBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) SessionDiagnosticsDataTypeBuilder { - builder := builderSupplier(m.RegisterNodesCount.CreateExtensionObjectDefinitionBuilder()) - var err error - m.RegisterNodesCount, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_SessionDiagnosticsDataTypeBuilder) WithUnregisterNodesCount(unregisterNodesCount ExtensionObjectDefinition) SessionDiagnosticsDataTypeBuilder { m.UnregisterNodesCount = unregisterNodesCount return m } -func (m *_SessionDiagnosticsDataTypeBuilder) WithUnregisterNodesCountBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) SessionDiagnosticsDataTypeBuilder { - builder := builderSupplier(m.UnregisterNodesCount.CreateExtensionObjectDefinitionBuilder()) - var err error - m.UnregisterNodesCount, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_SessionDiagnosticsDataTypeBuilder) Build() (SessionDiagnosticsDataType, error) { if m.SessionId == nil { if m.err == nil { diff --git a/plc4go/protocols/opcua/readwrite/model/SessionSecurityDiagnosticsDataType.go b/plc4go/protocols/opcua/readwrite/model/SessionSecurityDiagnosticsDataType.go index 5afcdea72a..4e5784c487 100644 --- a/plc4go/protocols/opcua/readwrite/model/SessionSecurityDiagnosticsDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/SessionSecurityDiagnosticsDataType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/SessionlessInvokeRequestType.go b/plc4go/protocols/opcua/readwrite/model/SessionlessInvokeRequestType.go index 56777e1714..235ca8dc2e 100644 --- a/plc4go/protocols/opcua/readwrite/model/SessionlessInvokeRequestType.go +++ b/plc4go/protocols/opcua/readwrite/model/SessionlessInvokeRequestType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/SessionlessInvokeResponseType.go b/plc4go/protocols/opcua/readwrite/model/SessionlessInvokeResponseType.go index a09e518d35..1bb9cdee9c 100644 --- a/plc4go/protocols/opcua/readwrite/model/SessionlessInvokeResponseType.go +++ b/plc4go/protocols/opcua/readwrite/model/SessionlessInvokeResponseType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/SetMonitoringModeRequest.go b/plc4go/protocols/opcua/readwrite/model/SetMonitoringModeRequest.go index ba6fd534e4..c4754ac104 100644 --- a/plc4go/protocols/opcua/readwrite/model/SetMonitoringModeRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/SetMonitoringModeRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -96,8 +98,6 @@ type SetMonitoringModeRequestBuilder interface { WithMandatoryFields(requestHeader ExtensionObjectDefinition, subscriptionId uint32, monitoringMode MonitoringMode, noOfMonitoredItemIds int32, monitoredItemIds []uint32) SetMonitoringModeRequestBuilder // WithRequestHeader adds RequestHeader (property field) WithRequestHeader(ExtensionObjectDefinition) SetMonitoringModeRequestBuilder - // WithRequestHeaderBuilder adds RequestHeader (property field) which is build by the builder - WithRequestHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) SetMonitoringModeRequestBuilder // WithSubscriptionId adds SubscriptionId (property field) WithSubscriptionId(uint32) SetMonitoringModeRequestBuilder // WithMonitoringMode adds MonitoringMode (property field) @@ -134,19 +134,6 @@ func (m *_SetMonitoringModeRequestBuilder) WithRequestHeader(requestHeader Exten return m } -func (m *_SetMonitoringModeRequestBuilder) WithRequestHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) SetMonitoringModeRequestBuilder { - builder := builderSupplier(m.RequestHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.RequestHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_SetMonitoringModeRequestBuilder) WithSubscriptionId(subscriptionId uint32) SetMonitoringModeRequestBuilder { m.SubscriptionId = subscriptionId return m diff --git a/plc4go/protocols/opcua/readwrite/model/SetMonitoringModeResponse.go b/plc4go/protocols/opcua/readwrite/model/SetMonitoringModeResponse.go index a9259a245b..bfb274ed8a 100644 --- a/plc4go/protocols/opcua/readwrite/model/SetMonitoringModeResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/SetMonitoringModeResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -96,8 +98,6 @@ type SetMonitoringModeResponseBuilder interface { WithMandatoryFields(responseHeader ExtensionObjectDefinition, noOfResults int32, results []StatusCode, noOfDiagnosticInfos int32, diagnosticInfos []DiagnosticInfo) SetMonitoringModeResponseBuilder // WithResponseHeader adds ResponseHeader (property field) WithResponseHeader(ExtensionObjectDefinition) SetMonitoringModeResponseBuilder - // WithResponseHeaderBuilder adds ResponseHeader (property field) which is build by the builder - WithResponseHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) SetMonitoringModeResponseBuilder // WithNoOfResults adds NoOfResults (property field) WithNoOfResults(int32) SetMonitoringModeResponseBuilder // WithResults adds Results (property field) @@ -134,19 +134,6 @@ func (m *_SetMonitoringModeResponseBuilder) WithResponseHeader(responseHeader Ex return m } -func (m *_SetMonitoringModeResponseBuilder) WithResponseHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) SetMonitoringModeResponseBuilder { - builder := builderSupplier(m.ResponseHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.ResponseHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_SetMonitoringModeResponseBuilder) WithNoOfResults(noOfResults int32) SetMonitoringModeResponseBuilder { m.NoOfResults = noOfResults return m diff --git a/plc4go/protocols/opcua/readwrite/model/SetPublishingModeRequest.go b/plc4go/protocols/opcua/readwrite/model/SetPublishingModeRequest.go index 5cd9b4feaa..a9ee7dc5ba 100644 --- a/plc4go/protocols/opcua/readwrite/model/SetPublishingModeRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/SetPublishingModeRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -94,8 +96,6 @@ type SetPublishingModeRequestBuilder interface { WithMandatoryFields(requestHeader ExtensionObjectDefinition, publishingEnabled bool, noOfSubscriptionIds int32, subscriptionIds []uint32) SetPublishingModeRequestBuilder // WithRequestHeader adds RequestHeader (property field) WithRequestHeader(ExtensionObjectDefinition) SetPublishingModeRequestBuilder - // WithRequestHeaderBuilder adds RequestHeader (property field) which is build by the builder - WithRequestHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) SetPublishingModeRequestBuilder // WithPublishingEnabled adds PublishingEnabled (property field) WithPublishingEnabled(bool) SetPublishingModeRequestBuilder // WithNoOfSubscriptionIds adds NoOfSubscriptionIds (property field) @@ -130,19 +130,6 @@ func (m *_SetPublishingModeRequestBuilder) WithRequestHeader(requestHeader Exten return m } -func (m *_SetPublishingModeRequestBuilder) WithRequestHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) SetPublishingModeRequestBuilder { - builder := builderSupplier(m.RequestHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.RequestHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_SetPublishingModeRequestBuilder) WithPublishingEnabled(publishingEnabled bool) SetPublishingModeRequestBuilder { m.PublishingEnabled = publishingEnabled return m diff --git a/plc4go/protocols/opcua/readwrite/model/SetPublishingModeResponse.go b/plc4go/protocols/opcua/readwrite/model/SetPublishingModeResponse.go index c394a3cef4..010d1cf6e6 100644 --- a/plc4go/protocols/opcua/readwrite/model/SetPublishingModeResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/SetPublishingModeResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -96,8 +98,6 @@ type SetPublishingModeResponseBuilder interface { WithMandatoryFields(responseHeader ExtensionObjectDefinition, noOfResults int32, results []StatusCode, noOfDiagnosticInfos int32, diagnosticInfos []DiagnosticInfo) SetPublishingModeResponseBuilder // WithResponseHeader adds ResponseHeader (property field) WithResponseHeader(ExtensionObjectDefinition) SetPublishingModeResponseBuilder - // WithResponseHeaderBuilder adds ResponseHeader (property field) which is build by the builder - WithResponseHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) SetPublishingModeResponseBuilder // WithNoOfResults adds NoOfResults (property field) WithNoOfResults(int32) SetPublishingModeResponseBuilder // WithResults adds Results (property field) @@ -134,19 +134,6 @@ func (m *_SetPublishingModeResponseBuilder) WithResponseHeader(responseHeader Ex return m } -func (m *_SetPublishingModeResponseBuilder) WithResponseHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) SetPublishingModeResponseBuilder { - builder := builderSupplier(m.ResponseHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.ResponseHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_SetPublishingModeResponseBuilder) WithNoOfResults(noOfResults int32) SetPublishingModeResponseBuilder { m.NoOfResults = noOfResults return m diff --git a/plc4go/protocols/opcua/readwrite/model/SetTriggeringRequest.go b/plc4go/protocols/opcua/readwrite/model/SetTriggeringRequest.go index 7d83ae9305..0763181ad3 100644 --- a/plc4go/protocols/opcua/readwrite/model/SetTriggeringRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/SetTriggeringRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -104,8 +106,6 @@ type SetTriggeringRequestBuilder interface { WithMandatoryFields(requestHeader ExtensionObjectDefinition, subscriptionId uint32, triggeringItemId uint32, noOfLinksToAdd int32, linksToAdd []uint32, noOfLinksToRemove int32, linksToRemove []uint32) SetTriggeringRequestBuilder // WithRequestHeader adds RequestHeader (property field) WithRequestHeader(ExtensionObjectDefinition) SetTriggeringRequestBuilder - // WithRequestHeaderBuilder adds RequestHeader (property field) which is build by the builder - WithRequestHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) SetTriggeringRequestBuilder // WithSubscriptionId adds SubscriptionId (property field) WithSubscriptionId(uint32) SetTriggeringRequestBuilder // WithTriggeringItemId adds TriggeringItemId (property field) @@ -146,19 +146,6 @@ func (m *_SetTriggeringRequestBuilder) WithRequestHeader(requestHeader Extension return m } -func (m *_SetTriggeringRequestBuilder) WithRequestHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) SetTriggeringRequestBuilder { - builder := builderSupplier(m.RequestHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.RequestHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_SetTriggeringRequestBuilder) WithSubscriptionId(subscriptionId uint32) SetTriggeringRequestBuilder { m.SubscriptionId = subscriptionId return m diff --git a/plc4go/protocols/opcua/readwrite/model/SetTriggeringResponse.go b/plc4go/protocols/opcua/readwrite/model/SetTriggeringResponse.go index d41969ed98..f3f8de78be 100644 --- a/plc4go/protocols/opcua/readwrite/model/SetTriggeringResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/SetTriggeringResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -112,8 +114,6 @@ type SetTriggeringResponseBuilder interface { WithMandatoryFields(responseHeader ExtensionObjectDefinition, noOfAddResults int32, addResults []StatusCode, noOfAddDiagnosticInfos int32, addDiagnosticInfos []DiagnosticInfo, noOfRemoveResults int32, removeResults []StatusCode, noOfRemoveDiagnosticInfos int32, removeDiagnosticInfos []DiagnosticInfo) SetTriggeringResponseBuilder // WithResponseHeader adds ResponseHeader (property field) WithResponseHeader(ExtensionObjectDefinition) SetTriggeringResponseBuilder - // WithResponseHeaderBuilder adds ResponseHeader (property field) which is build by the builder - WithResponseHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) SetTriggeringResponseBuilder // WithNoOfAddResults adds NoOfAddResults (property field) WithNoOfAddResults(int32) SetTriggeringResponseBuilder // WithAddResults adds AddResults (property field) @@ -158,19 +158,6 @@ func (m *_SetTriggeringResponseBuilder) WithResponseHeader(responseHeader Extens return m } -func (m *_SetTriggeringResponseBuilder) WithResponseHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) SetTriggeringResponseBuilder { - builder := builderSupplier(m.ResponseHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.ResponseHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_SetTriggeringResponseBuilder) WithNoOfAddResults(noOfAddResults int32) SetTriggeringResponseBuilder { m.NoOfAddResults = noOfAddResults return m diff --git a/plc4go/protocols/opcua/readwrite/model/SignatureData.go b/plc4go/protocols/opcua/readwrite/model/SignatureData.go index dccb04b2e9..418fa3ff38 100644 --- a/plc4go/protocols/opcua/readwrite/model/SignatureData.go +++ b/plc4go/protocols/opcua/readwrite/model/SignatureData.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/SignedSoftwareCertificate.go b/plc4go/protocols/opcua/readwrite/model/SignedSoftwareCertificate.go index 76825d8c6a..537765983a 100644 --- a/plc4go/protocols/opcua/readwrite/model/SignedSoftwareCertificate.go +++ b/plc4go/protocols/opcua/readwrite/model/SignedSoftwareCertificate.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/StatusChangeNotification.go b/plc4go/protocols/opcua/readwrite/model/StatusChangeNotification.go index 22fa01d263..c1582d07b0 100644 --- a/plc4go/protocols/opcua/readwrite/model/StatusChangeNotification.go +++ b/plc4go/protocols/opcua/readwrite/model/StatusChangeNotification.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/StatusCode.go b/plc4go/protocols/opcua/readwrite/model/StatusCode.go index b3bce8df48..6af4773524 100644 --- a/plc4go/protocols/opcua/readwrite/model/StatusCode.go +++ b/plc4go/protocols/opcua/readwrite/model/StatusCode.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/StatusResult.go b/plc4go/protocols/opcua/readwrite/model/StatusResult.go index 6351c65025..1aa5497d0a 100644 --- a/plc4go/protocols/opcua/readwrite/model/StatusResult.go +++ b/plc4go/protocols/opcua/readwrite/model/StatusResult.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/StringNodeId.go b/plc4go/protocols/opcua/readwrite/model/StringNodeId.go index aa89c38fb6..2acb055558 100644 --- a/plc4go/protocols/opcua/readwrite/model/StringNodeId.go +++ b/plc4go/protocols/opcua/readwrite/model/StringNodeId.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/Structure.go b/plc4go/protocols/opcua/readwrite/model/Structure.go index 7ee02ac650..f2d17fb654 100644 --- a/plc4go/protocols/opcua/readwrite/model/Structure.go +++ b/plc4go/protocols/opcua/readwrite/model/Structure.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/StructureField.go b/plc4go/protocols/opcua/readwrite/model/StructureField.go index 70353f0452..3524b8f0f6 100644 --- a/plc4go/protocols/opcua/readwrite/model/StructureField.go +++ b/plc4go/protocols/opcua/readwrite/model/StructureField.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/StructureType.go b/plc4go/protocols/opcua/readwrite/model/StructureType.go index d53bf487af..56e172af79 100644 --- a/plc4go/protocols/opcua/readwrite/model/StructureType.go +++ b/plc4go/protocols/opcua/readwrite/model/StructureType.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/SubscribedDataSetDataType.go b/plc4go/protocols/opcua/readwrite/model/SubscribedDataSetDataType.go index 889c760b6c..af32c6c2e6 100644 --- a/plc4go/protocols/opcua/readwrite/model/SubscribedDataSetDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/SubscribedDataSetDataType.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/SubscriptionAcknowledgement.go b/plc4go/protocols/opcua/readwrite/model/SubscriptionAcknowledgement.go index 29052755cf..e1f13aa5b2 100644 --- a/plc4go/protocols/opcua/readwrite/model/SubscriptionAcknowledgement.go +++ b/plc4go/protocols/opcua/readwrite/model/SubscriptionAcknowledgement.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/SubscriptionDiagnosticsDataType.go b/plc4go/protocols/opcua/readwrite/model/SubscriptionDiagnosticsDataType.go index e0a10f5cea..818146c23c 100644 --- a/plc4go/protocols/opcua/readwrite/model/SubscriptionDiagnosticsDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/SubscriptionDiagnosticsDataType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/TimeString.go b/plc4go/protocols/opcua/readwrite/model/TimeString.go index 273055263a..50ca6ee8ca 100644 --- a/plc4go/protocols/opcua/readwrite/model/TimeString.go +++ b/plc4go/protocols/opcua/readwrite/model/TimeString.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/TimeZoneDataType.go b/plc4go/protocols/opcua/readwrite/model/TimeZoneDataType.go index f5e55c4931..2901a921a7 100644 --- a/plc4go/protocols/opcua/readwrite/model/TimeZoneDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/TimeZoneDataType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/TimestampsToReturn.go b/plc4go/protocols/opcua/readwrite/model/TimestampsToReturn.go index e1a2d6aeca..cb73a22ed3 100644 --- a/plc4go/protocols/opcua/readwrite/model/TimestampsToReturn.go +++ b/plc4go/protocols/opcua/readwrite/model/TimestampsToReturn.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/TransactionErrorType.go b/plc4go/protocols/opcua/readwrite/model/TransactionErrorType.go index dfde6ce44a..6b827ade33 100644 --- a/plc4go/protocols/opcua/readwrite/model/TransactionErrorType.go +++ b/plc4go/protocols/opcua/readwrite/model/TransactionErrorType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/TransferResult.go b/plc4go/protocols/opcua/readwrite/model/TransferResult.go index 753e07fa79..7b638ff4c9 100644 --- a/plc4go/protocols/opcua/readwrite/model/TransferResult.go +++ b/plc4go/protocols/opcua/readwrite/model/TransferResult.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/TransferSubscriptionsRequest.go b/plc4go/protocols/opcua/readwrite/model/TransferSubscriptionsRequest.go index e2e59c1b77..15562afb14 100644 --- a/plc4go/protocols/opcua/readwrite/model/TransferSubscriptionsRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/TransferSubscriptionsRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -94,8 +96,6 @@ type TransferSubscriptionsRequestBuilder interface { WithMandatoryFields(requestHeader ExtensionObjectDefinition, noOfSubscriptionIds int32, subscriptionIds []uint32, sendInitialValues bool) TransferSubscriptionsRequestBuilder // WithRequestHeader adds RequestHeader (property field) WithRequestHeader(ExtensionObjectDefinition) TransferSubscriptionsRequestBuilder - // WithRequestHeaderBuilder adds RequestHeader (property field) which is build by the builder - WithRequestHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) TransferSubscriptionsRequestBuilder // WithNoOfSubscriptionIds adds NoOfSubscriptionIds (property field) WithNoOfSubscriptionIds(int32) TransferSubscriptionsRequestBuilder // WithSubscriptionIds adds SubscriptionIds (property field) @@ -130,19 +130,6 @@ func (m *_TransferSubscriptionsRequestBuilder) WithRequestHeader(requestHeader E return m } -func (m *_TransferSubscriptionsRequestBuilder) WithRequestHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) TransferSubscriptionsRequestBuilder { - builder := builderSupplier(m.RequestHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.RequestHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_TransferSubscriptionsRequestBuilder) WithNoOfSubscriptionIds(noOfSubscriptionIds int32) TransferSubscriptionsRequestBuilder { m.NoOfSubscriptionIds = noOfSubscriptionIds return m diff --git a/plc4go/protocols/opcua/readwrite/model/TransferSubscriptionsResponse.go b/plc4go/protocols/opcua/readwrite/model/TransferSubscriptionsResponse.go index 5c4698df3c..dcff294f54 100644 --- a/plc4go/protocols/opcua/readwrite/model/TransferSubscriptionsResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/TransferSubscriptionsResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -96,8 +98,6 @@ type TransferSubscriptionsResponseBuilder interface { WithMandatoryFields(responseHeader ExtensionObjectDefinition, noOfResults int32, results []ExtensionObjectDefinition, noOfDiagnosticInfos int32, diagnosticInfos []DiagnosticInfo) TransferSubscriptionsResponseBuilder // WithResponseHeader adds ResponseHeader (property field) WithResponseHeader(ExtensionObjectDefinition) TransferSubscriptionsResponseBuilder - // WithResponseHeaderBuilder adds ResponseHeader (property field) which is build by the builder - WithResponseHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) TransferSubscriptionsResponseBuilder // WithNoOfResults adds NoOfResults (property field) WithNoOfResults(int32) TransferSubscriptionsResponseBuilder // WithResults adds Results (property field) @@ -134,19 +134,6 @@ func (m *_TransferSubscriptionsResponseBuilder) WithResponseHeader(responseHeade return m } -func (m *_TransferSubscriptionsResponseBuilder) WithResponseHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) TransferSubscriptionsResponseBuilder { - builder := builderSupplier(m.ResponseHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.ResponseHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_TransferSubscriptionsResponseBuilder) WithNoOfResults(noOfResults int32) TransferSubscriptionsResponseBuilder { m.NoOfResults = noOfResults return m diff --git a/plc4go/protocols/opcua/readwrite/model/TranslateBrowsePathsToNodeIdsRequest.go b/plc4go/protocols/opcua/readwrite/model/TranslateBrowsePathsToNodeIdsRequest.go index 1240519355..0d739f8bc2 100644 --- a/plc4go/protocols/opcua/readwrite/model/TranslateBrowsePathsToNodeIdsRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/TranslateBrowsePathsToNodeIdsRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -88,8 +90,6 @@ type TranslateBrowsePathsToNodeIdsRequestBuilder interface { WithMandatoryFields(requestHeader ExtensionObjectDefinition, noOfBrowsePaths int32, browsePaths []ExtensionObjectDefinition) TranslateBrowsePathsToNodeIdsRequestBuilder // WithRequestHeader adds RequestHeader (property field) WithRequestHeader(ExtensionObjectDefinition) TranslateBrowsePathsToNodeIdsRequestBuilder - // WithRequestHeaderBuilder adds RequestHeader (property field) which is build by the builder - WithRequestHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) TranslateBrowsePathsToNodeIdsRequestBuilder // WithNoOfBrowsePaths adds NoOfBrowsePaths (property field) WithNoOfBrowsePaths(int32) TranslateBrowsePathsToNodeIdsRequestBuilder // WithBrowsePaths adds BrowsePaths (property field) @@ -122,19 +122,6 @@ func (m *_TranslateBrowsePathsToNodeIdsRequestBuilder) WithRequestHeader(request return m } -func (m *_TranslateBrowsePathsToNodeIdsRequestBuilder) WithRequestHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) TranslateBrowsePathsToNodeIdsRequestBuilder { - builder := builderSupplier(m.RequestHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.RequestHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_TranslateBrowsePathsToNodeIdsRequestBuilder) WithNoOfBrowsePaths(noOfBrowsePaths int32) TranslateBrowsePathsToNodeIdsRequestBuilder { m.NoOfBrowsePaths = noOfBrowsePaths return m diff --git a/plc4go/protocols/opcua/readwrite/model/TranslateBrowsePathsToNodeIdsResponse.go b/plc4go/protocols/opcua/readwrite/model/TranslateBrowsePathsToNodeIdsResponse.go index 4ed3d69168..c6e18024c5 100644 --- a/plc4go/protocols/opcua/readwrite/model/TranslateBrowsePathsToNodeIdsResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/TranslateBrowsePathsToNodeIdsResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -96,8 +98,6 @@ type TranslateBrowsePathsToNodeIdsResponseBuilder interface { WithMandatoryFields(responseHeader ExtensionObjectDefinition, noOfResults int32, results []ExtensionObjectDefinition, noOfDiagnosticInfos int32, diagnosticInfos []DiagnosticInfo) TranslateBrowsePathsToNodeIdsResponseBuilder // WithResponseHeader adds ResponseHeader (property field) WithResponseHeader(ExtensionObjectDefinition) TranslateBrowsePathsToNodeIdsResponseBuilder - // WithResponseHeaderBuilder adds ResponseHeader (property field) which is build by the builder - WithResponseHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) TranslateBrowsePathsToNodeIdsResponseBuilder // WithNoOfResults adds NoOfResults (property field) WithNoOfResults(int32) TranslateBrowsePathsToNodeIdsResponseBuilder // WithResults adds Results (property field) @@ -134,19 +134,6 @@ func (m *_TranslateBrowsePathsToNodeIdsResponseBuilder) WithResponseHeader(respo return m } -func (m *_TranslateBrowsePathsToNodeIdsResponseBuilder) WithResponseHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) TranslateBrowsePathsToNodeIdsResponseBuilder { - builder := builderSupplier(m.ResponseHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.ResponseHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_TranslateBrowsePathsToNodeIdsResponseBuilder) WithNoOfResults(noOfResults int32) TranslateBrowsePathsToNodeIdsResponseBuilder { m.NoOfResults = noOfResults return m diff --git a/plc4go/protocols/opcua/readwrite/model/TrimmedString.go b/plc4go/protocols/opcua/readwrite/model/TrimmedString.go index 3cf44375ff..02b746aa70 100644 --- a/plc4go/protocols/opcua/readwrite/model/TrimmedString.go +++ b/plc4go/protocols/opcua/readwrite/model/TrimmedString.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/TrustListDataType.go b/plc4go/protocols/opcua/readwrite/model/TrustListDataType.go index 19127d132e..21021d7a5a 100644 --- a/plc4go/protocols/opcua/readwrite/model/TrustListDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/TrustListDataType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/TrustListMasks.go b/plc4go/protocols/opcua/readwrite/model/TrustListMasks.go index c2037637bb..cff752e73a 100644 --- a/plc4go/protocols/opcua/readwrite/model/TrustListMasks.go +++ b/plc4go/protocols/opcua/readwrite/model/TrustListMasks.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/TrustListValidationOptions.go b/plc4go/protocols/opcua/readwrite/model/TrustListValidationOptions.go index c559f62988..3f9fbe860b 100644 --- a/plc4go/protocols/opcua/readwrite/model/TrustListValidationOptions.go +++ b/plc4go/protocols/opcua/readwrite/model/TrustListValidationOptions.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/TsnFailureCode.go b/plc4go/protocols/opcua/readwrite/model/TsnFailureCode.go index d066f71151..4ceb7be553 100644 --- a/plc4go/protocols/opcua/readwrite/model/TsnFailureCode.go +++ b/plc4go/protocols/opcua/readwrite/model/TsnFailureCode.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/TsnListenerStatus.go b/plc4go/protocols/opcua/readwrite/model/TsnListenerStatus.go index c410d9ad9f..a08cb3623d 100644 --- a/plc4go/protocols/opcua/readwrite/model/TsnListenerStatus.go +++ b/plc4go/protocols/opcua/readwrite/model/TsnListenerStatus.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/TsnStreamState.go b/plc4go/protocols/opcua/readwrite/model/TsnStreamState.go index ecf93678de..b113545384 100644 --- a/plc4go/protocols/opcua/readwrite/model/TsnStreamState.go +++ b/plc4go/protocols/opcua/readwrite/model/TsnStreamState.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/TsnTalkerStatus.go b/plc4go/protocols/opcua/readwrite/model/TsnTalkerStatus.go index 8f698eb1ff..0f194b98e4 100644 --- a/plc4go/protocols/opcua/readwrite/model/TsnTalkerStatus.go +++ b/plc4go/protocols/opcua/readwrite/model/TsnTalkerStatus.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/TwoByteNodeId.go b/plc4go/protocols/opcua/readwrite/model/TwoByteNodeId.go index bd9d40a030..1461e69191 100644 --- a/plc4go/protocols/opcua/readwrite/model/TwoByteNodeId.go +++ b/plc4go/protocols/opcua/readwrite/model/TwoByteNodeId.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/UadpDataSetMessageContentMask.go b/plc4go/protocols/opcua/readwrite/model/UadpDataSetMessageContentMask.go index 4888e66685..2aef295bc2 100644 --- a/plc4go/protocols/opcua/readwrite/model/UadpDataSetMessageContentMask.go +++ b/plc4go/protocols/opcua/readwrite/model/UadpDataSetMessageContentMask.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/UadpNetworkMessageContentMask.go b/plc4go/protocols/opcua/readwrite/model/UadpNetworkMessageContentMask.go index 0a68e2eb24..8f015d245c 100644 --- a/plc4go/protocols/opcua/readwrite/model/UadpNetworkMessageContentMask.go +++ b/plc4go/protocols/opcua/readwrite/model/UadpNetworkMessageContentMask.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/Union.go b/plc4go/protocols/opcua/readwrite/model/Union.go index f819f5ef52..dd6e02b348 100644 --- a/plc4go/protocols/opcua/readwrite/model/Union.go +++ b/plc4go/protocols/opcua/readwrite/model/Union.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/UnregisterNodesRequest.go b/plc4go/protocols/opcua/readwrite/model/UnregisterNodesRequest.go index d10e7d0c36..fe9c1a3c81 100644 --- a/plc4go/protocols/opcua/readwrite/model/UnregisterNodesRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/UnregisterNodesRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -88,8 +90,6 @@ type UnregisterNodesRequestBuilder interface { WithMandatoryFields(requestHeader ExtensionObjectDefinition, noOfNodesToUnregister int32, nodesToUnregister []NodeId) UnregisterNodesRequestBuilder // WithRequestHeader adds RequestHeader (property field) WithRequestHeader(ExtensionObjectDefinition) UnregisterNodesRequestBuilder - // WithRequestHeaderBuilder adds RequestHeader (property field) which is build by the builder - WithRequestHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) UnregisterNodesRequestBuilder // WithNoOfNodesToUnregister adds NoOfNodesToUnregister (property field) WithNoOfNodesToUnregister(int32) UnregisterNodesRequestBuilder // WithNodesToUnregister adds NodesToUnregister (property field) @@ -122,19 +122,6 @@ func (m *_UnregisterNodesRequestBuilder) WithRequestHeader(requestHeader Extensi return m } -func (m *_UnregisterNodesRequestBuilder) WithRequestHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) UnregisterNodesRequestBuilder { - builder := builderSupplier(m.RequestHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.RequestHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_UnregisterNodesRequestBuilder) WithNoOfNodesToUnregister(noOfNodesToUnregister int32) UnregisterNodesRequestBuilder { m.NoOfNodesToUnregister = noOfNodesToUnregister return m diff --git a/plc4go/protocols/opcua/readwrite/model/UnregisterNodesResponse.go b/plc4go/protocols/opcua/readwrite/model/UnregisterNodesResponse.go index f5757219ff..eb68d3e173 100644 --- a/plc4go/protocols/opcua/readwrite/model/UnregisterNodesResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/UnregisterNodesResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -80,8 +82,6 @@ type UnregisterNodesResponseBuilder interface { WithMandatoryFields(responseHeader ExtensionObjectDefinition) UnregisterNodesResponseBuilder // WithResponseHeader adds ResponseHeader (property field) WithResponseHeader(ExtensionObjectDefinition) UnregisterNodesResponseBuilder - // WithResponseHeaderBuilder adds ResponseHeader (property field) which is build by the builder - WithResponseHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) UnregisterNodesResponseBuilder // Build builds the UnregisterNodesResponse or returns an error if something is wrong Build() (UnregisterNodesResponse, error) // MustBuild does the same as Build but panics on error @@ -110,19 +110,6 @@ func (m *_UnregisterNodesResponseBuilder) WithResponseHeader(responseHeader Exte return m } -func (m *_UnregisterNodesResponseBuilder) WithResponseHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) UnregisterNodesResponseBuilder { - builder := builderSupplier(m.ResponseHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.ResponseHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_UnregisterNodesResponseBuilder) Build() (UnregisterNodesResponse, error) { if m.ResponseHeader == nil { if m.err == nil { diff --git a/plc4go/protocols/opcua/readwrite/model/UnsignedRationalNumber.go b/plc4go/protocols/opcua/readwrite/model/UnsignedRationalNumber.go index 68509d9843..b68a048404 100644 --- a/plc4go/protocols/opcua/readwrite/model/UnsignedRationalNumber.go +++ b/plc4go/protocols/opcua/readwrite/model/UnsignedRationalNumber.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/UriString.go b/plc4go/protocols/opcua/readwrite/model/UriString.go index 3cb164fc20..067e90bc5c 100644 --- a/plc4go/protocols/opcua/readwrite/model/UriString.go +++ b/plc4go/protocols/opcua/readwrite/model/UriString.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/UserConfigurationMask.go b/plc4go/protocols/opcua/readwrite/model/UserConfigurationMask.go index 41a3322649..061ae56924 100644 --- a/plc4go/protocols/opcua/readwrite/model/UserConfigurationMask.go +++ b/plc4go/protocols/opcua/readwrite/model/UserConfigurationMask.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/UserIdentityToken.go b/plc4go/protocols/opcua/readwrite/model/UserIdentityToken.go index 500eea6ea2..37eae650ae 100644 --- a/plc4go/protocols/opcua/readwrite/model/UserIdentityToken.go +++ b/plc4go/protocols/opcua/readwrite/model/UserIdentityToken.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -91,8 +93,6 @@ type UserIdentityTokenBuilder interface { WithPolicyIdBuilder(func(PascalStringBuilder) PascalStringBuilder) UserIdentityTokenBuilder // WithUserIdentityTokenDefinition adds UserIdentityTokenDefinition (property field) WithUserIdentityTokenDefinition(UserIdentityTokenDefinition) UserIdentityTokenBuilder - // WithUserIdentityTokenDefinitionBuilder adds UserIdentityTokenDefinition (property field) which is build by the builder - WithUserIdentityTokenDefinitionBuilder(func(UserIdentityTokenDefinitionBuilder) UserIdentityTokenDefinitionBuilder) UserIdentityTokenBuilder // Build builds the UserIdentityToken or returns an error if something is wrong Build() (UserIdentityToken, error) // MustBuild does the same as Build but panics on error @@ -139,19 +139,6 @@ func (m *_UserIdentityTokenBuilder) WithUserIdentityTokenDefinition(userIdentity return m } -func (m *_UserIdentityTokenBuilder) WithUserIdentityTokenDefinitionBuilder(builderSupplier func(UserIdentityTokenDefinitionBuilder) UserIdentityTokenDefinitionBuilder) UserIdentityTokenBuilder { - builder := builderSupplier(m.UserIdentityTokenDefinition.CreateUserIdentityTokenDefinitionBuilder()) - var err error - m.UserIdentityTokenDefinition, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "UserIdentityTokenDefinitionBuilder failed")) - } - return m -} - func (m *_UserIdentityTokenBuilder) Build() (UserIdentityToken, error) { if m.PolicyId == nil { if m.err == nil { diff --git a/plc4go/protocols/opcua/readwrite/model/UserIdentityTokenDefinition.go b/plc4go/protocols/opcua/readwrite/model/UserIdentityTokenDefinition.go index 3e3ae949a9..881b46eabb 100644 --- a/plc4go/protocols/opcua/readwrite/model/UserIdentityTokenDefinition.go +++ b/plc4go/protocols/opcua/readwrite/model/UserIdentityTokenDefinition.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/UserManagementDataType.go b/plc4go/protocols/opcua/readwrite/model/UserManagementDataType.go index 94e850c8e7..352b00990e 100644 --- a/plc4go/protocols/opcua/readwrite/model/UserManagementDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/UserManagementDataType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/UserNameIdentityToken.go b/plc4go/protocols/opcua/readwrite/model/UserNameIdentityToken.go index f4d975e416..05862cdb78 100644 --- a/plc4go/protocols/opcua/readwrite/model/UserNameIdentityToken.go +++ b/plc4go/protocols/opcua/readwrite/model/UserNameIdentityToken.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/UserTokenPolicy.go b/plc4go/protocols/opcua/readwrite/model/UserTokenPolicy.go index b4e3e260b3..7c801b277f 100644 --- a/plc4go/protocols/opcua/readwrite/model/UserTokenPolicy.go +++ b/plc4go/protocols/opcua/readwrite/model/UserTokenPolicy.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/UserTokenType.go b/plc4go/protocols/opcua/readwrite/model/UserTokenType.go index b0e1029c24..4dc0d8d6f1 100644 --- a/plc4go/protocols/opcua/readwrite/model/UserTokenType.go +++ b/plc4go/protocols/opcua/readwrite/model/UserTokenType.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/UtcTime.go b/plc4go/protocols/opcua/readwrite/model/UtcTime.go index 438634addd..2daa27b724 100644 --- a/plc4go/protocols/opcua/readwrite/model/UtcTime.go +++ b/plc4go/protocols/opcua/readwrite/model/UtcTime.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/Variant.go b/plc4go/protocols/opcua/readwrite/model/Variant.go index 6c88a6aeb6..14c825a742 100644 --- a/plc4go/protocols/opcua/readwrite/model/Variant.go +++ b/plc4go/protocols/opcua/readwrite/model/Variant.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/VariantBoolean.go b/plc4go/protocols/opcua/readwrite/model/VariantBoolean.go index 8c8f706142..9dbf63841b 100644 --- a/plc4go/protocols/opcua/readwrite/model/VariantBoolean.go +++ b/plc4go/protocols/opcua/readwrite/model/VariantBoolean.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/VariantByte.go b/plc4go/protocols/opcua/readwrite/model/VariantByte.go index 06acaf63dd..642b8efdc7 100644 --- a/plc4go/protocols/opcua/readwrite/model/VariantByte.go +++ b/plc4go/protocols/opcua/readwrite/model/VariantByte.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/VariantByteString.go b/plc4go/protocols/opcua/readwrite/model/VariantByteString.go index 9df36b758a..ec45a24949 100644 --- a/plc4go/protocols/opcua/readwrite/model/VariantByteString.go +++ b/plc4go/protocols/opcua/readwrite/model/VariantByteString.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/VariantDataValue.go b/plc4go/protocols/opcua/readwrite/model/VariantDataValue.go index 297a0e7896..1cce753600 100644 --- a/plc4go/protocols/opcua/readwrite/model/VariantDataValue.go +++ b/plc4go/protocols/opcua/readwrite/model/VariantDataValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/VariantDateTime.go b/plc4go/protocols/opcua/readwrite/model/VariantDateTime.go index 1cd29ca74b..efaff94639 100644 --- a/plc4go/protocols/opcua/readwrite/model/VariantDateTime.go +++ b/plc4go/protocols/opcua/readwrite/model/VariantDateTime.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/VariantDiagnosticInfo.go b/plc4go/protocols/opcua/readwrite/model/VariantDiagnosticInfo.go index 7d222a0751..b4d3b186b2 100644 --- a/plc4go/protocols/opcua/readwrite/model/VariantDiagnosticInfo.go +++ b/plc4go/protocols/opcua/readwrite/model/VariantDiagnosticInfo.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/VariantDouble.go b/plc4go/protocols/opcua/readwrite/model/VariantDouble.go index d2807df3b6..5132db608d 100644 --- a/plc4go/protocols/opcua/readwrite/model/VariantDouble.go +++ b/plc4go/protocols/opcua/readwrite/model/VariantDouble.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/VariantExpandedNodeId.go b/plc4go/protocols/opcua/readwrite/model/VariantExpandedNodeId.go index 500caeb597..d66e416f1d 100644 --- a/plc4go/protocols/opcua/readwrite/model/VariantExpandedNodeId.go +++ b/plc4go/protocols/opcua/readwrite/model/VariantExpandedNodeId.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/VariantExtensionObject.go b/plc4go/protocols/opcua/readwrite/model/VariantExtensionObject.go index 7e6ecb4c35..60f2849e5d 100644 --- a/plc4go/protocols/opcua/readwrite/model/VariantExtensionObject.go +++ b/plc4go/protocols/opcua/readwrite/model/VariantExtensionObject.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/VariantFloat.go b/plc4go/protocols/opcua/readwrite/model/VariantFloat.go index 1c1e947ff8..789d797859 100644 --- a/plc4go/protocols/opcua/readwrite/model/VariantFloat.go +++ b/plc4go/protocols/opcua/readwrite/model/VariantFloat.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/VariantGuid.go b/plc4go/protocols/opcua/readwrite/model/VariantGuid.go index 0fa20a94e4..4003bfe58c 100644 --- a/plc4go/protocols/opcua/readwrite/model/VariantGuid.go +++ b/plc4go/protocols/opcua/readwrite/model/VariantGuid.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/VariantInt16.go b/plc4go/protocols/opcua/readwrite/model/VariantInt16.go index bf57167353..7b10a62cfa 100644 --- a/plc4go/protocols/opcua/readwrite/model/VariantInt16.go +++ b/plc4go/protocols/opcua/readwrite/model/VariantInt16.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/VariantInt32.go b/plc4go/protocols/opcua/readwrite/model/VariantInt32.go index 453f582cdf..5bfcbc1327 100644 --- a/plc4go/protocols/opcua/readwrite/model/VariantInt32.go +++ b/plc4go/protocols/opcua/readwrite/model/VariantInt32.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/VariantInt64.go b/plc4go/protocols/opcua/readwrite/model/VariantInt64.go index 191414cd30..641f81a549 100644 --- a/plc4go/protocols/opcua/readwrite/model/VariantInt64.go +++ b/plc4go/protocols/opcua/readwrite/model/VariantInt64.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/VariantLocalizedText.go b/plc4go/protocols/opcua/readwrite/model/VariantLocalizedText.go index e3eb2badea..5bac4cebf0 100644 --- a/plc4go/protocols/opcua/readwrite/model/VariantLocalizedText.go +++ b/plc4go/protocols/opcua/readwrite/model/VariantLocalizedText.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/VariantNodeId.go b/plc4go/protocols/opcua/readwrite/model/VariantNodeId.go index 76592a8fb6..7b736998d3 100644 --- a/plc4go/protocols/opcua/readwrite/model/VariantNodeId.go +++ b/plc4go/protocols/opcua/readwrite/model/VariantNodeId.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/VariantNull.go b/plc4go/protocols/opcua/readwrite/model/VariantNull.go index a0fbc0eed8..e857cccc87 100644 --- a/plc4go/protocols/opcua/readwrite/model/VariantNull.go +++ b/plc4go/protocols/opcua/readwrite/model/VariantNull.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/VariantQualifiedName.go b/plc4go/protocols/opcua/readwrite/model/VariantQualifiedName.go index 3576460475..ad71101936 100644 --- a/plc4go/protocols/opcua/readwrite/model/VariantQualifiedName.go +++ b/plc4go/protocols/opcua/readwrite/model/VariantQualifiedName.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/VariantSByte.go b/plc4go/protocols/opcua/readwrite/model/VariantSByte.go index 747f67812b..811006d3c2 100644 --- a/plc4go/protocols/opcua/readwrite/model/VariantSByte.go +++ b/plc4go/protocols/opcua/readwrite/model/VariantSByte.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/VariantStatusCode.go b/plc4go/protocols/opcua/readwrite/model/VariantStatusCode.go index b5b105286e..e690120dc0 100644 --- a/plc4go/protocols/opcua/readwrite/model/VariantStatusCode.go +++ b/plc4go/protocols/opcua/readwrite/model/VariantStatusCode.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/VariantString.go b/plc4go/protocols/opcua/readwrite/model/VariantString.go index 7a57db1f61..6592be3753 100644 --- a/plc4go/protocols/opcua/readwrite/model/VariantString.go +++ b/plc4go/protocols/opcua/readwrite/model/VariantString.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/VariantUInt16.go b/plc4go/protocols/opcua/readwrite/model/VariantUInt16.go index 7e46929212..66c3857f5d 100644 --- a/plc4go/protocols/opcua/readwrite/model/VariantUInt16.go +++ b/plc4go/protocols/opcua/readwrite/model/VariantUInt16.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/VariantUInt32.go b/plc4go/protocols/opcua/readwrite/model/VariantUInt32.go index 0d32caaf1e..d3e5f333d7 100644 --- a/plc4go/protocols/opcua/readwrite/model/VariantUInt32.go +++ b/plc4go/protocols/opcua/readwrite/model/VariantUInt32.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/VariantUInt64.go b/plc4go/protocols/opcua/readwrite/model/VariantUInt64.go index 59749cef49..0d53ad6c28 100644 --- a/plc4go/protocols/opcua/readwrite/model/VariantUInt64.go +++ b/plc4go/protocols/opcua/readwrite/model/VariantUInt64.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/VariantVariant.go b/plc4go/protocols/opcua/readwrite/model/VariantVariant.go index 80c8ba4719..d684b76a6a 100644 --- a/plc4go/protocols/opcua/readwrite/model/VariantVariant.go +++ b/plc4go/protocols/opcua/readwrite/model/VariantVariant.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/VariantXmlElement.go b/plc4go/protocols/opcua/readwrite/model/VariantXmlElement.go index 6353971887..3f077369fc 100644 --- a/plc4go/protocols/opcua/readwrite/model/VariantXmlElement.go +++ b/plc4go/protocols/opcua/readwrite/model/VariantXmlElement.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/VersionTime.go b/plc4go/protocols/opcua/readwrite/model/VersionTime.go index 9f2eda0bc3..efbb142c7e 100644 --- a/plc4go/protocols/opcua/readwrite/model/VersionTime.go +++ b/plc4go/protocols/opcua/readwrite/model/VersionTime.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/ViewDescription.go b/plc4go/protocols/opcua/readwrite/model/ViewDescription.go index e6f22e271c..7102c1460f 100644 --- a/plc4go/protocols/opcua/readwrite/model/ViewDescription.go +++ b/plc4go/protocols/opcua/readwrite/model/ViewDescription.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/WriteRequest.go b/plc4go/protocols/opcua/readwrite/model/WriteRequest.go index 667182996d..86998625c1 100644 --- a/plc4go/protocols/opcua/readwrite/model/WriteRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/WriteRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -88,8 +90,6 @@ type WriteRequestBuilder interface { WithMandatoryFields(requestHeader ExtensionObjectDefinition, noOfNodesToWrite int32, nodesToWrite []ExtensionObjectDefinition) WriteRequestBuilder // WithRequestHeader adds RequestHeader (property field) WithRequestHeader(ExtensionObjectDefinition) WriteRequestBuilder - // WithRequestHeaderBuilder adds RequestHeader (property field) which is build by the builder - WithRequestHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) WriteRequestBuilder // WithNoOfNodesToWrite adds NoOfNodesToWrite (property field) WithNoOfNodesToWrite(int32) WriteRequestBuilder // WithNodesToWrite adds NodesToWrite (property field) @@ -122,19 +122,6 @@ func (m *_WriteRequestBuilder) WithRequestHeader(requestHeader ExtensionObjectDe return m } -func (m *_WriteRequestBuilder) WithRequestHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) WriteRequestBuilder { - builder := builderSupplier(m.RequestHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.RequestHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_WriteRequestBuilder) WithNoOfNodesToWrite(noOfNodesToWrite int32) WriteRequestBuilder { m.NoOfNodesToWrite = noOfNodesToWrite return m diff --git a/plc4go/protocols/opcua/readwrite/model/WriteResponse.go b/plc4go/protocols/opcua/readwrite/model/WriteResponse.go index 27f32e370c..60e13903c3 100644 --- a/plc4go/protocols/opcua/readwrite/model/WriteResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/WriteResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -96,8 +98,6 @@ type WriteResponseBuilder interface { WithMandatoryFields(responseHeader ExtensionObjectDefinition, noOfResults int32, results []StatusCode, noOfDiagnosticInfos int32, diagnosticInfos []DiagnosticInfo) WriteResponseBuilder // WithResponseHeader adds ResponseHeader (property field) WithResponseHeader(ExtensionObjectDefinition) WriteResponseBuilder - // WithResponseHeaderBuilder adds ResponseHeader (property field) which is build by the builder - WithResponseHeaderBuilder(func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) WriteResponseBuilder // WithNoOfResults adds NoOfResults (property field) WithNoOfResults(int32) WriteResponseBuilder // WithResults adds Results (property field) @@ -134,19 +134,6 @@ func (m *_WriteResponseBuilder) WithResponseHeader(responseHeader ExtensionObjec return m } -func (m *_WriteResponseBuilder) WithResponseHeaderBuilder(builderSupplier func(ExtensionObjectDefinitionBuilder) ExtensionObjectDefinitionBuilder) WriteResponseBuilder { - builder := builderSupplier(m.ResponseHeader.CreateExtensionObjectDefinitionBuilder()) - var err error - m.ResponseHeader, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "ExtensionObjectDefinitionBuilder failed")) - } - return m -} - func (m *_WriteResponseBuilder) WithNoOfResults(noOfResults int32) WriteResponseBuilder { m.NoOfResults = noOfResults return m diff --git a/plc4go/protocols/opcua/readwrite/model/WriteValue.go b/plc4go/protocols/opcua/readwrite/model/WriteValue.go index 7b9a58f18d..3cb09ca17d 100644 --- a/plc4go/protocols/opcua/readwrite/model/WriteValue.go +++ b/plc4go/protocols/opcua/readwrite/model/WriteValue.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/WriterGroupMessageDataType.go b/plc4go/protocols/opcua/readwrite/model/WriterGroupMessageDataType.go index 3739f4aeed..4f3b0782ca 100644 --- a/plc4go/protocols/opcua/readwrite/model/WriterGroupMessageDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/WriterGroupMessageDataType.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/WriterGroupTransportDataType.go b/plc4go/protocols/opcua/readwrite/model/WriterGroupTransportDataType.go index 79fd7b9c3a..2ac49a69a1 100644 --- a/plc4go/protocols/opcua/readwrite/model/WriterGroupTransportDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/WriterGroupTransportDataType.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/X509IdentityToken.go b/plc4go/protocols/opcua/readwrite/model/X509IdentityToken.go index c0d6d828fa..69be8cadc4 100644 --- a/plc4go/protocols/opcua/readwrite/model/X509IdentityToken.go +++ b/plc4go/protocols/opcua/readwrite/model/X509IdentityToken.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/XVType.go b/plc4go/protocols/opcua/readwrite/model/XVType.go index e873222c1f..da10612ff8 100644 --- a/plc4go/protocols/opcua/readwrite/model/XVType.go +++ b/plc4go/protocols/opcua/readwrite/model/XVType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/opcua/readwrite/model/XmlElement.go b/plc4go/protocols/opcua/readwrite/model/XmlElement.go index a97fe7fd92..b6ba3cd1c8 100644 --- a/plc4go/protocols/opcua/readwrite/model/XmlElement.go +++ b/plc4go/protocols/opcua/readwrite/model/XmlElement.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/ParserHelper.go b/plc4go/protocols/s7/readwrite/ParserHelper.go index 13fb1724ea..217928342c 100644 --- a/plc4go/protocols/s7/readwrite/ParserHelper.go +++ b/plc4go/protocols/s7/readwrite/ParserHelper.go @@ -22,9 +22,10 @@ package readwrite import ( "context" + "github.com/pkg/errors" + . "github.com/apache/plc4x/plc4go/protocols/s7/readwrite/model" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/XmlParserHelper.go b/plc4go/protocols/s7/readwrite/XmlParserHelper.go index 694f3495ab..8f201618a8 100644 --- a/plc4go/protocols/s7/readwrite/XmlParserHelper.go +++ b/plc4go/protocols/s7/readwrite/XmlParserHelper.go @@ -24,9 +24,10 @@ import ( "strconv" "strings" + "github.com/pkg/errors" + . "github.com/apache/plc4x/plc4go/protocols/s7/readwrite/model" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/Alarm8MessageQueryType.go b/plc4go/protocols/s7/readwrite/model/Alarm8MessageQueryType.go index 3097bb2bdf..9c02cc4b91 100644 --- a/plc4go/protocols/s7/readwrite/model/Alarm8MessageQueryType.go +++ b/plc4go/protocols/s7/readwrite/model/Alarm8MessageQueryType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/AlarmMessageAckObjectPushType.go b/plc4go/protocols/s7/readwrite/model/AlarmMessageAckObjectPushType.go index 7297bc9c43..a88178b93a 100644 --- a/plc4go/protocols/s7/readwrite/model/AlarmMessageAckObjectPushType.go +++ b/plc4go/protocols/s7/readwrite/model/AlarmMessageAckObjectPushType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/AlarmMessageAckPushType.go b/plc4go/protocols/s7/readwrite/model/AlarmMessageAckPushType.go index 4683c01e51..4f865bfc64 100644 --- a/plc4go/protocols/s7/readwrite/model/AlarmMessageAckPushType.go +++ b/plc4go/protocols/s7/readwrite/model/AlarmMessageAckPushType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/AlarmMessageAckResponseType.go b/plc4go/protocols/s7/readwrite/model/AlarmMessageAckResponseType.go index 415ae7ed08..93c1223bd5 100644 --- a/plc4go/protocols/s7/readwrite/model/AlarmMessageAckResponseType.go +++ b/plc4go/protocols/s7/readwrite/model/AlarmMessageAckResponseType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/AlarmMessageAckType.go b/plc4go/protocols/s7/readwrite/model/AlarmMessageAckType.go index 3ede55d480..cd4c7d87eb 100644 --- a/plc4go/protocols/s7/readwrite/model/AlarmMessageAckType.go +++ b/plc4go/protocols/s7/readwrite/model/AlarmMessageAckType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/AlarmMessageObjectAckType.go b/plc4go/protocols/s7/readwrite/model/AlarmMessageObjectAckType.go index 5b98c760a7..6d23836727 100644 --- a/plc4go/protocols/s7/readwrite/model/AlarmMessageObjectAckType.go +++ b/plc4go/protocols/s7/readwrite/model/AlarmMessageObjectAckType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/AlarmMessageObjectPushType.go b/plc4go/protocols/s7/readwrite/model/AlarmMessageObjectPushType.go index efd6595d2f..e830059dee 100644 --- a/plc4go/protocols/s7/readwrite/model/AlarmMessageObjectPushType.go +++ b/plc4go/protocols/s7/readwrite/model/AlarmMessageObjectPushType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/AlarmMessageObjectQueryType.go b/plc4go/protocols/s7/readwrite/model/AlarmMessageObjectQueryType.go index 4230ad4479..d181237068 100644 --- a/plc4go/protocols/s7/readwrite/model/AlarmMessageObjectQueryType.go +++ b/plc4go/protocols/s7/readwrite/model/AlarmMessageObjectQueryType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/AlarmMessagePushType.go b/plc4go/protocols/s7/readwrite/model/AlarmMessagePushType.go index 0049e82d92..9193dcc64b 100644 --- a/plc4go/protocols/s7/readwrite/model/AlarmMessagePushType.go +++ b/plc4go/protocols/s7/readwrite/model/AlarmMessagePushType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/AlarmMessageQueryType.go b/plc4go/protocols/s7/readwrite/model/AlarmMessageQueryType.go index 28005bde6e..48db780dd7 100644 --- a/plc4go/protocols/s7/readwrite/model/AlarmMessageQueryType.go +++ b/plc4go/protocols/s7/readwrite/model/AlarmMessageQueryType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/AlarmStateType.go b/plc4go/protocols/s7/readwrite/model/AlarmStateType.go index 593f52ab4a..53da643c28 100644 --- a/plc4go/protocols/s7/readwrite/model/AlarmStateType.go +++ b/plc4go/protocols/s7/readwrite/model/AlarmStateType.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/AlarmType.go b/plc4go/protocols/s7/readwrite/model/AlarmType.go index a0e59629b8..0df35d0674 100644 --- a/plc4go/protocols/s7/readwrite/model/AlarmType.go +++ b/plc4go/protocols/s7/readwrite/model/AlarmType.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/AssociatedQueryValueType.go b/plc4go/protocols/s7/readwrite/model/AssociatedQueryValueType.go index 847802825e..e320751035 100644 --- a/plc4go/protocols/s7/readwrite/model/AssociatedQueryValueType.go +++ b/plc4go/protocols/s7/readwrite/model/AssociatedQueryValueType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/AssociatedValueType.go b/plc4go/protocols/s7/readwrite/model/AssociatedValueType.go index 0eb5727052..cff2309c8d 100644 --- a/plc4go/protocols/s7/readwrite/model/AssociatedValueType.go +++ b/plc4go/protocols/s7/readwrite/model/AssociatedValueType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/COTPPacket.go b/plc4go/protocols/s7/readwrite/model/COTPPacket.go index dd40f1c2b1..6280636867 100644 --- a/plc4go/protocols/s7/readwrite/model/COTPPacket.go +++ b/plc4go/protocols/s7/readwrite/model/COTPPacket.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -98,8 +100,6 @@ type COTPPacketBuilder interface { WithParameters(...COTPParameter) COTPPacketBuilder // WithPayload adds Payload (property field) WithOptionalPayload(S7Message) COTPPacketBuilder - // WithOptionalPayloadBuilder adds Payload (property field) which is build by the builder - WithOptionalPayloadBuilder(func(S7MessageBuilder) S7MessageBuilder) COTPPacketBuilder // Build builds the COTPPacket or returns an error if something is wrong Build() (COTPPacketContract, error) // MustBuild does the same as Build but panics on error @@ -133,19 +133,6 @@ func (m *_COTPPacketBuilder) WithOptionalPayload(payload S7Message) COTPPacketBu return m } -func (m *_COTPPacketBuilder) WithOptionalPayloadBuilder(builderSupplier func(S7MessageBuilder) S7MessageBuilder) COTPPacketBuilder { - builder := builderSupplier(m.Payload.CreateS7MessageBuilder()) - var err error - m.Payload, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "S7MessageBuilder failed")) - } - return m -} - func (m *_COTPPacketBuilder) Build() (COTPPacketContract, error) { if m.err != nil { return nil, errors.Wrap(m.err, "error occurred during build") diff --git a/plc4go/protocols/s7/readwrite/model/COTPPacketConnectionRequest.go b/plc4go/protocols/s7/readwrite/model/COTPPacketConnectionRequest.go index 1dece739e3..4bdf6578d5 100644 --- a/plc4go/protocols/s7/readwrite/model/COTPPacketConnectionRequest.go +++ b/plc4go/protocols/s7/readwrite/model/COTPPacketConnectionRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/COTPPacketConnectionResponse.go b/plc4go/protocols/s7/readwrite/model/COTPPacketConnectionResponse.go index 06789d6d64..0777a672d5 100644 --- a/plc4go/protocols/s7/readwrite/model/COTPPacketConnectionResponse.go +++ b/plc4go/protocols/s7/readwrite/model/COTPPacketConnectionResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/COTPPacketData.go b/plc4go/protocols/s7/readwrite/model/COTPPacketData.go index 3a089b4f19..797eb1ad14 100644 --- a/plc4go/protocols/s7/readwrite/model/COTPPacketData.go +++ b/plc4go/protocols/s7/readwrite/model/COTPPacketData.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/COTPPacketDisconnectRequest.go b/plc4go/protocols/s7/readwrite/model/COTPPacketDisconnectRequest.go index 51a6d113e7..22f16e0328 100644 --- a/plc4go/protocols/s7/readwrite/model/COTPPacketDisconnectRequest.go +++ b/plc4go/protocols/s7/readwrite/model/COTPPacketDisconnectRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/COTPPacketDisconnectResponse.go b/plc4go/protocols/s7/readwrite/model/COTPPacketDisconnectResponse.go index 746c637008..c1be518203 100644 --- a/plc4go/protocols/s7/readwrite/model/COTPPacketDisconnectResponse.go +++ b/plc4go/protocols/s7/readwrite/model/COTPPacketDisconnectResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/COTPPacketTpduError.go b/plc4go/protocols/s7/readwrite/model/COTPPacketTpduError.go index 9cfc4c01b7..7bdd52af16 100644 --- a/plc4go/protocols/s7/readwrite/model/COTPPacketTpduError.go +++ b/plc4go/protocols/s7/readwrite/model/COTPPacketTpduError.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/COTPParameter.go b/plc4go/protocols/s7/readwrite/model/COTPParameter.go index ee46e872e3..54aa0801e6 100644 --- a/plc4go/protocols/s7/readwrite/model/COTPParameter.go +++ b/plc4go/protocols/s7/readwrite/model/COTPParameter.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/COTPParameterCalledTsap.go b/plc4go/protocols/s7/readwrite/model/COTPParameterCalledTsap.go index cfd5a56aee..47c97735b1 100644 --- a/plc4go/protocols/s7/readwrite/model/COTPParameterCalledTsap.go +++ b/plc4go/protocols/s7/readwrite/model/COTPParameterCalledTsap.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/COTPParameterCallingTsap.go b/plc4go/protocols/s7/readwrite/model/COTPParameterCallingTsap.go index ba25de1cb5..e30117c061 100644 --- a/plc4go/protocols/s7/readwrite/model/COTPParameterCallingTsap.go +++ b/plc4go/protocols/s7/readwrite/model/COTPParameterCallingTsap.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/COTPParameterChecksum.go b/plc4go/protocols/s7/readwrite/model/COTPParameterChecksum.go index c0797f582a..cd2753eecd 100644 --- a/plc4go/protocols/s7/readwrite/model/COTPParameterChecksum.go +++ b/plc4go/protocols/s7/readwrite/model/COTPParameterChecksum.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/COTPParameterDisconnectAdditionalInformation.go b/plc4go/protocols/s7/readwrite/model/COTPParameterDisconnectAdditionalInformation.go index 49ca7595f1..de521c0f23 100644 --- a/plc4go/protocols/s7/readwrite/model/COTPParameterDisconnectAdditionalInformation.go +++ b/plc4go/protocols/s7/readwrite/model/COTPParameterDisconnectAdditionalInformation.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/COTPParameterTpduSize.go b/plc4go/protocols/s7/readwrite/model/COTPParameterTpduSize.go index 44b32d092a..a39cb950e4 100644 --- a/plc4go/protocols/s7/readwrite/model/COTPParameterTpduSize.go +++ b/plc4go/protocols/s7/readwrite/model/COTPParameterTpduSize.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/COTPProtocolClass.go b/plc4go/protocols/s7/readwrite/model/COTPProtocolClass.go index f4fd830d64..9448057e2f 100644 --- a/plc4go/protocols/s7/readwrite/model/COTPProtocolClass.go +++ b/plc4go/protocols/s7/readwrite/model/COTPProtocolClass.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/COTPTpduSize.go b/plc4go/protocols/s7/readwrite/model/COTPTpduSize.go index c9618a8228..d3754163cb 100644 --- a/plc4go/protocols/s7/readwrite/model/COTPTpduSize.go +++ b/plc4go/protocols/s7/readwrite/model/COTPTpduSize.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/ControllerType.go b/plc4go/protocols/s7/readwrite/model/ControllerType.go index 94ce02599d..f327bbd103 100644 --- a/plc4go/protocols/s7/readwrite/model/ControllerType.go +++ b/plc4go/protocols/s7/readwrite/model/ControllerType.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/CpuSubscribeEvents.go b/plc4go/protocols/s7/readwrite/model/CpuSubscribeEvents.go index df3ef139d2..8f1b250c88 100644 --- a/plc4go/protocols/s7/readwrite/model/CpuSubscribeEvents.go +++ b/plc4go/protocols/s7/readwrite/model/CpuSubscribeEvents.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/CycServiceItemAnyType.go b/plc4go/protocols/s7/readwrite/model/CycServiceItemAnyType.go index 5635a41dda..e35fba8061 100644 --- a/plc4go/protocols/s7/readwrite/model/CycServiceItemAnyType.go +++ b/plc4go/protocols/s7/readwrite/model/CycServiceItemAnyType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/CycServiceItemDbReadType.go b/plc4go/protocols/s7/readwrite/model/CycServiceItemDbReadType.go index ecb6ec306d..56bc362c56 100644 --- a/plc4go/protocols/s7/readwrite/model/CycServiceItemDbReadType.go +++ b/plc4go/protocols/s7/readwrite/model/CycServiceItemDbReadType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/CycServiceItemType.go b/plc4go/protocols/s7/readwrite/model/CycServiceItemType.go index e4cfb4c56a..a6ecc231de 100644 --- a/plc4go/protocols/s7/readwrite/model/CycServiceItemType.go +++ b/plc4go/protocols/s7/readwrite/model/CycServiceItemType.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/DataItem.go b/plc4go/protocols/s7/readwrite/model/DataItem.go index 2176ecb61c..1db506ae46 100644 --- a/plc4go/protocols/s7/readwrite/model/DataItem.go +++ b/plc4go/protocols/s7/readwrite/model/DataItem.go @@ -21,11 +21,13 @@ package model import ( "context" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + api "github.com/apache/plc4x/plc4go/pkg/api/values" "github.com/apache/plc4x/plc4go/spi/utils" "github.com/apache/plc4x/plc4go/spi/values" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/DataTransportErrorCode.go b/plc4go/protocols/s7/readwrite/model/DataTransportErrorCode.go index f1f9c1e6d0..001e4107df 100644 --- a/plc4go/protocols/s7/readwrite/model/DataTransportErrorCode.go +++ b/plc4go/protocols/s7/readwrite/model/DataTransportErrorCode.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/DataTransportSize.go b/plc4go/protocols/s7/readwrite/model/DataTransportSize.go index e91d0bf66e..a015c92244 100644 --- a/plc4go/protocols/s7/readwrite/model/DataTransportSize.go +++ b/plc4go/protocols/s7/readwrite/model/DataTransportSize.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/DateAndTime.go b/plc4go/protocols/s7/readwrite/model/DateAndTime.go index 47629ec980..53e375b41f 100644 --- a/plc4go/protocols/s7/readwrite/model/DateAndTime.go +++ b/plc4go/protocols/s7/readwrite/model/DateAndTime.go @@ -22,12 +22,14 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + "github.com/apache/plc4x/plc4go/spi/codegen" . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/DeviceGroup.go b/plc4go/protocols/s7/readwrite/model/DeviceGroup.go index 77f737b172..b4e22fe668 100644 --- a/plc4go/protocols/s7/readwrite/model/DeviceGroup.go +++ b/plc4go/protocols/s7/readwrite/model/DeviceGroup.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/EventType.go b/plc4go/protocols/s7/readwrite/model/EventType.go index 8df18e42d5..3333cd5571 100644 --- a/plc4go/protocols/s7/readwrite/model/EventType.go +++ b/plc4go/protocols/s7/readwrite/model/EventType.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/MemoryArea.go b/plc4go/protocols/s7/readwrite/model/MemoryArea.go index 12e49ef3e8..dffde14814 100644 --- a/plc4go/protocols/s7/readwrite/model/MemoryArea.go +++ b/plc4go/protocols/s7/readwrite/model/MemoryArea.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/ModeTransitionType.go b/plc4go/protocols/s7/readwrite/model/ModeTransitionType.go index c0e27049b6..2e157be82e 100644 --- a/plc4go/protocols/s7/readwrite/model/ModeTransitionType.go +++ b/plc4go/protocols/s7/readwrite/model/ModeTransitionType.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/QueryType.go b/plc4go/protocols/s7/readwrite/model/QueryType.go index 3dd70830b2..f706e4319f 100644 --- a/plc4go/protocols/s7/readwrite/model/QueryType.go +++ b/plc4go/protocols/s7/readwrite/model/QueryType.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/S7Address.go b/plc4go/protocols/s7/readwrite/model/S7Address.go index 9da62cb72d..875cebc95f 100644 --- a/plc4go/protocols/s7/readwrite/model/S7Address.go +++ b/plc4go/protocols/s7/readwrite/model/S7Address.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/S7AddressAny.go b/plc4go/protocols/s7/readwrite/model/S7AddressAny.go index ad74a757f5..0d1730ef93 100644 --- a/plc4go/protocols/s7/readwrite/model/S7AddressAny.go +++ b/plc4go/protocols/s7/readwrite/model/S7AddressAny.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/S7DataAlarmMessage.go b/plc4go/protocols/s7/readwrite/model/S7DataAlarmMessage.go index a87ee89d6b..7a5e3aa5d0 100644 --- a/plc4go/protocols/s7/readwrite/model/S7DataAlarmMessage.go +++ b/plc4go/protocols/s7/readwrite/model/S7DataAlarmMessage.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/S7Message.go b/plc4go/protocols/s7/readwrite/model/S7Message.go index 3984fd4d14..889cd4425d 100644 --- a/plc4go/protocols/s7/readwrite/model/S7Message.go +++ b/plc4go/protocols/s7/readwrite/model/S7Message.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -101,12 +103,8 @@ type S7MessageBuilder interface { WithTpduReference(uint16) S7MessageBuilder // WithParameter adds Parameter (property field) WithOptionalParameter(S7Parameter) S7MessageBuilder - // WithOptionalParameterBuilder adds Parameter (property field) which is build by the builder - WithOptionalParameterBuilder(func(S7ParameterBuilder) S7ParameterBuilder) S7MessageBuilder // WithPayload adds Payload (property field) WithOptionalPayload(S7Payload) S7MessageBuilder - // WithOptionalPayloadBuilder adds Payload (property field) which is build by the builder - WithOptionalPayloadBuilder(func(S7PayloadBuilder) S7PayloadBuilder) S7MessageBuilder // Build builds the S7Message or returns an error if something is wrong Build() (S7MessageContract, error) // MustBuild does the same as Build but panics on error @@ -140,37 +138,11 @@ func (m *_S7MessageBuilder) WithOptionalParameter(parameter S7Parameter) S7Messa return m } -func (m *_S7MessageBuilder) WithOptionalParameterBuilder(builderSupplier func(S7ParameterBuilder) S7ParameterBuilder) S7MessageBuilder { - builder := builderSupplier(m.Parameter.CreateS7ParameterBuilder()) - var err error - m.Parameter, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "S7ParameterBuilder failed")) - } - return m -} - func (m *_S7MessageBuilder) WithOptionalPayload(payload S7Payload) S7MessageBuilder { m.Payload = payload return m } -func (m *_S7MessageBuilder) WithOptionalPayloadBuilder(builderSupplier func(S7PayloadBuilder) S7PayloadBuilder) S7MessageBuilder { - builder := builderSupplier(m.Payload.CreateS7PayloadBuilder()) - var err error - m.Payload, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "S7PayloadBuilder failed")) - } - return m -} - func (m *_S7MessageBuilder) Build() (S7MessageContract, error) { if m.err != nil { return nil, errors.Wrap(m.err, "error occurred during build") diff --git a/plc4go/protocols/s7/readwrite/model/S7MessageObjectRequest.go b/plc4go/protocols/s7/readwrite/model/S7MessageObjectRequest.go index b4b23c6695..b3df0943e5 100644 --- a/plc4go/protocols/s7/readwrite/model/S7MessageObjectRequest.go +++ b/plc4go/protocols/s7/readwrite/model/S7MessageObjectRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/S7MessageObjectResponse.go b/plc4go/protocols/s7/readwrite/model/S7MessageObjectResponse.go index 58bb65eebe..a2e31151e4 100644 --- a/plc4go/protocols/s7/readwrite/model/S7MessageObjectResponse.go +++ b/plc4go/protocols/s7/readwrite/model/S7MessageObjectResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/S7MessageRequest.go b/plc4go/protocols/s7/readwrite/model/S7MessageRequest.go index 1a619b145d..ec8e339c8d 100644 --- a/plc4go/protocols/s7/readwrite/model/S7MessageRequest.go +++ b/plc4go/protocols/s7/readwrite/model/S7MessageRequest.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/S7MessageResponse.go b/plc4go/protocols/s7/readwrite/model/S7MessageResponse.go index db3fd1ed11..46fdb0d4b4 100644 --- a/plc4go/protocols/s7/readwrite/model/S7MessageResponse.go +++ b/plc4go/protocols/s7/readwrite/model/S7MessageResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/S7MessageResponseData.go b/plc4go/protocols/s7/readwrite/model/S7MessageResponseData.go index b6cba8d404..67757914e3 100644 --- a/plc4go/protocols/s7/readwrite/model/S7MessageResponseData.go +++ b/plc4go/protocols/s7/readwrite/model/S7MessageResponseData.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/S7MessageUserData.go b/plc4go/protocols/s7/readwrite/model/S7MessageUserData.go index f9930588e8..c5e72d3a84 100644 --- a/plc4go/protocols/s7/readwrite/model/S7MessageUserData.go +++ b/plc4go/protocols/s7/readwrite/model/S7MessageUserData.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/S7Parameter.go b/plc4go/protocols/s7/readwrite/model/S7Parameter.go index bce3627914..c99d4542d2 100644 --- a/plc4go/protocols/s7/readwrite/model/S7Parameter.go +++ b/plc4go/protocols/s7/readwrite/model/S7Parameter.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/S7ParameterModeTransition.go b/plc4go/protocols/s7/readwrite/model/S7ParameterModeTransition.go index 470c6d0463..4911957e3b 100644 --- a/plc4go/protocols/s7/readwrite/model/S7ParameterModeTransition.go +++ b/plc4go/protocols/s7/readwrite/model/S7ParameterModeTransition.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/S7ParameterReadVarRequest.go b/plc4go/protocols/s7/readwrite/model/S7ParameterReadVarRequest.go index 192740cf22..c11d410ef5 100644 --- a/plc4go/protocols/s7/readwrite/model/S7ParameterReadVarRequest.go +++ b/plc4go/protocols/s7/readwrite/model/S7ParameterReadVarRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/S7ParameterReadVarResponse.go b/plc4go/protocols/s7/readwrite/model/S7ParameterReadVarResponse.go index 285bf5fc4a..3a721ab9de 100644 --- a/plc4go/protocols/s7/readwrite/model/S7ParameterReadVarResponse.go +++ b/plc4go/protocols/s7/readwrite/model/S7ParameterReadVarResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/S7ParameterSetupCommunication.go b/plc4go/protocols/s7/readwrite/model/S7ParameterSetupCommunication.go index 72fd77ae60..0143265a3f 100644 --- a/plc4go/protocols/s7/readwrite/model/S7ParameterSetupCommunication.go +++ b/plc4go/protocols/s7/readwrite/model/S7ParameterSetupCommunication.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/S7ParameterUserData.go b/plc4go/protocols/s7/readwrite/model/S7ParameterUserData.go index 619e0c1f8e..10e3679153 100644 --- a/plc4go/protocols/s7/readwrite/model/S7ParameterUserData.go +++ b/plc4go/protocols/s7/readwrite/model/S7ParameterUserData.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/S7ParameterUserDataItem.go b/plc4go/protocols/s7/readwrite/model/S7ParameterUserDataItem.go index b7087b4bcc..89838ed88c 100644 --- a/plc4go/protocols/s7/readwrite/model/S7ParameterUserDataItem.go +++ b/plc4go/protocols/s7/readwrite/model/S7ParameterUserDataItem.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/S7ParameterUserDataItemCPUFunctions.go b/plc4go/protocols/s7/readwrite/model/S7ParameterUserDataItemCPUFunctions.go index 810b4a586f..d757cbe68c 100644 --- a/plc4go/protocols/s7/readwrite/model/S7ParameterUserDataItemCPUFunctions.go +++ b/plc4go/protocols/s7/readwrite/model/S7ParameterUserDataItemCPUFunctions.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/S7ParameterWriteVarRequest.go b/plc4go/protocols/s7/readwrite/model/S7ParameterWriteVarRequest.go index e1f34c4a97..ac523f309a 100644 --- a/plc4go/protocols/s7/readwrite/model/S7ParameterWriteVarRequest.go +++ b/plc4go/protocols/s7/readwrite/model/S7ParameterWriteVarRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/S7ParameterWriteVarResponse.go b/plc4go/protocols/s7/readwrite/model/S7ParameterWriteVarResponse.go index 9c3d0d9d75..468e8ddf28 100644 --- a/plc4go/protocols/s7/readwrite/model/S7ParameterWriteVarResponse.go +++ b/plc4go/protocols/s7/readwrite/model/S7ParameterWriteVarResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/S7Payload.go b/plc4go/protocols/s7/readwrite/model/S7Payload.go index 43c298299f..9449a801d7 100644 --- a/plc4go/protocols/s7/readwrite/model/S7Payload.go +++ b/plc4go/protocols/s7/readwrite/model/S7Payload.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/S7PayloadAlarm8.go b/plc4go/protocols/s7/readwrite/model/S7PayloadAlarm8.go index 0071292178..44cdb07572 100644 --- a/plc4go/protocols/s7/readwrite/model/S7PayloadAlarm8.go +++ b/plc4go/protocols/s7/readwrite/model/S7PayloadAlarm8.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/S7PayloadAlarmAckInd.go b/plc4go/protocols/s7/readwrite/model/S7PayloadAlarmAckInd.go index a887be010a..ac6c47078b 100644 --- a/plc4go/protocols/s7/readwrite/model/S7PayloadAlarmAckInd.go +++ b/plc4go/protocols/s7/readwrite/model/S7PayloadAlarmAckInd.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/S7PayloadAlarmS.go b/plc4go/protocols/s7/readwrite/model/S7PayloadAlarmS.go index b24a6da1e4..a387f9c916 100644 --- a/plc4go/protocols/s7/readwrite/model/S7PayloadAlarmS.go +++ b/plc4go/protocols/s7/readwrite/model/S7PayloadAlarmS.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/S7PayloadAlarmSC.go b/plc4go/protocols/s7/readwrite/model/S7PayloadAlarmSC.go index 5f6cef3d2c..a33f135bc9 100644 --- a/plc4go/protocols/s7/readwrite/model/S7PayloadAlarmSC.go +++ b/plc4go/protocols/s7/readwrite/model/S7PayloadAlarmSC.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/S7PayloadAlarmSQ.go b/plc4go/protocols/s7/readwrite/model/S7PayloadAlarmSQ.go index 87b5bd0cf6..e64c50f865 100644 --- a/plc4go/protocols/s7/readwrite/model/S7PayloadAlarmSQ.go +++ b/plc4go/protocols/s7/readwrite/model/S7PayloadAlarmSQ.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/S7PayloadDiagnosticMessage.go b/plc4go/protocols/s7/readwrite/model/S7PayloadDiagnosticMessage.go index 1bf86a2a3b..6490354c8d 100644 --- a/plc4go/protocols/s7/readwrite/model/S7PayloadDiagnosticMessage.go +++ b/plc4go/protocols/s7/readwrite/model/S7PayloadDiagnosticMessage.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/S7PayloadNotify.go b/plc4go/protocols/s7/readwrite/model/S7PayloadNotify.go index 7b149bf01e..0e69301b06 100644 --- a/plc4go/protocols/s7/readwrite/model/S7PayloadNotify.go +++ b/plc4go/protocols/s7/readwrite/model/S7PayloadNotify.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/S7PayloadNotify8.go b/plc4go/protocols/s7/readwrite/model/S7PayloadNotify8.go index 55841f9a63..5b8328c3c2 100644 --- a/plc4go/protocols/s7/readwrite/model/S7PayloadNotify8.go +++ b/plc4go/protocols/s7/readwrite/model/S7PayloadNotify8.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/S7PayloadReadVarResponse.go b/plc4go/protocols/s7/readwrite/model/S7PayloadReadVarResponse.go index ee42ddbc3f..76b8637fa3 100644 --- a/plc4go/protocols/s7/readwrite/model/S7PayloadReadVarResponse.go +++ b/plc4go/protocols/s7/readwrite/model/S7PayloadReadVarResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/S7PayloadUserData.go b/plc4go/protocols/s7/readwrite/model/S7PayloadUserData.go index 1107d952ca..cddd7ca6ac 100644 --- a/plc4go/protocols/s7/readwrite/model/S7PayloadUserData.go +++ b/plc4go/protocols/s7/readwrite/model/S7PayloadUserData.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItem.go b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItem.go index f8791cd80b..ec0a8c150a 100644 --- a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItem.go +++ b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItem.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemClkFRequest.go b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemClkFRequest.go index 7ddf36bee9..bcddf3bcbf 100644 --- a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemClkFRequest.go +++ b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemClkFRequest.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemClkFResponse.go b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemClkFResponse.go index 73cf9e5904..ca3762b07d 100644 --- a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemClkFResponse.go +++ b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemClkFResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemClkRequest.go b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemClkRequest.go index 391acbd158..e2af91b25a 100644 --- a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemClkRequest.go +++ b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemClkRequest.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemClkResponse.go b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemClkResponse.go index d0b26d626c..35f9a381a5 100644 --- a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemClkResponse.go +++ b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemClkResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemClkSetRequest.go b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemClkSetRequest.go index b498a7915a..39a1c8aaa4 100644 --- a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemClkSetRequest.go +++ b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemClkSetRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemClkSetResponse.go b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemClkSetResponse.go index 1b9d00ea46..aef3d2ba6e 100644 --- a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemClkSetResponse.go +++ b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemClkSetResponse.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionAlarmAckErrorResponse.go b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionAlarmAckErrorResponse.go index 386bc66ca8..cf5c5830bc 100644 --- a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionAlarmAckErrorResponse.go +++ b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionAlarmAckErrorResponse.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionAlarmAckRequest.go b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionAlarmAckRequest.go index 9f0db49c45..732a940e3c 100644 --- a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionAlarmAckRequest.go +++ b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionAlarmAckRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionAlarmAckResponse.go b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionAlarmAckResponse.go index 3fbfe36a63..355501be64 100644 --- a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionAlarmAckResponse.go +++ b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionAlarmAckResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionAlarmQueryRequest.go b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionAlarmQueryRequest.go index afc5dd4559..ad50b3ad28 100644 --- a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionAlarmQueryRequest.go +++ b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionAlarmQueryRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionAlarmQueryResponse.go b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionAlarmQueryResponse.go index 8ad28fbb17..00451a7fbb 100644 --- a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionAlarmQueryResponse.go +++ b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionAlarmQueryResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionMsgSubscriptionAlarmResponse.go b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionMsgSubscriptionAlarmResponse.go index eed9ce852c..334e2abd3c 100644 --- a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionMsgSubscriptionAlarmResponse.go +++ b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionMsgSubscriptionAlarmResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionMsgSubscriptionRequest.go b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionMsgSubscriptionRequest.go index 5d5f56567c..397a1faf04 100644 --- a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionMsgSubscriptionRequest.go +++ b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionMsgSubscriptionRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionMsgSubscriptionResponse.go b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionMsgSubscriptionResponse.go index 1a4f1003ce..87ba21433a 100644 --- a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionMsgSubscriptionResponse.go +++ b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionMsgSubscriptionResponse.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionMsgSubscriptionSysResponse.go b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionMsgSubscriptionSysResponse.go index 86f3262261..71c4357ac3 100644 --- a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionMsgSubscriptionSysResponse.go +++ b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionMsgSubscriptionSysResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionReadSzlNoDataRequest.go b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionReadSzlNoDataRequest.go index 80db1b5ea6..52b7b49f10 100644 --- a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionReadSzlNoDataRequest.go +++ b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionReadSzlNoDataRequest.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionReadSzlRequest.go b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionReadSzlRequest.go index c0116b3655..61fc884124 100644 --- a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionReadSzlRequest.go +++ b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionReadSzlRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionReadSzlResponse.go b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionReadSzlResponse.go index bbf519d9d6..0cb25fb871 100644 --- a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionReadSzlResponse.go +++ b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionReadSzlResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCyclicServicesChangeDrivenPush.go b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCyclicServicesChangeDrivenPush.go index 9f00196115..731b911ad3 100644 --- a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCyclicServicesChangeDrivenPush.go +++ b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCyclicServicesChangeDrivenPush.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCyclicServicesChangeDrivenSubscribeResponse.go b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCyclicServicesChangeDrivenSubscribeResponse.go index 85e9c0e7e2..a2f5454507 100644 --- a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCyclicServicesChangeDrivenSubscribeResponse.go +++ b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCyclicServicesChangeDrivenSubscribeResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCyclicServicesErrorResponse.go b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCyclicServicesErrorResponse.go index 261c5cd4ee..242c8559fe 100644 --- a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCyclicServicesErrorResponse.go +++ b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCyclicServicesErrorResponse.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCyclicServicesPush.go b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCyclicServicesPush.go index e73cda1897..01e5003c9b 100644 --- a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCyclicServicesPush.go +++ b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCyclicServicesPush.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCyclicServicesSubscribeRequest.go b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCyclicServicesSubscribeRequest.go index bd6548f442..f09f19078f 100644 --- a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCyclicServicesSubscribeRequest.go +++ b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCyclicServicesSubscribeRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCyclicServicesSubscribeResponse.go b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCyclicServicesSubscribeResponse.go index 1a5341d033..afc9644496 100644 --- a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCyclicServicesSubscribeResponse.go +++ b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCyclicServicesSubscribeResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCyclicServicesUnsubscribeRequest.go b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCyclicServicesUnsubscribeRequest.go index 3832ceeed8..c153f7c97f 100644 --- a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCyclicServicesUnsubscribeRequest.go +++ b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCyclicServicesUnsubscribeRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCyclicServicesUnsubscribeResponse.go b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCyclicServicesUnsubscribeResponse.go index f48c756553..36e0ec8c52 100644 --- a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCyclicServicesUnsubscribeResponse.go +++ b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCyclicServicesUnsubscribeResponse.go @@ -22,9 +22,11 @@ package model import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" + "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/S7PayloadWriteVarRequest.go b/plc4go/protocols/s7/readwrite/model/S7PayloadWriteVarRequest.go index 4d4751f7c3..5312826282 100644 --- a/plc4go/protocols/s7/readwrite/model/S7PayloadWriteVarRequest.go +++ b/plc4go/protocols/s7/readwrite/model/S7PayloadWriteVarRequest.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/S7PayloadWriteVarResponse.go b/plc4go/protocols/s7/readwrite/model/S7PayloadWriteVarResponse.go index 17d7bba001..156eff8304 100644 --- a/plc4go/protocols/s7/readwrite/model/S7PayloadWriteVarResponse.go +++ b/plc4go/protocols/s7/readwrite/model/S7PayloadWriteVarResponse.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/S7VarPayloadDataItem.go b/plc4go/protocols/s7/readwrite/model/S7VarPayloadDataItem.go index ec194b8b06..49705e4d3c 100644 --- a/plc4go/protocols/s7/readwrite/model/S7VarPayloadDataItem.go +++ b/plc4go/protocols/s7/readwrite/model/S7VarPayloadDataItem.go @@ -22,12 +22,14 @@ package model import ( "context" "fmt" + "math" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" - "math" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/S7VarPayloadStatusItem.go b/plc4go/protocols/s7/readwrite/model/S7VarPayloadStatusItem.go index 05025cd545..e9e3df5844 100644 --- a/plc4go/protocols/s7/readwrite/model/S7VarPayloadStatusItem.go +++ b/plc4go/protocols/s7/readwrite/model/S7VarPayloadStatusItem.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/S7VarRequestParameterItem.go b/plc4go/protocols/s7/readwrite/model/S7VarRequestParameterItem.go index aee14c6e7b..a054ecb132 100644 --- a/plc4go/protocols/s7/readwrite/model/S7VarRequestParameterItem.go +++ b/plc4go/protocols/s7/readwrite/model/S7VarRequestParameterItem.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/S7VarRequestParameterItemAddress.go b/plc4go/protocols/s7/readwrite/model/S7VarRequestParameterItemAddress.go index 8daafa8d27..82377cfea2 100644 --- a/plc4go/protocols/s7/readwrite/model/S7VarRequestParameterItemAddress.go +++ b/plc4go/protocols/s7/readwrite/model/S7VarRequestParameterItemAddress.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -80,8 +82,6 @@ type S7VarRequestParameterItemAddressBuilder interface { WithMandatoryFields(address S7Address) S7VarRequestParameterItemAddressBuilder // WithAddress adds Address (property field) WithAddress(S7Address) S7VarRequestParameterItemAddressBuilder - // WithAddressBuilder adds Address (property field) which is build by the builder - WithAddressBuilder(func(S7AddressBuilder) S7AddressBuilder) S7VarRequestParameterItemAddressBuilder // Build builds the S7VarRequestParameterItemAddress or returns an error if something is wrong Build() (S7VarRequestParameterItemAddress, error) // MustBuild does the same as Build but panics on error @@ -110,19 +110,6 @@ func (m *_S7VarRequestParameterItemAddressBuilder) WithAddress(address S7Address return m } -func (m *_S7VarRequestParameterItemAddressBuilder) WithAddressBuilder(builderSupplier func(S7AddressBuilder) S7AddressBuilder) S7VarRequestParameterItemAddressBuilder { - builder := builderSupplier(m.Address.CreateS7AddressBuilder()) - var err error - m.Address, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "S7AddressBuilder failed")) - } - return m -} - func (m *_S7VarRequestParameterItemAddressBuilder) Build() (S7VarRequestParameterItemAddress, error) { if m.Address == nil { if m.err == nil { diff --git a/plc4go/protocols/s7/readwrite/model/State.go b/plc4go/protocols/s7/readwrite/model/State.go index 85486cc4cb..443fa82825 100644 --- a/plc4go/protocols/s7/readwrite/model/State.go +++ b/plc4go/protocols/s7/readwrite/model/State.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/SubItem.go b/plc4go/protocols/s7/readwrite/model/SubItem.go index 30628c233e..db59620418 100644 --- a/plc4go/protocols/s7/readwrite/model/SubItem.go +++ b/plc4go/protocols/s7/readwrite/model/SubItem.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/SyntaxIdType.go b/plc4go/protocols/s7/readwrite/model/SyntaxIdType.go index a24de5ddfd..f9a9a99934 100644 --- a/plc4go/protocols/s7/readwrite/model/SyntaxIdType.go +++ b/plc4go/protocols/s7/readwrite/model/SyntaxIdType.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/SzlDataTreeItem.go b/plc4go/protocols/s7/readwrite/model/SzlDataTreeItem.go index 76f725633f..a8caaa441a 100644 --- a/plc4go/protocols/s7/readwrite/model/SzlDataTreeItem.go +++ b/plc4go/protocols/s7/readwrite/model/SzlDataTreeItem.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/SzlId.go b/plc4go/protocols/s7/readwrite/model/SzlId.go index c16f6ef9f2..5799dc6f81 100644 --- a/plc4go/protocols/s7/readwrite/model/SzlId.go +++ b/plc4go/protocols/s7/readwrite/model/SzlId.go @@ -22,11 +22,13 @@ package model import ( "context" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/SzlModuleTypeClass.go b/plc4go/protocols/s7/readwrite/model/SzlModuleTypeClass.go index 385b3e104c..10d659555e 100644 --- a/plc4go/protocols/s7/readwrite/model/SzlModuleTypeClass.go +++ b/plc4go/protocols/s7/readwrite/model/SzlModuleTypeClass.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/SzlSublist.go b/plc4go/protocols/s7/readwrite/model/SzlSublist.go index a32e89a558..83ea77f846 100644 --- a/plc4go/protocols/s7/readwrite/model/SzlSublist.go +++ b/plc4go/protocols/s7/readwrite/model/SzlSublist.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/TPKTPacket.go b/plc4go/protocols/s7/readwrite/model/TPKTPacket.go index 350218f617..beac54c90d 100644 --- a/plc4go/protocols/s7/readwrite/model/TPKTPacket.go +++ b/plc4go/protocols/s7/readwrite/model/TPKTPacket.go @@ -23,12 +23,14 @@ import ( "context" "encoding/binary" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + "github.com/apache/plc4x/plc4go/spi/codegen" . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. @@ -79,8 +81,6 @@ type TPKTPacketBuilder interface { WithMandatoryFields(payload COTPPacket) TPKTPacketBuilder // WithPayload adds Payload (property field) WithPayload(COTPPacket) TPKTPacketBuilder - // WithPayloadBuilder adds Payload (property field) which is build by the builder - WithPayloadBuilder(func(COTPPacketBuilder) COTPPacketBuilder) TPKTPacketBuilder // Build builds the TPKTPacket or returns an error if something is wrong Build() (TPKTPacket, error) // MustBuild does the same as Build but panics on error @@ -109,19 +109,6 @@ func (m *_TPKTPacketBuilder) WithPayload(payload COTPPacket) TPKTPacketBuilder { return m } -func (m *_TPKTPacketBuilder) WithPayloadBuilder(builderSupplier func(COTPPacketBuilder) COTPPacketBuilder) TPKTPacketBuilder { - builder := builderSupplier(m.Payload.CreateCOTPPacketBuilder()) - var err error - m.Payload, err = builder.Build() - if err != nil { - if m.err == nil { - m.err = &utils.MultiError{MainError: errors.New("sub builder failed")} - } - m.err.Append(errors.Wrap(err, "COTPPacketBuilder failed")) - } - return m -} - func (m *_TPKTPacketBuilder) Build() (TPKTPacket, error) { if m.Payload == nil { if m.err == nil { diff --git a/plc4go/protocols/s7/readwrite/model/TimeBase.go b/plc4go/protocols/s7/readwrite/model/TimeBase.go index 113994b0fc..d91a1094f4 100644 --- a/plc4go/protocols/s7/readwrite/model/TimeBase.go +++ b/plc4go/protocols/s7/readwrite/model/TimeBase.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/s7/readwrite/model/TransportSize.go b/plc4go/protocols/s7/readwrite/model/TransportSize.go index fce8e83d3a..e0a872797f 100644 --- a/plc4go/protocols/s7/readwrite/model/TransportSize.go +++ b/plc4go/protocols/s7/readwrite/model/TransportSize.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/simulated/readwrite/ParserHelper.go b/plc4go/protocols/simulated/readwrite/ParserHelper.go index 27f3712001..ec534ff667 100644 --- a/plc4go/protocols/simulated/readwrite/ParserHelper.go +++ b/plc4go/protocols/simulated/readwrite/ParserHelper.go @@ -22,9 +22,10 @@ package readwrite import ( "context" + "github.com/pkg/errors" + . "github.com/apache/plc4x/plc4go/protocols/simulated/readwrite/model" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/simulated/readwrite/XmlParserHelper.go b/plc4go/protocols/simulated/readwrite/XmlParserHelper.go index 1472a81c98..6bebd658c7 100644 --- a/plc4go/protocols/simulated/readwrite/XmlParserHelper.go +++ b/plc4go/protocols/simulated/readwrite/XmlParserHelper.go @@ -24,9 +24,10 @@ import ( "strconv" "strings" + "github.com/pkg/errors" + . "github.com/apache/plc4x/plc4go/protocols/simulated/readwrite/model" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/simulated/readwrite/model/DataItem.go b/plc4go/protocols/simulated/readwrite/model/DataItem.go index 2f6dc86dea..4284635330 100644 --- a/plc4go/protocols/simulated/readwrite/model/DataItem.go +++ b/plc4go/protocols/simulated/readwrite/model/DataItem.go @@ -21,11 +21,13 @@ package model import ( "context" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + api "github.com/apache/plc4x/plc4go/pkg/api/values" "github.com/apache/plc4x/plc4go/spi/utils" "github.com/apache/plc4x/plc4go/spi/values" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/simulated/readwrite/model/Dummy.go b/plc4go/protocols/simulated/readwrite/model/Dummy.go index 6e6464262e..b8de220ae0 100644 --- a/plc4go/protocols/simulated/readwrite/model/Dummy.go +++ b/plc4go/protocols/simulated/readwrite/model/Dummy.go @@ -23,12 +23,14 @@ import ( "context" "encoding/binary" "fmt" + + "github.com/pkg/errors" + "github.com/rs/zerolog" + "github.com/apache/plc4x/plc4go/spi/codegen" . "github.com/apache/plc4x/plc4go/spi/codegen/fields" . "github.com/apache/plc4x/plc4go/spi/codegen/io" "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" - "github.com/rs/zerolog" ) // Code generated by code-generation. DO NOT EDIT. diff --git a/plc4go/protocols/simulated/readwrite/model/SimulatedDataTypeSizes.go b/plc4go/protocols/simulated/readwrite/model/SimulatedDataTypeSizes.go index a3de76b70c..a96c0ca7b3 100644 --- a/plc4go/protocols/simulated/readwrite/model/SimulatedDataTypeSizes.go +++ b/plc4go/protocols/simulated/readwrite/model/SimulatedDataTypeSizes.go @@ -23,10 +23,10 @@ import ( "context" "fmt" - "github.com/apache/plc4x/plc4go/spi/utils" - "github.com/pkg/errors" "github.com/rs/zerolog" + + "github.com/apache/plc4x/plc4go/spi/utils" ) // Code generated by code-generation. DO NOT EDIT.