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 65c0e8b695..0f2e4ad0fc 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 @@ -128,7 +128,6 @@ type ${type.name} interface { <#if type.isDiscriminatedParentTypeDefinition()> // ${type.name}Contract provides a set of functions which can be overwritten by a sub struct type ${type.name}Contract interface { - utils.Copyable <#if type.isDiscriminatedChildTypeDefinition()> ${type.parentType.orElseThrow().name?cap_first}<#if type.isDiscriminatedParentTypeDefinition()>Contract @@ -1631,7 +1630,7 @@ func (m *_${type.name}) deepCopy() *_${type.name} { } _${type.name}Copy := &_${type.name} { <#if type.parentType.isPresent()> - m.${type.parentType.orElseThrow().name}Contract.DeepCopy().(${type.parentType.orElseThrow().name}Contract), + m.${type.parentType.orElseThrow().name}Contract.(*_${type.parentType.orElseThrow().name}).deepCopy(), <#if type.isDiscriminatedParentTypeDefinition()> nil, // will be set by child diff --git a/plc4go/protocols/abeth/readwrite/model/CIPEncapsulationConnectionRequest.go b/plc4go/protocols/abeth/readwrite/model/CIPEncapsulationConnectionRequest.go index 49d6318fda..c4782c3e77 100644 --- a/plc4go/protocols/abeth/readwrite/model/CIPEncapsulationConnectionRequest.go +++ b/plc4go/protocols/abeth/readwrite/model/CIPEncapsulationConnectionRequest.go @@ -158,7 +158,7 @@ func (m *_CIPEncapsulationConnectionRequest) deepCopy() *_CIPEncapsulationConnec return nil } _CIPEncapsulationConnectionRequestCopy := &_CIPEncapsulationConnectionRequest{ - m.CIPEncapsulationPacketContract.DeepCopy().(CIPEncapsulationPacketContract), + m.CIPEncapsulationPacketContract.(*_CIPEncapsulationPacket).deepCopy(), } m.CIPEncapsulationPacketContract.(*_CIPEncapsulationPacket)._SubType = m return _CIPEncapsulationConnectionRequestCopy diff --git a/plc4go/protocols/abeth/readwrite/model/CIPEncapsulationConnectionResponse.go b/plc4go/protocols/abeth/readwrite/model/CIPEncapsulationConnectionResponse.go index b79d96d023..90da6de6e2 100644 --- a/plc4go/protocols/abeth/readwrite/model/CIPEncapsulationConnectionResponse.go +++ b/plc4go/protocols/abeth/readwrite/model/CIPEncapsulationConnectionResponse.go @@ -158,7 +158,7 @@ func (m *_CIPEncapsulationConnectionResponse) deepCopy() *_CIPEncapsulationConne return nil } _CIPEncapsulationConnectionResponseCopy := &_CIPEncapsulationConnectionResponse{ - m.CIPEncapsulationPacketContract.DeepCopy().(CIPEncapsulationPacketContract), + m.CIPEncapsulationPacketContract.(*_CIPEncapsulationPacket).deepCopy(), } m.CIPEncapsulationPacketContract.(*_CIPEncapsulationPacket)._SubType = m return _CIPEncapsulationConnectionResponseCopy diff --git a/plc4go/protocols/abeth/readwrite/model/CIPEncapsulationPacket.go b/plc4go/protocols/abeth/readwrite/model/CIPEncapsulationPacket.go index e80ed4cd50..d77c64dca5 100644 --- a/plc4go/protocols/abeth/readwrite/model/CIPEncapsulationPacket.go +++ b/plc4go/protocols/abeth/readwrite/model/CIPEncapsulationPacket.go @@ -49,7 +49,6 @@ type CIPEncapsulationPacket interface { // CIPEncapsulationPacketContract provides a set of functions which can be overwritten by a sub struct type CIPEncapsulationPacketContract interface { - utils.Copyable // GetSessionHandle returns SessionHandle (property field) GetSessionHandle() uint32 // GetStatus returns Status (property field) diff --git a/plc4go/protocols/abeth/readwrite/model/CIPEncapsulationReadRequest.go b/plc4go/protocols/abeth/readwrite/model/CIPEncapsulationReadRequest.go index 3f37e1600f..874532f992 100644 --- a/plc4go/protocols/abeth/readwrite/model/CIPEncapsulationReadRequest.go +++ b/plc4go/protocols/abeth/readwrite/model/CIPEncapsulationReadRequest.go @@ -195,7 +195,7 @@ func (m *_CIPEncapsulationReadRequest) deepCopy() *_CIPEncapsulationReadRequest return nil } _CIPEncapsulationReadRequestCopy := &_CIPEncapsulationReadRequest{ - m.CIPEncapsulationPacketContract.DeepCopy().(CIPEncapsulationPacketContract), + m.CIPEncapsulationPacketContract.(*_CIPEncapsulationPacket).deepCopy(), m.Request.DeepCopy().(DF1RequestMessage), } m.CIPEncapsulationPacketContract.(*_CIPEncapsulationPacket)._SubType = m diff --git a/plc4go/protocols/abeth/readwrite/model/CIPEncapsulationReadResponse.go b/plc4go/protocols/abeth/readwrite/model/CIPEncapsulationReadResponse.go index d622dc8fca..d017428df6 100644 --- a/plc4go/protocols/abeth/readwrite/model/CIPEncapsulationReadResponse.go +++ b/plc4go/protocols/abeth/readwrite/model/CIPEncapsulationReadResponse.go @@ -208,7 +208,7 @@ func (m *_CIPEncapsulationReadResponse) deepCopy() *_CIPEncapsulationReadRespons return nil } _CIPEncapsulationReadResponseCopy := &_CIPEncapsulationReadResponse{ - m.CIPEncapsulationPacketContract.DeepCopy().(CIPEncapsulationPacketContract), + m.CIPEncapsulationPacketContract.(*_CIPEncapsulationPacket).deepCopy(), m.Response.DeepCopy().(DF1ResponseMessage), m.PacketLen, } diff --git a/plc4go/protocols/abeth/readwrite/model/DF1CommandRequestMessage.go b/plc4go/protocols/abeth/readwrite/model/DF1CommandRequestMessage.go index a2c3f1cf37..c0294221ae 100644 --- a/plc4go/protocols/abeth/readwrite/model/DF1CommandRequestMessage.go +++ b/plc4go/protocols/abeth/readwrite/model/DF1CommandRequestMessage.go @@ -193,7 +193,7 @@ func (m *_DF1CommandRequestMessage) deepCopy() *_DF1CommandRequestMessage { return nil } _DF1CommandRequestMessageCopy := &_DF1CommandRequestMessage{ - m.DF1RequestMessageContract.DeepCopy().(DF1RequestMessageContract), + m.DF1RequestMessageContract.(*_DF1RequestMessage).deepCopy(), m.Command.DeepCopy().(DF1RequestCommand), } m.DF1RequestMessageContract.(*_DF1RequestMessage)._SubType = m diff --git a/plc4go/protocols/abeth/readwrite/model/DF1CommandResponseMessageProtectedTypedLogicalRead.go b/plc4go/protocols/abeth/readwrite/model/DF1CommandResponseMessageProtectedTypedLogicalRead.go index 17887be9e2..4b70c39d73 100644 --- a/plc4go/protocols/abeth/readwrite/model/DF1CommandResponseMessageProtectedTypedLogicalRead.go +++ b/plc4go/protocols/abeth/readwrite/model/DF1CommandResponseMessageProtectedTypedLogicalRead.go @@ -193,7 +193,7 @@ func (m *_DF1CommandResponseMessageProtectedTypedLogicalRead) deepCopy() *_DF1Co return nil } _DF1CommandResponseMessageProtectedTypedLogicalReadCopy := &_DF1CommandResponseMessageProtectedTypedLogicalRead{ - m.DF1ResponseMessageContract.DeepCopy().(DF1ResponseMessageContract), + m.DF1ResponseMessageContract.(*_DF1ResponseMessage).deepCopy(), utils.DeepCopySlice[uint8, uint8](m.Data), } m.DF1ResponseMessageContract.(*_DF1ResponseMessage)._SubType = m diff --git a/plc4go/protocols/abeth/readwrite/model/DF1RequestCommand.go b/plc4go/protocols/abeth/readwrite/model/DF1RequestCommand.go index 3a984d9499..dfd2d560fc 100644 --- a/plc4go/protocols/abeth/readwrite/model/DF1RequestCommand.go +++ b/plc4go/protocols/abeth/readwrite/model/DF1RequestCommand.go @@ -47,7 +47,6 @@ type DF1RequestCommand interface { // DF1RequestCommandContract provides a set of functions which can be overwritten by a sub struct type DF1RequestCommandContract interface { - utils.Copyable // IsDF1RequestCommand is a marker method to prevent unintentional type checks (interfaces of same signature) IsDF1RequestCommand() } diff --git a/plc4go/protocols/abeth/readwrite/model/DF1RequestMessage.go b/plc4go/protocols/abeth/readwrite/model/DF1RequestMessage.go index f72b2e6a6c..27e0b3272c 100644 --- a/plc4go/protocols/abeth/readwrite/model/DF1RequestMessage.go +++ b/plc4go/protocols/abeth/readwrite/model/DF1RequestMessage.go @@ -47,7 +47,6 @@ type DF1RequestMessage interface { // DF1RequestMessageContract provides a set of functions which can be overwritten by a sub struct type DF1RequestMessageContract interface { - utils.Copyable // GetDestinationAddress returns DestinationAddress (property field) GetDestinationAddress() uint8 // GetSourceAddress returns SourceAddress (property field) diff --git a/plc4go/protocols/abeth/readwrite/model/DF1RequestProtectedTypedLogicalRead.go b/plc4go/protocols/abeth/readwrite/model/DF1RequestProtectedTypedLogicalRead.go index 129d00ba08..e5169531b7 100644 --- a/plc4go/protocols/abeth/readwrite/model/DF1RequestProtectedTypedLogicalRead.go +++ b/plc4go/protocols/abeth/readwrite/model/DF1RequestProtectedTypedLogicalRead.go @@ -274,7 +274,7 @@ func (m *_DF1RequestProtectedTypedLogicalRead) deepCopy() *_DF1RequestProtectedT return nil } _DF1RequestProtectedTypedLogicalReadCopy := &_DF1RequestProtectedTypedLogicalRead{ - m.DF1RequestCommandContract.DeepCopy().(DF1RequestCommandContract), + m.DF1RequestCommandContract.(*_DF1RequestCommand).deepCopy(), m.ByteSize, m.FileNumber, m.FileType, diff --git a/plc4go/protocols/abeth/readwrite/model/DF1ResponseMessage.go b/plc4go/protocols/abeth/readwrite/model/DF1ResponseMessage.go index 698d7c02de..f345eded96 100644 --- a/plc4go/protocols/abeth/readwrite/model/DF1ResponseMessage.go +++ b/plc4go/protocols/abeth/readwrite/model/DF1ResponseMessage.go @@ -47,7 +47,6 @@ type DF1ResponseMessage interface { // DF1ResponseMessageContract provides a set of functions which can be overwritten by a sub struct type DF1ResponseMessageContract interface { - utils.Copyable // GetDestinationAddress returns DestinationAddress (property field) GetDestinationAddress() uint8 // GetSourceAddress returns SourceAddress (property field) diff --git a/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlock.go b/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlock.go index b4c42e97cf..d40079addd 100644 --- a/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlock.go +++ b/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlock.go @@ -47,7 +47,6 @@ type AdsDiscoveryBlock interface { // AdsDiscoveryBlockContract provides a set of functions which can be overwritten by a sub struct type AdsDiscoveryBlockContract interface { - utils.Copyable // IsAdsDiscoveryBlock is a marker method to prevent unintentional type checks (interfaces of same signature) IsAdsDiscoveryBlock() } diff --git a/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockAmsNetId.go b/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockAmsNetId.go index dd8608c1a5..30c64e46a2 100644 --- a/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockAmsNetId.go +++ b/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockAmsNetId.go @@ -222,7 +222,7 @@ func (m *_AdsDiscoveryBlockAmsNetId) deepCopy() *_AdsDiscoveryBlockAmsNetId { return nil } _AdsDiscoveryBlockAmsNetIdCopy := &_AdsDiscoveryBlockAmsNetId{ - m.AdsDiscoveryBlockContract.DeepCopy().(AdsDiscoveryBlockContract), + m.AdsDiscoveryBlockContract.(*_AdsDiscoveryBlock).deepCopy(), m.AmsNetId.DeepCopy().(AmsNetId), } m.AdsDiscoveryBlockContract.(*_AdsDiscoveryBlock)._SubType = m diff --git a/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockFingerprint.go b/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockFingerprint.go index 61d12de3dc..86ece169a2 100644 --- a/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockFingerprint.go +++ b/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockFingerprint.go @@ -205,7 +205,7 @@ func (m *_AdsDiscoveryBlockFingerprint) deepCopy() *_AdsDiscoveryBlockFingerprin return nil } _AdsDiscoveryBlockFingerprintCopy := &_AdsDiscoveryBlockFingerprint{ - m.AdsDiscoveryBlockContract.DeepCopy().(AdsDiscoveryBlockContract), + m.AdsDiscoveryBlockContract.(*_AdsDiscoveryBlock).deepCopy(), utils.DeepCopySlice[byte, byte](m.Data), } m.AdsDiscoveryBlockContract.(*_AdsDiscoveryBlock)._SubType = m diff --git a/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockHostName.go b/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockHostName.go index 973da324f7..ceb74870d4 100644 --- a/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockHostName.go +++ b/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockHostName.go @@ -193,7 +193,7 @@ func (m *_AdsDiscoveryBlockHostName) deepCopy() *_AdsDiscoveryBlockHostName { return nil } _AdsDiscoveryBlockHostNameCopy := &_AdsDiscoveryBlockHostName{ - m.AdsDiscoveryBlockContract.DeepCopy().(AdsDiscoveryBlockContract), + m.AdsDiscoveryBlockContract.(*_AdsDiscoveryBlock).deepCopy(), m.HostName.DeepCopy().(AmsString), } m.AdsDiscoveryBlockContract.(*_AdsDiscoveryBlock)._SubType = m diff --git a/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockOsData.go b/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockOsData.go index bbaa8b5dcf..8e5bbf93e3 100644 --- a/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockOsData.go +++ b/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockOsData.go @@ -205,7 +205,7 @@ func (m *_AdsDiscoveryBlockOsData) deepCopy() *_AdsDiscoveryBlockOsData { return nil } _AdsDiscoveryBlockOsDataCopy := &_AdsDiscoveryBlockOsData{ - m.AdsDiscoveryBlockContract.DeepCopy().(AdsDiscoveryBlockContract), + m.AdsDiscoveryBlockContract.(*_AdsDiscoveryBlock).deepCopy(), utils.DeepCopySlice[byte, byte](m.OsData), } m.AdsDiscoveryBlockContract.(*_AdsDiscoveryBlock)._SubType = m diff --git a/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockPassword.go b/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockPassword.go index 1f1c5fae7a..195377f227 100644 --- a/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockPassword.go +++ b/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockPassword.go @@ -193,7 +193,7 @@ func (m *_AdsDiscoveryBlockPassword) deepCopy() *_AdsDiscoveryBlockPassword { return nil } _AdsDiscoveryBlockPasswordCopy := &_AdsDiscoveryBlockPassword{ - m.AdsDiscoveryBlockContract.DeepCopy().(AdsDiscoveryBlockContract), + m.AdsDiscoveryBlockContract.(*_AdsDiscoveryBlock).deepCopy(), m.Password.DeepCopy().(AmsString), } m.AdsDiscoveryBlockContract.(*_AdsDiscoveryBlock)._SubType = m diff --git a/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockRouteName.go b/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockRouteName.go index 9cd9aecdc9..8902e82b64 100644 --- a/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockRouteName.go +++ b/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockRouteName.go @@ -193,7 +193,7 @@ func (m *_AdsDiscoveryBlockRouteName) deepCopy() *_AdsDiscoveryBlockRouteName { return nil } _AdsDiscoveryBlockRouteNameCopy := &_AdsDiscoveryBlockRouteName{ - m.AdsDiscoveryBlockContract.DeepCopy().(AdsDiscoveryBlockContract), + m.AdsDiscoveryBlockContract.(*_AdsDiscoveryBlock).deepCopy(), m.RouteName.DeepCopy().(AmsString), } m.AdsDiscoveryBlockContract.(*_AdsDiscoveryBlock)._SubType = m diff --git a/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockStatus.go b/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockStatus.go index 9a7b11dd28..699212ae90 100644 --- a/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockStatus.go +++ b/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockStatus.go @@ -219,7 +219,7 @@ func (m *_AdsDiscoveryBlockStatus) deepCopy() *_AdsDiscoveryBlockStatus { return nil } _AdsDiscoveryBlockStatusCopy := &_AdsDiscoveryBlockStatus{ - m.AdsDiscoveryBlockContract.DeepCopy().(AdsDiscoveryBlockContract), + m.AdsDiscoveryBlockContract.(*_AdsDiscoveryBlock).deepCopy(), m.Status, } m.AdsDiscoveryBlockContract.(*_AdsDiscoveryBlock)._SubType = m diff --git a/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockUserName.go b/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockUserName.go index 8cdbaa5edf..76e5c3984d 100644 --- a/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockUserName.go +++ b/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockUserName.go @@ -193,7 +193,7 @@ func (m *_AdsDiscoveryBlockUserName) deepCopy() *_AdsDiscoveryBlockUserName { return nil } _AdsDiscoveryBlockUserNameCopy := &_AdsDiscoveryBlockUserName{ - m.AdsDiscoveryBlockContract.DeepCopy().(AdsDiscoveryBlockContract), + m.AdsDiscoveryBlockContract.(*_AdsDiscoveryBlock).deepCopy(), m.UserName.DeepCopy().(AmsString), } m.AdsDiscoveryBlockContract.(*_AdsDiscoveryBlock)._SubType = m diff --git a/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockVersion.go b/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockVersion.go index 6878bd088a..ccaa006ac7 100644 --- a/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockVersion.go +++ b/plc4go/protocols/ads/discovery/readwrite/model/AdsDiscoveryBlockVersion.go @@ -205,7 +205,7 @@ func (m *_AdsDiscoveryBlockVersion) deepCopy() *_AdsDiscoveryBlockVersion { return nil } _AdsDiscoveryBlockVersionCopy := &_AdsDiscoveryBlockVersion{ - m.AdsDiscoveryBlockContract.DeepCopy().(AdsDiscoveryBlockContract), + m.AdsDiscoveryBlockContract.(*_AdsDiscoveryBlock).deepCopy(), utils.DeepCopySlice[byte, byte](m.VersionData), } m.AdsDiscoveryBlockContract.(*_AdsDiscoveryBlock)._SubType = m diff --git a/plc4go/protocols/ads/readwrite/model/AdsAddDeviceNotificationRequest.go b/plc4go/protocols/ads/readwrite/model/AdsAddDeviceNotificationRequest.go index a8f10bae01..7d018ba2d5 100644 --- a/plc4go/protocols/ads/readwrite/model/AdsAddDeviceNotificationRequest.go +++ b/plc4go/protocols/ads/readwrite/model/AdsAddDeviceNotificationRequest.go @@ -328,7 +328,7 @@ func (m *_AdsAddDeviceNotificationRequest) deepCopy() *_AdsAddDeviceNotification return nil } _AdsAddDeviceNotificationRequestCopy := &_AdsAddDeviceNotificationRequest{ - m.AmsPacketContract.DeepCopy().(AmsPacketContract), + m.AmsPacketContract.(*_AmsPacket).deepCopy(), m.IndexGroup, m.IndexOffset, m.Length, diff --git a/plc4go/protocols/ads/readwrite/model/AdsAddDeviceNotificationResponse.go b/plc4go/protocols/ads/readwrite/model/AdsAddDeviceNotificationResponse.go index 88af2d83e2..4d0d959544 100644 --- a/plc4go/protocols/ads/readwrite/model/AdsAddDeviceNotificationResponse.go +++ b/plc4go/protocols/ads/readwrite/model/AdsAddDeviceNotificationResponse.go @@ -215,7 +215,7 @@ func (m *_AdsAddDeviceNotificationResponse) deepCopy() *_AdsAddDeviceNotificatio return nil } _AdsAddDeviceNotificationResponseCopy := &_AdsAddDeviceNotificationResponse{ - m.AmsPacketContract.DeepCopy().(AmsPacketContract), + m.AmsPacketContract.(*_AmsPacket).deepCopy(), m.Result, m.NotificationHandle, } diff --git a/plc4go/protocols/ads/readwrite/model/AdsDeleteDeviceNotificationRequest.go b/plc4go/protocols/ads/readwrite/model/AdsDeleteDeviceNotificationRequest.go index 95ea7c106c..3ede5fee32 100644 --- a/plc4go/protocols/ads/readwrite/model/AdsDeleteDeviceNotificationRequest.go +++ b/plc4go/protocols/ads/readwrite/model/AdsDeleteDeviceNotificationRequest.go @@ -194,7 +194,7 @@ func (m *_AdsDeleteDeviceNotificationRequest) deepCopy() *_AdsDeleteDeviceNotifi return nil } _AdsDeleteDeviceNotificationRequestCopy := &_AdsDeleteDeviceNotificationRequest{ - m.AmsPacketContract.DeepCopy().(AmsPacketContract), + m.AmsPacketContract.(*_AmsPacket).deepCopy(), m.NotificationHandle, } m.AmsPacketContract.(*_AmsPacket)._SubType = m diff --git a/plc4go/protocols/ads/readwrite/model/AdsDeleteDeviceNotificationResponse.go b/plc4go/protocols/ads/readwrite/model/AdsDeleteDeviceNotificationResponse.go index 7316b1dd3a..09b95cf0fc 100644 --- a/plc4go/protocols/ads/readwrite/model/AdsDeleteDeviceNotificationResponse.go +++ b/plc4go/protocols/ads/readwrite/model/AdsDeleteDeviceNotificationResponse.go @@ -194,7 +194,7 @@ func (m *_AdsDeleteDeviceNotificationResponse) deepCopy() *_AdsDeleteDeviceNotif return nil } _AdsDeleteDeviceNotificationResponseCopy := &_AdsDeleteDeviceNotificationResponse{ - m.AmsPacketContract.DeepCopy().(AmsPacketContract), + m.AmsPacketContract.(*_AmsPacket).deepCopy(), m.Result, } m.AmsPacketContract.(*_AmsPacket)._SubType = m diff --git a/plc4go/protocols/ads/readwrite/model/AdsDeviceNotificationRequest.go b/plc4go/protocols/ads/readwrite/model/AdsDeviceNotificationRequest.go index f38b3ac72e..16b2c230b5 100644 --- a/plc4go/protocols/ads/readwrite/model/AdsDeviceNotificationRequest.go +++ b/plc4go/protocols/ads/readwrite/model/AdsDeviceNotificationRequest.go @@ -243,7 +243,7 @@ func (m *_AdsDeviceNotificationRequest) deepCopy() *_AdsDeviceNotificationReques return nil } _AdsDeviceNotificationRequestCopy := &_AdsDeviceNotificationRequest{ - m.AmsPacketContract.DeepCopy().(AmsPacketContract), + m.AmsPacketContract.(*_AmsPacket).deepCopy(), m.Length, m.Stamps, utils.DeepCopySlice[AdsStampHeader, AdsStampHeader](m.AdsStampHeaders), diff --git a/plc4go/protocols/ads/readwrite/model/AdsDeviceNotificationResponse.go b/plc4go/protocols/ads/readwrite/model/AdsDeviceNotificationResponse.go index c971711060..f2db2acaeb 100644 --- a/plc4go/protocols/ads/readwrite/model/AdsDeviceNotificationResponse.go +++ b/plc4go/protocols/ads/readwrite/model/AdsDeviceNotificationResponse.go @@ -161,7 +161,7 @@ func (m *_AdsDeviceNotificationResponse) deepCopy() *_AdsDeviceNotificationRespo return nil } _AdsDeviceNotificationResponseCopy := &_AdsDeviceNotificationResponse{ - m.AmsPacketContract.DeepCopy().(AmsPacketContract), + m.AmsPacketContract.(*_AmsPacket).deepCopy(), } m.AmsPacketContract.(*_AmsPacket)._SubType = m return _AdsDeviceNotificationResponseCopy diff --git a/plc4go/protocols/ads/readwrite/model/AdsInvalidRequest.go b/plc4go/protocols/ads/readwrite/model/AdsInvalidRequest.go index f988bd8569..bc0fe029eb 100644 --- a/plc4go/protocols/ads/readwrite/model/AdsInvalidRequest.go +++ b/plc4go/protocols/ads/readwrite/model/AdsInvalidRequest.go @@ -161,7 +161,7 @@ func (m *_AdsInvalidRequest) deepCopy() *_AdsInvalidRequest { return nil } _AdsInvalidRequestCopy := &_AdsInvalidRequest{ - m.AmsPacketContract.DeepCopy().(AmsPacketContract), + m.AmsPacketContract.(*_AmsPacket).deepCopy(), } m.AmsPacketContract.(*_AmsPacket)._SubType = m return _AdsInvalidRequestCopy diff --git a/plc4go/protocols/ads/readwrite/model/AdsInvalidResponse.go b/plc4go/protocols/ads/readwrite/model/AdsInvalidResponse.go index 616f4d5a72..e72e9dbe66 100644 --- a/plc4go/protocols/ads/readwrite/model/AdsInvalidResponse.go +++ b/plc4go/protocols/ads/readwrite/model/AdsInvalidResponse.go @@ -161,7 +161,7 @@ func (m *_AdsInvalidResponse) deepCopy() *_AdsInvalidResponse { return nil } _AdsInvalidResponseCopy := &_AdsInvalidResponse{ - m.AmsPacketContract.DeepCopy().(AmsPacketContract), + m.AmsPacketContract.(*_AmsPacket).deepCopy(), } m.AmsPacketContract.(*_AmsPacket)._SubType = m return _AdsInvalidResponseCopy diff --git a/plc4go/protocols/ads/readwrite/model/AdsMultiRequestItem.go b/plc4go/protocols/ads/readwrite/model/AdsMultiRequestItem.go index 55f0491588..cec4fe429e 100644 --- a/plc4go/protocols/ads/readwrite/model/AdsMultiRequestItem.go +++ b/plc4go/protocols/ads/readwrite/model/AdsMultiRequestItem.go @@ -45,7 +45,6 @@ type AdsMultiRequestItem interface { // AdsMultiRequestItemContract provides a set of functions which can be overwritten by a sub struct type AdsMultiRequestItemContract interface { - utils.Copyable // IsAdsMultiRequestItem is a marker method to prevent unintentional type checks (interfaces of same signature) IsAdsMultiRequestItem() } diff --git a/plc4go/protocols/ads/readwrite/model/AdsMultiRequestItemRead.go b/plc4go/protocols/ads/readwrite/model/AdsMultiRequestItemRead.go index 7c3ee5c16b..f792f9d258 100644 --- a/plc4go/protocols/ads/readwrite/model/AdsMultiRequestItemRead.go +++ b/plc4go/protocols/ads/readwrite/model/AdsMultiRequestItemRead.go @@ -232,7 +232,7 @@ func (m *_AdsMultiRequestItemRead) deepCopy() *_AdsMultiRequestItemRead { return nil } _AdsMultiRequestItemReadCopy := &_AdsMultiRequestItemRead{ - m.AdsMultiRequestItemContract.DeepCopy().(AdsMultiRequestItemContract), + m.AdsMultiRequestItemContract.(*_AdsMultiRequestItem).deepCopy(), m.ItemIndexGroup, m.ItemIndexOffset, m.ItemReadLength, diff --git a/plc4go/protocols/ads/readwrite/model/AdsMultiRequestItemReadWrite.go b/plc4go/protocols/ads/readwrite/model/AdsMultiRequestItemReadWrite.go index f53640406d..193356f8a0 100644 --- a/plc4go/protocols/ads/readwrite/model/AdsMultiRequestItemReadWrite.go +++ b/plc4go/protocols/ads/readwrite/model/AdsMultiRequestItemReadWrite.go @@ -253,7 +253,7 @@ func (m *_AdsMultiRequestItemReadWrite) deepCopy() *_AdsMultiRequestItemReadWrit return nil } _AdsMultiRequestItemReadWriteCopy := &_AdsMultiRequestItemReadWrite{ - m.AdsMultiRequestItemContract.DeepCopy().(AdsMultiRequestItemContract), + m.AdsMultiRequestItemContract.(*_AdsMultiRequestItem).deepCopy(), m.ItemIndexGroup, m.ItemIndexOffset, m.ItemReadLength, diff --git a/plc4go/protocols/ads/readwrite/model/AdsMultiRequestItemWrite.go b/plc4go/protocols/ads/readwrite/model/AdsMultiRequestItemWrite.go index cfb323ee3f..9e9db0e6ec 100644 --- a/plc4go/protocols/ads/readwrite/model/AdsMultiRequestItemWrite.go +++ b/plc4go/protocols/ads/readwrite/model/AdsMultiRequestItemWrite.go @@ -232,7 +232,7 @@ func (m *_AdsMultiRequestItemWrite) deepCopy() *_AdsMultiRequestItemWrite { return nil } _AdsMultiRequestItemWriteCopy := &_AdsMultiRequestItemWrite{ - m.AdsMultiRequestItemContract.DeepCopy().(AdsMultiRequestItemContract), + m.AdsMultiRequestItemContract.(*_AdsMultiRequestItem).deepCopy(), m.ItemIndexGroup, m.ItemIndexOffset, m.ItemWriteLength, diff --git a/plc4go/protocols/ads/readwrite/model/AdsReadDeviceInfoRequest.go b/plc4go/protocols/ads/readwrite/model/AdsReadDeviceInfoRequest.go index 0e2b0a6bb8..bde20bad3c 100644 --- a/plc4go/protocols/ads/readwrite/model/AdsReadDeviceInfoRequest.go +++ b/plc4go/protocols/ads/readwrite/model/AdsReadDeviceInfoRequest.go @@ -161,7 +161,7 @@ func (m *_AdsReadDeviceInfoRequest) deepCopy() *_AdsReadDeviceInfoRequest { return nil } _AdsReadDeviceInfoRequestCopy := &_AdsReadDeviceInfoRequest{ - m.AmsPacketContract.DeepCopy().(AmsPacketContract), + m.AmsPacketContract.(*_AmsPacket).deepCopy(), } m.AmsPacketContract.(*_AmsPacket)._SubType = m return _AdsReadDeviceInfoRequestCopy diff --git a/plc4go/protocols/ads/readwrite/model/AdsReadDeviceInfoResponse.go b/plc4go/protocols/ads/readwrite/model/AdsReadDeviceInfoResponse.go index d4b886c5b2..e893738bc8 100644 --- a/plc4go/protocols/ads/readwrite/model/AdsReadDeviceInfoResponse.go +++ b/plc4go/protocols/ads/readwrite/model/AdsReadDeviceInfoResponse.go @@ -280,7 +280,7 @@ func (m *_AdsReadDeviceInfoResponse) deepCopy() *_AdsReadDeviceInfoResponse { return nil } _AdsReadDeviceInfoResponseCopy := &_AdsReadDeviceInfoResponse{ - m.AmsPacketContract.DeepCopy().(AmsPacketContract), + m.AmsPacketContract.(*_AmsPacket).deepCopy(), m.Result, m.MajorVersion, m.MinorVersion, diff --git a/plc4go/protocols/ads/readwrite/model/AdsReadRequest.go b/plc4go/protocols/ads/readwrite/model/AdsReadRequest.go index 2cb35eae02..6667969158 100644 --- a/plc4go/protocols/ads/readwrite/model/AdsReadRequest.go +++ b/plc4go/protocols/ads/readwrite/model/AdsReadRequest.go @@ -236,7 +236,7 @@ func (m *_AdsReadRequest) deepCopy() *_AdsReadRequest { return nil } _AdsReadRequestCopy := &_AdsReadRequest{ - m.AmsPacketContract.DeepCopy().(AmsPacketContract), + m.AmsPacketContract.(*_AmsPacket).deepCopy(), m.IndexGroup, m.IndexOffset, m.Length, diff --git a/plc4go/protocols/ads/readwrite/model/AdsReadResponse.go b/plc4go/protocols/ads/readwrite/model/AdsReadResponse.go index df0f6aa53f..46cea1fef9 100644 --- a/plc4go/protocols/ads/readwrite/model/AdsReadResponse.go +++ b/plc4go/protocols/ads/readwrite/model/AdsReadResponse.go @@ -230,7 +230,7 @@ func (m *_AdsReadResponse) deepCopy() *_AdsReadResponse { return nil } _AdsReadResponseCopy := &_AdsReadResponse{ - m.AmsPacketContract.DeepCopy().(AmsPacketContract), + m.AmsPacketContract.(*_AmsPacket).deepCopy(), m.Result, utils.DeepCopySlice[byte, byte](m.Data), } diff --git a/plc4go/protocols/ads/readwrite/model/AdsReadStateRequest.go b/plc4go/protocols/ads/readwrite/model/AdsReadStateRequest.go index 7c89b27e0e..861bc3993f 100644 --- a/plc4go/protocols/ads/readwrite/model/AdsReadStateRequest.go +++ b/plc4go/protocols/ads/readwrite/model/AdsReadStateRequest.go @@ -161,7 +161,7 @@ func (m *_AdsReadStateRequest) deepCopy() *_AdsReadStateRequest { return nil } _AdsReadStateRequestCopy := &_AdsReadStateRequest{ - m.AmsPacketContract.DeepCopy().(AmsPacketContract), + m.AmsPacketContract.(*_AmsPacket).deepCopy(), } m.AmsPacketContract.(*_AmsPacket)._SubType = m return _AdsReadStateRequestCopy diff --git a/plc4go/protocols/ads/readwrite/model/AdsReadStateResponse.go b/plc4go/protocols/ads/readwrite/model/AdsReadStateResponse.go index ef30adf37f..d7a8bf02b5 100644 --- a/plc4go/protocols/ads/readwrite/model/AdsReadStateResponse.go +++ b/plc4go/protocols/ads/readwrite/model/AdsReadStateResponse.go @@ -236,7 +236,7 @@ func (m *_AdsReadStateResponse) deepCopy() *_AdsReadStateResponse { return nil } _AdsReadStateResponseCopy := &_AdsReadStateResponse{ - m.AmsPacketContract.DeepCopy().(AmsPacketContract), + m.AmsPacketContract.(*_AmsPacket).deepCopy(), m.Result, m.AdsState, m.DeviceState, diff --git a/plc4go/protocols/ads/readwrite/model/AdsReadWriteRequest.go b/plc4go/protocols/ads/readwrite/model/AdsReadWriteRequest.go index 41ec6bad7b..e6b65f7ba2 100644 --- a/plc4go/protocols/ads/readwrite/model/AdsReadWriteRequest.go +++ b/plc4go/protocols/ads/readwrite/model/AdsReadWriteRequest.go @@ -300,7 +300,7 @@ func (m *_AdsReadWriteRequest) deepCopy() *_AdsReadWriteRequest { return nil } _AdsReadWriteRequestCopy := &_AdsReadWriteRequest{ - m.AmsPacketContract.DeepCopy().(AmsPacketContract), + m.AmsPacketContract.(*_AmsPacket).deepCopy(), m.IndexGroup, m.IndexOffset, m.ReadLength, diff --git a/plc4go/protocols/ads/readwrite/model/AdsReadWriteResponse.go b/plc4go/protocols/ads/readwrite/model/AdsReadWriteResponse.go index d11f00dcb8..cb3db3cbde 100644 --- a/plc4go/protocols/ads/readwrite/model/AdsReadWriteResponse.go +++ b/plc4go/protocols/ads/readwrite/model/AdsReadWriteResponse.go @@ -230,7 +230,7 @@ func (m *_AdsReadWriteResponse) deepCopy() *_AdsReadWriteResponse { return nil } _AdsReadWriteResponseCopy := &_AdsReadWriteResponse{ - m.AmsPacketContract.DeepCopy().(AmsPacketContract), + m.AmsPacketContract.(*_AmsPacket).deepCopy(), m.Result, utils.DeepCopySlice[byte, byte](m.Data), } diff --git a/plc4go/protocols/ads/readwrite/model/AdsWriteControlRequest.go b/plc4go/protocols/ads/readwrite/model/AdsWriteControlRequest.go index 2b76e85ac8..e6cb025cca 100644 --- a/plc4go/protocols/ads/readwrite/model/AdsWriteControlRequest.go +++ b/plc4go/protocols/ads/readwrite/model/AdsWriteControlRequest.go @@ -251,7 +251,7 @@ func (m *_AdsWriteControlRequest) deepCopy() *_AdsWriteControlRequest { return nil } _AdsWriteControlRequestCopy := &_AdsWriteControlRequest{ - m.AmsPacketContract.DeepCopy().(AmsPacketContract), + m.AmsPacketContract.(*_AmsPacket).deepCopy(), m.AdsState, m.DeviceState, utils.DeepCopySlice[byte, byte](m.Data), diff --git a/plc4go/protocols/ads/readwrite/model/AdsWriteControlResponse.go b/plc4go/protocols/ads/readwrite/model/AdsWriteControlResponse.go index 3c1efbf49f..c73bb59273 100644 --- a/plc4go/protocols/ads/readwrite/model/AdsWriteControlResponse.go +++ b/plc4go/protocols/ads/readwrite/model/AdsWriteControlResponse.go @@ -194,7 +194,7 @@ func (m *_AdsWriteControlResponse) deepCopy() *_AdsWriteControlResponse { return nil } _AdsWriteControlResponseCopy := &_AdsWriteControlResponse{ - m.AmsPacketContract.DeepCopy().(AmsPacketContract), + m.AmsPacketContract.(*_AmsPacket).deepCopy(), m.Result, } m.AmsPacketContract.(*_AmsPacket)._SubType = m diff --git a/plc4go/protocols/ads/readwrite/model/AdsWriteRequest.go b/plc4go/protocols/ads/readwrite/model/AdsWriteRequest.go index f7cabc2ede..7d8ec47613 100644 --- a/plc4go/protocols/ads/readwrite/model/AdsWriteRequest.go +++ b/plc4go/protocols/ads/readwrite/model/AdsWriteRequest.go @@ -251,7 +251,7 @@ func (m *_AdsWriteRequest) deepCopy() *_AdsWriteRequest { return nil } _AdsWriteRequestCopy := &_AdsWriteRequest{ - m.AmsPacketContract.DeepCopy().(AmsPacketContract), + m.AmsPacketContract.(*_AmsPacket).deepCopy(), m.IndexGroup, m.IndexOffset, utils.DeepCopySlice[byte, byte](m.Data), diff --git a/plc4go/protocols/ads/readwrite/model/AdsWriteResponse.go b/plc4go/protocols/ads/readwrite/model/AdsWriteResponse.go index 1b2b253d50..684a8b9155 100644 --- a/plc4go/protocols/ads/readwrite/model/AdsWriteResponse.go +++ b/plc4go/protocols/ads/readwrite/model/AdsWriteResponse.go @@ -194,7 +194,7 @@ func (m *_AdsWriteResponse) deepCopy() *_AdsWriteResponse { return nil } _AdsWriteResponseCopy := &_AdsWriteResponse{ - m.AmsPacketContract.DeepCopy().(AmsPacketContract), + m.AmsPacketContract.(*_AmsPacket).deepCopy(), m.Result, } m.AmsPacketContract.(*_AmsPacket)._SubType = m diff --git a/plc4go/protocols/ads/readwrite/model/AmsPacket.go b/plc4go/protocols/ads/readwrite/model/AmsPacket.go index 61c54b5398..a9fe99c3e9 100644 --- a/plc4go/protocols/ads/readwrite/model/AmsPacket.go +++ b/plc4go/protocols/ads/readwrite/model/AmsPacket.go @@ -57,7 +57,6 @@ type AmsPacket interface { // AmsPacketContract provides a set of functions which can be overwritten by a sub struct type AmsPacketContract interface { - utils.Copyable // GetTargetAmsNetId returns TargetAmsNetId (property field) GetTargetAmsNetId() AmsNetId // GetTargetAmsPort returns TargetAmsPort (property field) diff --git a/plc4go/protocols/ads/readwrite/model/ErrorResponse.go b/plc4go/protocols/ads/readwrite/model/ErrorResponse.go index 8182df8a87..87d65afb1b 100644 --- a/plc4go/protocols/ads/readwrite/model/ErrorResponse.go +++ b/plc4go/protocols/ads/readwrite/model/ErrorResponse.go @@ -161,7 +161,7 @@ func (m *_ErrorResponse) deepCopy() *_ErrorResponse { return nil } _ErrorResponseCopy := &_ErrorResponse{ - m.AmsPacketContract.DeepCopy().(AmsPacketContract), + m.AmsPacketContract.(*_AmsPacket).deepCopy(), } m.AmsPacketContract.(*_AmsPacket)._SubType = m return _ErrorResponseCopy diff --git a/plc4go/protocols/bacnetip/readwrite/model/APDU.go b/plc4go/protocols/bacnetip/readwrite/model/APDU.go index e923a3a3f9..c746a1215b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/APDU.go +++ b/plc4go/protocols/bacnetip/readwrite/model/APDU.go @@ -47,7 +47,6 @@ type APDU interface { // APDUContract provides a set of functions which can be overwritten by a sub struct type APDUContract interface { - utils.Copyable // GetApduLength() returns a parser argument GetApduLength() uint16 // IsAPDU is a marker method to prevent unintentional type checks (interfaces of same signature) diff --git a/plc4go/protocols/bacnetip/readwrite/model/APDUAbort.go b/plc4go/protocols/bacnetip/readwrite/model/APDUAbort.go index 496b1d7827..723c9531ae 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/APDUAbort.go +++ b/plc4go/protocols/bacnetip/readwrite/model/APDUAbort.go @@ -250,7 +250,7 @@ func (m *_APDUAbort) deepCopy() *_APDUAbort { return nil } _APDUAbortCopy := &_APDUAbort{ - m.APDUContract.DeepCopy().(APDUContract), + m.APDUContract.(*_APDU).deepCopy(), m.Server, m.OriginalInvokeId, m.AbortReason.DeepCopy().(BACnetAbortReasonTagged), diff --git a/plc4go/protocols/bacnetip/readwrite/model/APDUComplexAck.go b/plc4go/protocols/bacnetip/readwrite/model/APDUComplexAck.go index 0402dc5da0..ab96ac6ce9 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/APDUComplexAck.go +++ b/plc4go/protocols/bacnetip/readwrite/model/APDUComplexAck.go @@ -445,7 +445,7 @@ func (m *_APDUComplexAck) deepCopy() *_APDUComplexAck { return nil } _APDUComplexAckCopy := &_APDUComplexAck{ - m.APDUContract.DeepCopy().(APDUContract), + m.APDUContract.(*_APDU).deepCopy(), m.SegmentedMessage, m.MoreFollows, m.OriginalInvokeId, diff --git a/plc4go/protocols/bacnetip/readwrite/model/APDUConfirmedRequest.go b/plc4go/protocols/bacnetip/readwrite/model/APDUConfirmedRequest.go index ce948c704f..028247b8ff 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/APDUConfirmedRequest.go +++ b/plc4go/protocols/bacnetip/readwrite/model/APDUConfirmedRequest.go @@ -508,7 +508,7 @@ func (m *_APDUConfirmedRequest) deepCopy() *_APDUConfirmedRequest { return nil } _APDUConfirmedRequestCopy := &_APDUConfirmedRequest{ - m.APDUContract.DeepCopy().(APDUContract), + m.APDUContract.(*_APDU).deepCopy(), m.SegmentedMessage, m.MoreFollows, m.SegmentedResponseAccepted, diff --git a/plc4go/protocols/bacnetip/readwrite/model/APDUError.go b/plc4go/protocols/bacnetip/readwrite/model/APDUError.go index 62e8562834..d011d8a259 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/APDUError.go +++ b/plc4go/protocols/bacnetip/readwrite/model/APDUError.go @@ -250,7 +250,7 @@ func (m *_APDUError) deepCopy() *_APDUError { return nil } _APDUErrorCopy := &_APDUError{ - m.APDUContract.DeepCopy().(APDUContract), + m.APDUContract.(*_APDU).deepCopy(), m.OriginalInvokeId, m.ErrorChoice, m.Error.DeepCopy().(BACnetError), diff --git a/plc4go/protocols/bacnetip/readwrite/model/APDUReject.go b/plc4go/protocols/bacnetip/readwrite/model/APDUReject.go index 94ab0127ac..1ccce88917 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/APDUReject.go +++ b/plc4go/protocols/bacnetip/readwrite/model/APDUReject.go @@ -229,7 +229,7 @@ func (m *_APDUReject) deepCopy() *_APDUReject { return nil } _APDURejectCopy := &_APDUReject{ - m.APDUContract.DeepCopy().(APDUContract), + m.APDUContract.(*_APDU).deepCopy(), m.OriginalInvokeId, m.RejectReason.DeepCopy().(BACnetRejectReasonTagged), m.reservedField0, diff --git a/plc4go/protocols/bacnetip/readwrite/model/APDUSegmentAck.go b/plc4go/protocols/bacnetip/readwrite/model/APDUSegmentAck.go index 32c8a9b3d5..6c3b89baff 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/APDUSegmentAck.go +++ b/plc4go/protocols/bacnetip/readwrite/model/APDUSegmentAck.go @@ -289,7 +289,7 @@ func (m *_APDUSegmentAck) deepCopy() *_APDUSegmentAck { return nil } _APDUSegmentAckCopy := &_APDUSegmentAck{ - m.APDUContract.DeepCopy().(APDUContract), + m.APDUContract.(*_APDU).deepCopy(), m.NegativeAck, m.Server, m.OriginalInvokeId, diff --git a/plc4go/protocols/bacnetip/readwrite/model/APDUSimpleAck.go b/plc4go/protocols/bacnetip/readwrite/model/APDUSimpleAck.go index 29a7f393c6..4159aeb584 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/APDUSimpleAck.go +++ b/plc4go/protocols/bacnetip/readwrite/model/APDUSimpleAck.go @@ -226,7 +226,7 @@ func (m *_APDUSimpleAck) deepCopy() *_APDUSimpleAck { return nil } _APDUSimpleAckCopy := &_APDUSimpleAck{ - m.APDUContract.DeepCopy().(APDUContract), + m.APDUContract.(*_APDU).deepCopy(), m.OriginalInvokeId, m.ServiceChoice, m.reservedField0, diff --git a/plc4go/protocols/bacnetip/readwrite/model/APDUUnconfirmedRequest.go b/plc4go/protocols/bacnetip/readwrite/model/APDUUnconfirmedRequest.go index b8f9a9848f..30b697aa74 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/APDUUnconfirmedRequest.go +++ b/plc4go/protocols/bacnetip/readwrite/model/APDUUnconfirmedRequest.go @@ -208,7 +208,7 @@ func (m *_APDUUnconfirmedRequest) deepCopy() *_APDUUnconfirmedRequest { return nil } _APDUUnconfirmedRequestCopy := &_APDUUnconfirmedRequest{ - m.APDUContract.DeepCopy().(APDUContract), + m.APDUContract.(*_APDU).deepCopy(), m.ServiceRequest.DeepCopy().(BACnetUnconfirmedServiceRequest), m.reservedField0, } diff --git a/plc4go/protocols/bacnetip/readwrite/model/APDUUnknown.go b/plc4go/protocols/bacnetip/readwrite/model/APDUUnknown.go index 4daa38d093..26af0ad2d1 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/APDUUnknown.go +++ b/plc4go/protocols/bacnetip/readwrite/model/APDUUnknown.go @@ -213,7 +213,7 @@ func (m *_APDUUnknown) deepCopy() *_APDUUnknown { return nil } _APDUUnknownCopy := &_APDUUnknown{ - m.APDUContract.DeepCopy().(APDUContract), + m.APDUContract.(*_APDU).deepCopy(), m.UnknownTypeRest, utils.DeepCopySlice[byte, byte](m.UnknownBytes), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTag.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTag.go index 9e1fa4cbec..3c26b160df 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTag.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTag.go @@ -47,7 +47,6 @@ type BACnetApplicationTag interface { // BACnetApplicationTagContract provides a set of functions which can be overwritten by a sub struct type BACnetApplicationTagContract interface { - utils.Copyable // GetHeader returns Header (property field) GetHeader() BACnetTagHeader // GetActualTagNumber returns ActualTagNumber (virtual field) diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagBitString.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagBitString.go index e85768831d..9f6aae9c06 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagBitString.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagBitString.go @@ -189,7 +189,7 @@ func (m *_BACnetApplicationTagBitString) deepCopy() *_BACnetApplicationTagBitStr return nil } _BACnetApplicationTagBitStringCopy := &_BACnetApplicationTagBitString{ - m.BACnetApplicationTagContract.DeepCopy().(BACnetApplicationTagContract), + m.BACnetApplicationTagContract.(*_BACnetApplicationTag).deepCopy(), m.Payload.DeepCopy().(BACnetTagPayloadBitString), } m.BACnetApplicationTagContract.(*_BACnetApplicationTag)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagBoolean.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagBoolean.go index a4347bca16..0fce1f52c3 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagBoolean.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagBoolean.go @@ -220,7 +220,7 @@ func (m *_BACnetApplicationTagBoolean) deepCopy() *_BACnetApplicationTagBoolean return nil } _BACnetApplicationTagBooleanCopy := &_BACnetApplicationTagBoolean{ - m.BACnetApplicationTagContract.DeepCopy().(BACnetApplicationTagContract), + m.BACnetApplicationTagContract.(*_BACnetApplicationTag).deepCopy(), m.Payload.DeepCopy().(BACnetTagPayloadBoolean), } m.BACnetApplicationTagContract.(*_BACnetApplicationTag)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagCharacterString.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagCharacterString.go index 6d8fa03d10..4beace1075 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagCharacterString.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagCharacterString.go @@ -220,7 +220,7 @@ func (m *_BACnetApplicationTagCharacterString) deepCopy() *_BACnetApplicationTag return nil } _BACnetApplicationTagCharacterStringCopy := &_BACnetApplicationTagCharacterString{ - m.BACnetApplicationTagContract.DeepCopy().(BACnetApplicationTagContract), + m.BACnetApplicationTagContract.(*_BACnetApplicationTag).deepCopy(), m.Payload.DeepCopy().(BACnetTagPayloadCharacterString), } m.BACnetApplicationTagContract.(*_BACnetApplicationTag)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagDate.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagDate.go index 1e430a16ff..ee559a76ea 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagDate.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagDate.go @@ -189,7 +189,7 @@ func (m *_BACnetApplicationTagDate) deepCopy() *_BACnetApplicationTagDate { return nil } _BACnetApplicationTagDateCopy := &_BACnetApplicationTagDate{ - m.BACnetApplicationTagContract.DeepCopy().(BACnetApplicationTagContract), + m.BACnetApplicationTagContract.(*_BACnetApplicationTag).deepCopy(), m.Payload.DeepCopy().(BACnetTagPayloadDate), } m.BACnetApplicationTagContract.(*_BACnetApplicationTag)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagDouble.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagDouble.go index 9cbff40899..165a0f3e06 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagDouble.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagDouble.go @@ -220,7 +220,7 @@ func (m *_BACnetApplicationTagDouble) deepCopy() *_BACnetApplicationTagDouble { return nil } _BACnetApplicationTagDoubleCopy := &_BACnetApplicationTagDouble{ - m.BACnetApplicationTagContract.DeepCopy().(BACnetApplicationTagContract), + m.BACnetApplicationTagContract.(*_BACnetApplicationTag).deepCopy(), m.Payload.DeepCopy().(BACnetTagPayloadDouble), } m.BACnetApplicationTagContract.(*_BACnetApplicationTag)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagEnumerated.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagEnumerated.go index fb16f473a7..d602b5c197 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagEnumerated.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagEnumerated.go @@ -220,7 +220,7 @@ func (m *_BACnetApplicationTagEnumerated) deepCopy() *_BACnetApplicationTagEnume return nil } _BACnetApplicationTagEnumeratedCopy := &_BACnetApplicationTagEnumerated{ - m.BACnetApplicationTagContract.DeepCopy().(BACnetApplicationTagContract), + m.BACnetApplicationTagContract.(*_BACnetApplicationTag).deepCopy(), m.Payload.DeepCopy().(BACnetTagPayloadEnumerated), } m.BACnetApplicationTagContract.(*_BACnetApplicationTag)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagNull.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagNull.go index ac25f7af87..bda70a1fc5 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagNull.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagNull.go @@ -153,7 +153,7 @@ func (m *_BACnetApplicationTagNull) deepCopy() *_BACnetApplicationTagNull { return nil } _BACnetApplicationTagNullCopy := &_BACnetApplicationTagNull{ - m.BACnetApplicationTagContract.DeepCopy().(BACnetApplicationTagContract), + m.BACnetApplicationTagContract.(*_BACnetApplicationTag).deepCopy(), } m.BACnetApplicationTagContract.(*_BACnetApplicationTag)._SubType = m return _BACnetApplicationTagNullCopy diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagObjectIdentifier.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagObjectIdentifier.go index 4b77477ece..12902b1116 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagObjectIdentifier.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagObjectIdentifier.go @@ -242,7 +242,7 @@ func (m *_BACnetApplicationTagObjectIdentifier) deepCopy() *_BACnetApplicationTa return nil } _BACnetApplicationTagObjectIdentifierCopy := &_BACnetApplicationTagObjectIdentifier{ - m.BACnetApplicationTagContract.DeepCopy().(BACnetApplicationTagContract), + m.BACnetApplicationTagContract.(*_BACnetApplicationTag).deepCopy(), m.Payload.DeepCopy().(BACnetTagPayloadObjectIdentifier), } m.BACnetApplicationTagContract.(*_BACnetApplicationTag)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagOctetString.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagOctetString.go index f44a59b464..426d631845 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagOctetString.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagOctetString.go @@ -189,7 +189,7 @@ func (m *_BACnetApplicationTagOctetString) deepCopy() *_BACnetApplicationTagOcte return nil } _BACnetApplicationTagOctetStringCopy := &_BACnetApplicationTagOctetString{ - m.BACnetApplicationTagContract.DeepCopy().(BACnetApplicationTagContract), + m.BACnetApplicationTagContract.(*_BACnetApplicationTag).deepCopy(), m.Payload.DeepCopy().(BACnetTagPayloadOctetString), } m.BACnetApplicationTagContract.(*_BACnetApplicationTag)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagReal.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagReal.go index de0fb7d244..2de49f2393 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagReal.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagReal.go @@ -220,7 +220,7 @@ func (m *_BACnetApplicationTagReal) deepCopy() *_BACnetApplicationTagReal { return nil } _BACnetApplicationTagRealCopy := &_BACnetApplicationTagReal{ - m.BACnetApplicationTagContract.DeepCopy().(BACnetApplicationTagContract), + m.BACnetApplicationTagContract.(*_BACnetApplicationTag).deepCopy(), m.Payload.DeepCopy().(BACnetTagPayloadReal), } m.BACnetApplicationTagContract.(*_BACnetApplicationTag)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagSignedInteger.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagSignedInteger.go index 38d50c741c..f4e7a6f030 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagSignedInteger.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagSignedInteger.go @@ -220,7 +220,7 @@ func (m *_BACnetApplicationTagSignedInteger) deepCopy() *_BACnetApplicationTagSi return nil } _BACnetApplicationTagSignedIntegerCopy := &_BACnetApplicationTagSignedInteger{ - m.BACnetApplicationTagContract.DeepCopy().(BACnetApplicationTagContract), + m.BACnetApplicationTagContract.(*_BACnetApplicationTag).deepCopy(), m.Payload.DeepCopy().(BACnetTagPayloadSignedInteger), } m.BACnetApplicationTagContract.(*_BACnetApplicationTag)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagTime.go index 31444613f2..e468ed5727 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagTime.go @@ -189,7 +189,7 @@ func (m *_BACnetApplicationTagTime) deepCopy() *_BACnetApplicationTagTime { return nil } _BACnetApplicationTagTimeCopy := &_BACnetApplicationTagTime{ - m.BACnetApplicationTagContract.DeepCopy().(BACnetApplicationTagContract), + m.BACnetApplicationTagContract.(*_BACnetApplicationTag).deepCopy(), m.Payload.DeepCopy().(BACnetTagPayloadTime), } m.BACnetApplicationTagContract.(*_BACnetApplicationTag)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagUnsignedInteger.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagUnsignedInteger.go index a6158a381c..0a67de70c4 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagUnsignedInteger.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetApplicationTagUnsignedInteger.go @@ -220,7 +220,7 @@ func (m *_BACnetApplicationTagUnsignedInteger) deepCopy() *_BACnetApplicationTag return nil } _BACnetApplicationTagUnsignedIntegerCopy := &_BACnetApplicationTagUnsignedInteger{ - m.BACnetApplicationTagContract.DeepCopy().(BACnetApplicationTagContract), + m.BACnetApplicationTagContract.(*_BACnetApplicationTag).deepCopy(), m.Payload.DeepCopy().(BACnetTagPayloadUnsignedInteger), } m.BACnetApplicationTagContract.(*_BACnetApplicationTag)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetCalendarEntry.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetCalendarEntry.go index 9d2a06bc4b..7981d49c72 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetCalendarEntry.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetCalendarEntry.go @@ -47,7 +47,6 @@ type BACnetCalendarEntry interface { // BACnetCalendarEntryContract provides a set of functions which can be overwritten by a sub struct type BACnetCalendarEntryContract interface { - utils.Copyable // GetPeekedTagHeader returns PeekedTagHeader (property field) GetPeekedTagHeader() BACnetTagHeader // GetPeekedTagNumber returns PeekedTagNumber (virtual field) diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetCalendarEntryDate.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetCalendarEntryDate.go index 0920a7a1c5..a62ad868d1 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetCalendarEntryDate.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetCalendarEntryDate.go @@ -189,7 +189,7 @@ func (m *_BACnetCalendarEntryDate) deepCopy() *_BACnetCalendarEntryDate { return nil } _BACnetCalendarEntryDateCopy := &_BACnetCalendarEntryDate{ - m.BACnetCalendarEntryContract.DeepCopy().(BACnetCalendarEntryContract), + m.BACnetCalendarEntryContract.(*_BACnetCalendarEntry).deepCopy(), m.DateValue.DeepCopy().(BACnetContextTagDate), } m.BACnetCalendarEntryContract.(*_BACnetCalendarEntry)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetCalendarEntryDateRange.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetCalendarEntryDateRange.go index 009bd6f7a4..4aace01341 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetCalendarEntryDateRange.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetCalendarEntryDateRange.go @@ -189,7 +189,7 @@ func (m *_BACnetCalendarEntryDateRange) deepCopy() *_BACnetCalendarEntryDateRang return nil } _BACnetCalendarEntryDateRangeCopy := &_BACnetCalendarEntryDateRange{ - m.BACnetCalendarEntryContract.DeepCopy().(BACnetCalendarEntryContract), + m.BACnetCalendarEntryContract.(*_BACnetCalendarEntry).deepCopy(), m.DateRange.DeepCopy().(BACnetDateRangeEnclosed), } m.BACnetCalendarEntryContract.(*_BACnetCalendarEntry)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetCalendarEntryWeekNDay.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetCalendarEntryWeekNDay.go index 2e9cf2814d..fa386d7aeb 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetCalendarEntryWeekNDay.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetCalendarEntryWeekNDay.go @@ -189,7 +189,7 @@ func (m *_BACnetCalendarEntryWeekNDay) deepCopy() *_BACnetCalendarEntryWeekNDay return nil } _BACnetCalendarEntryWeekNDayCopy := &_BACnetCalendarEntryWeekNDay{ - m.BACnetCalendarEntryContract.DeepCopy().(BACnetCalendarEntryContract), + m.BACnetCalendarEntryContract.(*_BACnetCalendarEntry).deepCopy(), m.WeekNDay.DeepCopy().(BACnetWeekNDayTagged), } m.BACnetCalendarEntryContract.(*_BACnetCalendarEntry)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValue.go index 6d1a1a676b..86bd095efe 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValue.go @@ -47,7 +47,6 @@ type BACnetChannelValue interface { // BACnetChannelValueContract provides a set of functions which can be overwritten by a sub struct type BACnetChannelValueContract interface { - utils.Copyable // GetPeekedTagHeader returns PeekedTagHeader (property field) GetPeekedTagHeader() BACnetTagHeader // GetPeekedTagNumber returns PeekedTagNumber (virtual field) diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueBitString.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueBitString.go index cb2b3596e7..de30a613de 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueBitString.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueBitString.go @@ -189,7 +189,7 @@ func (m *_BACnetChannelValueBitString) deepCopy() *_BACnetChannelValueBitString return nil } _BACnetChannelValueBitStringCopy := &_BACnetChannelValueBitString{ - m.BACnetChannelValueContract.DeepCopy().(BACnetChannelValueContract), + m.BACnetChannelValueContract.(*_BACnetChannelValue).deepCopy(), m.BitStringValue.DeepCopy().(BACnetApplicationTagBitString), } m.BACnetChannelValueContract.(*_BACnetChannelValue)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueBoolean.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueBoolean.go index e7af3e317a..f4ac87232a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueBoolean.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueBoolean.go @@ -189,7 +189,7 @@ func (m *_BACnetChannelValueBoolean) deepCopy() *_BACnetChannelValueBoolean { return nil } _BACnetChannelValueBooleanCopy := &_BACnetChannelValueBoolean{ - m.BACnetChannelValueContract.DeepCopy().(BACnetChannelValueContract), + m.BACnetChannelValueContract.(*_BACnetChannelValue).deepCopy(), m.BooleanValue.DeepCopy().(BACnetApplicationTagBoolean), } m.BACnetChannelValueContract.(*_BACnetChannelValue)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueCharacterString.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueCharacterString.go index 56804312c4..aa34ce1089 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueCharacterString.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueCharacterString.go @@ -189,7 +189,7 @@ func (m *_BACnetChannelValueCharacterString) deepCopy() *_BACnetChannelValueChar return nil } _BACnetChannelValueCharacterStringCopy := &_BACnetChannelValueCharacterString{ - m.BACnetChannelValueContract.DeepCopy().(BACnetChannelValueContract), + m.BACnetChannelValueContract.(*_BACnetChannelValue).deepCopy(), m.CharacterStringValue.DeepCopy().(BACnetApplicationTagCharacterString), } m.BACnetChannelValueContract.(*_BACnetChannelValue)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueDate.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueDate.go index 5acf8feff9..cd373ada81 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueDate.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueDate.go @@ -189,7 +189,7 @@ func (m *_BACnetChannelValueDate) deepCopy() *_BACnetChannelValueDate { return nil } _BACnetChannelValueDateCopy := &_BACnetChannelValueDate{ - m.BACnetChannelValueContract.DeepCopy().(BACnetChannelValueContract), + m.BACnetChannelValueContract.(*_BACnetChannelValue).deepCopy(), m.DateValue.DeepCopy().(BACnetApplicationTagDate), } m.BACnetChannelValueContract.(*_BACnetChannelValue)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueDouble.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueDouble.go index 74675817ae..feac8ae688 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueDouble.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueDouble.go @@ -189,7 +189,7 @@ func (m *_BACnetChannelValueDouble) deepCopy() *_BACnetChannelValueDouble { return nil } _BACnetChannelValueDoubleCopy := &_BACnetChannelValueDouble{ - m.BACnetChannelValueContract.DeepCopy().(BACnetChannelValueContract), + m.BACnetChannelValueContract.(*_BACnetChannelValue).deepCopy(), m.DoubleValue.DeepCopy().(BACnetApplicationTagDouble), } m.BACnetChannelValueContract.(*_BACnetChannelValue)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueEnumerated.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueEnumerated.go index 43c17deb4c..8036eb584f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueEnumerated.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueEnumerated.go @@ -189,7 +189,7 @@ func (m *_BACnetChannelValueEnumerated) deepCopy() *_BACnetChannelValueEnumerate return nil } _BACnetChannelValueEnumeratedCopy := &_BACnetChannelValueEnumerated{ - m.BACnetChannelValueContract.DeepCopy().(BACnetChannelValueContract), + m.BACnetChannelValueContract.(*_BACnetChannelValue).deepCopy(), m.EnumeratedValue.DeepCopy().(BACnetApplicationTagEnumerated), } m.BACnetChannelValueContract.(*_BACnetChannelValue)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueInteger.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueInteger.go index 003ad4b139..d3c68b6828 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueInteger.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueInteger.go @@ -189,7 +189,7 @@ func (m *_BACnetChannelValueInteger) deepCopy() *_BACnetChannelValueInteger { return nil } _BACnetChannelValueIntegerCopy := &_BACnetChannelValueInteger{ - m.BACnetChannelValueContract.DeepCopy().(BACnetChannelValueContract), + m.BACnetChannelValueContract.(*_BACnetChannelValue).deepCopy(), m.IntegerValue.DeepCopy().(BACnetApplicationTagSignedInteger), } m.BACnetChannelValueContract.(*_BACnetChannelValue)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueLightingCommand.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueLightingCommand.go index 15c1a78f32..d8e5dcae6f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueLightingCommand.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueLightingCommand.go @@ -189,7 +189,7 @@ func (m *_BACnetChannelValueLightingCommand) deepCopy() *_BACnetChannelValueLigh return nil } _BACnetChannelValueLightingCommandCopy := &_BACnetChannelValueLightingCommand{ - m.BACnetChannelValueContract.DeepCopy().(BACnetChannelValueContract), + m.BACnetChannelValueContract.(*_BACnetChannelValue).deepCopy(), m.LigthingCommandValue.DeepCopy().(BACnetLightingCommandEnclosed), } m.BACnetChannelValueContract.(*_BACnetChannelValue)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueNull.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueNull.go index 60ff114624..95d8b85f2b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueNull.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueNull.go @@ -189,7 +189,7 @@ func (m *_BACnetChannelValueNull) deepCopy() *_BACnetChannelValueNull { return nil } _BACnetChannelValueNullCopy := &_BACnetChannelValueNull{ - m.BACnetChannelValueContract.DeepCopy().(BACnetChannelValueContract), + m.BACnetChannelValueContract.(*_BACnetChannelValue).deepCopy(), m.NullValue.DeepCopy().(BACnetApplicationTagNull), } m.BACnetChannelValueContract.(*_BACnetChannelValue)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueObjectidentifier.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueObjectidentifier.go index 8594f4e8fd..cddbfa8035 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueObjectidentifier.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueObjectidentifier.go @@ -189,7 +189,7 @@ func (m *_BACnetChannelValueObjectidentifier) deepCopy() *_BACnetChannelValueObj return nil } _BACnetChannelValueObjectidentifierCopy := &_BACnetChannelValueObjectidentifier{ - m.BACnetChannelValueContract.DeepCopy().(BACnetChannelValueContract), + m.BACnetChannelValueContract.(*_BACnetChannelValue).deepCopy(), m.ObjectidentifierValue.DeepCopy().(BACnetApplicationTagObjectIdentifier), } m.BACnetChannelValueContract.(*_BACnetChannelValue)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueOctetString.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueOctetString.go index 717562420e..8d46659003 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueOctetString.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueOctetString.go @@ -189,7 +189,7 @@ func (m *_BACnetChannelValueOctetString) deepCopy() *_BACnetChannelValueOctetStr return nil } _BACnetChannelValueOctetStringCopy := &_BACnetChannelValueOctetString{ - m.BACnetChannelValueContract.DeepCopy().(BACnetChannelValueContract), + m.BACnetChannelValueContract.(*_BACnetChannelValue).deepCopy(), m.OctetStringValue.DeepCopy().(BACnetApplicationTagOctetString), } m.BACnetChannelValueContract.(*_BACnetChannelValue)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueReal.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueReal.go index b163329a86..236d05d35c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueReal.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueReal.go @@ -189,7 +189,7 @@ func (m *_BACnetChannelValueReal) deepCopy() *_BACnetChannelValueReal { return nil } _BACnetChannelValueRealCopy := &_BACnetChannelValueReal{ - m.BACnetChannelValueContract.DeepCopy().(BACnetChannelValueContract), + m.BACnetChannelValueContract.(*_BACnetChannelValue).deepCopy(), m.RealValue.DeepCopy().(BACnetApplicationTagReal), } m.BACnetChannelValueContract.(*_BACnetChannelValue)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueTime.go index 0e28afdfa1..e30c22d580 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueTime.go @@ -189,7 +189,7 @@ func (m *_BACnetChannelValueTime) deepCopy() *_BACnetChannelValueTime { return nil } _BACnetChannelValueTimeCopy := &_BACnetChannelValueTime{ - m.BACnetChannelValueContract.DeepCopy().(BACnetChannelValueContract), + m.BACnetChannelValueContract.(*_BACnetChannelValue).deepCopy(), m.TimeValue.DeepCopy().(BACnetApplicationTagTime), } m.BACnetChannelValueContract.(*_BACnetChannelValue)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueUnsigned.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueUnsigned.go index 69dc457106..cd4f4fd2c3 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueUnsigned.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetChannelValueUnsigned.go @@ -189,7 +189,7 @@ func (m *_BACnetChannelValueUnsigned) deepCopy() *_BACnetChannelValueUnsigned { return nil } _BACnetChannelValueUnsignedCopy := &_BACnetChannelValueUnsigned{ - m.BACnetChannelValueContract.DeepCopy().(BACnetChannelValueContract), + m.BACnetChannelValueContract.(*_BACnetChannelValue).deepCopy(), m.UnsignedValue.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetChannelValueContract.(*_BACnetChannelValue)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetClientCOV.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetClientCOV.go index 79061bb0ae..dbf4aefacc 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetClientCOV.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetClientCOV.go @@ -47,7 +47,6 @@ type BACnetClientCOV interface { // BACnetClientCOVContract provides a set of functions which can be overwritten by a sub struct type BACnetClientCOVContract interface { - utils.Copyable // GetPeekedTagHeader returns PeekedTagHeader (property field) GetPeekedTagHeader() BACnetTagHeader // GetPeekedTagNumber returns PeekedTagNumber (virtual field) diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetClientCOVNone.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetClientCOVNone.go index 7f5826b210..9422e33312 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetClientCOVNone.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetClientCOVNone.go @@ -189,7 +189,7 @@ func (m *_BACnetClientCOVNone) deepCopy() *_BACnetClientCOVNone { return nil } _BACnetClientCOVNoneCopy := &_BACnetClientCOVNone{ - m.BACnetClientCOVContract.DeepCopy().(BACnetClientCOVContract), + m.BACnetClientCOVContract.(*_BACnetClientCOV).deepCopy(), m.DefaultIncrement.DeepCopy().(BACnetApplicationTagNull), } m.BACnetClientCOVContract.(*_BACnetClientCOV)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetClientCOVObject.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetClientCOVObject.go index 6c2a7458be..6443538b00 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetClientCOVObject.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetClientCOVObject.go @@ -189,7 +189,7 @@ func (m *_BACnetClientCOVObject) deepCopy() *_BACnetClientCOVObject { return nil } _BACnetClientCOVObjectCopy := &_BACnetClientCOVObject{ - m.BACnetClientCOVContract.DeepCopy().(BACnetClientCOVContract), + m.BACnetClientCOVContract.(*_BACnetClientCOV).deepCopy(), m.RealIncrement.DeepCopy().(BACnetApplicationTagReal), } m.BACnetClientCOVContract.(*_BACnetClientCOV)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequest.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequest.go index 666881c5b5..7fb3e9c07e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequest.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequest.go @@ -47,7 +47,6 @@ type BACnetConfirmedServiceRequest interface { // BACnetConfirmedServiceRequestContract provides a set of functions which can be overwritten by a sub struct type BACnetConfirmedServiceRequestContract interface { - utils.Copyable // GetServiceRequestPayloadLength returns ServiceRequestPayloadLength (virtual field) GetServiceRequestPayloadLength() uint32 // GetServiceRequestLength() returns a parser argument diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAcknowledgeAlarm.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAcknowledgeAlarm.go index 15d3f52dab..060bebdae9 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAcknowledgeAlarm.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAcknowledgeAlarm.go @@ -314,7 +314,7 @@ func (m *_BACnetConfirmedServiceRequestAcknowledgeAlarm) deepCopy() *_BACnetConf return nil } _BACnetConfirmedServiceRequestAcknowledgeAlarmCopy := &_BACnetConfirmedServiceRequestAcknowledgeAlarm{ - m.BACnetConfirmedServiceRequestContract.DeepCopy().(BACnetConfirmedServiceRequestContract), + m.BACnetConfirmedServiceRequestContract.(*_BACnetConfirmedServiceRequest).deepCopy(), m.AcknowledgingProcessIdentifier.DeepCopy().(BACnetContextTagUnsignedInteger), m.EventObjectIdentifier.DeepCopy().(BACnetContextTagObjectIdentifier), m.EventStateAcknowledged.DeepCopy().(BACnetEventStateTagged), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAddListElement.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAddListElement.go index da68cad540..10e0c76262 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAddListElement.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAddListElement.go @@ -272,7 +272,7 @@ func (m *_BACnetConfirmedServiceRequestAddListElement) deepCopy() *_BACnetConfir return nil } _BACnetConfirmedServiceRequestAddListElementCopy := &_BACnetConfirmedServiceRequestAddListElement{ - m.BACnetConfirmedServiceRequestContract.DeepCopy().(BACnetConfirmedServiceRequestContract), + m.BACnetConfirmedServiceRequestContract.(*_BACnetConfirmedServiceRequest).deepCopy(), m.ObjectIdentifier.DeepCopy().(BACnetContextTagObjectIdentifier), m.PropertyIdentifier.DeepCopy().(BACnetPropertyIdentifierTagged), m.ArrayIndex.DeepCopy().(BACnetContextTagUnsignedInteger), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAtomicReadFile.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAtomicReadFile.go index 54ddf8a4d7..0c8c77d27c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAtomicReadFile.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAtomicReadFile.go @@ -218,7 +218,7 @@ func (m *_BACnetConfirmedServiceRequestAtomicReadFile) deepCopy() *_BACnetConfir return nil } _BACnetConfirmedServiceRequestAtomicReadFileCopy := &_BACnetConfirmedServiceRequestAtomicReadFile{ - m.BACnetConfirmedServiceRequestContract.DeepCopy().(BACnetConfirmedServiceRequestContract), + m.BACnetConfirmedServiceRequestContract.(*_BACnetConfirmedServiceRequest).deepCopy(), m.FileIdentifier.DeepCopy().(BACnetApplicationTagObjectIdentifier), m.AccessMethod.DeepCopy().(BACnetConfirmedServiceRequestAtomicReadFileStreamOrRecord), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAtomicReadFileRecord.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAtomicReadFileRecord.go index cf3785916e..e803a7aa3f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAtomicReadFileRecord.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAtomicReadFileRecord.go @@ -214,7 +214,7 @@ func (m *_BACnetConfirmedServiceRequestAtomicReadFileRecord) deepCopy() *_BACnet return nil } _BACnetConfirmedServiceRequestAtomicReadFileRecordCopy := &_BACnetConfirmedServiceRequestAtomicReadFileRecord{ - m.BACnetConfirmedServiceRequestAtomicReadFileStreamOrRecordContract.DeepCopy().(BACnetConfirmedServiceRequestAtomicReadFileStreamOrRecordContract), + m.BACnetConfirmedServiceRequestAtomicReadFileStreamOrRecordContract.(*_BACnetConfirmedServiceRequestAtomicReadFileStreamOrRecord).deepCopy(), m.FileStartRecord.DeepCopy().(BACnetApplicationTagSignedInteger), m.RequestRecordCount.DeepCopy().(BACnetApplicationTagUnsignedInteger), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAtomicReadFileStream.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAtomicReadFileStream.go index f1ee7d2ffd..0510856079 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAtomicReadFileStream.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAtomicReadFileStream.go @@ -214,7 +214,7 @@ func (m *_BACnetConfirmedServiceRequestAtomicReadFileStream) deepCopy() *_BACnet return nil } _BACnetConfirmedServiceRequestAtomicReadFileStreamCopy := &_BACnetConfirmedServiceRequestAtomicReadFileStream{ - m.BACnetConfirmedServiceRequestAtomicReadFileStreamOrRecordContract.DeepCopy().(BACnetConfirmedServiceRequestAtomicReadFileStreamOrRecordContract), + m.BACnetConfirmedServiceRequestAtomicReadFileStreamOrRecordContract.(*_BACnetConfirmedServiceRequestAtomicReadFileStreamOrRecord).deepCopy(), m.FileStartPosition.DeepCopy().(BACnetApplicationTagSignedInteger), m.RequestOctetCount.DeepCopy().(BACnetApplicationTagUnsignedInteger), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAtomicReadFileStreamOrRecord.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAtomicReadFileStreamOrRecord.go index 3e0d9f0ad7..338d40465d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAtomicReadFileStreamOrRecord.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAtomicReadFileStreamOrRecord.go @@ -47,7 +47,6 @@ type BACnetConfirmedServiceRequestAtomicReadFileStreamOrRecord interface { // BACnetConfirmedServiceRequestAtomicReadFileStreamOrRecordContract provides a set of functions which can be overwritten by a sub struct type BACnetConfirmedServiceRequestAtomicReadFileStreamOrRecordContract interface { - utils.Copyable // GetPeekedTagHeader returns PeekedTagHeader (property field) GetPeekedTagHeader() BACnetTagHeader // GetOpeningTag returns OpeningTag (property field) diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAtomicWriteFile.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAtomicWriteFile.go index 3345faf42a..b43b31ced8 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAtomicWriteFile.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAtomicWriteFile.go @@ -296,7 +296,7 @@ func (m *_BACnetConfirmedServiceRequestAtomicWriteFile) deepCopy() *_BACnetConfi return nil } _BACnetConfirmedServiceRequestAtomicWriteFileCopy := &_BACnetConfirmedServiceRequestAtomicWriteFile{ - m.BACnetConfirmedServiceRequestContract.DeepCopy().(BACnetConfirmedServiceRequestContract), + m.BACnetConfirmedServiceRequestContract.(*_BACnetConfirmedServiceRequest).deepCopy(), m.DeviceIdentifier.DeepCopy().(BACnetApplicationTagObjectIdentifier), m.OpeningTag.DeepCopy().(BACnetOpeningTag), m.FileStartPosition.DeepCopy().(BACnetApplicationTagSignedInteger), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAuthenticate.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAuthenticate.go index 0f2a3994e9..a7e18b1cb2 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAuthenticate.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestAuthenticate.go @@ -205,7 +205,7 @@ func (m *_BACnetConfirmedServiceRequestAuthenticate) deepCopy() *_BACnetConfirme return nil } _BACnetConfirmedServiceRequestAuthenticateCopy := &_BACnetConfirmedServiceRequestAuthenticate{ - m.BACnetConfirmedServiceRequestContract.DeepCopy().(BACnetConfirmedServiceRequestContract), + m.BACnetConfirmedServiceRequestContract.(*_BACnetConfirmedServiceRequest).deepCopy(), utils.DeepCopySlice[byte, byte](m.BytesOfRemovedService), m.ServiceRequestPayloadLength, } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedCOVNotification.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedCOVNotification.go index 72711f959c..7f6316e2d2 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedCOVNotification.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedCOVNotification.go @@ -290,7 +290,7 @@ func (m *_BACnetConfirmedServiceRequestConfirmedCOVNotification) deepCopy() *_BA return nil } _BACnetConfirmedServiceRequestConfirmedCOVNotificationCopy := &_BACnetConfirmedServiceRequestConfirmedCOVNotification{ - m.BACnetConfirmedServiceRequestContract.DeepCopy().(BACnetConfirmedServiceRequestContract), + m.BACnetConfirmedServiceRequestContract.(*_BACnetConfirmedServiceRequest).deepCopy(), m.SubscriberProcessIdentifier.DeepCopy().(BACnetContextTagUnsignedInteger), m.InitiatingDeviceIdentifier.DeepCopy().(BACnetContextTagObjectIdentifier), m.MonitoredObjectIdentifier.DeepCopy().(BACnetContextTagObjectIdentifier), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedCOVNotificationMultiple.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedCOVNotificationMultiple.go index 93c8558d84..c8a8c4be09 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedCOVNotificationMultiple.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedCOVNotificationMultiple.go @@ -293,7 +293,7 @@ func (m *_BACnetConfirmedServiceRequestConfirmedCOVNotificationMultiple) deepCop return nil } _BACnetConfirmedServiceRequestConfirmedCOVNotificationMultipleCopy := &_BACnetConfirmedServiceRequestConfirmedCOVNotificationMultiple{ - m.BACnetConfirmedServiceRequestContract.DeepCopy().(BACnetConfirmedServiceRequestContract), + m.BACnetConfirmedServiceRequestContract.(*_BACnetConfirmedServiceRequest).deepCopy(), m.SubscriberProcessIdentifier.DeepCopy().(BACnetContextTagUnsignedInteger), m.InitiatingDeviceIdentifier.DeepCopy().(BACnetContextTagObjectIdentifier), m.TimeRemaining.DeepCopy().(BACnetContextTagUnsignedInteger), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedEventNotification.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedEventNotification.go index bb746a5559..d0dc31bc20 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedEventNotification.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedEventNotification.go @@ -494,7 +494,7 @@ func (m *_BACnetConfirmedServiceRequestConfirmedEventNotification) deepCopy() *_ return nil } _BACnetConfirmedServiceRequestConfirmedEventNotificationCopy := &_BACnetConfirmedServiceRequestConfirmedEventNotification{ - m.BACnetConfirmedServiceRequestContract.DeepCopy().(BACnetConfirmedServiceRequestContract), + m.BACnetConfirmedServiceRequestContract.(*_BACnetConfirmedServiceRequest).deepCopy(), m.ProcessIdentifier.DeepCopy().(BACnetContextTagUnsignedInteger), m.InitiatingDeviceIdentifier.DeepCopy().(BACnetContextTagObjectIdentifier), m.EventObjectIdentifier.DeepCopy().(BACnetContextTagObjectIdentifier), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedPrivateTransfer.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedPrivateTransfer.go index 427c376d9c..ea67ebacf5 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedPrivateTransfer.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedPrivateTransfer.go @@ -245,7 +245,7 @@ func (m *_BACnetConfirmedServiceRequestConfirmedPrivateTransfer) deepCopy() *_BA return nil } _BACnetConfirmedServiceRequestConfirmedPrivateTransferCopy := &_BACnetConfirmedServiceRequestConfirmedPrivateTransfer{ - m.BACnetConfirmedServiceRequestContract.DeepCopy().(BACnetConfirmedServiceRequestContract), + m.BACnetConfirmedServiceRequestContract.(*_BACnetConfirmedServiceRequest).deepCopy(), m.VendorId.DeepCopy().(BACnetVendorIdTagged), m.ServiceNumber.DeepCopy().(BACnetContextTagUnsignedInteger), m.ServiceParameters.DeepCopy().(BACnetConstructedData), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedTextMessage.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedTextMessage.go index dc547183b2..a8b29de060 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedTextMessage.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedTextMessage.go @@ -269,7 +269,7 @@ func (m *_BACnetConfirmedServiceRequestConfirmedTextMessage) deepCopy() *_BACnet return nil } _BACnetConfirmedServiceRequestConfirmedTextMessageCopy := &_BACnetConfirmedServiceRequestConfirmedTextMessage{ - m.BACnetConfirmedServiceRequestContract.DeepCopy().(BACnetConfirmedServiceRequestContract), + m.BACnetConfirmedServiceRequestContract.(*_BACnetConfirmedServiceRequest).deepCopy(), m.TextMessageSourceDevice.DeepCopy().(BACnetContextTagObjectIdentifier), m.MessageClass.DeepCopy().(BACnetConfirmedServiceRequestConfirmedTextMessageMessageClass), m.MessagePriority.DeepCopy().(BACnetConfirmedServiceRequestConfirmedTextMessageMessagePriorityTagged), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedTextMessageMessageClass.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedTextMessageMessageClass.go index d670584462..2e4faefb02 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedTextMessageMessageClass.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedTextMessageMessageClass.go @@ -47,7 +47,6 @@ type BACnetConfirmedServiceRequestConfirmedTextMessageMessageClass interface { // BACnetConfirmedServiceRequestConfirmedTextMessageMessageClassContract provides a set of functions which can be overwritten by a sub struct type BACnetConfirmedServiceRequestConfirmedTextMessageMessageClassContract interface { - utils.Copyable // GetOpeningTag returns OpeningTag (property field) GetOpeningTag() BACnetOpeningTag // GetPeekedTagHeader returns PeekedTagHeader (property field) diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedTextMessageMessageClassCharacter.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedTextMessageMessageClassCharacter.go index d166e27e6e..768353cca5 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedTextMessageMessageClassCharacter.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedTextMessageMessageClassCharacter.go @@ -190,7 +190,7 @@ func (m *_BACnetConfirmedServiceRequestConfirmedTextMessageMessageClassCharacter return nil } _BACnetConfirmedServiceRequestConfirmedTextMessageMessageClassCharacterCopy := &_BACnetConfirmedServiceRequestConfirmedTextMessageMessageClassCharacter{ - m.BACnetConfirmedServiceRequestConfirmedTextMessageMessageClassContract.DeepCopy().(BACnetConfirmedServiceRequestConfirmedTextMessageMessageClassContract), + m.BACnetConfirmedServiceRequestConfirmedTextMessageMessageClassContract.(*_BACnetConfirmedServiceRequestConfirmedTextMessageMessageClass).deepCopy(), m.CharacterValue.DeepCopy().(BACnetContextTagCharacterString), } m.BACnetConfirmedServiceRequestConfirmedTextMessageMessageClassContract.(*_BACnetConfirmedServiceRequestConfirmedTextMessageMessageClass)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedTextMessageMessageClassNumeric.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedTextMessageMessageClassNumeric.go index 7e609059d9..a36eab399b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedTextMessageMessageClassNumeric.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestConfirmedTextMessageMessageClassNumeric.go @@ -190,7 +190,7 @@ func (m *_BACnetConfirmedServiceRequestConfirmedTextMessageMessageClassNumeric) return nil } _BACnetConfirmedServiceRequestConfirmedTextMessageMessageClassNumericCopy := &_BACnetConfirmedServiceRequestConfirmedTextMessageMessageClassNumeric{ - m.BACnetConfirmedServiceRequestConfirmedTextMessageMessageClassContract.DeepCopy().(BACnetConfirmedServiceRequestConfirmedTextMessageMessageClassContract), + m.BACnetConfirmedServiceRequestConfirmedTextMessageMessageClassContract.(*_BACnetConfirmedServiceRequestConfirmedTextMessageMessageClass).deepCopy(), m.NumericValue.DeepCopy().(BACnetContextTagUnsignedInteger), } m.BACnetConfirmedServiceRequestConfirmedTextMessageMessageClassContract.(*_BACnetConfirmedServiceRequestConfirmedTextMessageMessageClass)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestCreateObject.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestCreateObject.go index e6577a1e9a..cdeb89c65c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestCreateObject.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestCreateObject.go @@ -220,7 +220,7 @@ func (m *_BACnetConfirmedServiceRequestCreateObject) deepCopy() *_BACnetConfirme return nil } _BACnetConfirmedServiceRequestCreateObjectCopy := &_BACnetConfirmedServiceRequestCreateObject{ - m.BACnetConfirmedServiceRequestContract.DeepCopy().(BACnetConfirmedServiceRequestContract), + m.BACnetConfirmedServiceRequestContract.(*_BACnetConfirmedServiceRequest).deepCopy(), m.ObjectSpecifier.DeepCopy().(BACnetConfirmedServiceRequestCreateObjectObjectSpecifier), m.ListOfValues.DeepCopy().(BACnetPropertyValues), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestDeleteObject.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestDeleteObject.go index b59826a60d..b8c84b0169 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestDeleteObject.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestDeleteObject.go @@ -193,7 +193,7 @@ func (m *_BACnetConfirmedServiceRequestDeleteObject) deepCopy() *_BACnetConfirme return nil } _BACnetConfirmedServiceRequestDeleteObjectCopy := &_BACnetConfirmedServiceRequestDeleteObject{ - m.BACnetConfirmedServiceRequestContract.DeepCopy().(BACnetConfirmedServiceRequestContract), + m.BACnetConfirmedServiceRequestContract.(*_BACnetConfirmedServiceRequest).deepCopy(), m.ObjectIdentifier.DeepCopy().(BACnetApplicationTagObjectIdentifier), } m.BACnetConfirmedServiceRequestContract.(*_BACnetConfirmedServiceRequest)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestDeviceCommunicationControl.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestDeviceCommunicationControl.go index 0fb6da1bfa..1b637ba287 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestDeviceCommunicationControl.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestDeviceCommunicationControl.go @@ -248,7 +248,7 @@ func (m *_BACnetConfirmedServiceRequestDeviceCommunicationControl) deepCopy() *_ return nil } _BACnetConfirmedServiceRequestDeviceCommunicationControlCopy := &_BACnetConfirmedServiceRequestDeviceCommunicationControl{ - m.BACnetConfirmedServiceRequestContract.DeepCopy().(BACnetConfirmedServiceRequestContract), + m.BACnetConfirmedServiceRequestContract.(*_BACnetConfirmedServiceRequest).deepCopy(), m.TimeDuration.DeepCopy().(BACnetContextTagUnsignedInteger), m.EnableDisable.DeepCopy().(BACnetConfirmedServiceRequestDeviceCommunicationControlEnableDisableTagged), m.Password.DeepCopy().(BACnetContextTagCharacterString), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestGetEnrollmentSummary.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestGetEnrollmentSummary.go index dbb2717e6f..06209782cf 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestGetEnrollmentSummary.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestGetEnrollmentSummary.go @@ -329,7 +329,7 @@ func (m *_BACnetConfirmedServiceRequestGetEnrollmentSummary) deepCopy() *_BACnet return nil } _BACnetConfirmedServiceRequestGetEnrollmentSummaryCopy := &_BACnetConfirmedServiceRequestGetEnrollmentSummary{ - m.BACnetConfirmedServiceRequestContract.DeepCopy().(BACnetConfirmedServiceRequestContract), + m.BACnetConfirmedServiceRequestContract.(*_BACnetConfirmedServiceRequest).deepCopy(), m.AcknowledgmentFilter.DeepCopy().(BACnetConfirmedServiceRequestGetEnrollmentSummaryAcknowledgementFilterTagged), m.EnrollmentFilter.DeepCopy().(BACnetRecipientProcessEnclosed), m.EventStateFilter.DeepCopy().(BACnetConfirmedServiceRequestGetEnrollmentSummaryEventStateFilterTagged), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestGetEventInformation.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestGetEventInformation.go index edaeb71ad2..bc5417aae0 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestGetEventInformation.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestGetEventInformation.go @@ -197,7 +197,7 @@ func (m *_BACnetConfirmedServiceRequestGetEventInformation) deepCopy() *_BACnetC return nil } _BACnetConfirmedServiceRequestGetEventInformationCopy := &_BACnetConfirmedServiceRequestGetEventInformation{ - m.BACnetConfirmedServiceRequestContract.DeepCopy().(BACnetConfirmedServiceRequestContract), + m.BACnetConfirmedServiceRequestContract.(*_BACnetConfirmedServiceRequest).deepCopy(), m.LastReceivedObjectIdentifier.DeepCopy().(BACnetContextTagObjectIdentifier), } m.BACnetConfirmedServiceRequestContract.(*_BACnetConfirmedServiceRequest)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestLifeSafetyOperation.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestLifeSafetyOperation.go index 2b137405df..9698eeb938 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestLifeSafetyOperation.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestLifeSafetyOperation.go @@ -269,7 +269,7 @@ func (m *_BACnetConfirmedServiceRequestLifeSafetyOperation) deepCopy() *_BACnetC return nil } _BACnetConfirmedServiceRequestLifeSafetyOperationCopy := &_BACnetConfirmedServiceRequestLifeSafetyOperation{ - m.BACnetConfirmedServiceRequestContract.DeepCopy().(BACnetConfirmedServiceRequestContract), + m.BACnetConfirmedServiceRequestContract.(*_BACnetConfirmedServiceRequest).deepCopy(), m.RequestingProcessIdentifier.DeepCopy().(BACnetContextTagUnsignedInteger), m.RequestingSource.DeepCopy().(BACnetContextTagCharacterString), m.Request.DeepCopy().(BACnetLifeSafetyOperationTagged), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadProperty.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadProperty.go index 91c9b13772..39d068ce93 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadProperty.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadProperty.go @@ -244,7 +244,7 @@ func (m *_BACnetConfirmedServiceRequestReadProperty) deepCopy() *_BACnetConfirme return nil } _BACnetConfirmedServiceRequestReadPropertyCopy := &_BACnetConfirmedServiceRequestReadProperty{ - m.BACnetConfirmedServiceRequestContract.DeepCopy().(BACnetConfirmedServiceRequestContract), + m.BACnetConfirmedServiceRequestContract.(*_BACnetConfirmedServiceRequest).deepCopy(), m.ObjectIdentifier.DeepCopy().(BACnetContextTagObjectIdentifier), m.PropertyIdentifier.DeepCopy().(BACnetPropertyIdentifierTagged), m.ArrayIndex.DeepCopy().(BACnetContextTagUnsignedInteger), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadPropertyConditional.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadPropertyConditional.go index b422cac35e..c00eeda11b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadPropertyConditional.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadPropertyConditional.go @@ -206,7 +206,7 @@ func (m *_BACnetConfirmedServiceRequestReadPropertyConditional) deepCopy() *_BAC return nil } _BACnetConfirmedServiceRequestReadPropertyConditionalCopy := &_BACnetConfirmedServiceRequestReadPropertyConditional{ - m.BACnetConfirmedServiceRequestContract.DeepCopy().(BACnetConfirmedServiceRequestContract), + m.BACnetConfirmedServiceRequestContract.(*_BACnetConfirmedServiceRequest).deepCopy(), utils.DeepCopySlice[byte, byte](m.BytesOfRemovedService), m.ServiceRequestPayloadLength, } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadPropertyMultiple.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadPropertyMultiple.go index 8a2ed79d0e..2b340ff619 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadPropertyMultiple.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadPropertyMultiple.go @@ -208,7 +208,7 @@ func (m *_BACnetConfirmedServiceRequestReadPropertyMultiple) deepCopy() *_BACnet return nil } _BACnetConfirmedServiceRequestReadPropertyMultipleCopy := &_BACnetConfirmedServiceRequestReadPropertyMultiple{ - m.BACnetConfirmedServiceRequestContract.DeepCopy().(BACnetConfirmedServiceRequestContract), + m.BACnetConfirmedServiceRequestContract.(*_BACnetConfirmedServiceRequest).deepCopy(), utils.DeepCopySlice[BACnetReadAccessSpecification, BACnetReadAccessSpecification](m.Data), m.ServiceRequestPayloadLength, } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadRange.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadRange.go index 66239dc943..c0d0b3be92 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadRange.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadRange.go @@ -271,7 +271,7 @@ func (m *_BACnetConfirmedServiceRequestReadRange) deepCopy() *_BACnetConfirmedSe return nil } _BACnetConfirmedServiceRequestReadRangeCopy := &_BACnetConfirmedServiceRequestReadRange{ - m.BACnetConfirmedServiceRequestContract.DeepCopy().(BACnetConfirmedServiceRequestContract), + m.BACnetConfirmedServiceRequestContract.(*_BACnetConfirmedServiceRequest).deepCopy(), m.ObjectIdentifier.DeepCopy().(BACnetContextTagObjectIdentifier), m.PropertyIdentifier.DeepCopy().(BACnetPropertyIdentifierTagged), m.PropertyArrayIndex.DeepCopy().(BACnetContextTagUnsignedInteger), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadRangeRange.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadRangeRange.go index 8b8b77bfcd..248f10fd82 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadRangeRange.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadRangeRange.go @@ -47,7 +47,6 @@ type BACnetConfirmedServiceRequestReadRangeRange interface { // BACnetConfirmedServiceRequestReadRangeRangeContract provides a set of functions which can be overwritten by a sub struct type BACnetConfirmedServiceRequestReadRangeRangeContract interface { - utils.Copyable // GetPeekedTagHeader returns PeekedTagHeader (property field) GetPeekedTagHeader() BACnetTagHeader // GetOpeningTag returns OpeningTag (property field) diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadRangeRangeByPosition.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadRangeRangeByPosition.go index ad415980d4..6d57ab4fd3 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadRangeRangeByPosition.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadRangeRangeByPosition.go @@ -214,7 +214,7 @@ func (m *_BACnetConfirmedServiceRequestReadRangeRangeByPosition) deepCopy() *_BA return nil } _BACnetConfirmedServiceRequestReadRangeRangeByPositionCopy := &_BACnetConfirmedServiceRequestReadRangeRangeByPosition{ - m.BACnetConfirmedServiceRequestReadRangeRangeContract.DeepCopy().(BACnetConfirmedServiceRequestReadRangeRangeContract), + m.BACnetConfirmedServiceRequestReadRangeRangeContract.(*_BACnetConfirmedServiceRequestReadRangeRange).deepCopy(), m.ReferenceIndex.DeepCopy().(BACnetApplicationTagUnsignedInteger), m.Count.DeepCopy().(BACnetApplicationTagSignedInteger), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadRangeRangeBySequenceNumber.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadRangeRangeBySequenceNumber.go index 60b07baa56..812469d445 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadRangeRangeBySequenceNumber.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadRangeRangeBySequenceNumber.go @@ -214,7 +214,7 @@ func (m *_BACnetConfirmedServiceRequestReadRangeRangeBySequenceNumber) deepCopy( return nil } _BACnetConfirmedServiceRequestReadRangeRangeBySequenceNumberCopy := &_BACnetConfirmedServiceRequestReadRangeRangeBySequenceNumber{ - m.BACnetConfirmedServiceRequestReadRangeRangeContract.DeepCopy().(BACnetConfirmedServiceRequestReadRangeRangeContract), + m.BACnetConfirmedServiceRequestReadRangeRangeContract.(*_BACnetConfirmedServiceRequestReadRangeRange).deepCopy(), m.ReferenceSequenceNumber.DeepCopy().(BACnetApplicationTagUnsignedInteger), m.Count.DeepCopy().(BACnetApplicationTagSignedInteger), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadRangeRangeByTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadRangeRangeByTime.go index 3b3961aacd..a700a3b5c7 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadRangeRangeByTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReadRangeRangeByTime.go @@ -214,7 +214,7 @@ func (m *_BACnetConfirmedServiceRequestReadRangeRangeByTime) deepCopy() *_BACnet return nil } _BACnetConfirmedServiceRequestReadRangeRangeByTimeCopy := &_BACnetConfirmedServiceRequestReadRangeRangeByTime{ - m.BACnetConfirmedServiceRequestReadRangeRangeContract.DeepCopy().(BACnetConfirmedServiceRequestReadRangeRangeContract), + m.BACnetConfirmedServiceRequestReadRangeRangeContract.(*_BACnetConfirmedServiceRequestReadRangeRange).deepCopy(), m.ReferenceTime.DeepCopy().(BACnetDateTime), m.Count.DeepCopy().(BACnetApplicationTagSignedInteger), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReinitializeDevice.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReinitializeDevice.go index e8f42a4a97..ecf293991f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReinitializeDevice.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestReinitializeDevice.go @@ -221,7 +221,7 @@ func (m *_BACnetConfirmedServiceRequestReinitializeDevice) deepCopy() *_BACnetCo return nil } _BACnetConfirmedServiceRequestReinitializeDeviceCopy := &_BACnetConfirmedServiceRequestReinitializeDevice{ - m.BACnetConfirmedServiceRequestContract.DeepCopy().(BACnetConfirmedServiceRequestContract), + m.BACnetConfirmedServiceRequestContract.(*_BACnetConfirmedServiceRequest).deepCopy(), m.ReinitializedStateOfDevice.DeepCopy().(BACnetConfirmedServiceRequestReinitializeDeviceReinitializedStateOfDeviceTagged), m.Password.DeepCopy().(BACnetContextTagCharacterString), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestRemoveListElement.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestRemoveListElement.go index fe44ad37cd..59d415b64b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestRemoveListElement.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestRemoveListElement.go @@ -272,7 +272,7 @@ func (m *_BACnetConfirmedServiceRequestRemoveListElement) deepCopy() *_BACnetCon return nil } _BACnetConfirmedServiceRequestRemoveListElementCopy := &_BACnetConfirmedServiceRequestRemoveListElement{ - m.BACnetConfirmedServiceRequestContract.DeepCopy().(BACnetConfirmedServiceRequestContract), + m.BACnetConfirmedServiceRequestContract.(*_BACnetConfirmedServiceRequest).deepCopy(), m.ObjectIdentifier.DeepCopy().(BACnetContextTagObjectIdentifier), m.PropertyIdentifier.DeepCopy().(BACnetPropertyIdentifierTagged), m.ArrayIndex.DeepCopy().(BACnetContextTagUnsignedInteger), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestRequestKey.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestRequestKey.go index a6c26a4fa0..a280264690 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestRequestKey.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestRequestKey.go @@ -205,7 +205,7 @@ func (m *_BACnetConfirmedServiceRequestRequestKey) deepCopy() *_BACnetConfirmedS return nil } _BACnetConfirmedServiceRequestRequestKeyCopy := &_BACnetConfirmedServiceRequestRequestKey{ - m.BACnetConfirmedServiceRequestContract.DeepCopy().(BACnetConfirmedServiceRequestContract), + m.BACnetConfirmedServiceRequestContract.(*_BACnetConfirmedServiceRequest).deepCopy(), utils.DeepCopySlice[byte, byte](m.BytesOfRemovedService), m.ServiceRequestPayloadLength, } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestSubscribeCOV.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestSubscribeCOV.go index dcc6cb2898..ad87800000 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestSubscribeCOV.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestSubscribeCOV.go @@ -271,7 +271,7 @@ func (m *_BACnetConfirmedServiceRequestSubscribeCOV) deepCopy() *_BACnetConfirme return nil } _BACnetConfirmedServiceRequestSubscribeCOVCopy := &_BACnetConfirmedServiceRequestSubscribeCOV{ - m.BACnetConfirmedServiceRequestContract.DeepCopy().(BACnetConfirmedServiceRequestContract), + m.BACnetConfirmedServiceRequestContract.(*_BACnetConfirmedServiceRequest).deepCopy(), m.SubscriberProcessIdentifier.DeepCopy().(BACnetContextTagUnsignedInteger), m.MonitoredObjectIdentifier.DeepCopy().(BACnetContextTagObjectIdentifier), m.IssueConfirmed.DeepCopy().(BACnetContextTagBoolean), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestSubscribeCOVProperty.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestSubscribeCOVProperty.go index a0d6726417..326d4a9d31 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestSubscribeCOVProperty.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestSubscribeCOVProperty.go @@ -323,7 +323,7 @@ func (m *_BACnetConfirmedServiceRequestSubscribeCOVProperty) deepCopy() *_BACnet return nil } _BACnetConfirmedServiceRequestSubscribeCOVPropertyCopy := &_BACnetConfirmedServiceRequestSubscribeCOVProperty{ - m.BACnetConfirmedServiceRequestContract.DeepCopy().(BACnetConfirmedServiceRequestContract), + m.BACnetConfirmedServiceRequestContract.(*_BACnetConfirmedServiceRequest).deepCopy(), m.SubscriberProcessIdentifier.DeepCopy().(BACnetContextTagUnsignedInteger), m.MonitoredObjectIdentifier.DeepCopy().(BACnetContextTagObjectIdentifier), m.IssueConfirmedNotifications.DeepCopy().(BACnetContextTagBoolean), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestSubscribeCOVPropertyMultiple.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestSubscribeCOVPropertyMultiple.go index 0411b50a97..9f0da5689a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestSubscribeCOVPropertyMultiple.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestSubscribeCOVPropertyMultiple.go @@ -299,7 +299,7 @@ func (m *_BACnetConfirmedServiceRequestSubscribeCOVPropertyMultiple) deepCopy() return nil } _BACnetConfirmedServiceRequestSubscribeCOVPropertyMultipleCopy := &_BACnetConfirmedServiceRequestSubscribeCOVPropertyMultiple{ - m.BACnetConfirmedServiceRequestContract.DeepCopy().(BACnetConfirmedServiceRequestContract), + m.BACnetConfirmedServiceRequestContract.(*_BACnetConfirmedServiceRequest).deepCopy(), m.SubscriberProcessIdentifier.DeepCopy().(BACnetContextTagUnsignedInteger), m.IssueConfirmedNotifications.DeepCopy().(BACnetContextTagBoolean), m.Lifetime.DeepCopy().(BACnetContextTagUnsignedInteger), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestUnknown.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestUnknown.go index f8f82fc1aa..bb1910512d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestUnknown.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestUnknown.go @@ -205,7 +205,7 @@ func (m *_BACnetConfirmedServiceRequestUnknown) deepCopy() *_BACnetConfirmedServ return nil } _BACnetConfirmedServiceRequestUnknownCopy := &_BACnetConfirmedServiceRequestUnknown{ - m.BACnetConfirmedServiceRequestContract.DeepCopy().(BACnetConfirmedServiceRequestContract), + m.BACnetConfirmedServiceRequestContract.(*_BACnetConfirmedServiceRequest).deepCopy(), utils.DeepCopySlice[byte, byte](m.UnknownBytes), m.ServiceRequestPayloadLength, } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestVTClose.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestVTClose.go index 8a4ff4d2fd..bccc70818d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestVTClose.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestVTClose.go @@ -207,7 +207,7 @@ func (m *_BACnetConfirmedServiceRequestVTClose) deepCopy() *_BACnetConfirmedServ return nil } _BACnetConfirmedServiceRequestVTCloseCopy := &_BACnetConfirmedServiceRequestVTClose{ - m.BACnetConfirmedServiceRequestContract.DeepCopy().(BACnetConfirmedServiceRequestContract), + m.BACnetConfirmedServiceRequestContract.(*_BACnetConfirmedServiceRequest).deepCopy(), utils.DeepCopySlice[BACnetApplicationTagUnsignedInteger, BACnetApplicationTagUnsignedInteger](m.ListOfRemoteVtSessionIdentifiers), m.ServiceRequestPayloadLength, } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestVTData.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestVTData.go index 2b9adc0b08..803336505f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestVTData.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestVTData.go @@ -241,7 +241,7 @@ func (m *_BACnetConfirmedServiceRequestVTData) deepCopy() *_BACnetConfirmedServi return nil } _BACnetConfirmedServiceRequestVTDataCopy := &_BACnetConfirmedServiceRequestVTData{ - m.BACnetConfirmedServiceRequestContract.DeepCopy().(BACnetConfirmedServiceRequestContract), + m.BACnetConfirmedServiceRequestContract.(*_BACnetConfirmedServiceRequest).deepCopy(), m.VtSessionIdentifier.DeepCopy().(BACnetApplicationTagUnsignedInteger), m.VtNewData.DeepCopy().(BACnetApplicationTagOctetString), m.VtDataFlag.DeepCopy().(BACnetApplicationTagUnsignedInteger), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestVTOpen.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestVTOpen.go index 8169d2a425..1a34588f61 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestVTOpen.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestVTOpen.go @@ -217,7 +217,7 @@ func (m *_BACnetConfirmedServiceRequestVTOpen) deepCopy() *_BACnetConfirmedServi return nil } _BACnetConfirmedServiceRequestVTOpenCopy := &_BACnetConfirmedServiceRequestVTOpen{ - m.BACnetConfirmedServiceRequestContract.DeepCopy().(BACnetConfirmedServiceRequestContract), + m.BACnetConfirmedServiceRequestContract.(*_BACnetConfirmedServiceRequest).deepCopy(), m.VtClass.DeepCopy().(BACnetVTClassTagged), m.LocalVtSessionIdentifier.DeepCopy().(BACnetApplicationTagUnsignedInteger), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestWriteProperty.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestWriteProperty.go index c374827e63..ce663707b1 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestWriteProperty.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestWriteProperty.go @@ -296,7 +296,7 @@ func (m *_BACnetConfirmedServiceRequestWriteProperty) deepCopy() *_BACnetConfirm return nil } _BACnetConfirmedServiceRequestWritePropertyCopy := &_BACnetConfirmedServiceRequestWriteProperty{ - m.BACnetConfirmedServiceRequestContract.DeepCopy().(BACnetConfirmedServiceRequestContract), + m.BACnetConfirmedServiceRequestContract.(*_BACnetConfirmedServiceRequest).deepCopy(), m.ObjectIdentifier.DeepCopy().(BACnetContextTagObjectIdentifier), m.PropertyIdentifier.DeepCopy().(BACnetPropertyIdentifierTagged), m.ArrayIndex.DeepCopy().(BACnetContextTagUnsignedInteger), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestWritePropertyMultiple.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestWritePropertyMultiple.go index cbe4818b37..dbe7adee09 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestWritePropertyMultiple.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConfirmedServiceRequestWritePropertyMultiple.go @@ -208,7 +208,7 @@ func (m *_BACnetConfirmedServiceRequestWritePropertyMultiple) deepCopy() *_BACne return nil } _BACnetConfirmedServiceRequestWritePropertyMultipleCopy := &_BACnetConfirmedServiceRequestWritePropertyMultiple{ - m.BACnetConfirmedServiceRequestContract.DeepCopy().(BACnetConfirmedServiceRequestContract), + m.BACnetConfirmedServiceRequestContract.(*_BACnetConfirmedServiceRequest).deepCopy(), utils.DeepCopySlice[BACnetWriteAccessSpecification, BACnetWriteAccessSpecification](m.Data), m.ServiceRequestPayloadLength, } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedData.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedData.go index 8f80437162..76d32ede30 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedData.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedData.go @@ -47,7 +47,6 @@ type BACnetConstructedData interface { // BACnetConstructedDataContract provides a set of functions which can be overwritten by a sub struct type BACnetConstructedDataContract interface { - utils.Copyable // GetOpeningTag returns OpeningTag (property field) GetOpeningTag() BACnetOpeningTag // GetPeekedTagHeader returns PeekedTagHeader (property field) diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAPDULength.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAPDULength.go index 5f48ab6794..8931848456 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAPDULength.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAPDULength.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataAPDULength) deepCopy() *_BACnetConstructedDataAPD return nil } _BACnetConstructedDataAPDULengthCopy := &_BACnetConstructedDataAPDULength{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.ApduLength.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAPDUSegmentTimeout.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAPDUSegmentTimeout.go index 15c7420e61..43e5fd744c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAPDUSegmentTimeout.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAPDUSegmentTimeout.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataAPDUSegmentTimeout) deepCopy() *_BACnetConstructe return nil } _BACnetConstructedDataAPDUSegmentTimeoutCopy := &_BACnetConstructedDataAPDUSegmentTimeout{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.ApduSegmentTimeout.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAPDUTimeout.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAPDUTimeout.go index 0c265b6648..f0212f730b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAPDUTimeout.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAPDUTimeout.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataAPDUTimeout) deepCopy() *_BACnetConstructedDataAP return nil } _BACnetConstructedDataAPDUTimeoutCopy := &_BACnetConstructedDataAPDUTimeout{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.ApduTimeout.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAbsenteeLimit.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAbsenteeLimit.go index 3c379dc227..918ae411ec 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAbsenteeLimit.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAbsenteeLimit.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataAbsenteeLimit) deepCopy() *_BACnetConstructedData return nil } _BACnetConstructedDataAbsenteeLimitCopy := &_BACnetConstructedDataAbsenteeLimit{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.AbsenteeLimit.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAcceptedModes.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAcceptedModes.go index 812c8b53b1..498024ca37 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAcceptedModes.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAcceptedModes.go @@ -198,7 +198,7 @@ func (m *_BACnetConstructedDataAcceptedModes) deepCopy() *_BACnetConstructedData return nil } _BACnetConstructedDataAcceptedModesCopy := &_BACnetConstructedDataAcceptedModes{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), utils.DeepCopySlice[BACnetLifeSafetyModeTagged, BACnetLifeSafetyModeTagged](m.AcceptedModes), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessAlarmEvents.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessAlarmEvents.go index b7cc2d1974..639cdaf714 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessAlarmEvents.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessAlarmEvents.go @@ -198,7 +198,7 @@ func (m *_BACnetConstructedDataAccessAlarmEvents) deepCopy() *_BACnetConstructed return nil } _BACnetConstructedDataAccessAlarmEventsCopy := &_BACnetConstructedDataAccessAlarmEvents{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), utils.DeepCopySlice[BACnetAccessEventTagged, BACnetAccessEventTagged](m.AccessAlarmEvents), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessCredentialAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessCredentialAll.go index 3e6141ceac..dce39eb466 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessCredentialAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessCredentialAll.go @@ -166,7 +166,7 @@ func (m *_BACnetConstructedDataAccessCredentialAll) deepCopy() *_BACnetConstruct return nil } _BACnetConstructedDataAccessCredentialAllCopy := &_BACnetConstructedDataAccessCredentialAll{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m return _BACnetConstructedDataAccessCredentialAllCopy diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessDoorAlarmValues.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessDoorAlarmValues.go index 407ad0ba75..565c71876b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessDoorAlarmValues.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessDoorAlarmValues.go @@ -199,7 +199,7 @@ func (m *_BACnetConstructedDataAccessDoorAlarmValues) deepCopy() *_BACnetConstru return nil } _BACnetConstructedDataAccessDoorAlarmValuesCopy := &_BACnetConstructedDataAccessDoorAlarmValues{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), utils.DeepCopySlice[BACnetDoorAlarmStateTagged, BACnetDoorAlarmStateTagged](m.AlarmValues), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessDoorAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessDoorAll.go index c7d355f694..bc2f19ef03 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessDoorAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessDoorAll.go @@ -166,7 +166,7 @@ func (m *_BACnetConstructedDataAccessDoorAll) deepCopy() *_BACnetConstructedData return nil } _BACnetConstructedDataAccessDoorAllCopy := &_BACnetConstructedDataAccessDoorAll{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m return _BACnetConstructedDataAccessDoorAllCopy diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessDoorFaultValues.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessDoorFaultValues.go index 135b3c057f..2470e0ad7f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessDoorFaultValues.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessDoorFaultValues.go @@ -199,7 +199,7 @@ func (m *_BACnetConstructedDataAccessDoorFaultValues) deepCopy() *_BACnetConstru return nil } _BACnetConstructedDataAccessDoorFaultValuesCopy := &_BACnetConstructedDataAccessDoorFaultValues{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), utils.DeepCopySlice[BACnetDoorAlarmStateTagged, BACnetDoorAlarmStateTagged](m.FaultValues), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessDoorPresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessDoorPresentValue.go index 55460ecefb..0fbf62d732 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessDoorPresentValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessDoorPresentValue.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataAccessDoorPresentValue) deepCopy() *_BACnetConstr return nil } _BACnetConstructedDataAccessDoorPresentValueCopy := &_BACnetConstructedDataAccessDoorPresentValue{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.PresentValue.DeepCopy().(BACnetDoorValueTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessDoorRelinquishDefault.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessDoorRelinquishDefault.go index 65da8248ca..de402c8a18 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessDoorRelinquishDefault.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessDoorRelinquishDefault.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataAccessDoorRelinquishDefault) deepCopy() *_BACnetC return nil } _BACnetConstructedDataAccessDoorRelinquishDefaultCopy := &_BACnetConstructedDataAccessDoorRelinquishDefault{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.RelinquishDefault.DeepCopy().(BACnetDoorValueTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessDoors.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessDoors.go index 3f387e07cc..9a08ea02fe 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessDoors.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessDoors.go @@ -258,7 +258,7 @@ func (m *_BACnetConstructedDataAccessDoors) deepCopy() *_BACnetConstructedDataAc return nil } _BACnetConstructedDataAccessDoorsCopy := &_BACnetConstructedDataAccessDoors{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NumberOfDataElements.DeepCopy().(BACnetApplicationTagUnsignedInteger), utils.DeepCopySlice[BACnetDeviceObjectReference, BACnetDeviceObjectReference](m.AccessDoors), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessEvent.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessEvent.go index 0b602c5f3e..096f3ce7fd 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessEvent.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessEvent.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataAccessEvent) deepCopy() *_BACnetConstructedDataAc return nil } _BACnetConstructedDataAccessEventCopy := &_BACnetConstructedDataAccessEvent{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.AccessEvent.DeepCopy().(BACnetAccessEventTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessEventAuthenticationFactor.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessEventAuthenticationFactor.go index 283616e0e7..7475cce445 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessEventAuthenticationFactor.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessEventAuthenticationFactor.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataAccessEventAuthenticationFactor) deepCopy() *_BAC return nil } _BACnetConstructedDataAccessEventAuthenticationFactorCopy := &_BACnetConstructedDataAccessEventAuthenticationFactor{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.AccessEventAuthenticationFactor.DeepCopy().(BACnetAuthenticationFactor), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessEventCredential.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessEventCredential.go index bec31441f1..83f37cc2ab 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessEventCredential.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessEventCredential.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataAccessEventCredential) deepCopy() *_BACnetConstru return nil } _BACnetConstructedDataAccessEventCredentialCopy := &_BACnetConstructedDataAccessEventCredential{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.AccessEventCredential.DeepCopy().(BACnetDeviceObjectReference), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessEventTag.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessEventTag.go index b0d2c3ea2b..8c74e2986d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessEventTag.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessEventTag.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataAccessEventTag) deepCopy() *_BACnetConstructedDat return nil } _BACnetConstructedDataAccessEventTagCopy := &_BACnetConstructedDataAccessEventTag{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.AccessEventTag.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessEventTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessEventTime.go index 410419a6d1..521ab43695 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessEventTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessEventTime.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataAccessEventTime) deepCopy() *_BACnetConstructedDa return nil } _BACnetConstructedDataAccessEventTimeCopy := &_BACnetConstructedDataAccessEventTime{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.AccessEventTime.DeepCopy().(BACnetTimeStamp), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessPointAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessPointAll.go index 1c1fe1b0cf..73e5c8baf8 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessPointAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessPointAll.go @@ -166,7 +166,7 @@ func (m *_BACnetConstructedDataAccessPointAll) deepCopy() *_BACnetConstructedDat return nil } _BACnetConstructedDataAccessPointAllCopy := &_BACnetConstructedDataAccessPointAll{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m return _BACnetConstructedDataAccessPointAllCopy diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessRightsAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessRightsAll.go index 7178aba98a..fd6080f43f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessRightsAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessRightsAll.go @@ -166,7 +166,7 @@ func (m *_BACnetConstructedDataAccessRightsAll) deepCopy() *_BACnetConstructedDa return nil } _BACnetConstructedDataAccessRightsAllCopy := &_BACnetConstructedDataAccessRightsAll{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m return _BACnetConstructedDataAccessRightsAllCopy diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessTransactionEvents.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessTransactionEvents.go index dbbbdc9edc..8e0e856df3 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessTransactionEvents.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessTransactionEvents.go @@ -199,7 +199,7 @@ func (m *_BACnetConstructedDataAccessTransactionEvents) deepCopy() *_BACnetConst return nil } _BACnetConstructedDataAccessTransactionEventsCopy := &_BACnetConstructedDataAccessTransactionEvents{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), utils.DeepCopySlice[BACnetAccessEventTagged, BACnetAccessEventTagged](m.AccessTransactionEvents), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessUserAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessUserAll.go index c0b7ae4da7..5437f64748 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessUserAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessUserAll.go @@ -166,7 +166,7 @@ func (m *_BACnetConstructedDataAccessUserAll) deepCopy() *_BACnetConstructedData return nil } _BACnetConstructedDataAccessUserAllCopy := &_BACnetConstructedDataAccessUserAll{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m return _BACnetConstructedDataAccessUserAllCopy diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessZoneAdjustValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessZoneAdjustValue.go index 290963d2e1..69b57246ca 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessZoneAdjustValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessZoneAdjustValue.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataAccessZoneAdjustValue) deepCopy() *_BACnetConstru return nil } _BACnetConstructedDataAccessZoneAdjustValueCopy := &_BACnetConstructedDataAccessZoneAdjustValue{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.AdjustValue.DeepCopy().(BACnetApplicationTagSignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessZoneAlarmValues.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessZoneAlarmValues.go index 0428c6dece..485b3e9bfb 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessZoneAlarmValues.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessZoneAlarmValues.go @@ -199,7 +199,7 @@ func (m *_BACnetConstructedDataAccessZoneAlarmValues) deepCopy() *_BACnetConstru return nil } _BACnetConstructedDataAccessZoneAlarmValuesCopy := &_BACnetConstructedDataAccessZoneAlarmValues{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), utils.DeepCopySlice[BACnetAccessZoneOccupancyStateTagged, BACnetAccessZoneOccupancyStateTagged](m.AlarmValues), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessZoneAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessZoneAll.go index e181092b79..8589d812ef 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessZoneAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccessZoneAll.go @@ -166,7 +166,7 @@ func (m *_BACnetConstructedDataAccessZoneAll) deepCopy() *_BACnetConstructedData return nil } _BACnetConstructedDataAccessZoneAllCopy := &_BACnetConstructedDataAccessZoneAll{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m return _BACnetConstructedDataAccessZoneAllCopy diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccompaniment.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccompaniment.go index 70da212e99..f520f7c036 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccompaniment.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccompaniment.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataAccompaniment) deepCopy() *_BACnetConstructedData return nil } _BACnetConstructedDataAccompanimentCopy := &_BACnetConstructedDataAccompaniment{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.Accompaniment.DeepCopy().(BACnetDeviceObjectReference), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccompanimentTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccompanimentTime.go index c87a1cfe7c..11c8418f06 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccompanimentTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccompanimentTime.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataAccompanimentTime) deepCopy() *_BACnetConstructed return nil } _BACnetConstructedDataAccompanimentTimeCopy := &_BACnetConstructedDataAccompanimentTime{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.AccompanimentTime.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorAll.go index 38d4ddfe69..7adbf47a59 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorAll.go @@ -166,7 +166,7 @@ func (m *_BACnetConstructedDataAccumulatorAll) deepCopy() *_BACnetConstructedDat return nil } _BACnetConstructedDataAccumulatorAllCopy := &_BACnetConstructedDataAccumulatorAll{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m return _BACnetConstructedDataAccumulatorAllCopy diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorFaultHighLimit.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorFaultHighLimit.go index b09b153fb3..f102849eaa 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorFaultHighLimit.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorFaultHighLimit.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataAccumulatorFaultHighLimit) deepCopy() *_BACnetCon return nil } _BACnetConstructedDataAccumulatorFaultHighLimitCopy := &_BACnetConstructedDataAccumulatorFaultHighLimit{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.FaultHighLimit.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorFaultLowLimit.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorFaultLowLimit.go index 6acb8732a7..74b0ac1602 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorFaultLowLimit.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorFaultLowLimit.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataAccumulatorFaultLowLimit) deepCopy() *_BACnetCons return nil } _BACnetConstructedDataAccumulatorFaultLowLimitCopy := &_BACnetConstructedDataAccumulatorFaultLowLimit{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.FaultLowLimit.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorHighLimit.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorHighLimit.go index 3ff55e00f5..a6a3f83236 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorHighLimit.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorHighLimit.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataAccumulatorHighLimit) deepCopy() *_BACnetConstruc return nil } _BACnetConstructedDataAccumulatorHighLimitCopy := &_BACnetConstructedDataAccumulatorHighLimit{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.HighLimit.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorLowLimit.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorLowLimit.go index 7fadab379a..e7fe0aa6eb 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorLowLimit.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorLowLimit.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataAccumulatorLowLimit) deepCopy() *_BACnetConstruct return nil } _BACnetConstructedDataAccumulatorLowLimitCopy := &_BACnetConstructedDataAccumulatorLowLimit{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.LowLimit.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorMaxPresValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorMaxPresValue.go index adb6b729fc..dcd1d6e9ee 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorMaxPresValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorMaxPresValue.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataAccumulatorMaxPresValue) deepCopy() *_BACnetConst return nil } _BACnetConstructedDataAccumulatorMaxPresValueCopy := &_BACnetConstructedDataAccumulatorMaxPresValue{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.MaxPresValue.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorMinPresValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorMinPresValue.go index 192025ae1d..f8df3ba049 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorMinPresValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAccumulatorMinPresValue.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataAccumulatorMinPresValue) deepCopy() *_BACnetConst return nil } _BACnetConstructedDataAccumulatorMinPresValueCopy := &_BACnetConstructedDataAccumulatorMinPresValue{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.MinPresValue.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAckRequired.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAckRequired.go index 45dcc4c4bd..721fc758d4 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAckRequired.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAckRequired.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataAckRequired) deepCopy() *_BACnetConstructedDataAc return nil } _BACnetConstructedDataAckRequiredCopy := &_BACnetConstructedDataAckRequired{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.AckRequired.DeepCopy().(BACnetEventTransitionBitsTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAckedTransitions.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAckedTransitions.go index fd0fdecd20..988e0c4e8a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAckedTransitions.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAckedTransitions.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataAckedTransitions) deepCopy() *_BACnetConstructedD return nil } _BACnetConstructedDataAckedTransitionsCopy := &_BACnetConstructedDataAckedTransitions{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.AckedTransitions.DeepCopy().(BACnetEventTransitionBitsTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAction.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAction.go index 67ba79660c..603303395d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAction.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAction.go @@ -258,7 +258,7 @@ func (m *_BACnetConstructedDataAction) deepCopy() *_BACnetConstructedDataAction return nil } _BACnetConstructedDataActionCopy := &_BACnetConstructedDataAction{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NumberOfDataElements.DeepCopy().(BACnetApplicationTagUnsignedInteger), utils.DeepCopySlice[BACnetActionList, BACnetActionList](m.ActionLists), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActionText.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActionText.go index 7aa72d5e94..7989767369 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActionText.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActionText.go @@ -258,7 +258,7 @@ func (m *_BACnetConstructedDataActionText) deepCopy() *_BACnetConstructedDataAct return nil } _BACnetConstructedDataActionTextCopy := &_BACnetConstructedDataActionText{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NumberOfDataElements.DeepCopy().(BACnetApplicationTagUnsignedInteger), utils.DeepCopySlice[BACnetApplicationTagCharacterString, BACnetApplicationTagCharacterString](m.ActionText), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActivationTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActivationTime.go index 944792fdb3..1af7672778 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActivationTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActivationTime.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataActivationTime) deepCopy() *_BACnetConstructedDat return nil } _BACnetConstructedDataActivationTimeCopy := &_BACnetConstructedDataActivationTime{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.ActivationTime.DeepCopy().(BACnetDateTime), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActiveAuthenticationPolicy.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActiveAuthenticationPolicy.go index 4fcab1a74c..8da5dd94e9 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActiveAuthenticationPolicy.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActiveAuthenticationPolicy.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataActiveAuthenticationPolicy) deepCopy() *_BACnetCo return nil } _BACnetConstructedDataActiveAuthenticationPolicyCopy := &_BACnetConstructedDataActiveAuthenticationPolicy{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.ActiveAuthenticationPolicy.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActiveCOVMultipleSubscriptions.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActiveCOVMultipleSubscriptions.go index cad7ca0cf7..9604842908 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActiveCOVMultipleSubscriptions.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActiveCOVMultipleSubscriptions.go @@ -199,7 +199,7 @@ func (m *_BACnetConstructedDataActiveCOVMultipleSubscriptions) deepCopy() *_BACn return nil } _BACnetConstructedDataActiveCOVMultipleSubscriptionsCopy := &_BACnetConstructedDataActiveCOVMultipleSubscriptions{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), utils.DeepCopySlice[BACnetCOVMultipleSubscription, BACnetCOVMultipleSubscription](m.ActiveCOVMultipleSubscriptions), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActiveCOVSubscriptions.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActiveCOVSubscriptions.go index ce984ea140..ee8afde22d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActiveCOVSubscriptions.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActiveCOVSubscriptions.go @@ -199,7 +199,7 @@ func (m *_BACnetConstructedDataActiveCOVSubscriptions) deepCopy() *_BACnetConstr return nil } _BACnetConstructedDataActiveCOVSubscriptionsCopy := &_BACnetConstructedDataActiveCOVSubscriptions{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), utils.DeepCopySlice[BACnetCOVSubscription, BACnetCOVSubscription](m.ActiveCOVSubscriptions), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActiveText.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActiveText.go index 8997952bae..13be92ed0d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActiveText.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActiveText.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataActiveText) deepCopy() *_BACnetConstructedDataAct return nil } _BACnetConstructedDataActiveTextCopy := &_BACnetConstructedDataActiveText{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.ActiveText.DeepCopy().(BACnetApplicationTagCharacterString), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActiveVTSessions.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActiveVTSessions.go index 9996beeb1a..355c76cc9c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActiveVTSessions.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActiveVTSessions.go @@ -198,7 +198,7 @@ func (m *_BACnetConstructedDataActiveVTSessions) deepCopy() *_BACnetConstructedD return nil } _BACnetConstructedDataActiveVTSessionsCopy := &_BACnetConstructedDataActiveVTSessions{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), utils.DeepCopySlice[BACnetVTSession, BACnetVTSession](m.ActiveVTSession), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActualShedLevel.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActualShedLevel.go index 6967cb0b03..8d6cd69d2d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActualShedLevel.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataActualShedLevel.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataActualShedLevel) deepCopy() *_BACnetConstructedDa return nil } _BACnetConstructedDataActualShedLevelCopy := &_BACnetConstructedDataActualShedLevel{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.ActualShedLevel.DeepCopy().(BACnetShedLevel), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAdjustValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAdjustValue.go index 82520a2029..2fe73a77dc 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAdjustValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAdjustValue.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataAdjustValue) deepCopy() *_BACnetConstructedDataAd return nil } _BACnetConstructedDataAdjustValueCopy := &_BACnetConstructedDataAdjustValue{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.AdjustValue.DeepCopy().(BACnetApplicationTagSignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAlarmValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAlarmValue.go index 11efd87888..e29815fa80 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAlarmValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAlarmValue.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataAlarmValue) deepCopy() *_BACnetConstructedDataAla return nil } _BACnetConstructedDataAlarmValueCopy := &_BACnetConstructedDataAlarmValue{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.BinaryPv.DeepCopy().(BACnetBinaryPVTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAlarmValues.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAlarmValues.go index 153e84c134..7ca655ae55 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAlarmValues.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAlarmValues.go @@ -258,7 +258,7 @@ func (m *_BACnetConstructedDataAlarmValues) deepCopy() *_BACnetConstructedDataAl return nil } _BACnetConstructedDataAlarmValuesCopy := &_BACnetConstructedDataAlarmValues{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NumberOfDataElements.DeepCopy().(BACnetApplicationTagUnsignedInteger), utils.DeepCopySlice[BACnetLifeSafetyStateTagged, BACnetLifeSafetyStateTagged](m.AlarmValues), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAlertEnrollmentAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAlertEnrollmentAll.go index 3f1e29ca0f..810da49213 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAlertEnrollmentAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAlertEnrollmentAll.go @@ -166,7 +166,7 @@ func (m *_BACnetConstructedDataAlertEnrollmentAll) deepCopy() *_BACnetConstructe return nil } _BACnetConstructedDataAlertEnrollmentAllCopy := &_BACnetConstructedDataAlertEnrollmentAll{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m return _BACnetConstructedDataAlertEnrollmentAllCopy diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAlertEnrollmentPresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAlertEnrollmentPresentValue.go index 3a6754a30e..14a9b33f94 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAlertEnrollmentPresentValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAlertEnrollmentPresentValue.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataAlertEnrollmentPresentValue) deepCopy() *_BACnetC return nil } _BACnetConstructedDataAlertEnrollmentPresentValueCopy := &_BACnetConstructedDataAlertEnrollmentPresentValue{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.PresentValue.DeepCopy().(BACnetApplicationTagObjectIdentifier), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAlignIntervals.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAlignIntervals.go index 6b69dac3c7..80181fcfca 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAlignIntervals.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAlignIntervals.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataAlignIntervals) deepCopy() *_BACnetConstructedDat return nil } _BACnetConstructedDataAlignIntervalsCopy := &_BACnetConstructedDataAlignIntervals{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.AlignIntervals.DeepCopy().(BACnetApplicationTagBoolean), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAllWritesSuccessful.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAllWritesSuccessful.go index cf960c6762..42dc5ef1a7 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAllWritesSuccessful.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAllWritesSuccessful.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataAllWritesSuccessful) deepCopy() *_BACnetConstruct return nil } _BACnetConstructedDataAllWritesSuccessfulCopy := &_BACnetConstructedDataAllWritesSuccessful{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.AllWritesSuccessful.DeepCopy().(BACnetApplicationTagBoolean), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAllowGroupDelayInhibit.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAllowGroupDelayInhibit.go index 1c85a9b1d3..63742ee54f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAllowGroupDelayInhibit.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAllowGroupDelayInhibit.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataAllowGroupDelayInhibit) deepCopy() *_BACnetConstr return nil } _BACnetConstructedDataAllowGroupDelayInhibitCopy := &_BACnetConstructedDataAllowGroupDelayInhibit{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.AllowGroupDelayInhibit.DeepCopy().(BACnetApplicationTagBoolean), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogInputAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogInputAll.go index 7e878e476e..6b0ada8793 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogInputAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogInputAll.go @@ -166,7 +166,7 @@ func (m *_BACnetConstructedDataAnalogInputAll) deepCopy() *_BACnetConstructedDat return nil } _BACnetConstructedDataAnalogInputAllCopy := &_BACnetConstructedDataAnalogInputAll{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m return _BACnetConstructedDataAnalogInputAllCopy diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogInputFaultHighLimit.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogInputFaultHighLimit.go index 8ce31b88fd..4f5aaf2140 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogInputFaultHighLimit.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogInputFaultHighLimit.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataAnalogInputFaultHighLimit) deepCopy() *_BACnetCon return nil } _BACnetConstructedDataAnalogInputFaultHighLimitCopy := &_BACnetConstructedDataAnalogInputFaultHighLimit{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.FaultHighLimit.DeepCopy().(BACnetApplicationTagReal), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogInputFaultLowLimit.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogInputFaultLowLimit.go index 05281d15e4..02bd914bcd 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogInputFaultLowLimit.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogInputFaultLowLimit.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataAnalogInputFaultLowLimit) deepCopy() *_BACnetCons return nil } _BACnetConstructedDataAnalogInputFaultLowLimitCopy := &_BACnetConstructedDataAnalogInputFaultLowLimit{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.FaultLowLimit.DeepCopy().(BACnetApplicationTagReal), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogInputInterfaceValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogInputInterfaceValue.go index 4d70516e0b..b45da9996b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogInputInterfaceValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogInputInterfaceValue.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataAnalogInputInterfaceValue) deepCopy() *_BACnetCon return nil } _BACnetConstructedDataAnalogInputInterfaceValueCopy := &_BACnetConstructedDataAnalogInputInterfaceValue{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.InterfaceValue.DeepCopy().(BACnetOptionalREAL), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogInputMaxPresValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogInputMaxPresValue.go index 6cdd5487ca..34059f1afd 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogInputMaxPresValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogInputMaxPresValue.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataAnalogInputMaxPresValue) deepCopy() *_BACnetConst return nil } _BACnetConstructedDataAnalogInputMaxPresValueCopy := &_BACnetConstructedDataAnalogInputMaxPresValue{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.MaxPresValue.DeepCopy().(BACnetApplicationTagReal), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogInputPresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogInputPresentValue.go index 856ee47872..61116afa93 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogInputPresentValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogInputPresentValue.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataAnalogInputPresentValue) deepCopy() *_BACnetConst return nil } _BACnetConstructedDataAnalogInputPresentValueCopy := &_BACnetConstructedDataAnalogInputPresentValue{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.PresentValue.DeepCopy().(BACnetApplicationTagReal), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogOutputAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogOutputAll.go index 17a797c50b..58886448fa 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogOutputAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogOutputAll.go @@ -166,7 +166,7 @@ func (m *_BACnetConstructedDataAnalogOutputAll) deepCopy() *_BACnetConstructedDa return nil } _BACnetConstructedDataAnalogOutputAllCopy := &_BACnetConstructedDataAnalogOutputAll{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m return _BACnetConstructedDataAnalogOutputAllCopy diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogOutputInterfaceValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogOutputInterfaceValue.go index d656b6f3af..4758a68430 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogOutputInterfaceValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogOutputInterfaceValue.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataAnalogOutputInterfaceValue) deepCopy() *_BACnetCo return nil } _BACnetConstructedDataAnalogOutputInterfaceValueCopy := &_BACnetConstructedDataAnalogOutputInterfaceValue{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.InterfaceValue.DeepCopy().(BACnetOptionalREAL), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogOutputMaxPresValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogOutputMaxPresValue.go index 9a6c5e2a8b..cbbcd06100 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogOutputMaxPresValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogOutputMaxPresValue.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataAnalogOutputMaxPresValue) deepCopy() *_BACnetCons return nil } _BACnetConstructedDataAnalogOutputMaxPresValueCopy := &_BACnetConstructedDataAnalogOutputMaxPresValue{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.MaxPresValue.DeepCopy().(BACnetApplicationTagReal), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogOutputPresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogOutputPresentValue.go index 168d7d3d0a..4471b3e4d8 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogOutputPresentValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogOutputPresentValue.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataAnalogOutputPresentValue) deepCopy() *_BACnetCons return nil } _BACnetConstructedDataAnalogOutputPresentValueCopy := &_BACnetConstructedDataAnalogOutputPresentValue{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.PresentValue.DeepCopy().(BACnetApplicationTagReal), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogOutputRelinquishDefault.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogOutputRelinquishDefault.go index c593705750..5330829a94 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogOutputRelinquishDefault.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogOutputRelinquishDefault.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataAnalogOutputRelinquishDefault) deepCopy() *_BACne return nil } _BACnetConstructedDataAnalogOutputRelinquishDefaultCopy := &_BACnetConstructedDataAnalogOutputRelinquishDefault{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.RelinquishDefault.DeepCopy().(BACnetApplicationTagReal), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogValueAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogValueAll.go index f01d358d21..a3c3cc7e5d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogValueAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogValueAll.go @@ -166,7 +166,7 @@ func (m *_BACnetConstructedDataAnalogValueAll) deepCopy() *_BACnetConstructedDat return nil } _BACnetConstructedDataAnalogValueAllCopy := &_BACnetConstructedDataAnalogValueAll{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m return _BACnetConstructedDataAnalogValueAllCopy diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogValueFaultHighLimit.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogValueFaultHighLimit.go index 16704f3f14..2cf779b26d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogValueFaultHighLimit.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogValueFaultHighLimit.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataAnalogValueFaultHighLimit) deepCopy() *_BACnetCon return nil } _BACnetConstructedDataAnalogValueFaultHighLimitCopy := &_BACnetConstructedDataAnalogValueFaultHighLimit{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.FaultHighLimit.DeepCopy().(BACnetApplicationTagReal), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogValueFaultLowLimit.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogValueFaultLowLimit.go index dbe7548a1e..a17b2982d6 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogValueFaultLowLimit.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogValueFaultLowLimit.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataAnalogValueFaultLowLimit) deepCopy() *_BACnetCons return nil } _BACnetConstructedDataAnalogValueFaultLowLimitCopy := &_BACnetConstructedDataAnalogValueFaultLowLimit{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.FaultLowLimit.DeepCopy().(BACnetApplicationTagReal), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogValueMaxPresValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogValueMaxPresValue.go index 2aa417299a..6ee3ab9f01 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogValueMaxPresValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogValueMaxPresValue.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataAnalogValueMaxPresValue) deepCopy() *_BACnetConst return nil } _BACnetConstructedDataAnalogValueMaxPresValueCopy := &_BACnetConstructedDataAnalogValueMaxPresValue{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.MaxPresValue.DeepCopy().(BACnetApplicationTagReal), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogValuePresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogValuePresentValue.go index 7402212a64..65d4af0545 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogValuePresentValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogValuePresentValue.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataAnalogValuePresentValue) deepCopy() *_BACnetConst return nil } _BACnetConstructedDataAnalogValuePresentValueCopy := &_BACnetConstructedDataAnalogValuePresentValue{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.PresentValue.DeepCopy().(BACnetApplicationTagReal), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogValueRelinquishDefault.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogValueRelinquishDefault.go index 4a14606c7a..1888362368 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogValueRelinquishDefault.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAnalogValueRelinquishDefault.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataAnalogValueRelinquishDefault) deepCopy() *_BACnet return nil } _BACnetConstructedDataAnalogValueRelinquishDefaultCopy := &_BACnetConstructedDataAnalogValueRelinquishDefault{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.RelinquishDefault.DeepCopy().(BACnetApplicationTagReal), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataApplicationSoftwareVersion.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataApplicationSoftwareVersion.go index 5f0fb733d0..0b28961b30 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataApplicationSoftwareVersion.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataApplicationSoftwareVersion.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataApplicationSoftwareVersion) deepCopy() *_BACnetCo return nil } _BACnetConstructedDataApplicationSoftwareVersionCopy := &_BACnetConstructedDataApplicationSoftwareVersion{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.ApplicationSoftwareVersion.DeepCopy().(BACnetApplicationTagCharacterString), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataArchive.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataArchive.go index 1eb15dcf03..708d24232a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataArchive.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataArchive.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataArchive) deepCopy() *_BACnetConstructedDataArchiv return nil } _BACnetConstructedDataArchiveCopy := &_BACnetConstructedDataArchive{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.Archive.DeepCopy().(BACnetApplicationTagBoolean), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAssignedAccessRights.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAssignedAccessRights.go index 7e9b500e9e..34279ccf11 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAssignedAccessRights.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAssignedAccessRights.go @@ -258,7 +258,7 @@ func (m *_BACnetConstructedDataAssignedAccessRights) deepCopy() *_BACnetConstruc return nil } _BACnetConstructedDataAssignedAccessRightsCopy := &_BACnetConstructedDataAssignedAccessRights{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NumberOfDataElements.DeepCopy().(BACnetApplicationTagUnsignedInteger), utils.DeepCopySlice[BACnetAssignedAccessRights, BACnetAssignedAccessRights](m.AssignedAccessRights), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAssignedLandingCalls.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAssignedLandingCalls.go index c15ec89787..bf9993c774 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAssignedLandingCalls.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAssignedLandingCalls.go @@ -258,7 +258,7 @@ func (m *_BACnetConstructedDataAssignedLandingCalls) deepCopy() *_BACnetConstruc return nil } _BACnetConstructedDataAssignedLandingCallsCopy := &_BACnetConstructedDataAssignedLandingCalls{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NumberOfDataElements.DeepCopy().(BACnetApplicationTagUnsignedInteger), utils.DeepCopySlice[BACnetAssignedLandingCalls, BACnetAssignedLandingCalls](m.AssignedLandingCalls), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAttemptedSamples.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAttemptedSamples.go index 25796c6f50..1400628cc7 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAttemptedSamples.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAttemptedSamples.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataAttemptedSamples) deepCopy() *_BACnetConstructedD return nil } _BACnetConstructedDataAttemptedSamplesCopy := &_BACnetConstructedDataAttemptedSamples{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.AttemptedSamples.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAuthenticationFactors.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAuthenticationFactors.go index c60bbaf213..35eccfa583 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAuthenticationFactors.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAuthenticationFactors.go @@ -259,7 +259,7 @@ func (m *_BACnetConstructedDataAuthenticationFactors) deepCopy() *_BACnetConstru return nil } _BACnetConstructedDataAuthenticationFactorsCopy := &_BACnetConstructedDataAuthenticationFactors{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NumberOfDataElements.DeepCopy().(BACnetApplicationTagUnsignedInteger), utils.DeepCopySlice[BACnetCredentialAuthenticationFactor, BACnetCredentialAuthenticationFactor](m.AuthenticationFactors), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAuthenticationPolicyList.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAuthenticationPolicyList.go index 8a3975666d..6e1bfe1e46 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAuthenticationPolicyList.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAuthenticationPolicyList.go @@ -259,7 +259,7 @@ func (m *_BACnetConstructedDataAuthenticationPolicyList) deepCopy() *_BACnetCons return nil } _BACnetConstructedDataAuthenticationPolicyListCopy := &_BACnetConstructedDataAuthenticationPolicyList{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NumberOfDataElements.DeepCopy().(BACnetApplicationTagUnsignedInteger), utils.DeepCopySlice[BACnetAuthenticationPolicy, BACnetAuthenticationPolicy](m.AuthenticationPolicyList), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAuthenticationPolicyNames.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAuthenticationPolicyNames.go index 449801cf6c..e45ae1710d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAuthenticationPolicyNames.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAuthenticationPolicyNames.go @@ -259,7 +259,7 @@ func (m *_BACnetConstructedDataAuthenticationPolicyNames) deepCopy() *_BACnetCon return nil } _BACnetConstructedDataAuthenticationPolicyNamesCopy := &_BACnetConstructedDataAuthenticationPolicyNames{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NumberOfDataElements.DeepCopy().(BACnetApplicationTagUnsignedInteger), utils.DeepCopySlice[BACnetApplicationTagCharacterString, BACnetApplicationTagCharacterString](m.AuthenticationPolicyNames), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAuthenticationStatus.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAuthenticationStatus.go index 04abd74275..5046c0e0e8 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAuthenticationStatus.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAuthenticationStatus.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataAuthenticationStatus) deepCopy() *_BACnetConstruc return nil } _BACnetConstructedDataAuthenticationStatusCopy := &_BACnetConstructedDataAuthenticationStatus{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.AuthenticationStatus.DeepCopy().(BACnetAuthenticationStatusTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAuthorizationExemptions.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAuthorizationExemptions.go index 0769b6fefb..190b8bc99e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAuthorizationExemptions.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAuthorizationExemptions.go @@ -199,7 +199,7 @@ func (m *_BACnetConstructedDataAuthorizationExemptions) deepCopy() *_BACnetConst return nil } _BACnetConstructedDataAuthorizationExemptionsCopy := &_BACnetConstructedDataAuthorizationExemptions{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), utils.DeepCopySlice[BACnetAuthorizationExemptionTagged, BACnetAuthorizationExemptionTagged](m.AuthorizationExemption), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAuthorizationMode.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAuthorizationMode.go index a0557c38be..7675e1d0d5 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAuthorizationMode.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAuthorizationMode.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataAuthorizationMode) deepCopy() *_BACnetConstructed return nil } _BACnetConstructedDataAuthorizationModeCopy := &_BACnetConstructedDataAuthorizationMode{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.AuthorizationMode.DeepCopy().(BACnetAuthorizationModeTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAutoSlaveDiscovery.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAutoSlaveDiscovery.go index 331e612628..cb1c3db688 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAutoSlaveDiscovery.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAutoSlaveDiscovery.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataAutoSlaveDiscovery) deepCopy() *_BACnetConstructe return nil } _BACnetConstructedDataAutoSlaveDiscoveryCopy := &_BACnetConstructedDataAutoSlaveDiscovery{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.AutoSlaveDiscovery.DeepCopy().(BACnetApplicationTagBoolean), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAverageValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAverageValue.go index ecc93ec324..67e5e4768f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAverageValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAverageValue.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataAverageValue) deepCopy() *_BACnetConstructedDataA return nil } _BACnetConstructedDataAverageValueCopy := &_BACnetConstructedDataAverageValue{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.AverageValue.DeepCopy().(BACnetApplicationTagReal), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAveragingAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAveragingAll.go index 18fca499fc..1111bfa5b3 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAveragingAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataAveragingAll.go @@ -166,7 +166,7 @@ func (m *_BACnetConstructedDataAveragingAll) deepCopy() *_BACnetConstructedDataA return nil } _BACnetConstructedDataAveragingAllCopy := &_BACnetConstructedDataAveragingAll{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m return _BACnetConstructedDataAveragingAllCopy diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPGlobalAddress.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPGlobalAddress.go index b60bef82dc..559c8d1b6c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPGlobalAddress.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPGlobalAddress.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataBACnetIPGlobalAddress) deepCopy() *_BACnetConstru return nil } _BACnetConstructedDataBACnetIPGlobalAddressCopy := &_BACnetConstructedDataBACnetIPGlobalAddress{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.BacnetIpGlobalAddress.DeepCopy().(BACnetHostNPort), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPMode.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPMode.go index df650fe561..cf8871252d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPMode.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPMode.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataBACnetIPMode) deepCopy() *_BACnetConstructedDataB return nil } _BACnetConstructedDataBACnetIPModeCopy := &_BACnetConstructedDataBACnetIPMode{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.BacnetIpMode.DeepCopy().(BACnetIPModeTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPMulticastAddress.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPMulticastAddress.go index 65c886f8ef..b39d973225 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPMulticastAddress.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPMulticastAddress.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataBACnetIPMulticastAddress) deepCopy() *_BACnetCons return nil } _BACnetConstructedDataBACnetIPMulticastAddressCopy := &_BACnetConstructedDataBACnetIPMulticastAddress{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.IpMulticastAddress.DeepCopy().(BACnetApplicationTagOctetString), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPNATTraversal.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPNATTraversal.go index 1dca8f6068..55a67d03df 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPNATTraversal.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPNATTraversal.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataBACnetIPNATTraversal) deepCopy() *_BACnetConstruc return nil } _BACnetConstructedDataBACnetIPNATTraversalCopy := &_BACnetConstructedDataBACnetIPNATTraversal{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.BacnetIPNATTraversal.DeepCopy().(BACnetApplicationTagBoolean), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPUDPPort.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPUDPPort.go index ba75fb78ea..fb55838f24 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPUDPPort.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPUDPPort.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataBACnetIPUDPPort) deepCopy() *_BACnetConstructedDa return nil } _BACnetConstructedDataBACnetIPUDPPortCopy := &_BACnetConstructedDataBACnetIPUDPPort{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.IpUdpPort.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPv6Mode.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPv6Mode.go index 8a2032d68a..39bb130088 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPv6Mode.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPv6Mode.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataBACnetIPv6Mode) deepCopy() *_BACnetConstructedDat return nil } _BACnetConstructedDataBACnetIPv6ModeCopy := &_BACnetConstructedDataBACnetIPv6Mode{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.BacnetIpv6Mode.DeepCopy().(BACnetIPModeTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPv6MulticastAddress.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPv6MulticastAddress.go index bb76a4768d..3b9e0b5559 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPv6MulticastAddress.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPv6MulticastAddress.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataBACnetIPv6MulticastAddress) deepCopy() *_BACnetCo return nil } _BACnetConstructedDataBACnetIPv6MulticastAddressCopy := &_BACnetConstructedDataBACnetIPv6MulticastAddress{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.Ipv6MulticastAddress.DeepCopy().(BACnetApplicationTagOctetString), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPv6UDPPort.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPv6UDPPort.go index f9f30ef16b..10795e019d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPv6UDPPort.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBACnetIPv6UDPPort.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataBACnetIPv6UDPPort) deepCopy() *_BACnetConstructed return nil } _BACnetConstructedDataBACnetIPv6UDPPortCopy := &_BACnetConstructedDataBACnetIPv6UDPPort{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.Ipv6UdpPort.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBBMDAcceptFDRegistrations.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBBMDAcceptFDRegistrations.go index 38b7e307d3..c3072fb9a2 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBBMDAcceptFDRegistrations.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBBMDAcceptFDRegistrations.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataBBMDAcceptFDRegistrations) deepCopy() *_BACnetCon return nil } _BACnetConstructedDataBBMDAcceptFDRegistrationsCopy := &_BACnetConstructedDataBBMDAcceptFDRegistrations{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.BbmdAcceptFDRegistrations.DeepCopy().(BACnetApplicationTagBoolean), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBBMDBroadcastDistributionTable.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBBMDBroadcastDistributionTable.go index 1b7389755e..3192b7ca74 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBBMDBroadcastDistributionTable.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBBMDBroadcastDistributionTable.go @@ -199,7 +199,7 @@ func (m *_BACnetConstructedDataBBMDBroadcastDistributionTable) deepCopy() *_BACn return nil } _BACnetConstructedDataBBMDBroadcastDistributionTableCopy := &_BACnetConstructedDataBBMDBroadcastDistributionTable{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), utils.DeepCopySlice[BACnetBDTEntry, BACnetBDTEntry](m.BbmdBroadcastDistributionTable), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBBMDForeignDeviceTable.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBBMDForeignDeviceTable.go index 0c09df127d..861051941a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBBMDForeignDeviceTable.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBBMDForeignDeviceTable.go @@ -199,7 +199,7 @@ func (m *_BACnetConstructedDataBBMDForeignDeviceTable) deepCopy() *_BACnetConstr return nil } _BACnetConstructedDataBBMDForeignDeviceTableCopy := &_BACnetConstructedDataBBMDForeignDeviceTable{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), utils.DeepCopySlice[BACnetBDTEntry, BACnetBDTEntry](m.BbmdForeignDeviceTable), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBackupAndRestoreState.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBackupAndRestoreState.go index beb515e435..3a642eb84a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBackupAndRestoreState.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBackupAndRestoreState.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataBackupAndRestoreState) deepCopy() *_BACnetConstru return nil } _BACnetConstructedDataBackupAndRestoreStateCopy := &_BACnetConstructedDataBackupAndRestoreState{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.BackupAndRestoreState.DeepCopy().(BACnetBackupStateTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBackupFailureTimeout.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBackupFailureTimeout.go index 56c89b3227..5da475f4b2 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBackupFailureTimeout.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBackupFailureTimeout.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataBackupFailureTimeout) deepCopy() *_BACnetConstruc return nil } _BACnetConstructedDataBackupFailureTimeoutCopy := &_BACnetConstructedDataBackupFailureTimeout{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.BackupFailureTimeout.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBackupPreparationTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBackupPreparationTime.go index d0e674883d..fe4de44280 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBackupPreparationTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBackupPreparationTime.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataBackupPreparationTime) deepCopy() *_BACnetConstru return nil } _BACnetConstructedDataBackupPreparationTimeCopy := &_BACnetConstructedDataBackupPreparationTime{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.BackupPreparationTime.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBaseDeviceSecurityPolicy.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBaseDeviceSecurityPolicy.go index efd56f1fde..3770cc040b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBaseDeviceSecurityPolicy.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBaseDeviceSecurityPolicy.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataBaseDeviceSecurityPolicy) deepCopy() *_BACnetCons return nil } _BACnetConstructedDataBaseDeviceSecurityPolicyCopy := &_BACnetConstructedDataBaseDeviceSecurityPolicy{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.BaseDeviceSecurityPolicy.DeepCopy().(BACnetSecurityLevelTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBelongsTo.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBelongsTo.go index ab46ee76db..160cd1f15b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBelongsTo.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBelongsTo.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataBelongsTo) deepCopy() *_BACnetConstructedDataBelo return nil } _BACnetConstructedDataBelongsToCopy := &_BACnetConstructedDataBelongsTo{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.BelongsTo.DeepCopy().(BACnetDeviceObjectReference), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBias.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBias.go index 78593892f3..5832817e2c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBias.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBias.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataBias) deepCopy() *_BACnetConstructedDataBias { return nil } _BACnetConstructedDataBiasCopy := &_BACnetConstructedDataBias{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.Bias.DeepCopy().(BACnetApplicationTagReal), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryInputAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryInputAll.go index a99a6dc81e..c1278845d0 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryInputAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryInputAll.go @@ -166,7 +166,7 @@ func (m *_BACnetConstructedDataBinaryInputAll) deepCopy() *_BACnetConstructedDat return nil } _BACnetConstructedDataBinaryInputAllCopy := &_BACnetConstructedDataBinaryInputAll{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m return _BACnetConstructedDataBinaryInputAllCopy diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryInputInterfaceValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryInputInterfaceValue.go index eb79b5025b..5c390b5322 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryInputInterfaceValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryInputInterfaceValue.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataBinaryInputInterfaceValue) deepCopy() *_BACnetCon return nil } _BACnetConstructedDataBinaryInputInterfaceValueCopy := &_BACnetConstructedDataBinaryInputInterfaceValue{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.InterfaceValue.DeepCopy().(BACnetOptionalBinaryPV), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryInputPresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryInputPresentValue.go index 2472f29984..86038c8437 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryInputPresentValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryInputPresentValue.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataBinaryInputPresentValue) deepCopy() *_BACnetConst return nil } _BACnetConstructedDataBinaryInputPresentValueCopy := &_BACnetConstructedDataBinaryInputPresentValue{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.PresentValue.DeepCopy().(BACnetBinaryPVTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryLightingOutputAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryLightingOutputAll.go index 029733f29c..2b96f10dc6 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryLightingOutputAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryLightingOutputAll.go @@ -167,7 +167,7 @@ func (m *_BACnetConstructedDataBinaryLightingOutputAll) deepCopy() *_BACnetConst return nil } _BACnetConstructedDataBinaryLightingOutputAllCopy := &_BACnetConstructedDataBinaryLightingOutputAll{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m return _BACnetConstructedDataBinaryLightingOutputAllCopy diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryLightingOutputFeedbackValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryLightingOutputFeedbackValue.go index aa4af30800..04e37a4f7d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryLightingOutputFeedbackValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryLightingOutputFeedbackValue.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataBinaryLightingOutputFeedbackValue) deepCopy() *_B return nil } _BACnetConstructedDataBinaryLightingOutputFeedbackValueCopy := &_BACnetConstructedDataBinaryLightingOutputFeedbackValue{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.FeedbackValue.DeepCopy().(BACnetBinaryLightingPVTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryLightingOutputPresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryLightingOutputPresentValue.go index 527499c401..f665d4b300 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryLightingOutputPresentValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryLightingOutputPresentValue.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataBinaryLightingOutputPresentValue) deepCopy() *_BA return nil } _BACnetConstructedDataBinaryLightingOutputPresentValueCopy := &_BACnetConstructedDataBinaryLightingOutputPresentValue{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.PresentValue.DeepCopy().(BACnetBinaryLightingPVTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryLightingOutputRelinquishDefault.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryLightingOutputRelinquishDefault.go index 50834e7da5..005c2a65f3 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryLightingOutputRelinquishDefault.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryLightingOutputRelinquishDefault.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataBinaryLightingOutputRelinquishDefault) deepCopy() return nil } _BACnetConstructedDataBinaryLightingOutputRelinquishDefaultCopy := &_BACnetConstructedDataBinaryLightingOutputRelinquishDefault{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.RelinquishDefault.DeepCopy().(BACnetBinaryLightingPVTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryOutputAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryOutputAll.go index 3b7a6147bc..e06fe4859c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryOutputAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryOutputAll.go @@ -166,7 +166,7 @@ func (m *_BACnetConstructedDataBinaryOutputAll) deepCopy() *_BACnetConstructedDa return nil } _BACnetConstructedDataBinaryOutputAllCopy := &_BACnetConstructedDataBinaryOutputAll{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m return _BACnetConstructedDataBinaryOutputAllCopy diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryOutputFeedbackValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryOutputFeedbackValue.go index fd43ce14af..606896f88c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryOutputFeedbackValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryOutputFeedbackValue.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataBinaryOutputFeedbackValue) deepCopy() *_BACnetCon return nil } _BACnetConstructedDataBinaryOutputFeedbackValueCopy := &_BACnetConstructedDataBinaryOutputFeedbackValue{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.FeedbackValue.DeepCopy().(BACnetBinaryPVTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryOutputInterfaceValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryOutputInterfaceValue.go index 8fba48f82c..2b690470b3 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryOutputInterfaceValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryOutputInterfaceValue.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataBinaryOutputInterfaceValue) deepCopy() *_BACnetCo return nil } _BACnetConstructedDataBinaryOutputInterfaceValueCopy := &_BACnetConstructedDataBinaryOutputInterfaceValue{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.InterfaceValue.DeepCopy().(BACnetOptionalBinaryPV), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryOutputPresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryOutputPresentValue.go index b27d8fbb06..949971fb0f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryOutputPresentValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryOutputPresentValue.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataBinaryOutputPresentValue) deepCopy() *_BACnetCons return nil } _BACnetConstructedDataBinaryOutputPresentValueCopy := &_BACnetConstructedDataBinaryOutputPresentValue{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.PresentValue.DeepCopy().(BACnetBinaryPVTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryOutputRelinquishDefault.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryOutputRelinquishDefault.go index 8a6437d5d0..b811c10281 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryOutputRelinquishDefault.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryOutputRelinquishDefault.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataBinaryOutputRelinquishDefault) deepCopy() *_BACne return nil } _BACnetConstructedDataBinaryOutputRelinquishDefaultCopy := &_BACnetConstructedDataBinaryOutputRelinquishDefault{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.RelinquishDefault.DeepCopy().(BACnetBinaryPVTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryValueAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryValueAll.go index 3318aafbd0..2dca8a0574 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryValueAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryValueAll.go @@ -166,7 +166,7 @@ func (m *_BACnetConstructedDataBinaryValueAll) deepCopy() *_BACnetConstructedDat return nil } _BACnetConstructedDataBinaryValueAllCopy := &_BACnetConstructedDataBinaryValueAll{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m return _BACnetConstructedDataBinaryValueAllCopy diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryValuePresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryValuePresentValue.go index 660f7bc760..f565f18986 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryValuePresentValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryValuePresentValue.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataBinaryValuePresentValue) deepCopy() *_BACnetConst return nil } _BACnetConstructedDataBinaryValuePresentValueCopy := &_BACnetConstructedDataBinaryValuePresentValue{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.PresentValue.DeepCopy().(BACnetBinaryPVTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryValueRelinquishDefault.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryValueRelinquishDefault.go index 84365d1df6..fe7aad6d31 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryValueRelinquishDefault.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBinaryValueRelinquishDefault.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataBinaryValueRelinquishDefault) deepCopy() *_BACnet return nil } _BACnetConstructedDataBinaryValueRelinquishDefaultCopy := &_BACnetConstructedDataBinaryValueRelinquishDefault{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.RelinquishDefault.DeepCopy().(BACnetBinaryPVTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBitMask.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBitMask.go index f468d91db8..030983aae0 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBitMask.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBitMask.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataBitMask) deepCopy() *_BACnetConstructedDataBitMas return nil } _BACnetConstructedDataBitMaskCopy := &_BACnetConstructedDataBitMask{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.BitString.DeepCopy().(BACnetApplicationTagBitString), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBitStringValueAlarmValues.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBitStringValueAlarmValues.go index 19abdef0a5..ee0e2fa84f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBitStringValueAlarmValues.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBitStringValueAlarmValues.go @@ -259,7 +259,7 @@ func (m *_BACnetConstructedDataBitStringValueAlarmValues) deepCopy() *_BACnetCon return nil } _BACnetConstructedDataBitStringValueAlarmValuesCopy := &_BACnetConstructedDataBitStringValueAlarmValues{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NumberOfDataElements.DeepCopy().(BACnetApplicationTagUnsignedInteger), utils.DeepCopySlice[BACnetApplicationTagBitString, BACnetApplicationTagBitString](m.AlarmValues), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBitStringValuePresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBitStringValuePresentValue.go index 7f8aed220a..9d2fe010ab 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBitStringValuePresentValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBitStringValuePresentValue.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataBitStringValuePresentValue) deepCopy() *_BACnetCo return nil } _BACnetConstructedDataBitStringValuePresentValueCopy := &_BACnetConstructedDataBitStringValuePresentValue{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.PresentValue.DeepCopy().(BACnetApplicationTagBitString), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBitStringValueRelinquishDefault.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBitStringValueRelinquishDefault.go index 6bfbb8055c..f4aae71327 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBitStringValueRelinquishDefault.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBitStringValueRelinquishDefault.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataBitStringValueRelinquishDefault) deepCopy() *_BAC return nil } _BACnetConstructedDataBitStringValueRelinquishDefaultCopy := &_BACnetConstructedDataBitStringValueRelinquishDefault{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.RelinquishDefault.DeepCopy().(BACnetApplicationTagBitString), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBitText.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBitText.go index 0a8bf8f8f6..44ace5a1de 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBitText.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBitText.go @@ -258,7 +258,7 @@ func (m *_BACnetConstructedDataBitText) deepCopy() *_BACnetConstructedDataBitTex return nil } _BACnetConstructedDataBitTextCopy := &_BACnetConstructedDataBitText{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NumberOfDataElements.DeepCopy().(BACnetApplicationTagUnsignedInteger), utils.DeepCopySlice[BACnetApplicationTagCharacterString, BACnetApplicationTagCharacterString](m.BitText), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBitstringValueAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBitstringValueAll.go index 8a0cd6cddf..776f664250 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBitstringValueAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBitstringValueAll.go @@ -166,7 +166,7 @@ func (m *_BACnetConstructedDataBitstringValueAll) deepCopy() *_BACnetConstructed return nil } _BACnetConstructedDataBitstringValueAllCopy := &_BACnetConstructedDataBitstringValueAll{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m return _BACnetConstructedDataBitstringValueAllCopy diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBlinkWarnEnable.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBlinkWarnEnable.go index 08cf1d909b..c0ac259bcc 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBlinkWarnEnable.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBlinkWarnEnable.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataBlinkWarnEnable) deepCopy() *_BACnetConstructedDa return nil } _BACnetConstructedDataBlinkWarnEnableCopy := &_BACnetConstructedDataBlinkWarnEnable{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.BlinkWarnEnable.DeepCopy().(BACnetApplicationTagBoolean), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBufferSize.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBufferSize.go index 0cb9a7d57e..b2ca1bfe63 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBufferSize.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataBufferSize.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataBufferSize) deepCopy() *_BACnetConstructedDataBuf return nil } _BACnetConstructedDataBufferSizeCopy := &_BACnetConstructedDataBufferSize{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.BufferSize.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCOVIncrement.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCOVIncrement.go index b487e04760..5b94765900 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCOVIncrement.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCOVIncrement.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataCOVIncrement) deepCopy() *_BACnetConstructedDataC return nil } _BACnetConstructedDataCOVIncrementCopy := &_BACnetConstructedDataCOVIncrement{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.CovIncrement.DeepCopy().(BACnetApplicationTagReal), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCOVPeriod.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCOVPeriod.go index 47977161b8..3a808ec5ab 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCOVPeriod.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCOVPeriod.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataCOVPeriod) deepCopy() *_BACnetConstructedDataCOVP return nil } _BACnetConstructedDataCOVPeriodCopy := &_BACnetConstructedDataCOVPeriod{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.CovPeriod.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCOVResubscriptionInterval.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCOVResubscriptionInterval.go index 48df60adbd..4b7972d50d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCOVResubscriptionInterval.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCOVResubscriptionInterval.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataCOVResubscriptionInterval) deepCopy() *_BACnetCon return nil } _BACnetConstructedDataCOVResubscriptionIntervalCopy := &_BACnetConstructedDataCOVResubscriptionInterval{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.CovResubscriptionInterval.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCOVUPeriod.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCOVUPeriod.go index a532fe81e0..240b83770c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCOVUPeriod.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCOVUPeriod.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataCOVUPeriod) deepCopy() *_BACnetConstructedDataCOV return nil } _BACnetConstructedDataCOVUPeriodCopy := &_BACnetConstructedDataCOVUPeriod{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.CovuPeriod.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCOVURecipients.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCOVURecipients.go index a4b60374e5..2829fe45a8 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCOVURecipients.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCOVURecipients.go @@ -198,7 +198,7 @@ func (m *_BACnetConstructedDataCOVURecipients) deepCopy() *_BACnetConstructedDat return nil } _BACnetConstructedDataCOVURecipientsCopy := &_BACnetConstructedDataCOVURecipients{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), utils.DeepCopySlice[BACnetRecipient, BACnetRecipient](m.CovuRecipients), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCalendarAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCalendarAll.go index 891061a00c..66d29cf0f3 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCalendarAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCalendarAll.go @@ -166,7 +166,7 @@ func (m *_BACnetConstructedDataCalendarAll) deepCopy() *_BACnetConstructedDataCa return nil } _BACnetConstructedDataCalendarAllCopy := &_BACnetConstructedDataCalendarAll{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m return _BACnetConstructedDataCalendarAllCopy diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCalendarPresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCalendarPresentValue.go index 754d2a662f..8fab533129 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCalendarPresentValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCalendarPresentValue.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataCalendarPresentValue) deepCopy() *_BACnetConstruc return nil } _BACnetConstructedDataCalendarPresentValueCopy := &_BACnetConstructedDataCalendarPresentValue{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.PresentValue.DeepCopy().(BACnetApplicationTagBoolean), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarAssignedDirection.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarAssignedDirection.go index 638993b9e2..aa82c84890 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarAssignedDirection.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarAssignedDirection.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataCarAssignedDirection) deepCopy() *_BACnetConstruc return nil } _BACnetConstructedDataCarAssignedDirectionCopy := &_BACnetConstructedDataCarAssignedDirection{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.AssignedDirection.DeepCopy().(BACnetLiftCarDirectionTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarDoorCommand.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarDoorCommand.go index 20fafd3906..c23a716a1b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarDoorCommand.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarDoorCommand.go @@ -258,7 +258,7 @@ func (m *_BACnetConstructedDataCarDoorCommand) deepCopy() *_BACnetConstructedDat return nil } _BACnetConstructedDataCarDoorCommandCopy := &_BACnetConstructedDataCarDoorCommand{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NumberOfDataElements.DeepCopy().(BACnetApplicationTagUnsignedInteger), utils.DeepCopySlice[BACnetLiftCarDoorCommandTagged, BACnetLiftCarDoorCommandTagged](m.CarDoorCommand), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarDoorStatus.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarDoorStatus.go index e435a69788..ccdb70a60e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarDoorStatus.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarDoorStatus.go @@ -258,7 +258,7 @@ func (m *_BACnetConstructedDataCarDoorStatus) deepCopy() *_BACnetConstructedData return nil } _BACnetConstructedDataCarDoorStatusCopy := &_BACnetConstructedDataCarDoorStatus{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NumberOfDataElements.DeepCopy().(BACnetApplicationTagUnsignedInteger), utils.DeepCopySlice[BACnetDoorStatusTagged, BACnetDoorStatusTagged](m.CarDoorStatus), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarDoorText.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarDoorText.go index 5e7cbccc94..e1abcbd833 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarDoorText.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarDoorText.go @@ -258,7 +258,7 @@ func (m *_BACnetConstructedDataCarDoorText) deepCopy() *_BACnetConstructedDataCa return nil } _BACnetConstructedDataCarDoorTextCopy := &_BACnetConstructedDataCarDoorText{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NumberOfDataElements.DeepCopy().(BACnetApplicationTagUnsignedInteger), utils.DeepCopySlice[BACnetApplicationTagCharacterString, BACnetApplicationTagCharacterString](m.CarDoorText), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarDoorZone.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarDoorZone.go index 2f60b2c8d8..c61fa91c34 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarDoorZone.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarDoorZone.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataCarDoorZone) deepCopy() *_BACnetConstructedDataCa return nil } _BACnetConstructedDataCarDoorZoneCopy := &_BACnetConstructedDataCarDoorZone{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.CarDoorZone.DeepCopy().(BACnetApplicationTagBoolean), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarDriveStatus.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarDriveStatus.go index 7e2867793c..5285b82ddd 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarDriveStatus.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarDriveStatus.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataCarDriveStatus) deepCopy() *_BACnetConstructedDat return nil } _BACnetConstructedDataCarDriveStatusCopy := &_BACnetConstructedDataCarDriveStatus{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.CarDriveStatus.DeepCopy().(BACnetLiftCarDriveStatusTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarLoad.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarLoad.go index e9438b94a9..888262f65e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarLoad.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarLoad.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataCarLoad) deepCopy() *_BACnetConstructedDataCarLoa return nil } _BACnetConstructedDataCarLoadCopy := &_BACnetConstructedDataCarLoad{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.CarLoad.DeepCopy().(BACnetApplicationTagReal), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarLoadUnits.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarLoadUnits.go index 337e887135..ecd651be70 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarLoadUnits.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarLoadUnits.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataCarLoadUnits) deepCopy() *_BACnetConstructedDataC return nil } _BACnetConstructedDataCarLoadUnitsCopy := &_BACnetConstructedDataCarLoadUnits{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.Units.DeepCopy().(BACnetEngineeringUnitsTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarMode.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarMode.go index 9a86192d31..4b6cf42b18 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarMode.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarMode.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataCarMode) deepCopy() *_BACnetConstructedDataCarMod return nil } _BACnetConstructedDataCarModeCopy := &_BACnetConstructedDataCarMode{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.CarMode.DeepCopy().(BACnetLiftCarModeTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarMovingDirection.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarMovingDirection.go index 301896d9be..391b07b791 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarMovingDirection.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarMovingDirection.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataCarMovingDirection) deepCopy() *_BACnetConstructe return nil } _BACnetConstructedDataCarMovingDirectionCopy := &_BACnetConstructedDataCarMovingDirection{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.CarMovingDirection.DeepCopy().(BACnetLiftCarDirectionTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarPosition.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarPosition.go index f549bc8a08..57eb1dc726 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarPosition.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCarPosition.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataCarPosition) deepCopy() *_BACnetConstructedDataCa return nil } _BACnetConstructedDataCarPositionCopy := &_BACnetConstructedDataCarPosition{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.CarPosition.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChangeOfStateCount.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChangeOfStateCount.go index d340d6bd10..e4df829202 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChangeOfStateCount.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChangeOfStateCount.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataChangeOfStateCount) deepCopy() *_BACnetConstructe return nil } _BACnetConstructedDataChangeOfStateCountCopy := &_BACnetConstructedDataChangeOfStateCount{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.ChangeIfStateCount.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChangeOfStateTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChangeOfStateTime.go index 1e8551e26c..049ee16ca0 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChangeOfStateTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChangeOfStateTime.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataChangeOfStateTime) deepCopy() *_BACnetConstructed return nil } _BACnetConstructedDataChangeOfStateTimeCopy := &_BACnetConstructedDataChangeOfStateTime{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.ChangeOfStateTime.DeepCopy().(BACnetDateTime), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChangesPending.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChangesPending.go index 70dc3a0fa2..b69693bbb4 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChangesPending.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChangesPending.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataChangesPending) deepCopy() *_BACnetConstructedDat return nil } _BACnetConstructedDataChangesPendingCopy := &_BACnetConstructedDataChangesPending{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.ChangesPending.DeepCopy().(BACnetApplicationTagBoolean), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChannelAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChannelAll.go index 82dc40756f..ca8bf28554 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChannelAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChannelAll.go @@ -166,7 +166,7 @@ func (m *_BACnetConstructedDataChannelAll) deepCopy() *_BACnetConstructedDataCha return nil } _BACnetConstructedDataChannelAllCopy := &_BACnetConstructedDataChannelAll{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m return _BACnetConstructedDataChannelAllCopy diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChannelListOfObjectPropertyReferences.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChannelListOfObjectPropertyReferences.go index 55e8f8fd6e..dcdbef0576 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChannelListOfObjectPropertyReferences.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChannelListOfObjectPropertyReferences.go @@ -259,7 +259,7 @@ func (m *_BACnetConstructedDataChannelListOfObjectPropertyReferences) deepCopy() return nil } _BACnetConstructedDataChannelListOfObjectPropertyReferencesCopy := &_BACnetConstructedDataChannelListOfObjectPropertyReferences{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NumberOfDataElements.DeepCopy().(BACnetApplicationTagUnsignedInteger), utils.DeepCopySlice[BACnetDeviceObjectPropertyReference, BACnetDeviceObjectPropertyReference](m.References), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChannelNumber.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChannelNumber.go index c0554b39f2..739d9ee62a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChannelNumber.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChannelNumber.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataChannelNumber) deepCopy() *_BACnetConstructedData return nil } _BACnetConstructedDataChannelNumberCopy := &_BACnetConstructedDataChannelNumber{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.ChannelNumber.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChannelPresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChannelPresentValue.go index 5657c3ad1b..2a308c3937 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChannelPresentValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataChannelPresentValue.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataChannelPresentValue) deepCopy() *_BACnetConstruct return nil } _BACnetConstructedDataChannelPresentValueCopy := &_BACnetConstructedDataChannelPresentValue{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.PresentValue.DeepCopy().(BACnetChannelValue), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCharacterStringValueAlarmValues.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCharacterStringValueAlarmValues.go index baaca2472e..dd614d8d76 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCharacterStringValueAlarmValues.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCharacterStringValueAlarmValues.go @@ -259,7 +259,7 @@ func (m *_BACnetConstructedDataCharacterStringValueAlarmValues) deepCopy() *_BAC return nil } _BACnetConstructedDataCharacterStringValueAlarmValuesCopy := &_BACnetConstructedDataCharacterStringValueAlarmValues{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NumberOfDataElements.DeepCopy().(BACnetApplicationTagUnsignedInteger), utils.DeepCopySlice[BACnetOptionalCharacterString, BACnetOptionalCharacterString](m.AlarmValues), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCharacterStringValueFaultValues.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCharacterStringValueFaultValues.go index 243f0a51d1..96c74925b3 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCharacterStringValueFaultValues.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCharacterStringValueFaultValues.go @@ -259,7 +259,7 @@ func (m *_BACnetConstructedDataCharacterStringValueFaultValues) deepCopy() *_BAC return nil } _BACnetConstructedDataCharacterStringValueFaultValuesCopy := &_BACnetConstructedDataCharacterStringValueFaultValues{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NumberOfDataElements.DeepCopy().(BACnetApplicationTagUnsignedInteger), utils.DeepCopySlice[BACnetOptionalCharacterString, BACnetOptionalCharacterString](m.FaultValues), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCharacterStringValuePresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCharacterStringValuePresentValue.go index 176992bdf8..666ee6e0a4 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCharacterStringValuePresentValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCharacterStringValuePresentValue.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataCharacterStringValuePresentValue) deepCopy() *_BA return nil } _BACnetConstructedDataCharacterStringValuePresentValueCopy := &_BACnetConstructedDataCharacterStringValuePresentValue{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.PresentValue.DeepCopy().(BACnetApplicationTagCharacterString), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCharacterStringValueRelinquishDefault.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCharacterStringValueRelinquishDefault.go index 618ea949a1..016ee041b9 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCharacterStringValueRelinquishDefault.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCharacterStringValueRelinquishDefault.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataCharacterStringValueRelinquishDefault) deepCopy() return nil } _BACnetConstructedDataCharacterStringValueRelinquishDefaultCopy := &_BACnetConstructedDataCharacterStringValueRelinquishDefault{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.RelinquishDefault.DeepCopy().(BACnetApplicationTagCharacterString), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCharacterstringValueAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCharacterstringValueAll.go index d2d1bbbd82..c3a0358593 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCharacterstringValueAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCharacterstringValueAll.go @@ -167,7 +167,7 @@ func (m *_BACnetConstructedDataCharacterstringValueAll) deepCopy() *_BACnetConst return nil } _BACnetConstructedDataCharacterstringValueAllCopy := &_BACnetConstructedDataCharacterstringValueAll{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m return _BACnetConstructedDataCharacterstringValueAllCopy diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataClientCOVIncrement.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataClientCOVIncrement.go index 99f9f87aec..4c1b598841 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataClientCOVIncrement.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataClientCOVIncrement.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataClientCOVIncrement) deepCopy() *_BACnetConstructe return nil } _BACnetConstructedDataClientCOVIncrementCopy := &_BACnetConstructedDataClientCOVIncrement{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.CovIncrement.DeepCopy().(BACnetClientCOV), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCommand.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCommand.go index 8e9af504f1..cc1757386c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCommand.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCommand.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataCommand) deepCopy() *_BACnetConstructedDataComman return nil } _BACnetConstructedDataCommandCopy := &_BACnetConstructedDataCommand{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.Command.DeepCopy().(BACnetNetworkPortCommandTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCommandAction.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCommandAction.go index 533bf826b8..1fc7817a6c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCommandAction.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCommandAction.go @@ -258,7 +258,7 @@ func (m *_BACnetConstructedDataCommandAction) deepCopy() *_BACnetConstructedData return nil } _BACnetConstructedDataCommandActionCopy := &_BACnetConstructedDataCommandAction{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NumberOfDataElements.DeepCopy().(BACnetApplicationTagUnsignedInteger), utils.DeepCopySlice[BACnetActionList, BACnetActionList](m.ActionLists), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCommandAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCommandAll.go index 0b56371b13..04bb713697 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCommandAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCommandAll.go @@ -166,7 +166,7 @@ func (m *_BACnetConstructedDataCommandAll) deepCopy() *_BACnetConstructedDataCom return nil } _BACnetConstructedDataCommandAllCopy := &_BACnetConstructedDataCommandAll{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m return _BACnetConstructedDataCommandAllCopy diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCommandTimeArray.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCommandTimeArray.go index 2afb0e6040..d10f7383d1 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCommandTimeArray.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCommandTimeArray.go @@ -263,7 +263,7 @@ func (m *_BACnetConstructedDataCommandTimeArray) deepCopy() *_BACnetConstructedD return nil } _BACnetConstructedDataCommandTimeArrayCopy := &_BACnetConstructedDataCommandTimeArray{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NumberOfDataElements.DeepCopy().(BACnetApplicationTagUnsignedInteger), utils.DeepCopySlice[BACnetTimeStamp, BACnetTimeStamp](m.CommandTimeArray), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataConfigurationFiles.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataConfigurationFiles.go index fefa475bc8..0b012a70d6 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataConfigurationFiles.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataConfigurationFiles.go @@ -258,7 +258,7 @@ func (m *_BACnetConstructedDataConfigurationFiles) deepCopy() *_BACnetConstructe return nil } _BACnetConstructedDataConfigurationFilesCopy := &_BACnetConstructedDataConfigurationFiles{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NumberOfDataElements.DeepCopy().(BACnetApplicationTagUnsignedInteger), utils.DeepCopySlice[BACnetApplicationTagObjectIdentifier, BACnetApplicationTagObjectIdentifier](m.ConfigurationFiles), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataControlGroups.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataControlGroups.go index fd6d013412..9e89e9c4e6 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataControlGroups.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataControlGroups.go @@ -258,7 +258,7 @@ func (m *_BACnetConstructedDataControlGroups) deepCopy() *_BACnetConstructedData return nil } _BACnetConstructedDataControlGroupsCopy := &_BACnetConstructedDataControlGroups{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NumberOfDataElements.DeepCopy().(BACnetApplicationTagUnsignedInteger), utils.DeepCopySlice[BACnetApplicationTagUnsignedInteger, BACnetApplicationTagUnsignedInteger](m.ControlGroups), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataControlledVariableReference.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataControlledVariableReference.go index 150e5e6f40..e26eb43985 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataControlledVariableReference.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataControlledVariableReference.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataControlledVariableReference) deepCopy() *_BACnetC return nil } _BACnetConstructedDataControlledVariableReferenceCopy := &_BACnetConstructedDataControlledVariableReference{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.ControlledVariableReference.DeepCopy().(BACnetObjectPropertyReference), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataControlledVariableUnits.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataControlledVariableUnits.go index a999d77905..658ae7b38e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataControlledVariableUnits.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataControlledVariableUnits.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataControlledVariableUnits) deepCopy() *_BACnetConst return nil } _BACnetConstructedDataControlledVariableUnitsCopy := &_BACnetConstructedDataControlledVariableUnits{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.Units.DeepCopy().(BACnetEngineeringUnitsTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataControlledVariableValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataControlledVariableValue.go index 97774af15d..cbfcdc8a32 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataControlledVariableValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataControlledVariableValue.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataControlledVariableValue) deepCopy() *_BACnetConst return nil } _BACnetConstructedDataControlledVariableValueCopy := &_BACnetConstructedDataControlledVariableValue{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.ControlledVariableValue.DeepCopy().(BACnetApplicationTagReal), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCount.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCount.go index ebdf2e0b7b..dbfaeb2bf9 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCount.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCount.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataCount) deepCopy() *_BACnetConstructedDataCount { return nil } _BACnetConstructedDataCountCopy := &_BACnetConstructedDataCount{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.Count.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCountBeforeChange.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCountBeforeChange.go index e61725c2c6..c28e404ad4 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCountBeforeChange.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCountBeforeChange.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataCountBeforeChange) deepCopy() *_BACnetConstructed return nil } _BACnetConstructedDataCountBeforeChangeCopy := &_BACnetConstructedDataCountBeforeChange{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.CountBeforeChange.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCountChangeTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCountChangeTime.go index c4593fcbf7..89ed125a71 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCountChangeTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCountChangeTime.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataCountChangeTime) deepCopy() *_BACnetConstructedDa return nil } _BACnetConstructedDataCountChangeTimeCopy := &_BACnetConstructedDataCountChangeTime{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.CountChangeTime.DeepCopy().(BACnetDateTime), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentialDataInputAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentialDataInputAll.go index 063611949d..ffef70cee1 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentialDataInputAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentialDataInputAll.go @@ -167,7 +167,7 @@ func (m *_BACnetConstructedDataCredentialDataInputAll) deepCopy() *_BACnetConstr return nil } _BACnetConstructedDataCredentialDataInputAllCopy := &_BACnetConstructedDataCredentialDataInputAll{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m return _BACnetConstructedDataCredentialDataInputAllCopy diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentialDataInputPresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentialDataInputPresentValue.go index fb203af77d..a387bb52f3 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentialDataInputPresentValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentialDataInputPresentValue.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataCredentialDataInputPresentValue) deepCopy() *_BAC return nil } _BACnetConstructedDataCredentialDataInputPresentValueCopy := &_BACnetConstructedDataCredentialDataInputPresentValue{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.PresentValue.DeepCopy().(BACnetAuthenticationFactor), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentialDataInputUpdateTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentialDataInputUpdateTime.go index e71953680d..00245382ad 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentialDataInputUpdateTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentialDataInputUpdateTime.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataCredentialDataInputUpdateTime) deepCopy() *_BACne return nil } _BACnetConstructedDataCredentialDataInputUpdateTimeCopy := &_BACnetConstructedDataCredentialDataInputUpdateTime{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.UpdateTime.DeepCopy().(BACnetTimeStamp), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentialDisable.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentialDisable.go index e17fe90363..039cbf2ae9 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentialDisable.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentialDisable.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataCredentialDisable) deepCopy() *_BACnetConstructed return nil } _BACnetConstructedDataCredentialDisableCopy := &_BACnetConstructedDataCredentialDisable{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.CredentialDisable.DeepCopy().(BACnetAccessCredentialDisableTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentialStatus.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentialStatus.go index c72312d5cd..a67780ace6 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentialStatus.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentialStatus.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataCredentialStatus) deepCopy() *_BACnetConstructedD return nil } _BACnetConstructedDataCredentialStatusCopy := &_BACnetConstructedDataCredentialStatus{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.BinaryPv.DeepCopy().(BACnetBinaryPVTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentials.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentials.go index 1d416b8800..be0dfac087 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentials.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentials.go @@ -198,7 +198,7 @@ func (m *_BACnetConstructedDataCredentials) deepCopy() *_BACnetConstructedDataCr return nil } _BACnetConstructedDataCredentialsCopy := &_BACnetConstructedDataCredentials{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), utils.DeepCopySlice[BACnetDeviceObjectReference, BACnetDeviceObjectReference](m.Credentials), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentialsInZone.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentialsInZone.go index 37b957d67a..2697c5f725 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentialsInZone.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCredentialsInZone.go @@ -198,7 +198,7 @@ func (m *_BACnetConstructedDataCredentialsInZone) deepCopy() *_BACnetConstructed return nil } _BACnetConstructedDataCredentialsInZoneCopy := &_BACnetConstructedDataCredentialsInZone{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), utils.DeepCopySlice[BACnetDeviceObjectReference, BACnetDeviceObjectReference](m.CredentialsInZone), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCurrentCommandPriority.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCurrentCommandPriority.go index 4de308b40d..4c9a0c0746 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCurrentCommandPriority.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataCurrentCommandPriority.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataCurrentCommandPriority) deepCopy() *_BACnetConstr return nil } _BACnetConstructedDataCurrentCommandPriorityCopy := &_BACnetConstructedDataCurrentCommandPriority{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.CurrentCommandPriority.DeepCopy().(BACnetOptionalUnsigned), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDatabaseRevision.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDatabaseRevision.go index cbc069dbe9..ce376a1251 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDatabaseRevision.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDatabaseRevision.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataDatabaseRevision) deepCopy() *_BACnetConstructedD return nil } _BACnetConstructedDataDatabaseRevisionCopy := &_BACnetConstructedDataDatabaseRevision{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.DatabaseRevision.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateList.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateList.go index 48e76b2b10..40908c7eeb 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateList.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateList.go @@ -198,7 +198,7 @@ func (m *_BACnetConstructedDataDateList) deepCopy() *_BACnetConstructedDataDateL return nil } _BACnetConstructedDataDateListCopy := &_BACnetConstructedDataDateList{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), utils.DeepCopySlice[BACnetCalendarEntry, BACnetCalendarEntry](m.DateList), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDatePatternValuePresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDatePatternValuePresentValue.go index 2d8ac81454..dce204bab5 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDatePatternValuePresentValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDatePatternValuePresentValue.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataDatePatternValuePresentValue) deepCopy() *_BACnet return nil } _BACnetConstructedDataDatePatternValuePresentValueCopy := &_BACnetConstructedDataDatePatternValuePresentValue{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.PresentValue.DeepCopy().(BACnetApplicationTagDate), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDatePatternValueRelinquishDefault.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDatePatternValueRelinquishDefault.go index 92e15ebc7f..43fd64651b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDatePatternValueRelinquishDefault.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDatePatternValueRelinquishDefault.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataDatePatternValueRelinquishDefault) deepCopy() *_B return nil } _BACnetConstructedDataDatePatternValueRelinquishDefaultCopy := &_BACnetConstructedDataDatePatternValueRelinquishDefault{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.RelinquishDefault.DeepCopy().(BACnetApplicationTagDate), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateTimePatternValuePresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateTimePatternValuePresentValue.go index cf65643550..3444d017f0 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateTimePatternValuePresentValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateTimePatternValuePresentValue.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataDateTimePatternValuePresentValue) deepCopy() *_BA return nil } _BACnetConstructedDataDateTimePatternValuePresentValueCopy := &_BACnetConstructedDataDateTimePatternValuePresentValue{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.PresentValue.DeepCopy().(BACnetDateTime), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateTimePatternValueRelinquishDefault.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateTimePatternValueRelinquishDefault.go index 194bf6a220..254f2d3e36 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateTimePatternValueRelinquishDefault.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateTimePatternValueRelinquishDefault.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataDateTimePatternValueRelinquishDefault) deepCopy() return nil } _BACnetConstructedDataDateTimePatternValueRelinquishDefaultCopy := &_BACnetConstructedDataDateTimePatternValueRelinquishDefault{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.RelinquishDefault.DeepCopy().(BACnetDateTime), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateTimeValuePresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateTimeValuePresentValue.go index 2b572fbcd1..336b7f893b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateTimeValuePresentValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateTimeValuePresentValue.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataDateTimeValuePresentValue) deepCopy() *_BACnetCon return nil } _BACnetConstructedDataDateTimeValuePresentValueCopy := &_BACnetConstructedDataDateTimeValuePresentValue{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.PresentValue.DeepCopy().(BACnetDateTime), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateTimeValueRelinquishDefault.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateTimeValueRelinquishDefault.go index c373bcf27e..f0328f12ba 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateTimeValueRelinquishDefault.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateTimeValueRelinquishDefault.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataDateTimeValueRelinquishDefault) deepCopy() *_BACn return nil } _BACnetConstructedDataDateTimeValueRelinquishDefaultCopy := &_BACnetConstructedDataDateTimeValueRelinquishDefault{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.RelinquishDefault.DeepCopy().(BACnetDateTime), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateValueAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateValueAll.go index 73af016a30..5b9e315cb8 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateValueAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateValueAll.go @@ -166,7 +166,7 @@ func (m *_BACnetConstructedDataDateValueAll) deepCopy() *_BACnetConstructedDataD return nil } _BACnetConstructedDataDateValueAllCopy := &_BACnetConstructedDataDateValueAll{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m return _BACnetConstructedDataDateValueAllCopy diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateValuePresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateValuePresentValue.go index 41cac8cb5e..6f066da5c4 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateValuePresentValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateValuePresentValue.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataDateValuePresentValue) deepCopy() *_BACnetConstru return nil } _BACnetConstructedDataDateValuePresentValueCopy := &_BACnetConstructedDataDateValuePresentValue{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.PresentValue.DeepCopy().(BACnetApplicationTagDate), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateValueRelinquishDefault.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateValueRelinquishDefault.go index 0b9ee89185..3d3a2a9087 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateValueRelinquishDefault.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDateValueRelinquishDefault.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataDateValueRelinquishDefault) deepCopy() *_BACnetCo return nil } _BACnetConstructedDataDateValueRelinquishDefaultCopy := &_BACnetConstructedDataDateValueRelinquishDefault{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.RelinquishDefault.DeepCopy().(BACnetApplicationTagDate), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDatepatternValueAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDatepatternValueAll.go index 5ae44591cc..1b2ffdb931 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDatepatternValueAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDatepatternValueAll.go @@ -166,7 +166,7 @@ func (m *_BACnetConstructedDataDatepatternValueAll) deepCopy() *_BACnetConstruct return nil } _BACnetConstructedDataDatepatternValueAllCopy := &_BACnetConstructedDataDatepatternValueAll{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m return _BACnetConstructedDataDatepatternValueAllCopy diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDatetimeValueAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDatetimeValueAll.go index 9a507bece7..4416fc58d9 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDatetimeValueAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDatetimeValueAll.go @@ -166,7 +166,7 @@ func (m *_BACnetConstructedDataDatetimeValueAll) deepCopy() *_BACnetConstructedD return nil } _BACnetConstructedDataDatetimeValueAllCopy := &_BACnetConstructedDataDatetimeValueAll{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m return _BACnetConstructedDataDatetimeValueAllCopy diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDatetimepatternValueAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDatetimepatternValueAll.go index 1ba6f0313a..90ebdee046 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDatetimepatternValueAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDatetimepatternValueAll.go @@ -167,7 +167,7 @@ func (m *_BACnetConstructedDataDatetimepatternValueAll) deepCopy() *_BACnetConst return nil } _BACnetConstructedDataDatetimepatternValueAllCopy := &_BACnetConstructedDataDatetimepatternValueAll{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m return _BACnetConstructedDataDatetimepatternValueAllCopy diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDaylightSavingsStatus.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDaylightSavingsStatus.go index 72ee5f2f9b..13a1cf24fc 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDaylightSavingsStatus.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDaylightSavingsStatus.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataDaylightSavingsStatus) deepCopy() *_BACnetConstru return nil } _BACnetConstructedDataDaylightSavingsStatusCopy := &_BACnetConstructedDataDaylightSavingsStatus{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.DaylightSavingsStatus.DeepCopy().(BACnetApplicationTagBoolean), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDaysRemaining.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDaysRemaining.go index 4cc71c4da4..767df06dfb 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDaysRemaining.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDaysRemaining.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataDaysRemaining) deepCopy() *_BACnetConstructedData return nil } _BACnetConstructedDataDaysRemainingCopy := &_BACnetConstructedDataDaysRemaining{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.DaysRemaining.DeepCopy().(BACnetApplicationTagSignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeadband.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeadband.go index a867932e0f..6d041b0973 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeadband.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeadband.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataDeadband) deepCopy() *_BACnetConstructedDataDeadb return nil } _BACnetConstructedDataDeadbandCopy := &_BACnetConstructedDataDeadband{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.Deadband.DeepCopy().(BACnetApplicationTagReal), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDefaultFadeTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDefaultFadeTime.go index 05a63e2226..15e521d344 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDefaultFadeTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDefaultFadeTime.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataDefaultFadeTime) deepCopy() *_BACnetConstructedDa return nil } _BACnetConstructedDataDefaultFadeTimeCopy := &_BACnetConstructedDataDefaultFadeTime{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.DefaultFadeTime.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDefaultRampRate.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDefaultRampRate.go index 33450e9ea9..19ef6610a0 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDefaultRampRate.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDefaultRampRate.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataDefaultRampRate) deepCopy() *_BACnetConstructedDa return nil } _BACnetConstructedDataDefaultRampRateCopy := &_BACnetConstructedDataDefaultRampRate{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.DefaultRampRate.DeepCopy().(BACnetApplicationTagReal), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDefaultStepIncrement.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDefaultStepIncrement.go index 9cbb9ed758..75c72d0c29 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDefaultStepIncrement.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDefaultStepIncrement.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataDefaultStepIncrement) deepCopy() *_BACnetConstruc return nil } _BACnetConstructedDataDefaultStepIncrementCopy := &_BACnetConstructedDataDefaultStepIncrement{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.DefaultStepIncrement.DeepCopy().(BACnetApplicationTagReal), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDefaultSubordinateRelationship.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDefaultSubordinateRelationship.go index 29eb5c96d4..3675a4d83d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDefaultSubordinateRelationship.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDefaultSubordinateRelationship.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataDefaultSubordinateRelationship) deepCopy() *_BACn return nil } _BACnetConstructedDataDefaultSubordinateRelationshipCopy := &_BACnetConstructedDataDefaultSubordinateRelationship{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.DefaultSubordinateRelationship.DeepCopy().(BACnetRelationshipTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDefaultTimeout.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDefaultTimeout.go index c970d03730..c79d7b0a42 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDefaultTimeout.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDefaultTimeout.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataDefaultTimeout) deepCopy() *_BACnetConstructedDat return nil } _BACnetConstructedDataDefaultTimeoutCopy := &_BACnetConstructedDataDefaultTimeout{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.DefaultTimeout.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeployedProfileLocation.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeployedProfileLocation.go index 195fbe0e22..6ac5b79ab6 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeployedProfileLocation.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeployedProfileLocation.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataDeployedProfileLocation) deepCopy() *_BACnetConst return nil } _BACnetConstructedDataDeployedProfileLocationCopy := &_BACnetConstructedDataDeployedProfileLocation{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.DeployedProfileLocation.DeepCopy().(BACnetApplicationTagCharacterString), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDerivativeConstant.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDerivativeConstant.go index ca2f19202e..9c03104f9f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDerivativeConstant.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDerivativeConstant.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataDerivativeConstant) deepCopy() *_BACnetConstructe return nil } _BACnetConstructedDataDerivativeConstantCopy := &_BACnetConstructedDataDerivativeConstant{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.DerivativeConstant.DeepCopy().(BACnetApplicationTagReal), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDerivativeConstantUnits.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDerivativeConstantUnits.go index 9115098811..e27ee2d657 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDerivativeConstantUnits.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDerivativeConstantUnits.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataDerivativeConstantUnits) deepCopy() *_BACnetConst return nil } _BACnetConstructedDataDerivativeConstantUnitsCopy := &_BACnetConstructedDataDerivativeConstantUnits{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.Units.DeepCopy().(BACnetEngineeringUnitsTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDescription.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDescription.go index 889a868c1d..45160a1cdc 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDescription.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDescription.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataDescription) deepCopy() *_BACnetConstructedDataDe return nil } _BACnetConstructedDataDescriptionCopy := &_BACnetConstructedDataDescription{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.Description.DeepCopy().(BACnetApplicationTagCharacterString), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDescriptionOfHalt.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDescriptionOfHalt.go index fd12a46a67..288304db56 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDescriptionOfHalt.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDescriptionOfHalt.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataDescriptionOfHalt) deepCopy() *_BACnetConstructed return nil } _BACnetConstructedDataDescriptionOfHaltCopy := &_BACnetConstructedDataDescriptionOfHalt{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.DescriptionForHalt.DeepCopy().(BACnetApplicationTagCharacterString), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeviceAddressBinding.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeviceAddressBinding.go index efb0051786..8bd8a7c8ed 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeviceAddressBinding.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeviceAddressBinding.go @@ -198,7 +198,7 @@ func (m *_BACnetConstructedDataDeviceAddressBinding) deepCopy() *_BACnetConstruc return nil } _BACnetConstructedDataDeviceAddressBindingCopy := &_BACnetConstructedDataDeviceAddressBinding{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), utils.DeepCopySlice[BACnetAddressBinding, BACnetAddressBinding](m.DeviceAddressBinding), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeviceAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeviceAll.go index 8cea1f27be..913b2b281c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeviceAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeviceAll.go @@ -166,7 +166,7 @@ func (m *_BACnetConstructedDataDeviceAll) deepCopy() *_BACnetConstructedDataDevi return nil } _BACnetConstructedDataDeviceAllCopy := &_BACnetConstructedDataDeviceAll{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m return _BACnetConstructedDataDeviceAllCopy diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeviceMaxInfoFrames.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeviceMaxInfoFrames.go index 6740c6e33f..2cc5179454 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeviceMaxInfoFrames.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeviceMaxInfoFrames.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataDeviceMaxInfoFrames) deepCopy() *_BACnetConstruct return nil } _BACnetConstructedDataDeviceMaxInfoFramesCopy := &_BACnetConstructedDataDeviceMaxInfoFrames{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.MaxInfoFrames.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeviceMaxMaster.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeviceMaxMaster.go index c52ee75c58..1a96a897d2 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeviceMaxMaster.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeviceMaxMaster.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataDeviceMaxMaster) deepCopy() *_BACnetConstructedDa return nil } _BACnetConstructedDataDeviceMaxMasterCopy := &_BACnetConstructedDataDeviceMaxMaster{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.MaxMaster.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeviceType.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeviceType.go index 769e7b5652..fe53553b51 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeviceType.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDeviceType.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataDeviceType) deepCopy() *_BACnetConstructedDataDev return nil } _BACnetConstructedDataDeviceTypeCopy := &_BACnetConstructedDataDeviceType{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.DeviceType.DeepCopy().(BACnetApplicationTagCharacterString), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDirectReading.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDirectReading.go index ec75f21f05..a05e3198d7 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDirectReading.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDirectReading.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataDirectReading) deepCopy() *_BACnetConstructedData return nil } _BACnetConstructedDataDirectReadingCopy := &_BACnetConstructedDataDirectReading{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.DirectReading.DeepCopy().(BACnetApplicationTagReal), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDistributionKeyRevision.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDistributionKeyRevision.go index 1f9a887f28..84d9baa5a6 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDistributionKeyRevision.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDistributionKeyRevision.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataDistributionKeyRevision) deepCopy() *_BACnetConst return nil } _BACnetConstructedDataDistributionKeyRevisionCopy := &_BACnetConstructedDataDistributionKeyRevision{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.DistributionKeyRevision.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDoNotHide.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDoNotHide.go index fadc44446a..29c5848fce 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDoNotHide.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDoNotHide.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataDoNotHide) deepCopy() *_BACnetConstructedDataDoNo return nil } _BACnetConstructedDataDoNotHideCopy := &_BACnetConstructedDataDoNotHide{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.DoNotHide.DeepCopy().(BACnetApplicationTagBoolean), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDoorAlarmState.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDoorAlarmState.go index b1c31608f2..511581ca5a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDoorAlarmState.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDoorAlarmState.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataDoorAlarmState) deepCopy() *_BACnetConstructedDat return nil } _BACnetConstructedDataDoorAlarmStateCopy := &_BACnetConstructedDataDoorAlarmState{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.DoorAlarmState.DeepCopy().(BACnetDoorAlarmStateTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDoorExtendedPulseTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDoorExtendedPulseTime.go index 8a40790137..3840f7dd47 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDoorExtendedPulseTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDoorExtendedPulseTime.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataDoorExtendedPulseTime) deepCopy() *_BACnetConstru return nil } _BACnetConstructedDataDoorExtendedPulseTimeCopy := &_BACnetConstructedDataDoorExtendedPulseTime{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.DoorExtendedPulseTime.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDoorMembers.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDoorMembers.go index 66e731ae1d..44117e5d9b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDoorMembers.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDoorMembers.go @@ -258,7 +258,7 @@ func (m *_BACnetConstructedDataDoorMembers) deepCopy() *_BACnetConstructedDataDo return nil } _BACnetConstructedDataDoorMembersCopy := &_BACnetConstructedDataDoorMembers{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NumberOfDataElements.DeepCopy().(BACnetApplicationTagUnsignedInteger), utils.DeepCopySlice[BACnetDeviceObjectReference, BACnetDeviceObjectReference](m.DoorMembers), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDoorOpenTooLongTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDoorOpenTooLongTime.go index 923e109c86..3bb98bd32b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDoorOpenTooLongTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDoorOpenTooLongTime.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataDoorOpenTooLongTime) deepCopy() *_BACnetConstruct return nil } _BACnetConstructedDataDoorOpenTooLongTimeCopy := &_BACnetConstructedDataDoorOpenTooLongTime{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.DoorOpenTooLongTime.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDoorPulseTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDoorPulseTime.go index ac951cad7c..5021cb3bc7 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDoorPulseTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDoorPulseTime.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataDoorPulseTime) deepCopy() *_BACnetConstructedData return nil } _BACnetConstructedDataDoorPulseTimeCopy := &_BACnetConstructedDataDoorPulseTime{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.DoorPulseTime.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDoorStatus.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDoorStatus.go index 213cd1c086..20bff22334 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDoorStatus.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDoorStatus.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataDoorStatus) deepCopy() *_BACnetConstructedDataDoo return nil } _BACnetConstructedDataDoorStatusCopy := &_BACnetConstructedDataDoorStatus{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.DoorStatus.DeepCopy().(BACnetDoorStatusTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDoorUnlockDelayTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDoorUnlockDelayTime.go index 4958a2e003..dd69dc925a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDoorUnlockDelayTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDoorUnlockDelayTime.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataDoorUnlockDelayTime) deepCopy() *_BACnetConstruct return nil } _BACnetConstructedDataDoorUnlockDelayTimeCopy := &_BACnetConstructedDataDoorUnlockDelayTime{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.DoorUnlockDelayTime.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDutyWindow.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDutyWindow.go index 07a55634b5..291f590816 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDutyWindow.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataDutyWindow.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataDutyWindow) deepCopy() *_BACnetConstructedDataDut return nil } _BACnetConstructedDataDutyWindowCopy := &_BACnetConstructedDataDutyWindow{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.DutyWindow.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEffectivePeriod.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEffectivePeriod.go index a1ce72f528..13a0275718 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEffectivePeriod.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEffectivePeriod.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataEffectivePeriod) deepCopy() *_BACnetConstructedDa return nil } _BACnetConstructedDataEffectivePeriodCopy := &_BACnetConstructedDataEffectivePeriod{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.DateRange.DeepCopy().(BACnetDateRange), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEgressActive.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEgressActive.go index d9d0e49887..0cc84b664c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEgressActive.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEgressActive.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataEgressActive) deepCopy() *_BACnetConstructedDataE return nil } _BACnetConstructedDataEgressActiveCopy := &_BACnetConstructedDataEgressActive{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.EgressActive.DeepCopy().(BACnetApplicationTagBoolean), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEgressTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEgressTime.go index acf3834304..bd204ed786 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEgressTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEgressTime.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataEgressTime) deepCopy() *_BACnetConstructedDataEgr return nil } _BACnetConstructedDataEgressTimeCopy := &_BACnetConstructedDataEgressTime{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.EgressTime.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataElapsedActiveTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataElapsedActiveTime.go index 9fbdb59641..c158812dbe 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataElapsedActiveTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataElapsedActiveTime.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataElapsedActiveTime) deepCopy() *_BACnetConstructed return nil } _BACnetConstructedDataElapsedActiveTimeCopy := &_BACnetConstructedDataElapsedActiveTime{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.ElapsedActiveTime.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataElevatorGroup.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataElevatorGroup.go index f6d6d7dad8..30221c065e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataElevatorGroup.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataElevatorGroup.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataElevatorGroup) deepCopy() *_BACnetConstructedData return nil } _BACnetConstructedDataElevatorGroupCopy := &_BACnetConstructedDataElevatorGroup{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.ElevatorGroup.DeepCopy().(BACnetApplicationTagObjectIdentifier), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataElevatorGroupAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataElevatorGroupAll.go index fc8d63bf6f..2fc3803ae2 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataElevatorGroupAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataElevatorGroupAll.go @@ -166,7 +166,7 @@ func (m *_BACnetConstructedDataElevatorGroupAll) deepCopy() *_BACnetConstructedD return nil } _BACnetConstructedDataElevatorGroupAllCopy := &_BACnetConstructedDataElevatorGroupAll{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m return _BACnetConstructedDataElevatorGroupAllCopy diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataElevatorGroupGroupMembers.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataElevatorGroupGroupMembers.go index 7d7f18009e..1153f82149 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataElevatorGroupGroupMembers.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataElevatorGroupGroupMembers.go @@ -259,7 +259,7 @@ func (m *_BACnetConstructedDataElevatorGroupGroupMembers) deepCopy() *_BACnetCon return nil } _BACnetConstructedDataElevatorGroupGroupMembersCopy := &_BACnetConstructedDataElevatorGroupGroupMembers{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NumberOfDataElements.DeepCopy().(BACnetApplicationTagUnsignedInteger), utils.DeepCopySlice[BACnetApplicationTagObjectIdentifier, BACnetApplicationTagObjectIdentifier](m.GroupMembers), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEnable.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEnable.go index bd9096dec7..073d075c13 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEnable.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEnable.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataEnable) deepCopy() *_BACnetConstructedDataEnable return nil } _BACnetConstructedDataEnableCopy := &_BACnetConstructedDataEnable{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.Enable.DeepCopy().(BACnetApplicationTagBoolean), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEnergyMeter.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEnergyMeter.go index d4912dc08e..cab8875ebd 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEnergyMeter.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEnergyMeter.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataEnergyMeter) deepCopy() *_BACnetConstructedDataEn return nil } _BACnetConstructedDataEnergyMeterCopy := &_BACnetConstructedDataEnergyMeter{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.EnergyMeter.DeepCopy().(BACnetApplicationTagReal), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEnergyMeterRef.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEnergyMeterRef.go index b7e3068c14..e859d34e0a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEnergyMeterRef.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEnergyMeterRef.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataEnergyMeterRef) deepCopy() *_BACnetConstructedDat return nil } _BACnetConstructedDataEnergyMeterRefCopy := &_BACnetConstructedDataEnergyMeterRef{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.EnergyMeterRef.DeepCopy().(BACnetDeviceObjectReference), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEntryPoints.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEntryPoints.go index a39592b81d..16d24b8415 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEntryPoints.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEntryPoints.go @@ -198,7 +198,7 @@ func (m *_BACnetConstructedDataEntryPoints) deepCopy() *_BACnetConstructedDataEn return nil } _BACnetConstructedDataEntryPointsCopy := &_BACnetConstructedDataEntryPoints{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), utils.DeepCopySlice[BACnetDeviceObjectReference, BACnetDeviceObjectReference](m.EntryPoints), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataErrorLimit.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataErrorLimit.go index 284fd9e7db..8da2d718d7 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataErrorLimit.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataErrorLimit.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataErrorLimit) deepCopy() *_BACnetConstructedDataErr return nil } _BACnetConstructedDataErrorLimitCopy := &_BACnetConstructedDataErrorLimit{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.ErrorLimit.DeepCopy().(BACnetApplicationTagReal), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEscalatorAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEscalatorAll.go index 7ec894d42e..79bd694d03 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEscalatorAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEscalatorAll.go @@ -166,7 +166,7 @@ func (m *_BACnetConstructedDataEscalatorAll) deepCopy() *_BACnetConstructedDataE return nil } _BACnetConstructedDataEscalatorAllCopy := &_BACnetConstructedDataEscalatorAll{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m return _BACnetConstructedDataEscalatorAllCopy diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEscalatorFaultSignals.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEscalatorFaultSignals.go index bfc07b70b1..3caa39f07e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEscalatorFaultSignals.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEscalatorFaultSignals.go @@ -199,7 +199,7 @@ func (m *_BACnetConstructedDataEscalatorFaultSignals) deepCopy() *_BACnetConstru return nil } _BACnetConstructedDataEscalatorFaultSignalsCopy := &_BACnetConstructedDataEscalatorFaultSignals{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), utils.DeepCopySlice[BACnetEscalatorFaultTagged, BACnetEscalatorFaultTagged](m.FaultSignals), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEscalatorMode.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEscalatorMode.go index b6884dcf87..f154b563b7 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEscalatorMode.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEscalatorMode.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataEscalatorMode) deepCopy() *_BACnetConstructedData return nil } _BACnetConstructedDataEscalatorModeCopy := &_BACnetConstructedDataEscalatorMode{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.EscalatorMode.DeepCopy().(BACnetEscalatorModeTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventAlgorithmInhibit.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventAlgorithmInhibit.go index 301b67c294..6b17cfe288 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventAlgorithmInhibit.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventAlgorithmInhibit.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataEventAlgorithmInhibit) deepCopy() *_BACnetConstru return nil } _BACnetConstructedDataEventAlgorithmInhibitCopy := &_BACnetConstructedDataEventAlgorithmInhibit{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.EventAlgorithmInhibit.DeepCopy().(BACnetApplicationTagBoolean), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventAlgorithmInhibitRef.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventAlgorithmInhibitRef.go index d3d94a1e44..7902478232 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventAlgorithmInhibitRef.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventAlgorithmInhibitRef.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataEventAlgorithmInhibitRef) deepCopy() *_BACnetCons return nil } _BACnetConstructedDataEventAlgorithmInhibitRefCopy := &_BACnetConstructedDataEventAlgorithmInhibitRef{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.EventAlgorithmInhibitRef.DeepCopy().(BACnetObjectPropertyReference), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventDetectionEnable.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventDetectionEnable.go index 70b29f5637..6d0b725e36 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventDetectionEnable.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventDetectionEnable.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataEventDetectionEnable) deepCopy() *_BACnetConstruc return nil } _BACnetConstructedDataEventDetectionEnableCopy := &_BACnetConstructedDataEventDetectionEnable{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.EventDetectionEnable.DeepCopy().(BACnetApplicationTagBoolean), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventEnable.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventEnable.go index 2fdae173d5..998a4952a3 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventEnable.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventEnable.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataEventEnable) deepCopy() *_BACnetConstructedDataEv return nil } _BACnetConstructedDataEventEnableCopy := &_BACnetConstructedDataEventEnable{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.EventEnable.DeepCopy().(BACnetEventTransitionBitsTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventEnrollmentAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventEnrollmentAll.go index 72c95de6bd..5689d12fa6 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventEnrollmentAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventEnrollmentAll.go @@ -166,7 +166,7 @@ func (m *_BACnetConstructedDataEventEnrollmentAll) deepCopy() *_BACnetConstructe return nil } _BACnetConstructedDataEventEnrollmentAllCopy := &_BACnetConstructedDataEventEnrollmentAll{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m return _BACnetConstructedDataEventEnrollmentAllCopy diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventLogAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventLogAll.go index d9252cd001..65d4541731 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventLogAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventLogAll.go @@ -166,7 +166,7 @@ func (m *_BACnetConstructedDataEventLogAll) deepCopy() *_BACnetConstructedDataEv return nil } _BACnetConstructedDataEventLogAllCopy := &_BACnetConstructedDataEventLogAll{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m return _BACnetConstructedDataEventLogAllCopy diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventLogLogBuffer.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventLogLogBuffer.go index 8b7543be50..7bd7878e11 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventLogLogBuffer.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventLogLogBuffer.go @@ -198,7 +198,7 @@ func (m *_BACnetConstructedDataEventLogLogBuffer) deepCopy() *_BACnetConstructed return nil } _BACnetConstructedDataEventLogLogBufferCopy := &_BACnetConstructedDataEventLogLogBuffer{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), utils.DeepCopySlice[BACnetEventLogRecord, BACnetEventLogRecord](m.FloorText), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventMessageTexts.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventMessageTexts.go index 64a04a0970..e0b3563ded 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventMessageTexts.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventMessageTexts.go @@ -335,7 +335,7 @@ func (m *_BACnetConstructedDataEventMessageTexts) deepCopy() *_BACnetConstructed return nil } _BACnetConstructedDataEventMessageTextsCopy := &_BACnetConstructedDataEventMessageTexts{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NumberOfDataElements.DeepCopy().(BACnetApplicationTagUnsignedInteger), utils.DeepCopySlice[BACnetOptionalCharacterString, BACnetOptionalCharacterString](m.EventMessageTexts), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventMessageTextsConfig.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventMessageTextsConfig.go index 654794b4b6..79a45772bc 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventMessageTextsConfig.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventMessageTextsConfig.go @@ -336,7 +336,7 @@ func (m *_BACnetConstructedDataEventMessageTextsConfig) deepCopy() *_BACnetConst return nil } _BACnetConstructedDataEventMessageTextsConfigCopy := &_BACnetConstructedDataEventMessageTextsConfig{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NumberOfDataElements.DeepCopy().(BACnetApplicationTagUnsignedInteger), utils.DeepCopySlice[BACnetOptionalCharacterString, BACnetOptionalCharacterString](m.EventMessageTextsConfig), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventParameters.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventParameters.go index f94bec4ec5..60aaf61dfa 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventParameters.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventParameters.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataEventParameters) deepCopy() *_BACnetConstructedDa return nil } _BACnetConstructedDataEventParametersCopy := &_BACnetConstructedDataEventParameters{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.EventParameter.DeepCopy().(BACnetEventParameter), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventState.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventState.go index eaedb0985c..df77a331b9 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventState.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventState.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataEventState) deepCopy() *_BACnetConstructedDataEve return nil } _BACnetConstructedDataEventStateCopy := &_BACnetConstructedDataEventState{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.EventState.DeepCopy().(BACnetEventStateTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventTimeStamps.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventTimeStamps.go index e7c0013b58..b72da1f928 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventTimeStamps.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventTimeStamps.go @@ -335,7 +335,7 @@ func (m *_BACnetConstructedDataEventTimeStamps) deepCopy() *_BACnetConstructedDa return nil } _BACnetConstructedDataEventTimeStampsCopy := &_BACnetConstructedDataEventTimeStamps{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NumberOfDataElements.DeepCopy().(BACnetApplicationTagUnsignedInteger), utils.DeepCopySlice[BACnetTimeStamp, BACnetTimeStamp](m.EventTimeStamps), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventType.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventType.go index 0245173a0c..4bd1de3752 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventType.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataEventType.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataEventType) deepCopy() *_BACnetConstructedDataEven return nil } _BACnetConstructedDataEventTypeCopy := &_BACnetConstructedDataEventType{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.EventType.DeepCopy().(BACnetEventTypeTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataExceptionSchedule.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataExceptionSchedule.go index 9d392b8a6a..e41f66b51f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataExceptionSchedule.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataExceptionSchedule.go @@ -258,7 +258,7 @@ func (m *_BACnetConstructedDataExceptionSchedule) deepCopy() *_BACnetConstructed return nil } _BACnetConstructedDataExceptionScheduleCopy := &_BACnetConstructedDataExceptionSchedule{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NumberOfDataElements.DeepCopy().(BACnetApplicationTagUnsignedInteger), utils.DeepCopySlice[BACnetSpecialEvent, BACnetSpecialEvent](m.ExceptionSchedule), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataExecutionDelay.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataExecutionDelay.go index 96a9bc0c17..3f9a7c56fc 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataExecutionDelay.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataExecutionDelay.go @@ -258,7 +258,7 @@ func (m *_BACnetConstructedDataExecutionDelay) deepCopy() *_BACnetConstructedDat return nil } _BACnetConstructedDataExecutionDelayCopy := &_BACnetConstructedDataExecutionDelay{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NumberOfDataElements.DeepCopy().(BACnetApplicationTagUnsignedInteger), utils.DeepCopySlice[BACnetApplicationTagUnsignedInteger, BACnetApplicationTagUnsignedInteger](m.ExecutionDelay), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataExitPoints.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataExitPoints.go index 6fdf24b2e2..d16a116242 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataExitPoints.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataExitPoints.go @@ -198,7 +198,7 @@ func (m *_BACnetConstructedDataExitPoints) deepCopy() *_BACnetConstructedDataExi return nil } _BACnetConstructedDataExitPointsCopy := &_BACnetConstructedDataExitPoints{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), utils.DeepCopySlice[BACnetDeviceObjectReference, BACnetDeviceObjectReference](m.ExitPoints), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataExpectedShedLevel.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataExpectedShedLevel.go index 6c07202e05..caaa01c1d5 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataExpectedShedLevel.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataExpectedShedLevel.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataExpectedShedLevel) deepCopy() *_BACnetConstructed return nil } _BACnetConstructedDataExpectedShedLevelCopy := &_BACnetConstructedDataExpectedShedLevel{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.ExpectedShedLevel.DeepCopy().(BACnetShedLevel), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataExpirationTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataExpirationTime.go index 0725de9a87..9775153131 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataExpirationTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataExpirationTime.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataExpirationTime) deepCopy() *_BACnetConstructedDat return nil } _BACnetConstructedDataExpirationTimeCopy := &_BACnetConstructedDataExpirationTime{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.ExpirationTime.DeepCopy().(BACnetDateTime), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataExtendedTimeEnable.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataExtendedTimeEnable.go index 7c41f6e355..c439403975 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataExtendedTimeEnable.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataExtendedTimeEnable.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataExtendedTimeEnable) deepCopy() *_BACnetConstructe return nil } _BACnetConstructedDataExtendedTimeEnableCopy := &_BACnetConstructedDataExtendedTimeEnable{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.ExtendedTimeEnable.DeepCopy().(BACnetApplicationTagBoolean), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFDBBMDAddress.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFDBBMDAddress.go index 1bd2ff3abb..4a067bcf2e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFDBBMDAddress.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFDBBMDAddress.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataFDBBMDAddress) deepCopy() *_BACnetConstructedData return nil } _BACnetConstructedDataFDBBMDAddressCopy := &_BACnetConstructedDataFDBBMDAddress{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.FDBBMDAddress.DeepCopy().(BACnetHostNPort), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFDSubscriptionLifetime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFDSubscriptionLifetime.go index 1cff7d58fb..608e3e05de 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFDSubscriptionLifetime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFDSubscriptionLifetime.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataFDSubscriptionLifetime) deepCopy() *_BACnetConstr return nil } _BACnetConstructedDataFDSubscriptionLifetimeCopy := &_BACnetConstructedDataFDSubscriptionLifetime{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.FdSubscriptionLifetime.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFailedAttemptEvents.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFailedAttemptEvents.go index 847ccc2731..48b4c3d0ad 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFailedAttemptEvents.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFailedAttemptEvents.go @@ -198,7 +198,7 @@ func (m *_BACnetConstructedDataFailedAttemptEvents) deepCopy() *_BACnetConstruct return nil } _BACnetConstructedDataFailedAttemptEventsCopy := &_BACnetConstructedDataFailedAttemptEvents{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), utils.DeepCopySlice[BACnetAccessEventTagged, BACnetAccessEventTagged](m.FailedAttemptEvents), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFailedAttempts.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFailedAttempts.go index e6a11f80c7..8c7d103718 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFailedAttempts.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFailedAttempts.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataFailedAttempts) deepCopy() *_BACnetConstructedDat return nil } _BACnetConstructedDataFailedAttemptsCopy := &_BACnetConstructedDataFailedAttempts{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.FailedAttempts.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFailedAttemptsTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFailedAttemptsTime.go index 965ae408a8..d131401bb0 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFailedAttemptsTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFailedAttemptsTime.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataFailedAttemptsTime) deepCopy() *_BACnetConstructe return nil } _BACnetConstructedDataFailedAttemptsTimeCopy := &_BACnetConstructedDataFailedAttemptsTime{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.FailedAttemptsTime.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFaultHighLimit.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFaultHighLimit.go index 4839d8a80a..da7ba4de7d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFaultHighLimit.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFaultHighLimit.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataFaultHighLimit) deepCopy() *_BACnetConstructedDat return nil } _BACnetConstructedDataFaultHighLimitCopy := &_BACnetConstructedDataFaultHighLimit{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.FaultHighLimit.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFaultLowLimit.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFaultLowLimit.go index ca14a7df5e..ecd968a680 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFaultLowLimit.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFaultLowLimit.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataFaultLowLimit) deepCopy() *_BACnetConstructedData return nil } _BACnetConstructedDataFaultLowLimitCopy := &_BACnetConstructedDataFaultLowLimit{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.FaultLowLimit.DeepCopy().(BACnetApplicationTagReal), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFaultParameters.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFaultParameters.go index 1dd9e9de9b..eba4d4e679 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFaultParameters.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFaultParameters.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataFaultParameters) deepCopy() *_BACnetConstructedDa return nil } _BACnetConstructedDataFaultParametersCopy := &_BACnetConstructedDataFaultParameters{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.FaultParameters.DeepCopy().(BACnetFaultParameter), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFaultSignals.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFaultSignals.go index ec7232eae9..7340035601 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFaultSignals.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFaultSignals.go @@ -198,7 +198,7 @@ func (m *_BACnetConstructedDataFaultSignals) deepCopy() *_BACnetConstructedDataF return nil } _BACnetConstructedDataFaultSignalsCopy := &_BACnetConstructedDataFaultSignals{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), utils.DeepCopySlice[BACnetLiftFaultTagged, BACnetLiftFaultTagged](m.FaultSignals), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFaultType.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFaultType.go index f05e7d0e29..e25d41b620 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFaultType.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFaultType.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataFaultType) deepCopy() *_BACnetConstructedDataFaul return nil } _BACnetConstructedDataFaultTypeCopy := &_BACnetConstructedDataFaultType{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.FaultType.DeepCopy().(BACnetFaultTypeTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFaultValues.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFaultValues.go index b172c1ca51..4dd078bf6f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFaultValues.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFaultValues.go @@ -258,7 +258,7 @@ func (m *_BACnetConstructedDataFaultValues) deepCopy() *_BACnetConstructedDataFa return nil } _BACnetConstructedDataFaultValuesCopy := &_BACnetConstructedDataFaultValues{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NumberOfDataElements.DeepCopy().(BACnetApplicationTagUnsignedInteger), utils.DeepCopySlice[BACnetLifeSafetyStateTagged, BACnetLifeSafetyStateTagged](m.FaultValues), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFileAccessMethod.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFileAccessMethod.go index 3901f1547d..637ac97f21 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFileAccessMethod.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFileAccessMethod.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataFileAccessMethod) deepCopy() *_BACnetConstructedD return nil } _BACnetConstructedDataFileAccessMethodCopy := &_BACnetConstructedDataFileAccessMethod{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.FileAccessMethod.DeepCopy().(BACnetFileAccessMethodTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFileAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFileAll.go index a73b305683..2572dcfe43 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFileAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFileAll.go @@ -166,7 +166,7 @@ func (m *_BACnetConstructedDataFileAll) deepCopy() *_BACnetConstructedDataFileAl return nil } _BACnetConstructedDataFileAllCopy := &_BACnetConstructedDataFileAll{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m return _BACnetConstructedDataFileAllCopy diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFileRecordCount.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFileRecordCount.go index 3b1f2e9b66..28e4b89c65 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFileRecordCount.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFileRecordCount.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataFileRecordCount) deepCopy() *_BACnetConstructedDa return nil } _BACnetConstructedDataFileRecordCountCopy := &_BACnetConstructedDataFileRecordCount{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.RecordCount.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFileSize.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFileSize.go index d6d1fbe9e6..343621d2c1 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFileSize.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFileSize.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataFileSize) deepCopy() *_BACnetConstructedDataFileS return nil } _BACnetConstructedDataFileSizeCopy := &_BACnetConstructedDataFileSize{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.FileSize.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFileType.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFileType.go index 58f833e9d8..3c776fa3ef 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFileType.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFileType.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataFileType) deepCopy() *_BACnetConstructedDataFileT return nil } _BACnetConstructedDataFileTypeCopy := &_BACnetConstructedDataFileType{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.FileType.DeepCopy().(BACnetApplicationTagCharacterString), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFirmwareRevision.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFirmwareRevision.go index 4cd44e6efa..6283850868 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFirmwareRevision.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFirmwareRevision.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataFirmwareRevision) deepCopy() *_BACnetConstructedD return nil } _BACnetConstructedDataFirmwareRevisionCopy := &_BACnetConstructedDataFirmwareRevision{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.FirmwareRevision.DeepCopy().(BACnetApplicationTagCharacterString), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFloorText.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFloorText.go index e853f0b56f..5709ead68d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFloorText.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFloorText.go @@ -258,7 +258,7 @@ func (m *_BACnetConstructedDataFloorText) deepCopy() *_BACnetConstructedDataFloo return nil } _BACnetConstructedDataFloorTextCopy := &_BACnetConstructedDataFloorText{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NumberOfDataElements.DeepCopy().(BACnetApplicationTagUnsignedInteger), utils.DeepCopySlice[BACnetApplicationTagCharacterString, BACnetApplicationTagCharacterString](m.FloorText), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFullDutyBaseline.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFullDutyBaseline.go index 13ee594767..37978a7fdd 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFullDutyBaseline.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataFullDutyBaseline.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataFullDutyBaseline) deepCopy() *_BACnetConstructedD return nil } _BACnetConstructedDataFullDutyBaselineCopy := &_BACnetConstructedDataFullDutyBaseline{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.FullDutyBaseLine.DeepCopy().(BACnetApplicationTagReal), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGlobalGroupAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGlobalGroupAll.go index ab6215476a..b13770dfaa 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGlobalGroupAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGlobalGroupAll.go @@ -166,7 +166,7 @@ func (m *_BACnetConstructedDataGlobalGroupAll) deepCopy() *_BACnetConstructedDat return nil } _BACnetConstructedDataGlobalGroupAllCopy := &_BACnetConstructedDataGlobalGroupAll{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m return _BACnetConstructedDataGlobalGroupAllCopy diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGlobalGroupGroupMembers.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGlobalGroupGroupMembers.go index 4b6d579097..d196d1cf13 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGlobalGroupGroupMembers.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGlobalGroupGroupMembers.go @@ -259,7 +259,7 @@ func (m *_BACnetConstructedDataGlobalGroupGroupMembers) deepCopy() *_BACnetConst return nil } _BACnetConstructedDataGlobalGroupGroupMembersCopy := &_BACnetConstructedDataGlobalGroupGroupMembers{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NumberOfDataElements.DeepCopy().(BACnetApplicationTagUnsignedInteger), utils.DeepCopySlice[BACnetDeviceObjectPropertyReference, BACnetDeviceObjectPropertyReference](m.GroupMembers), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGlobalGroupPresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGlobalGroupPresentValue.go index 2f8d3020df..a2fcd5e573 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGlobalGroupPresentValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGlobalGroupPresentValue.go @@ -259,7 +259,7 @@ func (m *_BACnetConstructedDataGlobalGroupPresentValue) deepCopy() *_BACnetConst return nil } _BACnetConstructedDataGlobalGroupPresentValueCopy := &_BACnetConstructedDataGlobalGroupPresentValue{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NumberOfDataElements.DeepCopy().(BACnetApplicationTagUnsignedInteger), utils.DeepCopySlice[BACnetPropertyAccessResult, BACnetPropertyAccessResult](m.PresentValue), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGlobalIdentifier.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGlobalIdentifier.go index 6e55f30873..44179ccfc3 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGlobalIdentifier.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGlobalIdentifier.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataGlobalIdentifier) deepCopy() *_BACnetConstructedD return nil } _BACnetConstructedDataGlobalIdentifierCopy := &_BACnetConstructedDataGlobalIdentifier{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.GlobalIdentifier.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGroupAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGroupAll.go index f343810827..cdb6048960 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGroupAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGroupAll.go @@ -166,7 +166,7 @@ func (m *_BACnetConstructedDataGroupAll) deepCopy() *_BACnetConstructedDataGroup return nil } _BACnetConstructedDataGroupAllCopy := &_BACnetConstructedDataGroupAll{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m return _BACnetConstructedDataGroupAllCopy diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGroupID.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGroupID.go index 3c0076ecb4..961628918d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGroupID.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGroupID.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataGroupID) deepCopy() *_BACnetConstructedDataGroupI return nil } _BACnetConstructedDataGroupIDCopy := &_BACnetConstructedDataGroupID{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.GroupId.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGroupMemberNames.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGroupMemberNames.go index 847ee7b2ae..879a14da22 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGroupMemberNames.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGroupMemberNames.go @@ -258,7 +258,7 @@ func (m *_BACnetConstructedDataGroupMemberNames) deepCopy() *_BACnetConstructedD return nil } _BACnetConstructedDataGroupMemberNamesCopy := &_BACnetConstructedDataGroupMemberNames{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NumberOfDataElements.DeepCopy().(BACnetApplicationTagUnsignedInteger), utils.DeepCopySlice[BACnetApplicationTagCharacterString, BACnetApplicationTagCharacterString](m.GroupMemberNames), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGroupMembers.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGroupMembers.go index 81eea3ea9e..934a48592b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGroupMembers.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGroupMembers.go @@ -258,7 +258,7 @@ func (m *_BACnetConstructedDataGroupMembers) deepCopy() *_BACnetConstructedDataG return nil } _BACnetConstructedDataGroupMembersCopy := &_BACnetConstructedDataGroupMembers{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NumberOfDataElements.DeepCopy().(BACnetApplicationTagUnsignedInteger), utils.DeepCopySlice[BACnetApplicationTagObjectIdentifier, BACnetApplicationTagObjectIdentifier](m.GroupMembers), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGroupMode.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGroupMode.go index bc2b74048e..b066cd4dff 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGroupMode.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGroupMode.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataGroupMode) deepCopy() *_BACnetConstructedDataGrou return nil } _BACnetConstructedDataGroupModeCopy := &_BACnetConstructedDataGroupMode{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.GroupMode.DeepCopy().(BACnetLiftGroupModeTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGroupPresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGroupPresentValue.go index 03befd29bc..bd108cbece 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGroupPresentValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataGroupPresentValue.go @@ -198,7 +198,7 @@ func (m *_BACnetConstructedDataGroupPresentValue) deepCopy() *_BACnetConstructed return nil } _BACnetConstructedDataGroupPresentValueCopy := &_BACnetConstructedDataGroupPresentValue{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), utils.DeepCopySlice[BACnetReadAccessResult, BACnetReadAccessResult](m.PresentValue), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataHighLimit.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataHighLimit.go index b37504a404..553652fce1 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataHighLimit.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataHighLimit.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataHighLimit) deepCopy() *_BACnetConstructedDataHigh return nil } _BACnetConstructedDataHighLimitCopy := &_BACnetConstructedDataHighLimit{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.HighLimit.DeepCopy().(BACnetApplicationTagReal), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataHigherDeck.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataHigherDeck.go index 22b0a7d0e7..1cd269997c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataHigherDeck.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataHigherDeck.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataHigherDeck) deepCopy() *_BACnetConstructedDataHig return nil } _BACnetConstructedDataHigherDeckCopy := &_BACnetConstructedDataHigherDeck{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.HigherDeck.DeepCopy().(BACnetApplicationTagObjectIdentifier), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPAddress.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPAddress.go index 46a001594e..9fe97a7ff9 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPAddress.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPAddress.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataIPAddress) deepCopy() *_BACnetConstructedDataIPAd return nil } _BACnetConstructedDataIPAddressCopy := &_BACnetConstructedDataIPAddress{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.IpAddress.DeepCopy().(BACnetApplicationTagOctetString), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPDHCPEnable.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPDHCPEnable.go index 9afa5acf2c..4cde0a7cc5 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPDHCPEnable.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPDHCPEnable.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataIPDHCPEnable) deepCopy() *_BACnetConstructedDataI return nil } _BACnetConstructedDataIPDHCPEnableCopy := &_BACnetConstructedDataIPDHCPEnable{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.IpDhcpEnable.DeepCopy().(BACnetApplicationTagBoolean), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPDHCPLeaseTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPDHCPLeaseTime.go index dff5a58c22..9cc8009d02 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPDHCPLeaseTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPDHCPLeaseTime.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataIPDHCPLeaseTime) deepCopy() *_BACnetConstructedDa return nil } _BACnetConstructedDataIPDHCPLeaseTimeCopy := &_BACnetConstructedDataIPDHCPLeaseTime{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.IpDhcpLeaseTime.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPDHCPLeaseTimeRemaining.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPDHCPLeaseTimeRemaining.go index 39dd4e359d..3ed3bad5a7 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPDHCPLeaseTimeRemaining.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPDHCPLeaseTimeRemaining.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataIPDHCPLeaseTimeRemaining) deepCopy() *_BACnetCons return nil } _BACnetConstructedDataIPDHCPLeaseTimeRemainingCopy := &_BACnetConstructedDataIPDHCPLeaseTimeRemaining{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.IpDhcpLeaseTimeRemaining.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPDHCPServer.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPDHCPServer.go index 50a7a6c35f..c9ec7eb343 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPDHCPServer.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPDHCPServer.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataIPDHCPServer) deepCopy() *_BACnetConstructedDataI return nil } _BACnetConstructedDataIPDHCPServerCopy := &_BACnetConstructedDataIPDHCPServer{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.DhcpServer.DeepCopy().(BACnetApplicationTagOctetString), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPDNSServer.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPDNSServer.go index aa375f0023..ec247dd3cb 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPDNSServer.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPDNSServer.go @@ -258,7 +258,7 @@ func (m *_BACnetConstructedDataIPDNSServer) deepCopy() *_BACnetConstructedDataIP return nil } _BACnetConstructedDataIPDNSServerCopy := &_BACnetConstructedDataIPDNSServer{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NumberOfDataElements.DeepCopy().(BACnetApplicationTagUnsignedInteger), utils.DeepCopySlice[BACnetApplicationTagOctetString, BACnetApplicationTagOctetString](m.IpDnsServer), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPDefaultGateway.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPDefaultGateway.go index 432beb5da3..65177ef49b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPDefaultGateway.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPDefaultGateway.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataIPDefaultGateway) deepCopy() *_BACnetConstructedD return nil } _BACnetConstructedDataIPDefaultGatewayCopy := &_BACnetConstructedDataIPDefaultGateway{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.IpDefaultGateway.DeepCopy().(BACnetApplicationTagOctetString), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPSubnetMask.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPSubnetMask.go index 0df6f1590a..32af3aa369 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPSubnetMask.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPSubnetMask.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataIPSubnetMask) deepCopy() *_BACnetConstructedDataI return nil } _BACnetConstructedDataIPSubnetMaskCopy := &_BACnetConstructedDataIPSubnetMask{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.IpSubnetMask.DeepCopy().(BACnetApplicationTagOctetString), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPv6Address.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPv6Address.go index d1d744415d..6f78afff4f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPv6Address.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPv6Address.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataIPv6Address) deepCopy() *_BACnetConstructedDataIP return nil } _BACnetConstructedDataIPv6AddressCopy := &_BACnetConstructedDataIPv6Address{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.Ipv6Address.DeepCopy().(BACnetApplicationTagOctetString), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPv6AutoAddressingEnable.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPv6AutoAddressingEnable.go index 6644128e45..93db3ac5bf 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPv6AutoAddressingEnable.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPv6AutoAddressingEnable.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataIPv6AutoAddressingEnable) deepCopy() *_BACnetCons return nil } _BACnetConstructedDataIPv6AutoAddressingEnableCopy := &_BACnetConstructedDataIPv6AutoAddressingEnable{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.AutoAddressingEnable.DeepCopy().(BACnetApplicationTagBoolean), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPv6DHCPLeaseTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPv6DHCPLeaseTime.go index 0587ad8c28..7303e7ed82 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPv6DHCPLeaseTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPv6DHCPLeaseTime.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataIPv6DHCPLeaseTime) deepCopy() *_BACnetConstructed return nil } _BACnetConstructedDataIPv6DHCPLeaseTimeCopy := &_BACnetConstructedDataIPv6DHCPLeaseTime{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.Ipv6DhcpLeaseTime.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPv6DHCPLeaseTimeRemaining.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPv6DHCPLeaseTimeRemaining.go index 3651b76a80..b25085104e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPv6DHCPLeaseTimeRemaining.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPv6DHCPLeaseTimeRemaining.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataIPv6DHCPLeaseTimeRemaining) deepCopy() *_BACnetCo return nil } _BACnetConstructedDataIPv6DHCPLeaseTimeRemainingCopy := &_BACnetConstructedDataIPv6DHCPLeaseTimeRemaining{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.Ipv6DhcpLeaseTimeRemaining.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPv6DHCPServer.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPv6DHCPServer.go index 332ea81e43..291a33e224 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPv6DHCPServer.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPv6DHCPServer.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataIPv6DHCPServer) deepCopy() *_BACnetConstructedDat return nil } _BACnetConstructedDataIPv6DHCPServerCopy := &_BACnetConstructedDataIPv6DHCPServer{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.DhcpServer.DeepCopy().(BACnetApplicationTagOctetString), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPv6DNSServer.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPv6DNSServer.go index 73fa8d2378..6541aad46b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPv6DNSServer.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPv6DNSServer.go @@ -258,7 +258,7 @@ func (m *_BACnetConstructedDataIPv6DNSServer) deepCopy() *_BACnetConstructedData return nil } _BACnetConstructedDataIPv6DNSServerCopy := &_BACnetConstructedDataIPv6DNSServer{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NumberOfDataElements.DeepCopy().(BACnetApplicationTagUnsignedInteger), utils.DeepCopySlice[BACnetApplicationTagOctetString, BACnetApplicationTagOctetString](m.Ipv6DnsServer), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPv6DefaultGateway.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPv6DefaultGateway.go index 93785018d7..2af4eb0d14 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPv6DefaultGateway.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPv6DefaultGateway.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataIPv6DefaultGateway) deepCopy() *_BACnetConstructe return nil } _BACnetConstructedDataIPv6DefaultGatewayCopy := &_BACnetConstructedDataIPv6DefaultGateway{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.Ipv6DefaultGateway.DeepCopy().(BACnetApplicationTagOctetString), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPv6PrefixLength.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPv6PrefixLength.go index b225a170a1..141b5697d2 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPv6PrefixLength.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPv6PrefixLength.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataIPv6PrefixLength) deepCopy() *_BACnetConstructedD return nil } _BACnetConstructedDataIPv6PrefixLengthCopy := &_BACnetConstructedDataIPv6PrefixLength{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.Ipv6PrefixLength.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPv6ZoneIndex.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPv6ZoneIndex.go index f43b30758d..03cbc0833d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPv6ZoneIndex.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIPv6ZoneIndex.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataIPv6ZoneIndex) deepCopy() *_BACnetConstructedData return nil } _BACnetConstructedDataIPv6ZoneIndexCopy := &_BACnetConstructedDataIPv6ZoneIndex{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.Ipv6ZoneIndex.DeepCopy().(BACnetApplicationTagCharacterString), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataInProcess.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataInProcess.go index 9b745d2986..39cfe8f650 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataInProcess.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataInProcess.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataInProcess) deepCopy() *_BACnetConstructedDataInPr return nil } _BACnetConstructedDataInProcessCopy := &_BACnetConstructedDataInProcess{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.InProcess.DeepCopy().(BACnetApplicationTagBoolean), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataInProgress.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataInProgress.go index a1b773c548..486688e06d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataInProgress.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataInProgress.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataInProgress) deepCopy() *_BACnetConstructedDataInP return nil } _BACnetConstructedDataInProgressCopy := &_BACnetConstructedDataInProgress{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.InProgress.DeepCopy().(BACnetLightingInProgressTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataInactiveText.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataInactiveText.go index c50b05dee1..1d03825c91 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataInactiveText.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataInactiveText.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataInactiveText) deepCopy() *_BACnetConstructedDataI return nil } _BACnetConstructedDataInactiveTextCopy := &_BACnetConstructedDataInactiveText{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.InactiveText.DeepCopy().(BACnetApplicationTagCharacterString), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataInitialTimeout.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataInitialTimeout.go index 0762299e56..4e9aca4878 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataInitialTimeout.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataInitialTimeout.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataInitialTimeout) deepCopy() *_BACnetConstructedDat return nil } _BACnetConstructedDataInitialTimeoutCopy := &_BACnetConstructedDataInitialTimeout{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.InitialTimeout.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataInputReference.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataInputReference.go index 8ce94afcc8..07ce802e45 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataInputReference.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataInputReference.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataInputReference) deepCopy() *_BACnetConstructedDat return nil } _BACnetConstructedDataInputReferenceCopy := &_BACnetConstructedDataInputReference{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.InputReference.DeepCopy().(BACnetObjectPropertyReference), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataInstallationID.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataInstallationID.go index 9859edfa57..7137d2765a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataInstallationID.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataInstallationID.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataInstallationID) deepCopy() *_BACnetConstructedDat return nil } _BACnetConstructedDataInstallationIDCopy := &_BACnetConstructedDataInstallationID{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.InstallationId.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataInstanceOf.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataInstanceOf.go index a4369e61f2..3b472c45d4 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataInstanceOf.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataInstanceOf.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataInstanceOf) deepCopy() *_BACnetConstructedDataIns return nil } _BACnetConstructedDataInstanceOfCopy := &_BACnetConstructedDataInstanceOf{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.InstanceOf.DeepCopy().(BACnetApplicationTagCharacterString), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataInstantaneousPower.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataInstantaneousPower.go index 462d2debef..5cdb9e48a6 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataInstantaneousPower.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataInstantaneousPower.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataInstantaneousPower) deepCopy() *_BACnetConstructe return nil } _BACnetConstructedDataInstantaneousPowerCopy := &_BACnetConstructedDataInstantaneousPower{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.InstantaneousPower.DeepCopy().(BACnetApplicationTagReal), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueAll.go index 153a5df5a3..c125c1f307 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueAll.go @@ -166,7 +166,7 @@ func (m *_BACnetConstructedDataIntegerValueAll) deepCopy() *_BACnetConstructedDa return nil } _BACnetConstructedDataIntegerValueAllCopy := &_BACnetConstructedDataIntegerValueAll{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m return _BACnetConstructedDataIntegerValueAllCopy diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueCOVIncrement.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueCOVIncrement.go index 776dc390d0..d7b61c79a0 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueCOVIncrement.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueCOVIncrement.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataIntegerValueCOVIncrement) deepCopy() *_BACnetCons return nil } _BACnetConstructedDataIntegerValueCOVIncrementCopy := &_BACnetConstructedDataIntegerValueCOVIncrement{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.CovIncrement.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueDeadband.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueDeadband.go index 2b73d7e451..649d6c565b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueDeadband.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueDeadband.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataIntegerValueDeadband) deepCopy() *_BACnetConstruc return nil } _BACnetConstructedDataIntegerValueDeadbandCopy := &_BACnetConstructedDataIntegerValueDeadband{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.Deadband.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueFaultHighLimit.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueFaultHighLimit.go index f70b96d273..e8ee0a34ca 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueFaultHighLimit.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueFaultHighLimit.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataIntegerValueFaultHighLimit) deepCopy() *_BACnetCo return nil } _BACnetConstructedDataIntegerValueFaultHighLimitCopy := &_BACnetConstructedDataIntegerValueFaultHighLimit{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.FaultHighLimit.DeepCopy().(BACnetApplicationTagSignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueFaultLowLimit.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueFaultLowLimit.go index 8b5e6ccb98..ad277d0e57 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueFaultLowLimit.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueFaultLowLimit.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataIntegerValueFaultLowLimit) deepCopy() *_BACnetCon return nil } _BACnetConstructedDataIntegerValueFaultLowLimitCopy := &_BACnetConstructedDataIntegerValueFaultLowLimit{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.FaultLowLimit.DeepCopy().(BACnetApplicationTagSignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueHighLimit.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueHighLimit.go index 267bf85cc8..f1d695cc99 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueHighLimit.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueHighLimit.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataIntegerValueHighLimit) deepCopy() *_BACnetConstru return nil } _BACnetConstructedDataIntegerValueHighLimitCopy := &_BACnetConstructedDataIntegerValueHighLimit{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.HighLimit.DeepCopy().(BACnetApplicationTagSignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueLowLimit.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueLowLimit.go index 247bfd09dd..b27873c0a7 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueLowLimit.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueLowLimit.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataIntegerValueLowLimit) deepCopy() *_BACnetConstruc return nil } _BACnetConstructedDataIntegerValueLowLimitCopy := &_BACnetConstructedDataIntegerValueLowLimit{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.LowLimit.DeepCopy().(BACnetApplicationTagSignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueMaxPresValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueMaxPresValue.go index dbc3c643a7..9001572158 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueMaxPresValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueMaxPresValue.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataIntegerValueMaxPresValue) deepCopy() *_BACnetCons return nil } _BACnetConstructedDataIntegerValueMaxPresValueCopy := &_BACnetConstructedDataIntegerValueMaxPresValue{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.MaxPresValue.DeepCopy().(BACnetApplicationTagSignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueMinPresValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueMinPresValue.go index 69ed5b3991..45bab0fae0 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueMinPresValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueMinPresValue.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataIntegerValueMinPresValue) deepCopy() *_BACnetCons return nil } _BACnetConstructedDataIntegerValueMinPresValueCopy := &_BACnetConstructedDataIntegerValueMinPresValue{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.MinPresValue.DeepCopy().(BACnetApplicationTagSignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValuePresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValuePresentValue.go index 085ace63d7..217d525c57 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValuePresentValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValuePresentValue.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataIntegerValuePresentValue) deepCopy() *_BACnetCons return nil } _BACnetConstructedDataIntegerValuePresentValueCopy := &_BACnetConstructedDataIntegerValuePresentValue{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.PresentValue.DeepCopy().(BACnetApplicationTagSignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueRelinquishDefault.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueRelinquishDefault.go index e11fc31bd2..eff4ebd807 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueRelinquishDefault.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueRelinquishDefault.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataIntegerValueRelinquishDefault) deepCopy() *_BACne return nil } _BACnetConstructedDataIntegerValueRelinquishDefaultCopy := &_BACnetConstructedDataIntegerValueRelinquishDefault{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.RelinquishDefault.DeepCopy().(BACnetApplicationTagSignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueResolution.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueResolution.go index 5889c11e35..d6b62670a8 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueResolution.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegerValueResolution.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataIntegerValueResolution) deepCopy() *_BACnetConstr return nil } _BACnetConstructedDataIntegerValueResolutionCopy := &_BACnetConstructedDataIntegerValueResolution{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.Resolution.DeepCopy().(BACnetApplicationTagSignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegralConstant.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegralConstant.go index 5553c4b0bd..0778e42266 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegralConstant.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegralConstant.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataIntegralConstant) deepCopy() *_BACnetConstructedD return nil } _BACnetConstructedDataIntegralConstantCopy := &_BACnetConstructedDataIntegralConstant{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.IntegralConstant.DeepCopy().(BACnetApplicationTagReal), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegralConstantUnits.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegralConstantUnits.go index 9ec22b41bc..15dd4ea3a6 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegralConstantUnits.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntegralConstantUnits.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataIntegralConstantUnits) deepCopy() *_BACnetConstru return nil } _BACnetConstructedDataIntegralConstantUnitsCopy := &_BACnetConstructedDataIntegralConstantUnits{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.Units.DeepCopy().(BACnetEngineeringUnitsTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntervalOffset.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntervalOffset.go index 60f2d12f33..3776251326 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntervalOffset.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIntervalOffset.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataIntervalOffset) deepCopy() *_BACnetConstructedDat return nil } _BACnetConstructedDataIntervalOffsetCopy := &_BACnetConstructedDataIntervalOffset{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.IntervalOffset.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIsUTC.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIsUTC.go index 5a84c259a9..7cd89505f1 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIsUTC.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataIsUTC.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataIsUTC) deepCopy() *_BACnetConstructedDataIsUTC { return nil } _BACnetConstructedDataIsUTCCopy := &_BACnetConstructedDataIsUTC{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.IsUtc.DeepCopy().(BACnetApplicationTagBoolean), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataKeySets.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataKeySets.go index 0773af6de8..d69342cd2d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataKeySets.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataKeySets.go @@ -263,7 +263,7 @@ func (m *_BACnetConstructedDataKeySets) deepCopy() *_BACnetConstructedDataKeySet return nil } _BACnetConstructedDataKeySetsCopy := &_BACnetConstructedDataKeySets{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NumberOfDataElements.DeepCopy().(BACnetApplicationTagUnsignedInteger), utils.DeepCopySlice[BACnetSecurityKeySet, BACnetSecurityKeySet](m.KeySets), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLandingCallControl.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLandingCallControl.go index 61362edd5a..4bd6772066 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLandingCallControl.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLandingCallControl.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataLandingCallControl) deepCopy() *_BACnetConstructe return nil } _BACnetConstructedDataLandingCallControlCopy := &_BACnetConstructedDataLandingCallControl{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.LandingCallControl.DeepCopy().(BACnetLandingCallStatus), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLandingCalls.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLandingCalls.go index c06d35bd08..cc622e8550 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLandingCalls.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLandingCalls.go @@ -198,7 +198,7 @@ func (m *_BACnetConstructedDataLandingCalls) deepCopy() *_BACnetConstructedDataL return nil } _BACnetConstructedDataLandingCallsCopy := &_BACnetConstructedDataLandingCalls{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), utils.DeepCopySlice[BACnetLandingCallStatus, BACnetLandingCallStatus](m.LandingCallStatus), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLandingDoorStatus.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLandingDoorStatus.go index d1a4e9d403..1c1722a87f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLandingDoorStatus.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLandingDoorStatus.go @@ -258,7 +258,7 @@ func (m *_BACnetConstructedDataLandingDoorStatus) deepCopy() *_BACnetConstructed return nil } _BACnetConstructedDataLandingDoorStatusCopy := &_BACnetConstructedDataLandingDoorStatus{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NumberOfDataElements.DeepCopy().(BACnetApplicationTagUnsignedInteger), utils.DeepCopySlice[BACnetLandingDoorStatus, BACnetLandingDoorStatus](m.LandingDoorStatus), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueAll.go index a9b3cd30f6..5c4b8b1fc8 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueAll.go @@ -166,7 +166,7 @@ func (m *_BACnetConstructedDataLargeAnalogValueAll) deepCopy() *_BACnetConstruct return nil } _BACnetConstructedDataLargeAnalogValueAllCopy := &_BACnetConstructedDataLargeAnalogValueAll{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m return _BACnetConstructedDataLargeAnalogValueAllCopy diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueCOVIncrement.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueCOVIncrement.go index 2e0a31c713..9769d311fd 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueCOVIncrement.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueCOVIncrement.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataLargeAnalogValueCOVIncrement) deepCopy() *_BACnet return nil } _BACnetConstructedDataLargeAnalogValueCOVIncrementCopy := &_BACnetConstructedDataLargeAnalogValueCOVIncrement{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.CovIncrement.DeepCopy().(BACnetApplicationTagDouble), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueDeadband.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueDeadband.go index 2efca3ca67..761be8c7be 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueDeadband.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueDeadband.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataLargeAnalogValueDeadband) deepCopy() *_BACnetCons return nil } _BACnetConstructedDataLargeAnalogValueDeadbandCopy := &_BACnetConstructedDataLargeAnalogValueDeadband{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.Deadband.DeepCopy().(BACnetApplicationTagDouble), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueFaultHighLimit.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueFaultHighLimit.go index a58002eba5..c786bba93d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueFaultHighLimit.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueFaultHighLimit.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataLargeAnalogValueFaultHighLimit) deepCopy() *_BACn return nil } _BACnetConstructedDataLargeAnalogValueFaultHighLimitCopy := &_BACnetConstructedDataLargeAnalogValueFaultHighLimit{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.FaultHighLimit.DeepCopy().(BACnetApplicationTagDouble), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueFaultLowLimit.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueFaultLowLimit.go index 41f2bb0e3b..05fd653d53 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueFaultLowLimit.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueFaultLowLimit.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataLargeAnalogValueFaultLowLimit) deepCopy() *_BACne return nil } _BACnetConstructedDataLargeAnalogValueFaultLowLimitCopy := &_BACnetConstructedDataLargeAnalogValueFaultLowLimit{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.FaultLowLimit.DeepCopy().(BACnetApplicationTagDouble), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueHighLimit.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueHighLimit.go index 08e4f92ef0..b4b01b6694 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueHighLimit.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueHighLimit.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataLargeAnalogValueHighLimit) deepCopy() *_BACnetCon return nil } _BACnetConstructedDataLargeAnalogValueHighLimitCopy := &_BACnetConstructedDataLargeAnalogValueHighLimit{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.HighLimit.DeepCopy().(BACnetApplicationTagDouble), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueLowLimit.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueLowLimit.go index 737fb2a2fa..2608cb2fea 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueLowLimit.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueLowLimit.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataLargeAnalogValueLowLimit) deepCopy() *_BACnetCons return nil } _BACnetConstructedDataLargeAnalogValueLowLimitCopy := &_BACnetConstructedDataLargeAnalogValueLowLimit{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.LowLimit.DeepCopy().(BACnetApplicationTagDouble), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueMaxPresValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueMaxPresValue.go index 593a9fc447..5cceb0bdff 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueMaxPresValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueMaxPresValue.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataLargeAnalogValueMaxPresValue) deepCopy() *_BACnet return nil } _BACnetConstructedDataLargeAnalogValueMaxPresValueCopy := &_BACnetConstructedDataLargeAnalogValueMaxPresValue{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.MaxPresValue.DeepCopy().(BACnetApplicationTagDouble), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueMinPresValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueMinPresValue.go index d7437f8f62..93de7c3042 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueMinPresValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueMinPresValue.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataLargeAnalogValueMinPresValue) deepCopy() *_BACnet return nil } _BACnetConstructedDataLargeAnalogValueMinPresValueCopy := &_BACnetConstructedDataLargeAnalogValueMinPresValue{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.MinPresValue.DeepCopy().(BACnetApplicationTagDouble), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValuePresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValuePresentValue.go index 9740fa511a..2683171f0e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValuePresentValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValuePresentValue.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataLargeAnalogValuePresentValue) deepCopy() *_BACnet return nil } _BACnetConstructedDataLargeAnalogValuePresentValueCopy := &_BACnetConstructedDataLargeAnalogValuePresentValue{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.PresentValue.DeepCopy().(BACnetApplicationTagDouble), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueRelinquishDefault.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueRelinquishDefault.go index 2fd7a62b1d..fe156e7590 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueRelinquishDefault.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueRelinquishDefault.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataLargeAnalogValueRelinquishDefault) deepCopy() *_B return nil } _BACnetConstructedDataLargeAnalogValueRelinquishDefaultCopy := &_BACnetConstructedDataLargeAnalogValueRelinquishDefault{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.RelinquishDefault.DeepCopy().(BACnetApplicationTagDouble), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueResolution.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueResolution.go index b89ec465df..84d8a1d061 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueResolution.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLargeAnalogValueResolution.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataLargeAnalogValueResolution) deepCopy() *_BACnetCo return nil } _BACnetConstructedDataLargeAnalogValueResolutionCopy := &_BACnetConstructedDataLargeAnalogValueResolution{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.Resolution.DeepCopy().(BACnetApplicationTagDouble), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastAccessEvent.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastAccessEvent.go index 0ce49d850a..708d0887e5 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastAccessEvent.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastAccessEvent.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataLastAccessEvent) deepCopy() *_BACnetConstructedDa return nil } _BACnetConstructedDataLastAccessEventCopy := &_BACnetConstructedDataLastAccessEvent{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.LastAccessEvent.DeepCopy().(BACnetAccessEventTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastAccessPoint.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastAccessPoint.go index 5cc788548f..1d18211312 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastAccessPoint.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastAccessPoint.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataLastAccessPoint) deepCopy() *_BACnetConstructedDa return nil } _BACnetConstructedDataLastAccessPointCopy := &_BACnetConstructedDataLastAccessPoint{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.LastAccessPoint.DeepCopy().(BACnetDeviceObjectReference), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastCommandTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastCommandTime.go index 3248830796..3f3153eee7 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastCommandTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastCommandTime.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataLastCommandTime) deepCopy() *_BACnetConstructedDa return nil } _BACnetConstructedDataLastCommandTimeCopy := &_BACnetConstructedDataLastCommandTime{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.LastCommandTime.DeepCopy().(BACnetTimeStamp), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastCredentialAdded.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastCredentialAdded.go index 1d40e4c144..0197eb9cfb 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastCredentialAdded.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastCredentialAdded.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataLastCredentialAdded) deepCopy() *_BACnetConstruct return nil } _BACnetConstructedDataLastCredentialAddedCopy := &_BACnetConstructedDataLastCredentialAdded{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.LastCredentialAdded.DeepCopy().(BACnetDeviceObjectReference), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastCredentialAddedTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastCredentialAddedTime.go index 0c892b8c4a..3884c6c410 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastCredentialAddedTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastCredentialAddedTime.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataLastCredentialAddedTime) deepCopy() *_BACnetConst return nil } _BACnetConstructedDataLastCredentialAddedTimeCopy := &_BACnetConstructedDataLastCredentialAddedTime{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.LastCredentialAddedTime.DeepCopy().(BACnetDateTime), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastCredentialRemoved.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastCredentialRemoved.go index 19a2aec418..4465ed643d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastCredentialRemoved.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastCredentialRemoved.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataLastCredentialRemoved) deepCopy() *_BACnetConstru return nil } _BACnetConstructedDataLastCredentialRemovedCopy := &_BACnetConstructedDataLastCredentialRemoved{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.LastCredentialRemoved.DeepCopy().(BACnetDeviceObjectReference), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastCredentialRemovedTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastCredentialRemovedTime.go index 5991e33677..1f8d0904e7 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastCredentialRemovedTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastCredentialRemovedTime.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataLastCredentialRemovedTime) deepCopy() *_BACnetCon return nil } _BACnetConstructedDataLastCredentialRemovedTimeCopy := &_BACnetConstructedDataLastCredentialRemovedTime{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.LastCredentialRemovedTime.DeepCopy().(BACnetDateTime), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastKeyServer.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastKeyServer.go index a67f173099..5e8d3c952a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastKeyServer.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastKeyServer.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataLastKeyServer) deepCopy() *_BACnetConstructedData return nil } _BACnetConstructedDataLastKeyServerCopy := &_BACnetConstructedDataLastKeyServer{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.LastKeyServer.DeepCopy().(BACnetAddressBinding), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastNotifyRecord.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastNotifyRecord.go index 7a180da09a..26af34dfb6 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastNotifyRecord.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastNotifyRecord.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataLastNotifyRecord) deepCopy() *_BACnetConstructedD return nil } _BACnetConstructedDataLastNotifyRecordCopy := &_BACnetConstructedDataLastNotifyRecord{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.LastNotifyRecord.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastPriority.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastPriority.go index c2acfb5258..eb10f3468f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastPriority.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastPriority.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataLastPriority) deepCopy() *_BACnetConstructedDataL return nil } _BACnetConstructedDataLastPriorityCopy := &_BACnetConstructedDataLastPriority{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.LastPriority.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastRestartReason.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastRestartReason.go index ddd79d178c..7ee03590f7 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastRestartReason.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastRestartReason.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataLastRestartReason) deepCopy() *_BACnetConstructed return nil } _BACnetConstructedDataLastRestartReasonCopy := &_BACnetConstructedDataLastRestartReason{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.LastRestartReason.DeepCopy().(BACnetRestartReasonTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastRestoreTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastRestoreTime.go index 579a07202a..da908db9fa 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastRestoreTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastRestoreTime.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataLastRestoreTime) deepCopy() *_BACnetConstructedDa return nil } _BACnetConstructedDataLastRestoreTimeCopy := &_BACnetConstructedDataLastRestoreTime{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.LastRestoreTime.DeepCopy().(BACnetTimeStamp), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastStateChange.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastStateChange.go index 409b66ef8e..cffda16991 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastStateChange.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastStateChange.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataLastStateChange) deepCopy() *_BACnetConstructedDa return nil } _BACnetConstructedDataLastStateChangeCopy := &_BACnetConstructedDataLastStateChange{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.LastStateChange.DeepCopy().(BACnetTimerTransitionTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastUseTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastUseTime.go index 987312ab04..209352df4b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastUseTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLastUseTime.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataLastUseTime) deepCopy() *_BACnetConstructedDataLa return nil } _BACnetConstructedDataLastUseTimeCopy := &_BACnetConstructedDataLastUseTime{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.LastUseTime.DeepCopy().(BACnetDateTime), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyAlarmValues.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyAlarmValues.go index 8d82e71c8e..8343e858a6 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyAlarmValues.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyAlarmValues.go @@ -199,7 +199,7 @@ func (m *_BACnetConstructedDataLifeSafetyAlarmValues) deepCopy() *_BACnetConstru return nil } _BACnetConstructedDataLifeSafetyAlarmValuesCopy := &_BACnetConstructedDataLifeSafetyAlarmValues{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), utils.DeepCopySlice[BACnetLifeSafetyStateTagged, BACnetLifeSafetyStateTagged](m.AlarmValues), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyPointAlarmValues.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyPointAlarmValues.go index 7ae50a462e..6ba2d2994b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyPointAlarmValues.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyPointAlarmValues.go @@ -199,7 +199,7 @@ func (m *_BACnetConstructedDataLifeSafetyPointAlarmValues) deepCopy() *_BACnetCo return nil } _BACnetConstructedDataLifeSafetyPointAlarmValuesCopy := &_BACnetConstructedDataLifeSafetyPointAlarmValues{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), utils.DeepCopySlice[BACnetLifeSafetyStateTagged, BACnetLifeSafetyStateTagged](m.AlarmValues), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyPointAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyPointAll.go index b995750d59..2195998fa9 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyPointAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyPointAll.go @@ -166,7 +166,7 @@ func (m *_BACnetConstructedDataLifeSafetyPointAll) deepCopy() *_BACnetConstructe return nil } _BACnetConstructedDataLifeSafetyPointAllCopy := &_BACnetConstructedDataLifeSafetyPointAll{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m return _BACnetConstructedDataLifeSafetyPointAllCopy diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyPointFaultValues.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyPointFaultValues.go index e937c03a9e..2afad32053 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyPointFaultValues.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyPointFaultValues.go @@ -199,7 +199,7 @@ func (m *_BACnetConstructedDataLifeSafetyPointFaultValues) deepCopy() *_BACnetCo return nil } _BACnetConstructedDataLifeSafetyPointFaultValuesCopy := &_BACnetConstructedDataLifeSafetyPointFaultValues{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), utils.DeepCopySlice[BACnetLifeSafetyStateTagged, BACnetLifeSafetyStateTagged](m.FaultValues), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyPointPresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyPointPresentValue.go index 516e7c25d9..f1d3c5b58c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyPointPresentValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyPointPresentValue.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataLifeSafetyPointPresentValue) deepCopy() *_BACnetC return nil } _BACnetConstructedDataLifeSafetyPointPresentValueCopy := &_BACnetConstructedDataLifeSafetyPointPresentValue{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.PresentValue.DeepCopy().(BACnetLifeSafetyStateTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyZoneAlarmValues.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyZoneAlarmValues.go index a3dea003fd..490388854c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyZoneAlarmValues.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyZoneAlarmValues.go @@ -199,7 +199,7 @@ func (m *_BACnetConstructedDataLifeSafetyZoneAlarmValues) deepCopy() *_BACnetCon return nil } _BACnetConstructedDataLifeSafetyZoneAlarmValuesCopy := &_BACnetConstructedDataLifeSafetyZoneAlarmValues{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), utils.DeepCopySlice[BACnetLifeSafetyStateTagged, BACnetLifeSafetyStateTagged](m.AlarmValues), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyZoneAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyZoneAll.go index a6bb309c42..15a1b7de6c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyZoneAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyZoneAll.go @@ -166,7 +166,7 @@ func (m *_BACnetConstructedDataLifeSafetyZoneAll) deepCopy() *_BACnetConstructed return nil } _BACnetConstructedDataLifeSafetyZoneAllCopy := &_BACnetConstructedDataLifeSafetyZoneAll{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m return _BACnetConstructedDataLifeSafetyZoneAllCopy diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyZoneFaultValues.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyZoneFaultValues.go index 49be4e30e2..2f2d13d0c7 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyZoneFaultValues.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyZoneFaultValues.go @@ -199,7 +199,7 @@ func (m *_BACnetConstructedDataLifeSafetyZoneFaultValues) deepCopy() *_BACnetCon return nil } _BACnetConstructedDataLifeSafetyZoneFaultValuesCopy := &_BACnetConstructedDataLifeSafetyZoneFaultValues{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), utils.DeepCopySlice[BACnetLifeSafetyStateTagged, BACnetLifeSafetyStateTagged](m.FaultValues), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyZoneMaintenanceRequired.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyZoneMaintenanceRequired.go index 6d7fef81ee..befd50b697 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyZoneMaintenanceRequired.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyZoneMaintenanceRequired.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataLifeSafetyZoneMaintenanceRequired) deepCopy() *_B return nil } _BACnetConstructedDataLifeSafetyZoneMaintenanceRequiredCopy := &_BACnetConstructedDataLifeSafetyZoneMaintenanceRequired{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.MaintenanceRequired.DeepCopy().(BACnetApplicationTagBoolean), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyZonePresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyZonePresentValue.go index ac79fd25ae..9a5db88a7e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyZonePresentValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLifeSafetyZonePresentValue.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataLifeSafetyZonePresentValue) deepCopy() *_BACnetCo return nil } _BACnetConstructedDataLifeSafetyZonePresentValueCopy := &_BACnetConstructedDataLifeSafetyZonePresentValue{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.PresentValue.DeepCopy().(BACnetLifeSafetyStateTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLiftAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLiftAll.go index 4b9ad27e1d..82029670d7 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLiftAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLiftAll.go @@ -166,7 +166,7 @@ func (m *_BACnetConstructedDataLiftAll) deepCopy() *_BACnetConstructedDataLiftAl return nil } _BACnetConstructedDataLiftAllCopy := &_BACnetConstructedDataLiftAll{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m return _BACnetConstructedDataLiftAllCopy diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLiftFaultSignals.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLiftFaultSignals.go index c67e4b4323..d3a2777472 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLiftFaultSignals.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLiftFaultSignals.go @@ -198,7 +198,7 @@ func (m *_BACnetConstructedDataLiftFaultSignals) deepCopy() *_BACnetConstructedD return nil } _BACnetConstructedDataLiftFaultSignalsCopy := &_BACnetConstructedDataLiftFaultSignals{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), utils.DeepCopySlice[BACnetLiftFaultTagged, BACnetLiftFaultTagged](m.FaultSignals), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLightingCommand.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLightingCommand.go index 6a7d7a84b3..e87b6b19b6 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLightingCommand.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLightingCommand.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataLightingCommand) deepCopy() *_BACnetConstructedDa return nil } _BACnetConstructedDataLightingCommandCopy := &_BACnetConstructedDataLightingCommand{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.LightingCommand.DeepCopy().(BACnetLightingCommand), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLightingCommandDefaultPriority.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLightingCommandDefaultPriority.go index 72caf6ada2..92bd4fa061 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLightingCommandDefaultPriority.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLightingCommandDefaultPriority.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataLightingCommandDefaultPriority) deepCopy() *_BACn return nil } _BACnetConstructedDataLightingCommandDefaultPriorityCopy := &_BACnetConstructedDataLightingCommandDefaultPriority{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.LightingCommandDefaultPriority.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLightingOutputAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLightingOutputAll.go index ab0a588c6c..f0c7c834fa 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLightingOutputAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLightingOutputAll.go @@ -166,7 +166,7 @@ func (m *_BACnetConstructedDataLightingOutputAll) deepCopy() *_BACnetConstructed return nil } _BACnetConstructedDataLightingOutputAllCopy := &_BACnetConstructedDataLightingOutputAll{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m return _BACnetConstructedDataLightingOutputAllCopy diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLightingOutputFeedbackValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLightingOutputFeedbackValue.go index 22ccc01bfa..6bae630b0a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLightingOutputFeedbackValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLightingOutputFeedbackValue.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataLightingOutputFeedbackValue) deepCopy() *_BACnetC return nil } _BACnetConstructedDataLightingOutputFeedbackValueCopy := &_BACnetConstructedDataLightingOutputFeedbackValue{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.FeedbackValue.DeepCopy().(BACnetApplicationTagReal), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLightingOutputPresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLightingOutputPresentValue.go index 243cb780e1..e75e8e261e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLightingOutputPresentValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLightingOutputPresentValue.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataLightingOutputPresentValue) deepCopy() *_BACnetCo return nil } _BACnetConstructedDataLightingOutputPresentValueCopy := &_BACnetConstructedDataLightingOutputPresentValue{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.PresentValue.DeepCopy().(BACnetApplicationTagReal), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLightingOutputRelinquishDefault.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLightingOutputRelinquishDefault.go index 49877cd069..4e9986d5c7 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLightingOutputRelinquishDefault.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLightingOutputRelinquishDefault.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataLightingOutputRelinquishDefault) deepCopy() *_BAC return nil } _BACnetConstructedDataLightingOutputRelinquishDefaultCopy := &_BACnetConstructedDataLightingOutputRelinquishDefault{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.RelinquishDefault.DeepCopy().(BACnetApplicationTagReal), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLightingOutputTrackingValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLightingOutputTrackingValue.go index b7abcf6050..601e972968 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLightingOutputTrackingValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLightingOutputTrackingValue.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataLightingOutputTrackingValue) deepCopy() *_BACnetC return nil } _BACnetConstructedDataLightingOutputTrackingValueCopy := &_BACnetConstructedDataLightingOutputTrackingValue{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.TrackingValue.DeepCopy().(BACnetApplicationTagReal), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLimitEnable.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLimitEnable.go index b051274f3f..23683d3630 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLimitEnable.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLimitEnable.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataLimitEnable) deepCopy() *_BACnetConstructedDataLi return nil } _BACnetConstructedDataLimitEnableCopy := &_BACnetConstructedDataLimitEnable{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.LimitEnable.DeepCopy().(BACnetLimitEnableTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLimitMonitoringInterval.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLimitMonitoringInterval.go index b39d35dce9..17fce84bac 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLimitMonitoringInterval.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLimitMonitoringInterval.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataLimitMonitoringInterval) deepCopy() *_BACnetConst return nil } _BACnetConstructedDataLimitMonitoringIntervalCopy := &_BACnetConstructedDataLimitMonitoringInterval{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.LimitMonitoringInterval.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLinkSpeed.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLinkSpeed.go index 7b93fab60d..71fa4a00dd 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLinkSpeed.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLinkSpeed.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataLinkSpeed) deepCopy() *_BACnetConstructedDataLink return nil } _BACnetConstructedDataLinkSpeedCopy := &_BACnetConstructedDataLinkSpeed{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.LinkSpeed.DeepCopy().(BACnetApplicationTagReal), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLinkSpeedAutonegotiate.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLinkSpeedAutonegotiate.go index 5a91c90e53..cc407b3d10 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLinkSpeedAutonegotiate.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLinkSpeedAutonegotiate.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataLinkSpeedAutonegotiate) deepCopy() *_BACnetConstr return nil } _BACnetConstructedDataLinkSpeedAutonegotiateCopy := &_BACnetConstructedDataLinkSpeedAutonegotiate{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.LinkSpeedAutonegotiate.DeepCopy().(BACnetApplicationTagBoolean), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLinkSpeeds.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLinkSpeeds.go index e6ad426ae7..96ce90fc4a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLinkSpeeds.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLinkSpeeds.go @@ -258,7 +258,7 @@ func (m *_BACnetConstructedDataLinkSpeeds) deepCopy() *_BACnetConstructedDataLin return nil } _BACnetConstructedDataLinkSpeedsCopy := &_BACnetConstructedDataLinkSpeeds{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NumberOfDataElements.DeepCopy().(BACnetApplicationTagUnsignedInteger), utils.DeepCopySlice[BACnetApplicationTagReal, BACnetApplicationTagReal](m.LinkSpeeds), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataListOfGroupMembers.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataListOfGroupMembers.go index ae3e0993c5..d9297d34a2 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataListOfGroupMembers.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataListOfGroupMembers.go @@ -198,7 +198,7 @@ func (m *_BACnetConstructedDataListOfGroupMembers) deepCopy() *_BACnetConstructe return nil } _BACnetConstructedDataListOfGroupMembersCopy := &_BACnetConstructedDataListOfGroupMembers{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), utils.DeepCopySlice[BACnetReadAccessSpecification, BACnetReadAccessSpecification](m.ListOfGroupMembers), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataListOfObjectPropertyReferences.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataListOfObjectPropertyReferences.go index 3ed08ca4d0..d93350a39d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataListOfObjectPropertyReferences.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataListOfObjectPropertyReferences.go @@ -199,7 +199,7 @@ func (m *_BACnetConstructedDataListOfObjectPropertyReferences) deepCopy() *_BACn return nil } _BACnetConstructedDataListOfObjectPropertyReferencesCopy := &_BACnetConstructedDataListOfObjectPropertyReferences{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), utils.DeepCopySlice[BACnetDeviceObjectPropertyReference, BACnetDeviceObjectPropertyReference](m.References), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLoadControlAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLoadControlAll.go index 9dc8a94006..a52e2982df 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLoadControlAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLoadControlAll.go @@ -166,7 +166,7 @@ func (m *_BACnetConstructedDataLoadControlAll) deepCopy() *_BACnetConstructedDat return nil } _BACnetConstructedDataLoadControlAllCopy := &_BACnetConstructedDataLoadControlAll{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m return _BACnetConstructedDataLoadControlAllCopy diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLoadControlPresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLoadControlPresentValue.go index 3a0c947db0..0ddee2e78f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLoadControlPresentValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLoadControlPresentValue.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataLoadControlPresentValue) deepCopy() *_BACnetConst return nil } _BACnetConstructedDataLoadControlPresentValueCopy := &_BACnetConstructedDataLoadControlPresentValue{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.PresentValue.DeepCopy().(BACnetShedStateTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLocalDate.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLocalDate.go index 0a1ef568a0..ccfc7de5d5 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLocalDate.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLocalDate.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataLocalDate) deepCopy() *_BACnetConstructedDataLoca return nil } _BACnetConstructedDataLocalDateCopy := &_BACnetConstructedDataLocalDate{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.LocalDate.DeepCopy().(BACnetApplicationTagDate), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLocalForwardingOnly.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLocalForwardingOnly.go index 43daefd165..399672357f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLocalForwardingOnly.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLocalForwardingOnly.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataLocalForwardingOnly) deepCopy() *_BACnetConstruct return nil } _BACnetConstructedDataLocalForwardingOnlyCopy := &_BACnetConstructedDataLocalForwardingOnly{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.LocalForwardingOnly.DeepCopy().(BACnetApplicationTagBoolean), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLocalTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLocalTime.go index 2b2fd876b3..a6516549f7 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLocalTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLocalTime.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataLocalTime) deepCopy() *_BACnetConstructedDataLoca return nil } _BACnetConstructedDataLocalTimeCopy := &_BACnetConstructedDataLocalTime{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.LocalTime.DeepCopy().(BACnetApplicationTagTime), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLocation.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLocation.go index 0c00d326d6..8da1edc274 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLocation.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLocation.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataLocation) deepCopy() *_BACnetConstructedDataLocat return nil } _BACnetConstructedDataLocationCopy := &_BACnetConstructedDataLocation{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.Location.DeepCopy().(BACnetApplicationTagCharacterString), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLockStatus.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLockStatus.go index dfe9d5909a..f36461d255 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLockStatus.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLockStatus.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataLockStatus) deepCopy() *_BACnetConstructedDataLoc return nil } _BACnetConstructedDataLockStatusCopy := &_BACnetConstructedDataLockStatus{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.LockStatus.DeepCopy().(BACnetLockStatusTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLockout.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLockout.go index 007468288b..d49394b4c7 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLockout.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLockout.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataLockout) deepCopy() *_BACnetConstructedDataLockou return nil } _BACnetConstructedDataLockoutCopy := &_BACnetConstructedDataLockout{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.Lockout.DeepCopy().(BACnetApplicationTagBoolean), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLockoutRelinquishTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLockoutRelinquishTime.go index 32926e6012..e926080b91 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLockoutRelinquishTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLockoutRelinquishTime.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataLockoutRelinquishTime) deepCopy() *_BACnetConstru return nil } _BACnetConstructedDataLockoutRelinquishTimeCopy := &_BACnetConstructedDataLockoutRelinquishTime{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.LockoutRelinquishTime.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLogBuffer.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLogBuffer.go index 0f17fc3f7c..35387e3c61 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLogBuffer.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLogBuffer.go @@ -258,7 +258,7 @@ func (m *_BACnetConstructedDataLogBuffer) deepCopy() *_BACnetConstructedDataLogB return nil } _BACnetConstructedDataLogBufferCopy := &_BACnetConstructedDataLogBuffer{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NumberOfDataElements.DeepCopy().(BACnetApplicationTagUnsignedInteger), utils.DeepCopySlice[BACnetLogRecord, BACnetLogRecord](m.FloorText), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLogDeviceObjectProperty.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLogDeviceObjectProperty.go index ca5493b495..5461f68785 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLogDeviceObjectProperty.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLogDeviceObjectProperty.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataLogDeviceObjectProperty) deepCopy() *_BACnetConst return nil } _BACnetConstructedDataLogDeviceObjectPropertyCopy := &_BACnetConstructedDataLogDeviceObjectProperty{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.LogDeviceObjectProperty.DeepCopy().(BACnetDeviceObjectPropertyReference), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLogInterval.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLogInterval.go index aa32bef1e3..c3b02833a3 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLogInterval.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLogInterval.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataLogInterval) deepCopy() *_BACnetConstructedDataLo return nil } _BACnetConstructedDataLogIntervalCopy := &_BACnetConstructedDataLogInterval{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.LogInterval.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLoggingObject.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLoggingObject.go index e4eb39debb..163fe8332d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLoggingObject.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLoggingObject.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataLoggingObject) deepCopy() *_BACnetConstructedData return nil } _BACnetConstructedDataLoggingObjectCopy := &_BACnetConstructedDataLoggingObject{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.LoggingObject.DeepCopy().(BACnetApplicationTagObjectIdentifier), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLoggingRecord.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLoggingRecord.go index 3fd7ba2634..66face9e66 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLoggingRecord.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLoggingRecord.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataLoggingRecord) deepCopy() *_BACnetConstructedData return nil } _BACnetConstructedDataLoggingRecordCopy := &_BACnetConstructedDataLoggingRecord{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.LoggingRecord.DeepCopy().(BACnetAccumulatorRecord), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLoggingType.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLoggingType.go index 3983aa8bd5..37f7d7df48 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLoggingType.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLoggingType.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataLoggingType) deepCopy() *_BACnetConstructedDataLo return nil } _BACnetConstructedDataLoggingTypeCopy := &_BACnetConstructedDataLoggingType{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.LoggingType.DeepCopy().(BACnetLoggingTypeTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLoopAction.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLoopAction.go index 22bffc0c04..2a0959f038 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLoopAction.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLoopAction.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataLoopAction) deepCopy() *_BACnetConstructedDataLoo return nil } _BACnetConstructedDataLoopActionCopy := &_BACnetConstructedDataLoopAction{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.Action.DeepCopy().(BACnetActionTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLoopAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLoopAll.go index 47b589942e..23341d490b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLoopAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLoopAll.go @@ -166,7 +166,7 @@ func (m *_BACnetConstructedDataLoopAll) deepCopy() *_BACnetConstructedDataLoopAl return nil } _BACnetConstructedDataLoopAllCopy := &_BACnetConstructedDataLoopAll{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m return _BACnetConstructedDataLoopAllCopy diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLoopPresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLoopPresentValue.go index 4dae30e3e4..cce32fc8d8 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLoopPresentValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLoopPresentValue.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataLoopPresentValue) deepCopy() *_BACnetConstructedD return nil } _BACnetConstructedDataLoopPresentValueCopy := &_BACnetConstructedDataLoopPresentValue{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.PresentValue.DeepCopy().(BACnetApplicationTagReal), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLowDiffLimit.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLowDiffLimit.go index 32500e95b5..efa1679a35 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLowDiffLimit.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLowDiffLimit.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataLowDiffLimit) deepCopy() *_BACnetConstructedDataL return nil } _BACnetConstructedDataLowDiffLimitCopy := &_BACnetConstructedDataLowDiffLimit{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.LowDiffLimit.DeepCopy().(BACnetOptionalREAL), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLowLimit.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLowLimit.go index 8b17c71c2c..5533bfe938 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLowLimit.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLowLimit.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataLowLimit) deepCopy() *_BACnetConstructedDataLowLi return nil } _BACnetConstructedDataLowLimitCopy := &_BACnetConstructedDataLowLimit{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.LowLimit.DeepCopy().(BACnetApplicationTagReal), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLowerDeck.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLowerDeck.go index 452d088848..0308e3f3a1 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLowerDeck.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataLowerDeck.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataLowerDeck) deepCopy() *_BACnetConstructedDataLowe return nil } _BACnetConstructedDataLowerDeckCopy := &_BACnetConstructedDataLowerDeck{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.LowerDeck.DeepCopy().(BACnetApplicationTagObjectIdentifier), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMACAddress.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMACAddress.go index ab39f246c6..ac56cdfec4 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMACAddress.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMACAddress.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataMACAddress) deepCopy() *_BACnetConstructedDataMAC return nil } _BACnetConstructedDataMACAddressCopy := &_BACnetConstructedDataMACAddress{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.MacAddress.DeepCopy().(BACnetApplicationTagOctetString), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMachineRoomID.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMachineRoomID.go index e756363a5a..331b1fa93e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMachineRoomID.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMachineRoomID.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataMachineRoomID) deepCopy() *_BACnetConstructedData return nil } _BACnetConstructedDataMachineRoomIDCopy := &_BACnetConstructedDataMachineRoomID{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.MachineRoomId.DeepCopy().(BACnetApplicationTagObjectIdentifier), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaintenanceRequired.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaintenanceRequired.go index aa924bc160..0cbd3053ca 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaintenanceRequired.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaintenanceRequired.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataMaintenanceRequired) deepCopy() *_BACnetConstruct return nil } _BACnetConstructedDataMaintenanceRequiredCopy := &_BACnetConstructedDataMaintenanceRequired{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.MaintenanceRequired.DeepCopy().(BACnetMaintenanceTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMakingCarCall.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMakingCarCall.go index 4e86bd3eef..cc58f4b6f0 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMakingCarCall.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMakingCarCall.go @@ -258,7 +258,7 @@ func (m *_BACnetConstructedDataMakingCarCall) deepCopy() *_BACnetConstructedData return nil } _BACnetConstructedDataMakingCarCallCopy := &_BACnetConstructedDataMakingCarCall{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NumberOfDataElements.DeepCopy().(BACnetApplicationTagUnsignedInteger), utils.DeepCopySlice[BACnetApplicationTagUnsignedInteger, BACnetApplicationTagUnsignedInteger](m.MakingCarCall), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataManipulatedVariableReference.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataManipulatedVariableReference.go index 4565e9f066..0303c4c2b7 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataManipulatedVariableReference.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataManipulatedVariableReference.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataManipulatedVariableReference) deepCopy() *_BACnet return nil } _BACnetConstructedDataManipulatedVariableReferenceCopy := &_BACnetConstructedDataManipulatedVariableReference{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.ManipulatedVariableReference.DeepCopy().(BACnetObjectPropertyReference), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataManualSlaveAddressBinding.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataManualSlaveAddressBinding.go index 3c9a8f4831..bd3b7a6cea 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataManualSlaveAddressBinding.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataManualSlaveAddressBinding.go @@ -199,7 +199,7 @@ func (m *_BACnetConstructedDataManualSlaveAddressBinding) deepCopy() *_BACnetCon return nil } _BACnetConstructedDataManualSlaveAddressBindingCopy := &_BACnetConstructedDataManualSlaveAddressBinding{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), utils.DeepCopySlice[BACnetAddressBinding, BACnetAddressBinding](m.ManualSlaveAddressBinding), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaskedAlarmValues.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaskedAlarmValues.go index 4e04670407..834049dbd1 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaskedAlarmValues.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaskedAlarmValues.go @@ -198,7 +198,7 @@ func (m *_BACnetConstructedDataMaskedAlarmValues) deepCopy() *_BACnetConstructed return nil } _BACnetConstructedDataMaskedAlarmValuesCopy := &_BACnetConstructedDataMaskedAlarmValues{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), utils.DeepCopySlice[BACnetDoorAlarmStateTagged, BACnetDoorAlarmStateTagged](m.MaskedAlarmValues), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaxAPDULengthAccepted.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaxAPDULengthAccepted.go index 9fb2cc101f..d53480b4fd 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaxAPDULengthAccepted.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaxAPDULengthAccepted.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataMaxAPDULengthAccepted) deepCopy() *_BACnetConstru return nil } _BACnetConstructedDataMaxAPDULengthAcceptedCopy := &_BACnetConstructedDataMaxAPDULengthAccepted{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.MaxApduLengthAccepted.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaxActualValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaxActualValue.go index da1bf6b8b5..7b132b7f1a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaxActualValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaxActualValue.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataMaxActualValue) deepCopy() *_BACnetConstructedDat return nil } _BACnetConstructedDataMaxActualValueCopy := &_BACnetConstructedDataMaxActualValue{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.MaxActualValue.DeepCopy().(BACnetApplicationTagReal), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaxFailedAttempts.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaxFailedAttempts.go index be836e8252..6349829f0b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaxFailedAttempts.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaxFailedAttempts.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataMaxFailedAttempts) deepCopy() *_BACnetConstructed return nil } _BACnetConstructedDataMaxFailedAttemptsCopy := &_BACnetConstructedDataMaxFailedAttempts{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.MaxFailedAttempts.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaxInfoFrames.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaxInfoFrames.go index 5456a9e6c7..92f70ee902 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaxInfoFrames.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaxInfoFrames.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataMaxInfoFrames) deepCopy() *_BACnetConstructedData return nil } _BACnetConstructedDataMaxInfoFramesCopy := &_BACnetConstructedDataMaxInfoFrames{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.MaxInfoFrames.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaxMaster.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaxMaster.go index 05d610c629..aae6059fef 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaxMaster.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaxMaster.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataMaxMaster) deepCopy() *_BACnetConstructedDataMaxM return nil } _BACnetConstructedDataMaxMasterCopy := &_BACnetConstructedDataMaxMaster{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.MaxMaster.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaxPresValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaxPresValue.go index 008f2ddaa5..dc1ffb0dc1 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaxPresValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaxPresValue.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataMaxPresValue) deepCopy() *_BACnetConstructedDataM return nil } _BACnetConstructedDataMaxPresValueCopy := &_BACnetConstructedDataMaxPresValue{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.MaxPresValue.DeepCopy().(BACnetApplicationTagReal), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaxSegmentsAccepted.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaxSegmentsAccepted.go index ac95daf185..08011e3a4b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaxSegmentsAccepted.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaxSegmentsAccepted.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataMaxSegmentsAccepted) deepCopy() *_BACnetConstruct return nil } _BACnetConstructedDataMaxSegmentsAcceptedCopy := &_BACnetConstructedDataMaxSegmentsAccepted{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.MaxSegmentsAccepted.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaximumOutput.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaximumOutput.go index 6d1053bd82..4edb90c110 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaximumOutput.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaximumOutput.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataMaximumOutput) deepCopy() *_BACnetConstructedData return nil } _BACnetConstructedDataMaximumOutputCopy := &_BACnetConstructedDataMaximumOutput{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.MaximumOutput.DeepCopy().(BACnetApplicationTagReal), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaximumValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaximumValue.go index 82bab2c7d0..1f8740bfea 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaximumValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaximumValue.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataMaximumValue) deepCopy() *_BACnetConstructedDataM return nil } _BACnetConstructedDataMaximumValueCopy := &_BACnetConstructedDataMaximumValue{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.MaximumValue.DeepCopy().(BACnetApplicationTagReal), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaximumValueTimestamp.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaximumValueTimestamp.go index 2cc1d65830..f70a372855 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaximumValueTimestamp.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMaximumValueTimestamp.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataMaximumValueTimestamp) deepCopy() *_BACnetConstru return nil } _BACnetConstructedDataMaximumValueTimestampCopy := &_BACnetConstructedDataMaximumValueTimestamp{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.MaximumValueTimestamp.DeepCopy().(BACnetDateTime), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMemberOf.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMemberOf.go index 84a20a4ce0..5b4af1d56d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMemberOf.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMemberOf.go @@ -198,7 +198,7 @@ func (m *_BACnetConstructedDataMemberOf) deepCopy() *_BACnetConstructedDataMembe return nil } _BACnetConstructedDataMemberOfCopy := &_BACnetConstructedDataMemberOf{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), utils.DeepCopySlice[BACnetDeviceObjectReference, BACnetDeviceObjectReference](m.Zones), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMemberStatusFlags.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMemberStatusFlags.go index 52ecc4b531..ac34eedcf5 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMemberStatusFlags.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMemberStatusFlags.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataMemberStatusFlags) deepCopy() *_BACnetConstructed return nil } _BACnetConstructedDataMemberStatusFlagsCopy := &_BACnetConstructedDataMemberStatusFlags{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.StatusFlags.DeepCopy().(BACnetStatusFlagsTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMembers.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMembers.go index 616e839132..168b7fe92c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMembers.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMembers.go @@ -198,7 +198,7 @@ func (m *_BACnetConstructedDataMembers) deepCopy() *_BACnetConstructedDataMember return nil } _BACnetConstructedDataMembersCopy := &_BACnetConstructedDataMembers{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), utils.DeepCopySlice[BACnetDeviceObjectReference, BACnetDeviceObjectReference](m.Members), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMinActualValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMinActualValue.go index 74e32b047a..3eda950d51 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMinActualValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMinActualValue.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataMinActualValue) deepCopy() *_BACnetConstructedDat return nil } _BACnetConstructedDataMinActualValueCopy := &_BACnetConstructedDataMinActualValue{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.MinActualValue.DeepCopy().(BACnetApplicationTagReal), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMinPresValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMinPresValue.go index 5cd8967165..07f4b713db 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMinPresValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMinPresValue.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataMinPresValue) deepCopy() *_BACnetConstructedDataM return nil } _BACnetConstructedDataMinPresValueCopy := &_BACnetConstructedDataMinPresValue{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.MinPresValue.DeepCopy().(BACnetApplicationTagReal), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMinimumOffTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMinimumOffTime.go index a7d81bd940..8569a874c4 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMinimumOffTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMinimumOffTime.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataMinimumOffTime) deepCopy() *_BACnetConstructedDat return nil } _BACnetConstructedDataMinimumOffTimeCopy := &_BACnetConstructedDataMinimumOffTime{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.MinimumOffTime.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMinimumOnTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMinimumOnTime.go index bad7cb795e..3f51b3137c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMinimumOnTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMinimumOnTime.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataMinimumOnTime) deepCopy() *_BACnetConstructedData return nil } _BACnetConstructedDataMinimumOnTimeCopy := &_BACnetConstructedDataMinimumOnTime{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.MinimumOnTime.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMinimumOutput.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMinimumOutput.go index a18b5a0d45..2bb744ce7d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMinimumOutput.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMinimumOutput.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataMinimumOutput) deepCopy() *_BACnetConstructedData return nil } _BACnetConstructedDataMinimumOutputCopy := &_BACnetConstructedDataMinimumOutput{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.MinimumOutput.DeepCopy().(BACnetApplicationTagReal), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMinimumValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMinimumValue.go index c1f0f4391a..c5a5af294e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMinimumValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMinimumValue.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataMinimumValue) deepCopy() *_BACnetConstructedDataM return nil } _BACnetConstructedDataMinimumValueCopy := &_BACnetConstructedDataMinimumValue{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.MinimumValue.DeepCopy().(BACnetApplicationTagReal), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMinimumValueTimestamp.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMinimumValueTimestamp.go index 337110c32b..178061baaa 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMinimumValueTimestamp.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMinimumValueTimestamp.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataMinimumValueTimestamp) deepCopy() *_BACnetConstru return nil } _BACnetConstructedDataMinimumValueTimestampCopy := &_BACnetConstructedDataMinimumValueTimestamp{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.MinimumValueTimestamp.DeepCopy().(BACnetDateTime), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMode.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMode.go index 0a20df1d6d..ff62348b0d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMode.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMode.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataMode) deepCopy() *_BACnetConstructedDataMode { return nil } _BACnetConstructedDataModeCopy := &_BACnetConstructedDataMode{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.Mode.DeepCopy().(BACnetLifeSafetyModeTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataModelName.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataModelName.go index 88d4f2ec44..90e7404f38 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataModelName.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataModelName.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataModelName) deepCopy() *_BACnetConstructedDataMode return nil } _BACnetConstructedDataModelNameCopy := &_BACnetConstructedDataModelName{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.ModelName.DeepCopy().(BACnetApplicationTagCharacterString), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataModificationDate.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataModificationDate.go index 158220bb29..de50891c6a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataModificationDate.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataModificationDate.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataModificationDate) deepCopy() *_BACnetConstructedD return nil } _BACnetConstructedDataModificationDateCopy := &_BACnetConstructedDataModificationDate{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.ModificationDate.DeepCopy().(BACnetDateTime), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateInputAlarmValues.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateInputAlarmValues.go index 36a7479ffd..d1878ff800 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateInputAlarmValues.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateInputAlarmValues.go @@ -199,7 +199,7 @@ func (m *_BACnetConstructedDataMultiStateInputAlarmValues) deepCopy() *_BACnetCo return nil } _BACnetConstructedDataMultiStateInputAlarmValuesCopy := &_BACnetConstructedDataMultiStateInputAlarmValues{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), utils.DeepCopySlice[BACnetApplicationTagUnsignedInteger, BACnetApplicationTagUnsignedInteger](m.AlarmValues), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateInputAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateInputAll.go index fb3ee35139..2f2f55295e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateInputAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateInputAll.go @@ -166,7 +166,7 @@ func (m *_BACnetConstructedDataMultiStateInputAll) deepCopy() *_BACnetConstructe return nil } _BACnetConstructedDataMultiStateInputAllCopy := &_BACnetConstructedDataMultiStateInputAll{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m return _BACnetConstructedDataMultiStateInputAllCopy diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateInputFaultValues.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateInputFaultValues.go index 42b804fc10..91aa389b3f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateInputFaultValues.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateInputFaultValues.go @@ -199,7 +199,7 @@ func (m *_BACnetConstructedDataMultiStateInputFaultValues) deepCopy() *_BACnetCo return nil } _BACnetConstructedDataMultiStateInputFaultValuesCopy := &_BACnetConstructedDataMultiStateInputFaultValues{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), utils.DeepCopySlice[BACnetApplicationTagUnsignedInteger, BACnetApplicationTagUnsignedInteger](m.FaultValues), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateInputInterfaceValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateInputInterfaceValue.go index 6fb2a67604..523b1c382f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateInputInterfaceValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateInputInterfaceValue.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataMultiStateInputInterfaceValue) deepCopy() *_BACne return nil } _BACnetConstructedDataMultiStateInputInterfaceValueCopy := &_BACnetConstructedDataMultiStateInputInterfaceValue{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.InterfaceValue.DeepCopy().(BACnetOptionalBinaryPV), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateOutputAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateOutputAll.go index 8aecfd3e51..2c86320489 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateOutputAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateOutputAll.go @@ -166,7 +166,7 @@ func (m *_BACnetConstructedDataMultiStateOutputAll) deepCopy() *_BACnetConstruct return nil } _BACnetConstructedDataMultiStateOutputAllCopy := &_BACnetConstructedDataMultiStateOutputAll{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m return _BACnetConstructedDataMultiStateOutputAllCopy diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateOutputFeedbackValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateOutputFeedbackValue.go index 7662461b37..3eef923b35 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateOutputFeedbackValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateOutputFeedbackValue.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataMultiStateOutputFeedbackValue) deepCopy() *_BACne return nil } _BACnetConstructedDataMultiStateOutputFeedbackValueCopy := &_BACnetConstructedDataMultiStateOutputFeedbackValue{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.FeedbackValue.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateOutputInterfaceValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateOutputInterfaceValue.go index 95e0cdb5a7..56af4a3320 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateOutputInterfaceValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateOutputInterfaceValue.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataMultiStateOutputInterfaceValue) deepCopy() *_BACn return nil } _BACnetConstructedDataMultiStateOutputInterfaceValueCopy := &_BACnetConstructedDataMultiStateOutputInterfaceValue{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.InterfaceValue.DeepCopy().(BACnetOptionalBinaryPV), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateOutputRelinquishDefault.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateOutputRelinquishDefault.go index b741146297..a285471f05 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateOutputRelinquishDefault.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateOutputRelinquishDefault.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataMultiStateOutputRelinquishDefault) deepCopy() *_B return nil } _BACnetConstructedDataMultiStateOutputRelinquishDefaultCopy := &_BACnetConstructedDataMultiStateOutputRelinquishDefault{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.RelinquishDefault.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateValueAlarmValues.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateValueAlarmValues.go index f9dbfb0696..fd9fc3c3a8 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateValueAlarmValues.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateValueAlarmValues.go @@ -199,7 +199,7 @@ func (m *_BACnetConstructedDataMultiStateValueAlarmValues) deepCopy() *_BACnetCo return nil } _BACnetConstructedDataMultiStateValueAlarmValuesCopy := &_BACnetConstructedDataMultiStateValueAlarmValues{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), utils.DeepCopySlice[BACnetApplicationTagUnsignedInteger, BACnetApplicationTagUnsignedInteger](m.AlarmValues), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateValueAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateValueAll.go index 62c48cadb4..5f809f06e5 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateValueAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateValueAll.go @@ -166,7 +166,7 @@ func (m *_BACnetConstructedDataMultiStateValueAll) deepCopy() *_BACnetConstructe return nil } _BACnetConstructedDataMultiStateValueAllCopy := &_BACnetConstructedDataMultiStateValueAll{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m return _BACnetConstructedDataMultiStateValueAllCopy diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateValueFaultValues.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateValueFaultValues.go index c745f90ee2..2fa8fcbe6e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateValueFaultValues.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateValueFaultValues.go @@ -199,7 +199,7 @@ func (m *_BACnetConstructedDataMultiStateValueFaultValues) deepCopy() *_BACnetCo return nil } _BACnetConstructedDataMultiStateValueFaultValuesCopy := &_BACnetConstructedDataMultiStateValueFaultValues{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), utils.DeepCopySlice[BACnetApplicationTagUnsignedInteger, BACnetApplicationTagUnsignedInteger](m.FaultValues), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateValueRelinquishDefault.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateValueRelinquishDefault.go index b8c8e75b01..bc59abdaa2 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateValueRelinquishDefault.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMultiStateValueRelinquishDefault.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataMultiStateValueRelinquishDefault) deepCopy() *_BA return nil } _BACnetConstructedDataMultiStateValueRelinquishDefaultCopy := &_BACnetConstructedDataMultiStateValueRelinquishDefault{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.RelinquishDefault.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMusterPoint.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMusterPoint.go index dd6c3598c7..dfd6cf158f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMusterPoint.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataMusterPoint.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataMusterPoint) deepCopy() *_BACnetConstructedDataMu return nil } _BACnetConstructedDataMusterPointCopy := &_BACnetConstructedDataMusterPoint{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.MusterPoint.DeepCopy().(BACnetApplicationTagBoolean), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNegativeAccessRules.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNegativeAccessRules.go index 615a34c781..69ed979b70 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNegativeAccessRules.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNegativeAccessRules.go @@ -258,7 +258,7 @@ func (m *_BACnetConstructedDataNegativeAccessRules) deepCopy() *_BACnetConstruct return nil } _BACnetConstructedDataNegativeAccessRulesCopy := &_BACnetConstructedDataNegativeAccessRules{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NumberOfDataElements.DeepCopy().(BACnetApplicationTagUnsignedInteger), utils.DeepCopySlice[BACnetAccessRule, BACnetAccessRule](m.NegativeAccessRules), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNetworkAccessSecurityPolicies.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNetworkAccessSecurityPolicies.go index 51bf5a688e..f009b3b31a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNetworkAccessSecurityPolicies.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNetworkAccessSecurityPolicies.go @@ -259,7 +259,7 @@ func (m *_BACnetConstructedDataNetworkAccessSecurityPolicies) deepCopy() *_BACne return nil } _BACnetConstructedDataNetworkAccessSecurityPoliciesCopy := &_BACnetConstructedDataNetworkAccessSecurityPolicies{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NumberOfDataElements.DeepCopy().(BACnetApplicationTagUnsignedInteger), utils.DeepCopySlice[BACnetNetworkSecurityPolicy, BACnetNetworkSecurityPolicy](m.NetworkAccessSecurityPolicies), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNetworkInterfaceName.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNetworkInterfaceName.go index 43b065085b..0d3ab72cb3 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNetworkInterfaceName.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNetworkInterfaceName.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataNetworkInterfaceName) deepCopy() *_BACnetConstruc return nil } _BACnetConstructedDataNetworkInterfaceNameCopy := &_BACnetConstructedDataNetworkInterfaceName{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NetworkInterfaceName.DeepCopy().(BACnetApplicationTagCharacterString), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNetworkNumber.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNetworkNumber.go index ed31656948..71e42aa0fb 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNetworkNumber.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNetworkNumber.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataNetworkNumber) deepCopy() *_BACnetConstructedData return nil } _BACnetConstructedDataNetworkNumberCopy := &_BACnetConstructedDataNetworkNumber{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NetworkNumber.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNetworkNumberQuality.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNetworkNumberQuality.go index 00ec5e77d2..e9ca35e13e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNetworkNumberQuality.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNetworkNumberQuality.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataNetworkNumberQuality) deepCopy() *_BACnetConstruc return nil } _BACnetConstructedDataNetworkNumberQualityCopy := &_BACnetConstructedDataNetworkNumberQuality{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NetworkNumberQuality.DeepCopy().(BACnetNetworkNumberQualityTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNetworkPortAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNetworkPortAll.go index c5085e4d80..d59307f100 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNetworkPortAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNetworkPortAll.go @@ -166,7 +166,7 @@ func (m *_BACnetConstructedDataNetworkPortAll) deepCopy() *_BACnetConstructedDat return nil } _BACnetConstructedDataNetworkPortAllCopy := &_BACnetConstructedDataNetworkPortAll{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m return _BACnetConstructedDataNetworkPortAllCopy diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNetworkPortMaxInfoFrames.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNetworkPortMaxInfoFrames.go index 7427e83fb5..589d8c63f1 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNetworkPortMaxInfoFrames.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNetworkPortMaxInfoFrames.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataNetworkPortMaxInfoFrames) deepCopy() *_BACnetCons return nil } _BACnetConstructedDataNetworkPortMaxInfoFramesCopy := &_BACnetConstructedDataNetworkPortMaxInfoFrames{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.MaxInfoFrames.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNetworkPortMaxMaster.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNetworkPortMaxMaster.go index 999afe3596..fa650c7f9c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNetworkPortMaxMaster.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNetworkPortMaxMaster.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataNetworkPortMaxMaster) deepCopy() *_BACnetConstruc return nil } _BACnetConstructedDataNetworkPortMaxMasterCopy := &_BACnetConstructedDataNetworkPortMaxMaster{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.MaxMaster.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNetworkSecurityAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNetworkSecurityAll.go index 0f92771c50..901fb5e4f0 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNetworkSecurityAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNetworkSecurityAll.go @@ -166,7 +166,7 @@ func (m *_BACnetConstructedDataNetworkSecurityAll) deepCopy() *_BACnetConstructe return nil } _BACnetConstructedDataNetworkSecurityAllCopy := &_BACnetConstructedDataNetworkSecurityAll{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m return _BACnetConstructedDataNetworkSecurityAllCopy diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNetworkType.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNetworkType.go index 3d0640a348..0671ea3a79 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNetworkType.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNetworkType.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataNetworkType) deepCopy() *_BACnetConstructedDataNe return nil } _BACnetConstructedDataNetworkTypeCopy := &_BACnetConstructedDataNetworkType{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NetworkType.DeepCopy().(BACnetNetworkTypeTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNextStoppingFloor.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNextStoppingFloor.go index 290f629364..3db9cebe74 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNextStoppingFloor.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNextStoppingFloor.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataNextStoppingFloor) deepCopy() *_BACnetConstructed return nil } _BACnetConstructedDataNextStoppingFloorCopy := &_BACnetConstructedDataNextStoppingFloor{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NextStoppingFloor.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNodeSubtype.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNodeSubtype.go index 00ed9c33f3..ba08c219a2 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNodeSubtype.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNodeSubtype.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataNodeSubtype) deepCopy() *_BACnetConstructedDataNo return nil } _BACnetConstructedDataNodeSubtypeCopy := &_BACnetConstructedDataNodeSubtype{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NodeSubType.DeepCopy().(BACnetApplicationTagCharacterString), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNodeType.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNodeType.go index a6e2222d52..f85fb17ab6 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNodeType.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNodeType.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataNodeType) deepCopy() *_BACnetConstructedDataNodeT return nil } _BACnetConstructedDataNodeTypeCopy := &_BACnetConstructedDataNodeType{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NodeType.DeepCopy().(BACnetNodeTypeTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNotificationClass.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNotificationClass.go index 9f9201a6d2..bacf02535a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNotificationClass.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNotificationClass.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataNotificationClass) deepCopy() *_BACnetConstructed return nil } _BACnetConstructedDataNotificationClassCopy := &_BACnetConstructedDataNotificationClass{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NotificationClass.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNotificationClassAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNotificationClassAll.go index 9a91112477..e52fa7b981 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNotificationClassAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNotificationClassAll.go @@ -166,7 +166,7 @@ func (m *_BACnetConstructedDataNotificationClassAll) deepCopy() *_BACnetConstruc return nil } _BACnetConstructedDataNotificationClassAllCopy := &_BACnetConstructedDataNotificationClassAll{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m return _BACnetConstructedDataNotificationClassAllCopy diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNotificationForwarderAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNotificationForwarderAll.go index 69df74be5e..57fcbc2f39 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNotificationForwarderAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNotificationForwarderAll.go @@ -167,7 +167,7 @@ func (m *_BACnetConstructedDataNotificationForwarderAll) deepCopy() *_BACnetCons return nil } _BACnetConstructedDataNotificationForwarderAllCopy := &_BACnetConstructedDataNotificationForwarderAll{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m return _BACnetConstructedDataNotificationForwarderAllCopy diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNotificationThreshold.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNotificationThreshold.go index ca93921893..54d7c68de7 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNotificationThreshold.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNotificationThreshold.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataNotificationThreshold) deepCopy() *_BACnetConstru return nil } _BACnetConstructedDataNotificationThresholdCopy := &_BACnetConstructedDataNotificationThreshold{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NotificationThreshold.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNotifyType.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNotifyType.go index d39e8f0a6c..bf56a47d5e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNotifyType.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNotifyType.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataNotifyType) deepCopy() *_BACnetConstructedDataNot return nil } _BACnetConstructedDataNotifyTypeCopy := &_BACnetConstructedDataNotifyType{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NotifyType.DeepCopy().(BACnetNotifyTypeTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNumberOfAPDURetries.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNumberOfAPDURetries.go index 928880b084..787350411a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNumberOfAPDURetries.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNumberOfAPDURetries.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataNumberOfAPDURetries) deepCopy() *_BACnetConstruct return nil } _BACnetConstructedDataNumberOfAPDURetriesCopy := &_BACnetConstructedDataNumberOfAPDURetries{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NumberOfApduRetries.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNumberOfAuthenticationPolicies.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNumberOfAuthenticationPolicies.go index f4ae41b68c..4c1f0a05c9 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNumberOfAuthenticationPolicies.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNumberOfAuthenticationPolicies.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataNumberOfAuthenticationPolicies) deepCopy() *_BACn return nil } _BACnetConstructedDataNumberOfAuthenticationPoliciesCopy := &_BACnetConstructedDataNumberOfAuthenticationPolicies{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NumberOfAuthenticationPolicies.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNumberOfStates.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNumberOfStates.go index 91aa20164d..c5edf4c892 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNumberOfStates.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataNumberOfStates.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataNumberOfStates) deepCopy() *_BACnetConstructedDat return nil } _BACnetConstructedDataNumberOfStatesCopy := &_BACnetConstructedDataNumberOfStates{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NumberOfState.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataObjectIdentifier.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataObjectIdentifier.go index 46c52e39fa..027f8ca8fc 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataObjectIdentifier.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataObjectIdentifier.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataObjectIdentifier) deepCopy() *_BACnetConstructedD return nil } _BACnetConstructedDataObjectIdentifierCopy := &_BACnetConstructedDataObjectIdentifier{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.ObjectIdentifier.DeepCopy().(BACnetApplicationTagObjectIdentifier), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataObjectList.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataObjectList.go index 235b3b8093..bcdf30ba89 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataObjectList.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataObjectList.go @@ -258,7 +258,7 @@ func (m *_BACnetConstructedDataObjectList) deepCopy() *_BACnetConstructedDataObj return nil } _BACnetConstructedDataObjectListCopy := &_BACnetConstructedDataObjectList{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NumberOfDataElements.DeepCopy().(BACnetApplicationTagUnsignedInteger), utils.DeepCopySlice[BACnetApplicationTagObjectIdentifier, BACnetApplicationTagObjectIdentifier](m.ObjectList), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataObjectName.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataObjectName.go index e15fda1fe5..05dd07a891 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataObjectName.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataObjectName.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataObjectName) deepCopy() *_BACnetConstructedDataObj return nil } _BACnetConstructedDataObjectNameCopy := &_BACnetConstructedDataObjectName{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.ObjectName.DeepCopy().(BACnetApplicationTagCharacterString), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataObjectPropertyReference.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataObjectPropertyReference.go index d1793eda4b..d69ad3abce 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataObjectPropertyReference.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataObjectPropertyReference.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataObjectPropertyReference) deepCopy() *_BACnetConst return nil } _BACnetConstructedDataObjectPropertyReferenceCopy := &_BACnetConstructedDataObjectPropertyReference{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.PropertyReference.DeepCopy().(BACnetDeviceObjectPropertyReference), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataObjectType.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataObjectType.go index 8224ca642f..6edd20f646 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataObjectType.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataObjectType.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataObjectType) deepCopy() *_BACnetConstructedDataObj return nil } _BACnetConstructedDataObjectTypeCopy := &_BACnetConstructedDataObjectType{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.ObjectType.DeepCopy().(BACnetObjectTypeTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOccupancyCount.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOccupancyCount.go index 36e9cae6a3..adff1d5961 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOccupancyCount.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOccupancyCount.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataOccupancyCount) deepCopy() *_BACnetConstructedDat return nil } _BACnetConstructedDataOccupancyCountCopy := &_BACnetConstructedDataOccupancyCount{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.OccupancyCount.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOccupancyCountAdjust.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOccupancyCountAdjust.go index 8060b607f2..40723ba2d7 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOccupancyCountAdjust.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOccupancyCountAdjust.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataOccupancyCountAdjust) deepCopy() *_BACnetConstruc return nil } _BACnetConstructedDataOccupancyCountAdjustCopy := &_BACnetConstructedDataOccupancyCountAdjust{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.OccupancyCountAdjust.DeepCopy().(BACnetApplicationTagBoolean), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOccupancyCountEnable.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOccupancyCountEnable.go index 8681c878d9..b049863f19 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOccupancyCountEnable.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOccupancyCountEnable.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataOccupancyCountEnable) deepCopy() *_BACnetConstruc return nil } _BACnetConstructedDataOccupancyCountEnableCopy := &_BACnetConstructedDataOccupancyCountEnable{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.OccupancyCountEnable.DeepCopy().(BACnetApplicationTagBoolean), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOccupancyLowerLimit.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOccupancyLowerLimit.go index f20793b70c..19f004e213 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOccupancyLowerLimit.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOccupancyLowerLimit.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataOccupancyLowerLimit) deepCopy() *_BACnetConstruct return nil } _BACnetConstructedDataOccupancyLowerLimitCopy := &_BACnetConstructedDataOccupancyLowerLimit{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.OccupancyLowerLimit.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOccupancyLowerLimitEnforced.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOccupancyLowerLimitEnforced.go index 142e73579d..4478300435 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOccupancyLowerLimitEnforced.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOccupancyLowerLimitEnforced.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataOccupancyLowerLimitEnforced) deepCopy() *_BACnetC return nil } _BACnetConstructedDataOccupancyLowerLimitEnforcedCopy := &_BACnetConstructedDataOccupancyLowerLimitEnforced{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.OccupancyLowerLimitEnforced.DeepCopy().(BACnetApplicationTagBoolean), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOccupancyState.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOccupancyState.go index c17ff7949c..27c1e66d6c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOccupancyState.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOccupancyState.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataOccupancyState) deepCopy() *_BACnetConstructedDat return nil } _BACnetConstructedDataOccupancyStateCopy := &_BACnetConstructedDataOccupancyState{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.OccupancyState.DeepCopy().(BACnetAccessZoneOccupancyStateTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOccupancyUpperLimit.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOccupancyUpperLimit.go index 5d76c55b28..dc08dc9e3d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOccupancyUpperLimit.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOccupancyUpperLimit.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataOccupancyUpperLimit) deepCopy() *_BACnetConstruct return nil } _BACnetConstructedDataOccupancyUpperLimitCopy := &_BACnetConstructedDataOccupancyUpperLimit{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.OccupancyUpperLimit.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOccupancyUpperLimitEnforced.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOccupancyUpperLimitEnforced.go index 6e201ad10b..50b5d7c9f4 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOccupancyUpperLimitEnforced.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOccupancyUpperLimitEnforced.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataOccupancyUpperLimitEnforced) deepCopy() *_BACnetC return nil } _BACnetConstructedDataOccupancyUpperLimitEnforcedCopy := &_BACnetConstructedDataOccupancyUpperLimitEnforced{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.OccupancyUpperLimitEnforced.DeepCopy().(BACnetApplicationTagBoolean), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOctetStringValuePresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOctetStringValuePresentValue.go index 31d39f4ffd..84c806f25d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOctetStringValuePresentValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOctetStringValuePresentValue.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataOctetStringValuePresentValue) deepCopy() *_BACnet return nil } _BACnetConstructedDataOctetStringValuePresentValueCopy := &_BACnetConstructedDataOctetStringValuePresentValue{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.PresentValue.DeepCopy().(BACnetApplicationTagOctetString), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOctetStringValueRelinquishDefault.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOctetStringValueRelinquishDefault.go index 1fad8abc1c..e8f32dc178 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOctetStringValueRelinquishDefault.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOctetStringValueRelinquishDefault.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataOctetStringValueRelinquishDefault) deepCopy() *_B return nil } _BACnetConstructedDataOctetStringValueRelinquishDefaultCopy := &_BACnetConstructedDataOctetStringValueRelinquishDefault{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.RelinquishDefault.DeepCopy().(BACnetApplicationTagSignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOctetstringValueAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOctetstringValueAll.go index 3474550f78..3b8bc86e0a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOctetstringValueAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOctetstringValueAll.go @@ -166,7 +166,7 @@ func (m *_BACnetConstructedDataOctetstringValueAll) deepCopy() *_BACnetConstruct return nil } _BACnetConstructedDataOctetstringValueAllCopy := &_BACnetConstructedDataOctetstringValueAll{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m return _BACnetConstructedDataOctetstringValueAllCopy diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOperationDirection.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOperationDirection.go index 269d61185f..3d6526088e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOperationDirection.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOperationDirection.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataOperationDirection) deepCopy() *_BACnetConstructe return nil } _BACnetConstructedDataOperationDirectionCopy := &_BACnetConstructedDataOperationDirection{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.OperationDirection.DeepCopy().(BACnetEscalatorOperationDirectionTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOperationExpected.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOperationExpected.go index 5a8cfc87ad..691d586434 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOperationExpected.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOperationExpected.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataOperationExpected) deepCopy() *_BACnetConstructed return nil } _BACnetConstructedDataOperationExpectedCopy := &_BACnetConstructedDataOperationExpected{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.LifeSafetyOperations.DeepCopy().(BACnetLifeSafetyOperationTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOptional.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOptional.go index 4af6bddd05..a07bfe00fd 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOptional.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOptional.go @@ -166,7 +166,7 @@ func (m *_BACnetConstructedDataOptional) deepCopy() *_BACnetConstructedDataOptio return nil } _BACnetConstructedDataOptionalCopy := &_BACnetConstructedDataOptional{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m return _BACnetConstructedDataOptionalCopy diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOutOfService.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOutOfService.go index 9bd874681c..3ddb2c160c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOutOfService.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOutOfService.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataOutOfService) deepCopy() *_BACnetConstructedDataO return nil } _BACnetConstructedDataOutOfServiceCopy := &_BACnetConstructedDataOutOfService{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.OutOfService.DeepCopy().(BACnetApplicationTagBoolean), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOutputUnits.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOutputUnits.go index 30af8e095f..3151f775c5 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOutputUnits.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataOutputUnits.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataOutputUnits) deepCopy() *_BACnetConstructedDataOu return nil } _BACnetConstructedDataOutputUnitsCopy := &_BACnetConstructedDataOutputUnits{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.Units.DeepCopy().(BACnetEngineeringUnitsTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPacketReorderTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPacketReorderTime.go index 51ca32b766..9b4198921c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPacketReorderTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPacketReorderTime.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataPacketReorderTime) deepCopy() *_BACnetConstructed return nil } _BACnetConstructedDataPacketReorderTimeCopy := &_BACnetConstructedDataPacketReorderTime{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.PacketReorderTime.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPassbackMode.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPassbackMode.go index 3f479bac6b..ed12820b3e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPassbackMode.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPassbackMode.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataPassbackMode) deepCopy() *_BACnetConstructedDataP return nil } _BACnetConstructedDataPassbackModeCopy := &_BACnetConstructedDataPassbackMode{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.PassbackMode.DeepCopy().(BACnetAccessPassbackModeTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPassbackTimeout.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPassbackTimeout.go index 6e68054455..29aee4db1a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPassbackTimeout.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPassbackTimeout.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataPassbackTimeout) deepCopy() *_BACnetConstructedDa return nil } _BACnetConstructedDataPassbackTimeoutCopy := &_BACnetConstructedDataPassbackTimeout{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.PassbackTimeout.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPassengerAlarm.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPassengerAlarm.go index c148ffd294..36b3cad381 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPassengerAlarm.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPassengerAlarm.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataPassengerAlarm) deepCopy() *_BACnetConstructedDat return nil } _BACnetConstructedDataPassengerAlarmCopy := &_BACnetConstructedDataPassengerAlarm{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.PassengerAlarm.DeepCopy().(BACnetApplicationTagBoolean), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPolarity.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPolarity.go index 5302d43e4e..0e9233caac 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPolarity.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPolarity.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataPolarity) deepCopy() *_BACnetConstructedDataPolar return nil } _BACnetConstructedDataPolarityCopy := &_BACnetConstructedDataPolarity{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.Polarity.DeepCopy().(BACnetPolarityTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPortFilter.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPortFilter.go index 15e95c521b..a825fb0275 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPortFilter.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPortFilter.go @@ -258,7 +258,7 @@ func (m *_BACnetConstructedDataPortFilter) deepCopy() *_BACnetConstructedDataPor return nil } _BACnetConstructedDataPortFilterCopy := &_BACnetConstructedDataPortFilter{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NumberOfDataElements.DeepCopy().(BACnetApplicationTagUnsignedInteger), utils.DeepCopySlice[BACnetPortPermission, BACnetPortPermission](m.PortFilter), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveAccessRules.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveAccessRules.go index 83cb063edc..62bdb0857d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveAccessRules.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveAccessRules.go @@ -258,7 +258,7 @@ func (m *_BACnetConstructedDataPositiveAccessRules) deepCopy() *_BACnetConstruct return nil } _BACnetConstructedDataPositiveAccessRulesCopy := &_BACnetConstructedDataPositiveAccessRules{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NumberOfDataElements.DeepCopy().(BACnetApplicationTagUnsignedInteger), utils.DeepCopySlice[BACnetAccessRule, BACnetAccessRule](m.PositiveAccessRules), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueAll.go index 5cdece2a6f..fdc0414637 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueAll.go @@ -167,7 +167,7 @@ func (m *_BACnetConstructedDataPositiveIntegerValueAll) deepCopy() *_BACnetConst return nil } _BACnetConstructedDataPositiveIntegerValueAllCopy := &_BACnetConstructedDataPositiveIntegerValueAll{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m return _BACnetConstructedDataPositiveIntegerValueAllCopy diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueCOVIncrement.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueCOVIncrement.go index 312f697f33..2b6bae35b8 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueCOVIncrement.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueCOVIncrement.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataPositiveIntegerValueCOVIncrement) deepCopy() *_BA return nil } _BACnetConstructedDataPositiveIntegerValueCOVIncrementCopy := &_BACnetConstructedDataPositiveIntegerValueCOVIncrement{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.CovIncrement.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueDeadband.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueDeadband.go index 449e24d864..cda375140c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueDeadband.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueDeadband.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataPositiveIntegerValueDeadband) deepCopy() *_BACnet return nil } _BACnetConstructedDataPositiveIntegerValueDeadbandCopy := &_BACnetConstructedDataPositiveIntegerValueDeadband{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.Deadband.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueFaultHighLimit.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueFaultHighLimit.go index ce2cb57e8f..ccc027b2ac 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueFaultHighLimit.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueFaultHighLimit.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataPositiveIntegerValueFaultHighLimit) deepCopy() *_ return nil } _BACnetConstructedDataPositiveIntegerValueFaultHighLimitCopy := &_BACnetConstructedDataPositiveIntegerValueFaultHighLimit{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.FaultHighLimit.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueFaultLowLimit.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueFaultLowLimit.go index cb485cd196..8fe3e5c852 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueFaultLowLimit.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueFaultLowLimit.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataPositiveIntegerValueFaultLowLimit) deepCopy() *_B return nil } _BACnetConstructedDataPositiveIntegerValueFaultLowLimitCopy := &_BACnetConstructedDataPositiveIntegerValueFaultLowLimit{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.FaultLowLimit.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueHighLimit.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueHighLimit.go index c74700222d..90ae8cdf26 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueHighLimit.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueHighLimit.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataPositiveIntegerValueHighLimit) deepCopy() *_BACne return nil } _BACnetConstructedDataPositiveIntegerValueHighLimitCopy := &_BACnetConstructedDataPositiveIntegerValueHighLimit{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.HighLimit.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueLowLimit.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueLowLimit.go index fb8d103d62..94d17140b7 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueLowLimit.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueLowLimit.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataPositiveIntegerValueLowLimit) deepCopy() *_BACnet return nil } _BACnetConstructedDataPositiveIntegerValueLowLimitCopy := &_BACnetConstructedDataPositiveIntegerValueLowLimit{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.LowLimit.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueMaxPresValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueMaxPresValue.go index 37703157a7..789532b4e5 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueMaxPresValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueMaxPresValue.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataPositiveIntegerValueMaxPresValue) deepCopy() *_BA return nil } _BACnetConstructedDataPositiveIntegerValueMaxPresValueCopy := &_BACnetConstructedDataPositiveIntegerValueMaxPresValue{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.MaxPresValue.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueMinPresValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueMinPresValue.go index ca472a4221..eaa5864951 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueMinPresValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueMinPresValue.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataPositiveIntegerValueMinPresValue) deepCopy() *_BA return nil } _BACnetConstructedDataPositiveIntegerValueMinPresValueCopy := &_BACnetConstructedDataPositiveIntegerValueMinPresValue{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.MinPresValue.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueRelinquishDefault.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueRelinquishDefault.go index 435688e5ad..0ed891784c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueRelinquishDefault.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueRelinquishDefault.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataPositiveIntegerValueRelinquishDefault) deepCopy() return nil } _BACnetConstructedDataPositiveIntegerValueRelinquishDefaultCopy := &_BACnetConstructedDataPositiveIntegerValueRelinquishDefault{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.RelinquishDefault.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueResolution.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueResolution.go index f61573f24e..5b7bdd3ba8 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueResolution.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPositiveIntegerValueResolution.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataPositiveIntegerValueResolution) deepCopy() *_BACn return nil } _BACnetConstructedDataPositiveIntegerValueResolutionCopy := &_BACnetConstructedDataPositiveIntegerValueResolution{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.Resolution.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPower.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPower.go index 53ff6d57b5..42ec5ae934 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPower.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPower.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataPower) deepCopy() *_BACnetConstructedDataPower { return nil } _BACnetConstructedDataPowerCopy := &_BACnetConstructedDataPower{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.Power.DeepCopy().(BACnetApplicationTagReal), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPowerMode.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPowerMode.go index a58984d5ae..9ed4759171 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPowerMode.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPowerMode.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataPowerMode) deepCopy() *_BACnetConstructedDataPowe return nil } _BACnetConstructedDataPowerModeCopy := &_BACnetConstructedDataPowerMode{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.PowerMode.DeepCopy().(BACnetApplicationTagBoolean), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPrescale.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPrescale.go index b3b916c6ea..e9b5edb063 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPrescale.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPrescale.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataPrescale) deepCopy() *_BACnetConstructedDataPresc return nil } _BACnetConstructedDataPrescaleCopy := &_BACnetConstructedDataPrescale{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.Prescale.DeepCopy().(BACnetPrescale), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPresentValue.go index 6688dc46bb..8321199592 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPresentValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPresentValue.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataPresentValue) deepCopy() *_BACnetConstructedDataP return nil } _BACnetConstructedDataPresentValueCopy := &_BACnetConstructedDataPresentValue{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.PresentValue.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPriority.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPriority.go index 5e3ac2a1a4..0660d9a46b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPriority.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPriority.go @@ -263,7 +263,7 @@ func (m *_BACnetConstructedDataPriority) deepCopy() *_BACnetConstructedDataPrior return nil } _BACnetConstructedDataPriorityCopy := &_BACnetConstructedDataPriority{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NumberOfDataElements.DeepCopy().(BACnetApplicationTagUnsignedInteger), utils.DeepCopySlice[BACnetApplicationTagUnsignedInteger, BACnetApplicationTagUnsignedInteger](m.Priority), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPriorityArray.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPriorityArray.go index 2bf1e67deb..101f85618a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPriorityArray.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPriorityArray.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataPriorityArray) deepCopy() *_BACnetConstructedData return nil } _BACnetConstructedDataPriorityArrayCopy := &_BACnetConstructedDataPriorityArray{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.PriorityArray.DeepCopy().(BACnetPriorityArray), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPriorityForWriting.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPriorityForWriting.go index 363b6309c1..80a55597b0 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPriorityForWriting.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPriorityForWriting.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataPriorityForWriting) deepCopy() *_BACnetConstructe return nil } _BACnetConstructedDataPriorityForWritingCopy := &_BACnetConstructedDataPriorityForWriting{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.PriorityForWriting.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProcessIdentifier.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProcessIdentifier.go index c4f4e291de..2b3d696afa 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProcessIdentifier.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProcessIdentifier.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataProcessIdentifier) deepCopy() *_BACnetConstructed return nil } _BACnetConstructedDataProcessIdentifierCopy := &_BACnetConstructedDataProcessIdentifier{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.ProcessIdentifier.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProcessIdentifierFilter.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProcessIdentifierFilter.go index 14d316d2f4..9aaeef4f8f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProcessIdentifierFilter.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProcessIdentifierFilter.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataProcessIdentifierFilter) deepCopy() *_BACnetConst return nil } _BACnetConstructedDataProcessIdentifierFilterCopy := &_BACnetConstructedDataProcessIdentifierFilter{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.ProcessIdentifierFilter.DeepCopy().(BACnetProcessIdSelection), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProfileLocation.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProfileLocation.go index 325c2c1556..ef3db35c04 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProfileLocation.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProfileLocation.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataProfileLocation) deepCopy() *_BACnetConstructedDa return nil } _BACnetConstructedDataProfileLocationCopy := &_BACnetConstructedDataProfileLocation{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.ProfileLocation.DeepCopy().(BACnetApplicationTagCharacterString), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProfileName.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProfileName.go index fea73019dd..fe59dd3bd5 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProfileName.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProfileName.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataProfileName) deepCopy() *_BACnetConstructedDataPr return nil } _BACnetConstructedDataProfileNameCopy := &_BACnetConstructedDataProfileName{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.ProfileName.DeepCopy().(BACnetApplicationTagCharacterString), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProgramAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProgramAll.go index 340798848c..52e0a529c9 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProgramAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProgramAll.go @@ -166,7 +166,7 @@ func (m *_BACnetConstructedDataProgramAll) deepCopy() *_BACnetConstructedDataPro return nil } _BACnetConstructedDataProgramAllCopy := &_BACnetConstructedDataProgramAll{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m return _BACnetConstructedDataProgramAllCopy diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProgramChange.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProgramChange.go index 8ecae777e0..c7cdbc0680 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProgramChange.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProgramChange.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataProgramChange) deepCopy() *_BACnetConstructedData return nil } _BACnetConstructedDataProgramChangeCopy := &_BACnetConstructedDataProgramChange{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.ProgramChange.DeepCopy().(BACnetProgramRequestTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProgramLocation.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProgramLocation.go index 177a16228f..7ac39e6bdb 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProgramLocation.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProgramLocation.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataProgramLocation) deepCopy() *_BACnetConstructedDa return nil } _BACnetConstructedDataProgramLocationCopy := &_BACnetConstructedDataProgramLocation{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.ProgramLocation.DeepCopy().(BACnetApplicationTagCharacterString), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProgramState.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProgramState.go index 84ba5d5c60..b73d724d19 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProgramState.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProgramState.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataProgramState) deepCopy() *_BACnetConstructedDataP return nil } _BACnetConstructedDataProgramStateCopy := &_BACnetConstructedDataProgramState{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.ProgramState.DeepCopy().(BACnetProgramStateTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPropertyList.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPropertyList.go index 0db03915c5..43ccb96694 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPropertyList.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPropertyList.go @@ -258,7 +258,7 @@ func (m *_BACnetConstructedDataPropertyList) deepCopy() *_BACnetConstructedDataP return nil } _BACnetConstructedDataPropertyListCopy := &_BACnetConstructedDataPropertyList{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NumberOfDataElements.DeepCopy().(BACnetApplicationTagUnsignedInteger), utils.DeepCopySlice[BACnetPropertyIdentifierTagged, BACnetPropertyIdentifierTagged](m.PropertyList), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProportionalConstant.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProportionalConstant.go index b67648b5b8..ea78b87d46 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProportionalConstant.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProportionalConstant.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataProportionalConstant) deepCopy() *_BACnetConstruc return nil } _BACnetConstructedDataProportionalConstantCopy := &_BACnetConstructedDataProportionalConstant{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.ProportionalConstant.DeepCopy().(BACnetApplicationTagReal), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProportionalConstantUnits.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProportionalConstantUnits.go index cfe4ee1713..b24ff2be35 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProportionalConstantUnits.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProportionalConstantUnits.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataProportionalConstantUnits) deepCopy() *_BACnetCon return nil } _BACnetConstructedDataProportionalConstantUnitsCopy := &_BACnetConstructedDataProportionalConstantUnits{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.Units.DeepCopy().(BACnetEngineeringUnitsTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProtocolLevel.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProtocolLevel.go index 80a7487d7f..e230cee2f4 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProtocolLevel.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProtocolLevel.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataProtocolLevel) deepCopy() *_BACnetConstructedData return nil } _BACnetConstructedDataProtocolLevelCopy := &_BACnetConstructedDataProtocolLevel{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.ProtocolLevel.DeepCopy().(BACnetProtocolLevelTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProtocolObjectTypesSupported.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProtocolObjectTypesSupported.go index ebb7483dc4..b82a9f53b5 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProtocolObjectTypesSupported.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProtocolObjectTypesSupported.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataProtocolObjectTypesSupported) deepCopy() *_BACnet return nil } _BACnetConstructedDataProtocolObjectTypesSupportedCopy := &_BACnetConstructedDataProtocolObjectTypesSupported{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.ProtocolObjectTypesSupported.DeepCopy().(BACnetObjectTypesSupportedTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProtocolRevision.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProtocolRevision.go index db01a79804..65d0f818b1 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProtocolRevision.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProtocolRevision.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataProtocolRevision) deepCopy() *_BACnetConstructedD return nil } _BACnetConstructedDataProtocolRevisionCopy := &_BACnetConstructedDataProtocolRevision{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.ProtocolRevision.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProtocolServicesSupported.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProtocolServicesSupported.go index e01b599e08..60923dd3e3 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProtocolServicesSupported.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProtocolServicesSupported.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataProtocolServicesSupported) deepCopy() *_BACnetCon return nil } _BACnetConstructedDataProtocolServicesSupportedCopy := &_BACnetConstructedDataProtocolServicesSupported{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.ProtocolServicesSupported.DeepCopy().(BACnetServicesSupportedTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProtocolVersion.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProtocolVersion.go index be3aef648e..7a87217b5b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProtocolVersion.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataProtocolVersion.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataProtocolVersion) deepCopy() *_BACnetConstructedDa return nil } _BACnetConstructedDataProtocolVersionCopy := &_BACnetConstructedDataProtocolVersion{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.ProtocolVersion.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPulseConverterAdjustValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPulseConverterAdjustValue.go index f68f841589..c2824c39d3 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPulseConverterAdjustValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPulseConverterAdjustValue.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataPulseConverterAdjustValue) deepCopy() *_BACnetCon return nil } _BACnetConstructedDataPulseConverterAdjustValueCopy := &_BACnetConstructedDataPulseConverterAdjustValue{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.AdjustValue.DeepCopy().(BACnetApplicationTagReal), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPulseConverterAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPulseConverterAll.go index efe248f55a..12229bce3d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPulseConverterAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPulseConverterAll.go @@ -166,7 +166,7 @@ func (m *_BACnetConstructedDataPulseConverterAll) deepCopy() *_BACnetConstructed return nil } _BACnetConstructedDataPulseConverterAllCopy := &_BACnetConstructedDataPulseConverterAll{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m return _BACnetConstructedDataPulseConverterAllCopy diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPulseConverterPresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPulseConverterPresentValue.go index aa4508b652..22b1620813 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPulseConverterPresentValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPulseConverterPresentValue.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataPulseConverterPresentValue) deepCopy() *_BACnetCo return nil } _BACnetConstructedDataPulseConverterPresentValueCopy := &_BACnetConstructedDataPulseConverterPresentValue{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.PresentValue.DeepCopy().(BACnetApplicationTagReal), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPulseRate.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPulseRate.go index e796be8614..825cd520b4 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPulseRate.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataPulseRate.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataPulseRate) deepCopy() *_BACnetConstructedDataPuls return nil } _BACnetConstructedDataPulseRateCopy := &_BACnetConstructedDataPulseRate{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.PulseRate.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataReadOnly.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataReadOnly.go index 79e234d682..7963508e5c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataReadOnly.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataReadOnly.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataReadOnly) deepCopy() *_BACnetConstructedDataReadO return nil } _BACnetConstructedDataReadOnlyCopy := &_BACnetConstructedDataReadOnly{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.ReadOnly.DeepCopy().(BACnetApplicationTagBoolean), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataReasonForDisable.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataReasonForDisable.go index 0f1f275790..5f5e85d754 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataReasonForDisable.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataReasonForDisable.go @@ -198,7 +198,7 @@ func (m *_BACnetConstructedDataReasonForDisable) deepCopy() *_BACnetConstructedD return nil } _BACnetConstructedDataReasonForDisableCopy := &_BACnetConstructedDataReasonForDisable{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), utils.DeepCopySlice[BACnetAccessCredentialDisableReasonTagged, BACnetAccessCredentialDisableReasonTagged](m.ReasonForDisable), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataReasonForHalt.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataReasonForHalt.go index a43542330a..5acf78f147 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataReasonForHalt.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataReasonForHalt.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataReasonForHalt) deepCopy() *_BACnetConstructedData return nil } _BACnetConstructedDataReasonForHaltCopy := &_BACnetConstructedDataReasonForHalt{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.ProgramError.DeepCopy().(BACnetProgramErrorTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRecipientList.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRecipientList.go index fdc2d58710..c2d52b487f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRecipientList.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRecipientList.go @@ -198,7 +198,7 @@ func (m *_BACnetConstructedDataRecipientList) deepCopy() *_BACnetConstructedData return nil } _BACnetConstructedDataRecipientListCopy := &_BACnetConstructedDataRecipientList{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), utils.DeepCopySlice[BACnetDestination, BACnetDestination](m.RecipientList), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRecordCount.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRecordCount.go index b96416aa22..197635ae4b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRecordCount.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRecordCount.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataRecordCount) deepCopy() *_BACnetConstructedDataRe return nil } _BACnetConstructedDataRecordCountCopy := &_BACnetConstructedDataRecordCount{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.RecordCount.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRecordsSinceNotification.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRecordsSinceNotification.go index 2290233c6b..f9ef93fc7c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRecordsSinceNotification.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRecordsSinceNotification.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataRecordsSinceNotification) deepCopy() *_BACnetCons return nil } _BACnetConstructedDataRecordsSinceNotificationCopy := &_BACnetConstructedDataRecordsSinceNotification{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.RecordsSinceNotifications.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataReferencePort.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataReferencePort.go index 14c0688d7e..8956eb4f29 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataReferencePort.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataReferencePort.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataReferencePort) deepCopy() *_BACnetConstructedData return nil } _BACnetConstructedDataReferencePortCopy := &_BACnetConstructedDataReferencePort{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.ReferencePort.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRegisteredCarCall.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRegisteredCarCall.go index d8fc3b1b88..c669ef662c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRegisteredCarCall.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRegisteredCarCall.go @@ -258,7 +258,7 @@ func (m *_BACnetConstructedDataRegisteredCarCall) deepCopy() *_BACnetConstructed return nil } _BACnetConstructedDataRegisteredCarCallCopy := &_BACnetConstructedDataRegisteredCarCall{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NumberOfDataElements.DeepCopy().(BACnetApplicationTagUnsignedInteger), utils.DeepCopySlice[BACnetLiftCarCallList, BACnetLiftCarCallList](m.RegisteredCarCall), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataReliability.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataReliability.go index f31b2965dc..ff11bcd8f7 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataReliability.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataReliability.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataReliability) deepCopy() *_BACnetConstructedDataRe return nil } _BACnetConstructedDataReliabilityCopy := &_BACnetConstructedDataReliability{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.Reliability.DeepCopy().(BACnetReliabilityTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataReliabilityEvaluationInhibit.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataReliabilityEvaluationInhibit.go index a839874766..6c8f9ae10e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataReliabilityEvaluationInhibit.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataReliabilityEvaluationInhibit.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataReliabilityEvaluationInhibit) deepCopy() *_BACnet return nil } _BACnetConstructedDataReliabilityEvaluationInhibitCopy := &_BACnetConstructedDataReliabilityEvaluationInhibit{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.ReliabilityEvaluationInhibit.DeepCopy().(BACnetApplicationTagBoolean), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRelinquishDefault.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRelinquishDefault.go index e9d4e812ba..8265cc20c4 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRelinquishDefault.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRelinquishDefault.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataRelinquishDefault) deepCopy() *_BACnetConstructed return nil } _BACnetConstructedDataRelinquishDefaultCopy := &_BACnetConstructedDataRelinquishDefault{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.RelinquishDefault.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRepresents.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRepresents.go index 1aa363e9b3..57a0695981 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRepresents.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRepresents.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataRepresents) deepCopy() *_BACnetConstructedDataRep return nil } _BACnetConstructedDataRepresentsCopy := &_BACnetConstructedDataRepresents{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.Represents.DeepCopy().(BACnetDeviceObjectReference), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRequestedShedLevel.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRequestedShedLevel.go index ae70255599..fa921f70e3 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRequestedShedLevel.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRequestedShedLevel.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataRequestedShedLevel) deepCopy() *_BACnetConstructe return nil } _BACnetConstructedDataRequestedShedLevelCopy := &_BACnetConstructedDataRequestedShedLevel{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.RequestedShedLevel.DeepCopy().(BACnetShedLevel), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRequestedUpdateInterval.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRequestedUpdateInterval.go index 4d8328b0e7..645c5d59ba 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRequestedUpdateInterval.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRequestedUpdateInterval.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataRequestedUpdateInterval) deepCopy() *_BACnetConst return nil } _BACnetConstructedDataRequestedUpdateIntervalCopy := &_BACnetConstructedDataRequestedUpdateInterval{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.RequestedUpdateInterval.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRequired.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRequired.go index f2e60059cd..882fe2fff1 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRequired.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRequired.go @@ -166,7 +166,7 @@ func (m *_BACnetConstructedDataRequired) deepCopy() *_BACnetConstructedDataRequi return nil } _BACnetConstructedDataRequiredCopy := &_BACnetConstructedDataRequired{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m return _BACnetConstructedDataRequiredCopy diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataResolution.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataResolution.go index 1d27d2ef54..d781b819f5 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataResolution.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataResolution.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataResolution) deepCopy() *_BACnetConstructedDataRes return nil } _BACnetConstructedDataResolutionCopy := &_BACnetConstructedDataResolution{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.Resolution.DeepCopy().(BACnetApplicationTagReal), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRestartNotificationRecipients.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRestartNotificationRecipients.go index 7707ff8fe0..40c7bf2495 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRestartNotificationRecipients.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRestartNotificationRecipients.go @@ -199,7 +199,7 @@ func (m *_BACnetConstructedDataRestartNotificationRecipients) deepCopy() *_BACne return nil } _BACnetConstructedDataRestartNotificationRecipientsCopy := &_BACnetConstructedDataRestartNotificationRecipients{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), utils.DeepCopySlice[BACnetRecipient, BACnetRecipient](m.RestartNotificationRecipients), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRestoreCompletionTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRestoreCompletionTime.go index 3f1cb844e9..503ed6bda0 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRestoreCompletionTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRestoreCompletionTime.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataRestoreCompletionTime) deepCopy() *_BACnetConstru return nil } _BACnetConstructedDataRestoreCompletionTimeCopy := &_BACnetConstructedDataRestoreCompletionTime{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.CompletionTime.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRestorePreparationTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRestorePreparationTime.go index 8d27412557..cf775bd46e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRestorePreparationTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRestorePreparationTime.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataRestorePreparationTime) deepCopy() *_BACnetConstr return nil } _BACnetConstructedDataRestorePreparationTimeCopy := &_BACnetConstructedDataRestorePreparationTime{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.RestorePreparationTime.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRoutingTable.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRoutingTable.go index fb6236f38e..6a66879b1f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRoutingTable.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataRoutingTable.go @@ -198,7 +198,7 @@ func (m *_BACnetConstructedDataRoutingTable) deepCopy() *_BACnetConstructedDataR return nil } _BACnetConstructedDataRoutingTableCopy := &_BACnetConstructedDataRoutingTable{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), utils.DeepCopySlice[BACnetRouterEntry, BACnetRouterEntry](m.RoutingTable), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataScale.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataScale.go index 6edb548d93..27fd90b9d0 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataScale.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataScale.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataScale) deepCopy() *_BACnetConstructedDataScale { return nil } _BACnetConstructedDataScaleCopy := &_BACnetConstructedDataScale{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.Scale.DeepCopy().(BACnetScale), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataScaleFactor.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataScaleFactor.go index 063bc33cc7..4f98d3e46e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataScaleFactor.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataScaleFactor.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataScaleFactor) deepCopy() *_BACnetConstructedDataSc return nil } _BACnetConstructedDataScaleFactorCopy := &_BACnetConstructedDataScaleFactor{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.ScaleFactor.DeepCopy().(BACnetApplicationTagReal), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataScheduleAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataScheduleAll.go index deddceb7b7..fefa0c68fd 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataScheduleAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataScheduleAll.go @@ -166,7 +166,7 @@ func (m *_BACnetConstructedDataScheduleAll) deepCopy() *_BACnetConstructedDataSc return nil } _BACnetConstructedDataScheduleAllCopy := &_BACnetConstructedDataScheduleAll{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m return _BACnetConstructedDataScheduleAllCopy diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataScheduleDefault.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataScheduleDefault.go index 1131829cb5..97e96be652 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataScheduleDefault.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataScheduleDefault.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataScheduleDefault) deepCopy() *_BACnetConstructedDa return nil } _BACnetConstructedDataScheduleDefaultCopy := &_BACnetConstructedDataScheduleDefault{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.ScheduleDefault.DeepCopy().(BACnetConstructedDataElement), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSchedulePresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSchedulePresentValue.go index 271a3e8170..eb67a9f598 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSchedulePresentValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSchedulePresentValue.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataSchedulePresentValue) deepCopy() *_BACnetConstruc return nil } _BACnetConstructedDataSchedulePresentValueCopy := &_BACnetConstructedDataSchedulePresentValue{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.PresentValue.DeepCopy().(BACnetConstructedDataElement), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSecuredStatus.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSecuredStatus.go index b8568bd5f1..677b52e602 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSecuredStatus.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSecuredStatus.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataSecuredStatus) deepCopy() *_BACnetConstructedData return nil } _BACnetConstructedDataSecuredStatusCopy := &_BACnetConstructedDataSecuredStatus{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.SecuredStatus.DeepCopy().(BACnetDoorSecuredStatusTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSecurityPDUTimeout.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSecurityPDUTimeout.go index dd1cd1a9a1..7a4271377b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSecurityPDUTimeout.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSecurityPDUTimeout.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataSecurityPDUTimeout) deepCopy() *_BACnetConstructe return nil } _BACnetConstructedDataSecurityPDUTimeoutCopy := &_BACnetConstructedDataSecurityPDUTimeout{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.SecurityPduTimeout.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSecurityTimeWindow.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSecurityTimeWindow.go index bb8bcb3b29..6df2876409 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSecurityTimeWindow.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSecurityTimeWindow.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataSecurityTimeWindow) deepCopy() *_BACnetConstructe return nil } _BACnetConstructedDataSecurityTimeWindowCopy := &_BACnetConstructedDataSecurityTimeWindow{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.SecurityTimeWindow.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSegmentationSupported.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSegmentationSupported.go index b51c7a337a..c3c3eda864 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSegmentationSupported.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSegmentationSupported.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataSegmentationSupported) deepCopy() *_BACnetConstru return nil } _BACnetConstructedDataSegmentationSupportedCopy := &_BACnetConstructedDataSegmentationSupported{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.SegmentationSupported.DeepCopy().(BACnetSegmentationTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSerialNumber.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSerialNumber.go index da14946590..bd0b5da1e5 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSerialNumber.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSerialNumber.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataSerialNumber) deepCopy() *_BACnetConstructedDataS return nil } _BACnetConstructedDataSerialNumberCopy := &_BACnetConstructedDataSerialNumber{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.SerialNumber.DeepCopy().(BACnetApplicationTagCharacterString), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSetpoint.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSetpoint.go index 9a9bafea79..2efe8b1b82 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSetpoint.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSetpoint.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataSetpoint) deepCopy() *_BACnetConstructedDataSetpo return nil } _BACnetConstructedDataSetpointCopy := &_BACnetConstructedDataSetpoint{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.Setpoint.DeepCopy().(BACnetApplicationTagReal), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSetpointReference.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSetpointReference.go index 6b4c4c4291..ed070468a4 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSetpointReference.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSetpointReference.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataSetpointReference) deepCopy() *_BACnetConstructed return nil } _BACnetConstructedDataSetpointReferenceCopy := &_BACnetConstructedDataSetpointReference{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.SetpointReference.DeepCopy().(BACnetSetpointReference), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSetting.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSetting.go index 841021d3bb..807eb856ae 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSetting.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSetting.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataSetting) deepCopy() *_BACnetConstructedDataSettin return nil } _BACnetConstructedDataSettingCopy := &_BACnetConstructedDataSetting{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.Setting.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataShedDuration.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataShedDuration.go index 4fd7fdf3f4..92b79ffe45 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataShedDuration.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataShedDuration.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataShedDuration) deepCopy() *_BACnetConstructedDataS return nil } _BACnetConstructedDataShedDurationCopy := &_BACnetConstructedDataShedDuration{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.ShedDuration.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataShedLevelDescriptions.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataShedLevelDescriptions.go index 1d3f0001e1..df86aa8042 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataShedLevelDescriptions.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataShedLevelDescriptions.go @@ -259,7 +259,7 @@ func (m *_BACnetConstructedDataShedLevelDescriptions) deepCopy() *_BACnetConstru return nil } _BACnetConstructedDataShedLevelDescriptionsCopy := &_BACnetConstructedDataShedLevelDescriptions{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NumberOfDataElements.DeepCopy().(BACnetApplicationTagUnsignedInteger), utils.DeepCopySlice[BACnetApplicationTagCharacterString, BACnetApplicationTagCharacterString](m.ShedLevelDescriptions), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataShedLevels.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataShedLevels.go index 2cdfd0a019..aaa361a45d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataShedLevels.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataShedLevels.go @@ -258,7 +258,7 @@ func (m *_BACnetConstructedDataShedLevels) deepCopy() *_BACnetConstructedDataShe return nil } _BACnetConstructedDataShedLevelsCopy := &_BACnetConstructedDataShedLevels{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NumberOfDataElements.DeepCopy().(BACnetApplicationTagUnsignedInteger), utils.DeepCopySlice[BACnetApplicationTagUnsignedInteger, BACnetApplicationTagUnsignedInteger](m.ShedLevels), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSilenced.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSilenced.go index 8ddba293eb..f125a3004a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSilenced.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSilenced.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataSilenced) deepCopy() *_BACnetConstructedDataSilen return nil } _BACnetConstructedDataSilencedCopy := &_BACnetConstructedDataSilenced{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.Silenced.DeepCopy().(BACnetSilencedStateTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSlaveAddressBinding.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSlaveAddressBinding.go index ad9489685c..06513df678 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSlaveAddressBinding.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSlaveAddressBinding.go @@ -198,7 +198,7 @@ func (m *_BACnetConstructedDataSlaveAddressBinding) deepCopy() *_BACnetConstruct return nil } _BACnetConstructedDataSlaveAddressBindingCopy := &_BACnetConstructedDataSlaveAddressBinding{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), utils.DeepCopySlice[BACnetAddressBinding, BACnetAddressBinding](m.SlaveAddressBinding), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSlaveProxyEnable.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSlaveProxyEnable.go index a534d33b1a..3c7e1a8dca 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSlaveProxyEnable.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSlaveProxyEnable.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataSlaveProxyEnable) deepCopy() *_BACnetConstructedD return nil } _BACnetConstructedDataSlaveProxyEnableCopy := &_BACnetConstructedDataSlaveProxyEnable{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.SlaveProxyEnable.DeepCopy().(BACnetApplicationTagBoolean), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStartTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStartTime.go index fa401cb63a..cefb067d1c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStartTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStartTime.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataStartTime) deepCopy() *_BACnetConstructedDataStar return nil } _BACnetConstructedDataStartTimeCopy := &_BACnetConstructedDataStartTime{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.StartTime.DeepCopy().(BACnetDateTime), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStateChangeValues.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStateChangeValues.go index 7bdc06e32b..5f82675af5 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStateChangeValues.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStateChangeValues.go @@ -263,7 +263,7 @@ func (m *_BACnetConstructedDataStateChangeValues) deepCopy() *_BACnetConstructed return nil } _BACnetConstructedDataStateChangeValuesCopy := &_BACnetConstructedDataStateChangeValues{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NumberOfDataElements.DeepCopy().(BACnetApplicationTagUnsignedInteger), utils.DeepCopySlice[BACnetTimerStateChangeValue, BACnetTimerStateChangeValue](m.StateChangeValues), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStateDescription.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStateDescription.go index 535688c113..2249342816 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStateDescription.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStateDescription.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataStateDescription) deepCopy() *_BACnetConstructedD return nil } _BACnetConstructedDataStateDescriptionCopy := &_BACnetConstructedDataStateDescription{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.StateDescription.DeepCopy().(BACnetApplicationTagCharacterString), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStateText.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStateText.go index 630ce997b0..63f4702b7f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStateText.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStateText.go @@ -258,7 +258,7 @@ func (m *_BACnetConstructedDataStateText) deepCopy() *_BACnetConstructedDataStat return nil } _BACnetConstructedDataStateTextCopy := &_BACnetConstructedDataStateText{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NumberOfDataElements.DeepCopy().(BACnetApplicationTagUnsignedInteger), utils.DeepCopySlice[BACnetApplicationTagCharacterString, BACnetApplicationTagCharacterString](m.StateText), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStatusFlags.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStatusFlags.go index f1d3b60ebb..ad8f7a61e5 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStatusFlags.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStatusFlags.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataStatusFlags) deepCopy() *_BACnetConstructedDataSt return nil } _BACnetConstructedDataStatusFlagsCopy := &_BACnetConstructedDataStatusFlags{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.StatusFlags.DeepCopy().(BACnetStatusFlagsTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStopTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStopTime.go index 0c823fddca..9ba0d079f9 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStopTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStopTime.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataStopTime) deepCopy() *_BACnetConstructedDataStopT return nil } _BACnetConstructedDataStopTimeCopy := &_BACnetConstructedDataStopTime{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.StopTime.DeepCopy().(BACnetDateTime), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStopWhenFull.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStopWhenFull.go index c1a54fcf3d..81a2f5eb76 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStopWhenFull.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStopWhenFull.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataStopWhenFull) deepCopy() *_BACnetConstructedDataS return nil } _BACnetConstructedDataStopWhenFullCopy := &_BACnetConstructedDataStopWhenFull{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.StopWhenFull.DeepCopy().(BACnetApplicationTagBoolean), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStrikeCount.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStrikeCount.go index 172933d21e..1a92bb56c8 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStrikeCount.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStrikeCount.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataStrikeCount) deepCopy() *_BACnetConstructedDataSt return nil } _BACnetConstructedDataStrikeCountCopy := &_BACnetConstructedDataStrikeCount{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.StrikeCount.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStructuredObjectList.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStructuredObjectList.go index 0e47ff1b93..7ccf4a6ad3 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStructuredObjectList.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStructuredObjectList.go @@ -258,7 +258,7 @@ func (m *_BACnetConstructedDataStructuredObjectList) deepCopy() *_BACnetConstruc return nil } _BACnetConstructedDataStructuredObjectListCopy := &_BACnetConstructedDataStructuredObjectList{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NumberOfDataElements.DeepCopy().(BACnetApplicationTagUnsignedInteger), utils.DeepCopySlice[BACnetApplicationTagObjectIdentifier, BACnetApplicationTagObjectIdentifier](m.StructuredObjectList), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStructuredViewAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStructuredViewAll.go index a6b608f34c..46d91bffac 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStructuredViewAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataStructuredViewAll.go @@ -166,7 +166,7 @@ func (m *_BACnetConstructedDataStructuredViewAll) deepCopy() *_BACnetConstructed return nil } _BACnetConstructedDataStructuredViewAllCopy := &_BACnetConstructedDataStructuredViewAll{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m return _BACnetConstructedDataStructuredViewAllCopy diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSubordinateAnnotations.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSubordinateAnnotations.go index be0efbcc3e..fc559cf5a9 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSubordinateAnnotations.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSubordinateAnnotations.go @@ -259,7 +259,7 @@ func (m *_BACnetConstructedDataSubordinateAnnotations) deepCopy() *_BACnetConstr return nil } _BACnetConstructedDataSubordinateAnnotationsCopy := &_BACnetConstructedDataSubordinateAnnotations{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NumberOfDataElements.DeepCopy().(BACnetApplicationTagUnsignedInteger), utils.DeepCopySlice[BACnetApplicationTagCharacterString, BACnetApplicationTagCharacterString](m.SubordinateAnnotations), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSubordinateList.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSubordinateList.go index 60ce3615f4..f1cd20c314 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSubordinateList.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSubordinateList.go @@ -258,7 +258,7 @@ func (m *_BACnetConstructedDataSubordinateList) deepCopy() *_BACnetConstructedDa return nil } _BACnetConstructedDataSubordinateListCopy := &_BACnetConstructedDataSubordinateList{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NumberOfDataElements.DeepCopy().(BACnetApplicationTagUnsignedInteger), utils.DeepCopySlice[BACnetDeviceObjectReference, BACnetDeviceObjectReference](m.SubordinateList), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSubordinateNodeTypes.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSubordinateNodeTypes.go index 69b3fe1b9e..adecff5f07 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSubordinateNodeTypes.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSubordinateNodeTypes.go @@ -258,7 +258,7 @@ func (m *_BACnetConstructedDataSubordinateNodeTypes) deepCopy() *_BACnetConstruc return nil } _BACnetConstructedDataSubordinateNodeTypesCopy := &_BACnetConstructedDataSubordinateNodeTypes{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NumberOfDataElements.DeepCopy().(BACnetApplicationTagUnsignedInteger), utils.DeepCopySlice[BACnetNodeTypeTagged, BACnetNodeTypeTagged](m.SubordinateNodeTypes), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSubordinateRelationships.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSubordinateRelationships.go index 36938ca637..51e3c31857 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSubordinateRelationships.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSubordinateRelationships.go @@ -259,7 +259,7 @@ func (m *_BACnetConstructedDataSubordinateRelationships) deepCopy() *_BACnetCons return nil } _BACnetConstructedDataSubordinateRelationshipsCopy := &_BACnetConstructedDataSubordinateRelationships{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NumberOfDataElements.DeepCopy().(BACnetApplicationTagUnsignedInteger), utils.DeepCopySlice[BACnetRelationshipTagged, BACnetRelationshipTagged](m.SubordinateRelationships), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSubordinateTags.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSubordinateTags.go index 61dd48e890..e9634dfd90 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSubordinateTags.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSubordinateTags.go @@ -258,7 +258,7 @@ func (m *_BACnetConstructedDataSubordinateTags) deepCopy() *_BACnetConstructedDa return nil } _BACnetConstructedDataSubordinateTagsCopy := &_BACnetConstructedDataSubordinateTags{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NumberOfDataElements.DeepCopy().(BACnetApplicationTagUnsignedInteger), utils.DeepCopySlice[BACnetNameValueCollection, BACnetNameValueCollection](m.SubordinateList), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSubscribedRecipients.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSubscribedRecipients.go index 572c683eb1..f45267a9fe 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSubscribedRecipients.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSubscribedRecipients.go @@ -198,7 +198,7 @@ func (m *_BACnetConstructedDataSubscribedRecipients) deepCopy() *_BACnetConstruc return nil } _BACnetConstructedDataSubscribedRecipientsCopy := &_BACnetConstructedDataSubscribedRecipients{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), utils.DeepCopySlice[BACnetEventNotificationSubscription, BACnetEventNotificationSubscription](m.SubscribedRecipients), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSupportedFormatClasses.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSupportedFormatClasses.go index 974cf962c3..1aa536c354 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSupportedFormatClasses.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSupportedFormatClasses.go @@ -259,7 +259,7 @@ func (m *_BACnetConstructedDataSupportedFormatClasses) deepCopy() *_BACnetConstr return nil } _BACnetConstructedDataSupportedFormatClassesCopy := &_BACnetConstructedDataSupportedFormatClasses{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NumberOfDataElements.DeepCopy().(BACnetApplicationTagUnsignedInteger), utils.DeepCopySlice[BACnetApplicationTagUnsignedInteger, BACnetApplicationTagUnsignedInteger](m.SupportedFormats), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSupportedFormats.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSupportedFormats.go index 8783ba60d5..185d2c9e24 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSupportedFormats.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSupportedFormats.go @@ -258,7 +258,7 @@ func (m *_BACnetConstructedDataSupportedFormats) deepCopy() *_BACnetConstructedD return nil } _BACnetConstructedDataSupportedFormatsCopy := &_BACnetConstructedDataSupportedFormats{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NumberOfDataElements.DeepCopy().(BACnetApplicationTagUnsignedInteger), utils.DeepCopySlice[BACnetAuthenticationFactorFormat, BACnetAuthenticationFactorFormat](m.SupportedFormats), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSupportedSecurityAlgorithms.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSupportedSecurityAlgorithms.go index 64748d8412..5e396c7bea 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSupportedSecurityAlgorithms.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSupportedSecurityAlgorithms.go @@ -199,7 +199,7 @@ func (m *_BACnetConstructedDataSupportedSecurityAlgorithms) deepCopy() *_BACnetC return nil } _BACnetConstructedDataSupportedSecurityAlgorithmsCopy := &_BACnetConstructedDataSupportedSecurityAlgorithms{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), utils.DeepCopySlice[BACnetApplicationTagUnsignedInteger, BACnetApplicationTagUnsignedInteger](m.SupportedSecurityAlgorithms), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSystemStatus.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSystemStatus.go index 82c516cd02..a8621395a4 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSystemStatus.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataSystemStatus.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataSystemStatus) deepCopy() *_BACnetConstructedDataS return nil } _BACnetConstructedDataSystemStatusCopy := &_BACnetConstructedDataSystemStatus{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.SystemStatus.DeepCopy().(BACnetDeviceStatusTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTags.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTags.go index 38faf661a2..3c7332408f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTags.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTags.go @@ -258,7 +258,7 @@ func (m *_BACnetConstructedDataTags) deepCopy() *_BACnetConstructedDataTags { return nil } _BACnetConstructedDataTagsCopy := &_BACnetConstructedDataTags{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NumberOfDataElements.DeepCopy().(BACnetApplicationTagUnsignedInteger), utils.DeepCopySlice[BACnetNameValue, BACnetNameValue](m.Tags), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataThreatAuthority.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataThreatAuthority.go index e865870dd1..3d221809fe 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataThreatAuthority.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataThreatAuthority.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataThreatAuthority) deepCopy() *_BACnetConstructedDa return nil } _BACnetConstructedDataThreatAuthorityCopy := &_BACnetConstructedDataThreatAuthority{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.ThreatAuthority.DeepCopy().(BACnetAccessThreatLevel), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataThreatLevel.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataThreatLevel.go index ac5dd8017f..db41f16d7e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataThreatLevel.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataThreatLevel.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataThreatLevel) deepCopy() *_BACnetConstructedDataTh return nil } _BACnetConstructedDataThreatLevelCopy := &_BACnetConstructedDataThreatLevel{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.ThreatLevel.DeepCopy().(BACnetAccessThreatLevel), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeDelay.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeDelay.go index 37fed7426d..c291194578 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeDelay.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeDelay.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataTimeDelay) deepCopy() *_BACnetConstructedDataTime return nil } _BACnetConstructedDataTimeDelayCopy := &_BACnetConstructedDataTimeDelay{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.TimeDelay.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeDelayNormal.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeDelayNormal.go index 5fcd6a2f92..27a205772a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeDelayNormal.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeDelayNormal.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataTimeDelayNormal) deepCopy() *_BACnetConstructedDa return nil } _BACnetConstructedDataTimeDelayNormalCopy := &_BACnetConstructedDataTimeDelayNormal{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.TimeDelayNormal.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeOfActiveTimeReset.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeOfActiveTimeReset.go index 724f0b0a3f..463ab5c06a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeOfActiveTimeReset.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeOfActiveTimeReset.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataTimeOfActiveTimeReset) deepCopy() *_BACnetConstru return nil } _BACnetConstructedDataTimeOfActiveTimeResetCopy := &_BACnetConstructedDataTimeOfActiveTimeReset{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.TimeOfActiveTimeReset.DeepCopy().(BACnetDateTime), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeOfDeviceRestart.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeOfDeviceRestart.go index 5d59d6afa7..90239ec287 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeOfDeviceRestart.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeOfDeviceRestart.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataTimeOfDeviceRestart) deepCopy() *_BACnetConstruct return nil } _BACnetConstructedDataTimeOfDeviceRestartCopy := &_BACnetConstructedDataTimeOfDeviceRestart{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.TimeOfDeviceRestart.DeepCopy().(BACnetTimeStamp), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeOfStateCountReset.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeOfStateCountReset.go index fdf3d9ec9a..5aefe6f225 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeOfStateCountReset.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeOfStateCountReset.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataTimeOfStateCountReset) deepCopy() *_BACnetConstru return nil } _BACnetConstructedDataTimeOfStateCountResetCopy := &_BACnetConstructedDataTimeOfStateCountReset{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.TimeOfStateCountReset.DeepCopy().(BACnetDateTime), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeOfStrikeCountReset.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeOfStrikeCountReset.go index 0232eda768..8c0043fd51 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeOfStrikeCountReset.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeOfStrikeCountReset.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataTimeOfStrikeCountReset) deepCopy() *_BACnetConstr return nil } _BACnetConstructedDataTimeOfStrikeCountResetCopy := &_BACnetConstructedDataTimeOfStrikeCountReset{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.TimeOfStrikeCountReset.DeepCopy().(BACnetDateTime), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimePatternValuePresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimePatternValuePresentValue.go index d87300f9bc..a459812842 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimePatternValuePresentValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimePatternValuePresentValue.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataTimePatternValuePresentValue) deepCopy() *_BACnet return nil } _BACnetConstructedDataTimePatternValuePresentValueCopy := &_BACnetConstructedDataTimePatternValuePresentValue{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.PresentValue.DeepCopy().(BACnetApplicationTagTime), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimePatternValueRelinquishDefault.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimePatternValueRelinquishDefault.go index e5b1209d3a..2aedfcd4e8 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimePatternValueRelinquishDefault.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimePatternValueRelinquishDefault.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataTimePatternValueRelinquishDefault) deepCopy() *_B return nil } _BACnetConstructedDataTimePatternValueRelinquishDefaultCopy := &_BACnetConstructedDataTimePatternValueRelinquishDefault{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.RelinquishDefault.DeepCopy().(BACnetApplicationTagTime), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeSynchronizationInterval.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeSynchronizationInterval.go index f5238510ca..aecaa46205 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeSynchronizationInterval.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeSynchronizationInterval.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataTimeSynchronizationInterval) deepCopy() *_BACnetC return nil } _BACnetConstructedDataTimeSynchronizationIntervalCopy := &_BACnetConstructedDataTimeSynchronizationInterval{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.TimeSynchronization.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeSynchronizationRecipients.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeSynchronizationRecipients.go index a538d16c23..0ca0de8375 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeSynchronizationRecipients.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeSynchronizationRecipients.go @@ -199,7 +199,7 @@ func (m *_BACnetConstructedDataTimeSynchronizationRecipients) deepCopy() *_BACne return nil } _BACnetConstructedDataTimeSynchronizationRecipientsCopy := &_BACnetConstructedDataTimeSynchronizationRecipients{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), utils.DeepCopySlice[BACnetRecipient, BACnetRecipient](m.TimeSynchronizationRecipients), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeValueAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeValueAll.go index 77391531e1..6e227cf739 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeValueAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeValueAll.go @@ -166,7 +166,7 @@ func (m *_BACnetConstructedDataTimeValueAll) deepCopy() *_BACnetConstructedDataT return nil } _BACnetConstructedDataTimeValueAllCopy := &_BACnetConstructedDataTimeValueAll{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m return _BACnetConstructedDataTimeValueAllCopy diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeValuePresentValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeValuePresentValue.go index 7b83147c38..5039876b86 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeValuePresentValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeValuePresentValue.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataTimeValuePresentValue) deepCopy() *_BACnetConstru return nil } _BACnetConstructedDataTimeValuePresentValueCopy := &_BACnetConstructedDataTimeValuePresentValue{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.PresentValue.DeepCopy().(BACnetApplicationTagTime), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeValueRelinquishDefault.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeValueRelinquishDefault.go index b045eaad6d..648a76cc3e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeValueRelinquishDefault.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimeValueRelinquishDefault.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataTimeValueRelinquishDefault) deepCopy() *_BACnetCo return nil } _BACnetConstructedDataTimeValueRelinquishDefaultCopy := &_BACnetConstructedDataTimeValueRelinquishDefault{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.RelinquishDefault.DeepCopy().(BACnetApplicationTagTime), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimepatternValueAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimepatternValueAll.go index 1bdc7746d0..ccd97e2ebf 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimepatternValueAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimepatternValueAll.go @@ -166,7 +166,7 @@ func (m *_BACnetConstructedDataTimepatternValueAll) deepCopy() *_BACnetConstruct return nil } _BACnetConstructedDataTimepatternValueAllCopy := &_BACnetConstructedDataTimepatternValueAll{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m return _BACnetConstructedDataTimepatternValueAllCopy diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimerAlarmValues.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimerAlarmValues.go index 732876d3fb..abed069adb 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimerAlarmValues.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimerAlarmValues.go @@ -198,7 +198,7 @@ func (m *_BACnetConstructedDataTimerAlarmValues) deepCopy() *_BACnetConstructedD return nil } _BACnetConstructedDataTimerAlarmValuesCopy := &_BACnetConstructedDataTimerAlarmValues{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), utils.DeepCopySlice[BACnetTimerStateTagged, BACnetTimerStateTagged](m.AlarmValues), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimerAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimerAll.go index 165145ac6c..7452def657 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimerAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimerAll.go @@ -166,7 +166,7 @@ func (m *_BACnetConstructedDataTimerAll) deepCopy() *_BACnetConstructedDataTimer return nil } _BACnetConstructedDataTimerAllCopy := &_BACnetConstructedDataTimerAll{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m return _BACnetConstructedDataTimerAllCopy diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimerMaxPresValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimerMaxPresValue.go index 9bc8af06e9..24919b828f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimerMaxPresValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimerMaxPresValue.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataTimerMaxPresValue) deepCopy() *_BACnetConstructed return nil } _BACnetConstructedDataTimerMaxPresValueCopy := &_BACnetConstructedDataTimerMaxPresValue{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.MaxPresValue.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimerMinPresValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimerMinPresValue.go index 408fdf1fad..3f375baf89 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimerMinPresValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimerMinPresValue.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataTimerMinPresValue) deepCopy() *_BACnetConstructed return nil } _BACnetConstructedDataTimerMinPresValueCopy := &_BACnetConstructedDataTimerMinPresValue{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.MinPresValue.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimerResolution.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimerResolution.go index dd7520fb9c..6fe446cb0a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimerResolution.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimerResolution.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataTimerResolution) deepCopy() *_BACnetConstructedDa return nil } _BACnetConstructedDataTimerResolutionCopy := &_BACnetConstructedDataTimerResolution{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.Resolution.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimerRunning.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimerRunning.go index 059ac8debb..6c225b0621 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimerRunning.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimerRunning.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataTimerRunning) deepCopy() *_BACnetConstructedDataT return nil } _BACnetConstructedDataTimerRunningCopy := &_BACnetConstructedDataTimerRunning{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.TimerRunning.DeepCopy().(BACnetApplicationTagBoolean), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimerState.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimerState.go index 7d592975a1..5f32bb72e2 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimerState.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTimerState.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataTimerState) deepCopy() *_BACnetConstructedDataTim return nil } _BACnetConstructedDataTimerStateCopy := &_BACnetConstructedDataTimerState{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.TimerState.DeepCopy().(BACnetTimerStateTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTotalRecordCount.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTotalRecordCount.go index 00589f18a7..f3575c7cee 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTotalRecordCount.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTotalRecordCount.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataTotalRecordCount) deepCopy() *_BACnetConstructedD return nil } _BACnetConstructedDataTotalRecordCountCopy := &_BACnetConstructedDataTotalRecordCount{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.TotalRecordCount.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTraceFlag.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTraceFlag.go index 9b7c7cf692..0af745c807 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTraceFlag.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTraceFlag.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataTraceFlag) deepCopy() *_BACnetConstructedDataTrac return nil } _BACnetConstructedDataTraceFlagCopy := &_BACnetConstructedDataTraceFlag{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.TraceFlag.DeepCopy().(BACnetApplicationTagBoolean), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTrackingValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTrackingValue.go index ab1b82746b..52967d12a2 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTrackingValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTrackingValue.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataTrackingValue) deepCopy() *_BACnetConstructedData return nil } _BACnetConstructedDataTrackingValueCopy := &_BACnetConstructedDataTrackingValue{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.TrackingValue.DeepCopy().(BACnetLifeSafetyStateTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTransactionNotificationClass.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTransactionNotificationClass.go index 56c6f4b1de..04460b0cd4 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTransactionNotificationClass.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTransactionNotificationClass.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataTransactionNotificationClass) deepCopy() *_BACnet return nil } _BACnetConstructedDataTransactionNotificationClassCopy := &_BACnetConstructedDataTransactionNotificationClass{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.TransactionNotificationClass.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTransition.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTransition.go index 28fec6b694..16a50558cf 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTransition.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTransition.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataTransition) deepCopy() *_BACnetConstructedDataTra return nil } _BACnetConstructedDataTransitionCopy := &_BACnetConstructedDataTransition{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.Transition.DeepCopy().(BACnetLightingTransitionTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTrendLogAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTrendLogAll.go index 76befca2d7..1ee6cb7938 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTrendLogAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTrendLogAll.go @@ -166,7 +166,7 @@ func (m *_BACnetConstructedDataTrendLogAll) deepCopy() *_BACnetConstructedDataTr return nil } _BACnetConstructedDataTrendLogAllCopy := &_BACnetConstructedDataTrendLogAll{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m return _BACnetConstructedDataTrendLogAllCopy diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTrendLogLogBuffer.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTrendLogLogBuffer.go index 22310c4693..0de02d33ba 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTrendLogLogBuffer.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTrendLogLogBuffer.go @@ -198,7 +198,7 @@ func (m *_BACnetConstructedDataTrendLogLogBuffer) deepCopy() *_BACnetConstructed return nil } _BACnetConstructedDataTrendLogLogBufferCopy := &_BACnetConstructedDataTrendLogLogBuffer{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), utils.DeepCopySlice[BACnetLogRecord, BACnetLogRecord](m.FloorText), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTrendLogLogDeviceObjectProperty.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTrendLogLogDeviceObjectProperty.go index e5697fdcde..d922edd124 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTrendLogLogDeviceObjectProperty.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTrendLogLogDeviceObjectProperty.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataTrendLogLogDeviceObjectProperty) deepCopy() *_BAC return nil } _BACnetConstructedDataTrendLogLogDeviceObjectPropertyCopy := &_BACnetConstructedDataTrendLogLogDeviceObjectProperty{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.LogDeviceObjectProperty.DeepCopy().(BACnetDeviceObjectPropertyReference), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTrendLogMultipleAll.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTrendLogMultipleAll.go index eb4cfe5ebb..cc5eb409e5 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTrendLogMultipleAll.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTrendLogMultipleAll.go @@ -166,7 +166,7 @@ func (m *_BACnetConstructedDataTrendLogMultipleAll) deepCopy() *_BACnetConstruct return nil } _BACnetConstructedDataTrendLogMultipleAllCopy := &_BACnetConstructedDataTrendLogMultipleAll{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m return _BACnetConstructedDataTrendLogMultipleAllCopy diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTrendLogMultipleLogBuffer.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTrendLogMultipleLogBuffer.go index db9246d6f4..bddc10a2e6 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTrendLogMultipleLogBuffer.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTrendLogMultipleLogBuffer.go @@ -199,7 +199,7 @@ func (m *_BACnetConstructedDataTrendLogMultipleLogBuffer) deepCopy() *_BACnetCon return nil } _BACnetConstructedDataTrendLogMultipleLogBufferCopy := &_BACnetConstructedDataTrendLogMultipleLogBuffer{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), utils.DeepCopySlice[BACnetLogMultipleRecord, BACnetLogMultipleRecord](m.FloorText), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTrendLogMultipleLogDeviceObjectProperty.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTrendLogMultipleLogDeviceObjectProperty.go index f8d2555b7e..b6d2d332b8 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTrendLogMultipleLogDeviceObjectProperty.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTrendLogMultipleLogDeviceObjectProperty.go @@ -259,7 +259,7 @@ func (m *_BACnetConstructedDataTrendLogMultipleLogDeviceObjectProperty) deepCopy return nil } _BACnetConstructedDataTrendLogMultipleLogDeviceObjectPropertyCopy := &_BACnetConstructedDataTrendLogMultipleLogDeviceObjectProperty{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NumberOfDataElements.DeepCopy().(BACnetApplicationTagUnsignedInteger), utils.DeepCopySlice[BACnetDeviceObjectPropertyReference, BACnetDeviceObjectPropertyReference](m.GroupMembers), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTrigger.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTrigger.go index 85610d2b7f..93e2738e3f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTrigger.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataTrigger.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataTrigger) deepCopy() *_BACnetConstructedDataTrigge return nil } _BACnetConstructedDataTriggerCopy := &_BACnetConstructedDataTrigger{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.Trigger.DeepCopy().(BACnetApplicationTagBoolean), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUTCOffset.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUTCOffset.go index 26a553c48d..003a090859 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUTCOffset.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUTCOffset.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataUTCOffset) deepCopy() *_BACnetConstructedDataUTCO return nil } _BACnetConstructedDataUTCOffsetCopy := &_BACnetConstructedDataUTCOffset{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.UtcOffset.DeepCopy().(BACnetApplicationTagSignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUTCTimeSynchronizationRecipients.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUTCTimeSynchronizationRecipients.go index 55409c15e5..039fa3a0a5 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUTCTimeSynchronizationRecipients.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUTCTimeSynchronizationRecipients.go @@ -199,7 +199,7 @@ func (m *_BACnetConstructedDataUTCTimeSynchronizationRecipients) deepCopy() *_BA return nil } _BACnetConstructedDataUTCTimeSynchronizationRecipientsCopy := &_BACnetConstructedDataUTCTimeSynchronizationRecipients{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), utils.DeepCopySlice[BACnetRecipient, BACnetRecipient](m.UtcTimeSynchronizationRecipients), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUnits.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUnits.go index 30b03bdb86..3d2174f407 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUnits.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUnits.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataUnits) deepCopy() *_BACnetConstructedDataUnits { return nil } _BACnetConstructedDataUnitsCopy := &_BACnetConstructedDataUnits{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.Units.DeepCopy().(BACnetEngineeringUnitsTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUnspecified.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUnspecified.go index f603d8ad41..3e978805fd 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUnspecified.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUnspecified.go @@ -258,7 +258,7 @@ func (m *_BACnetConstructedDataUnspecified) deepCopy() *_BACnetConstructedDataUn return nil } _BACnetConstructedDataUnspecifiedCopy := &_BACnetConstructedDataUnspecified{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NumberOfDataElements.DeepCopy().(BACnetApplicationTagUnsignedInteger), utils.DeepCopySlice[BACnetConstructedDataElement, BACnetConstructedDataElement](m.Data), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUpdateInterval.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUpdateInterval.go index e642777f56..38c8d3af4e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUpdateInterval.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUpdateInterval.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataUpdateInterval) deepCopy() *_BACnetConstructedDat return nil } _BACnetConstructedDataUpdateIntervalCopy := &_BACnetConstructedDataUpdateInterval{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.UpdateInterval.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUpdateKeySetTimeout.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUpdateKeySetTimeout.go index 79d5c013a3..882cf84a0e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUpdateKeySetTimeout.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUpdateKeySetTimeout.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataUpdateKeySetTimeout) deepCopy() *_BACnetConstruct return nil } _BACnetConstructedDataUpdateKeySetTimeoutCopy := &_BACnetConstructedDataUpdateKeySetTimeout{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.UpdateKeySetTimeout.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUpdateTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUpdateTime.go index 024d2bac38..026a39f449 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUpdateTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUpdateTime.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataUpdateTime) deepCopy() *_BACnetConstructedDataUpd return nil } _BACnetConstructedDataUpdateTimeCopy := &_BACnetConstructedDataUpdateTime{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.UpdateTime.DeepCopy().(BACnetDateTime), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUserExternalIdentifier.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUserExternalIdentifier.go index dad1b8e62f..c9171d8076 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUserExternalIdentifier.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUserExternalIdentifier.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataUserExternalIdentifier) deepCopy() *_BACnetConstr return nil } _BACnetConstructedDataUserExternalIdentifierCopy := &_BACnetConstructedDataUserExternalIdentifier{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.UserExternalIdentifier.DeepCopy().(BACnetApplicationTagCharacterString), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUserInformationReference.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUserInformationReference.go index b94b5598f4..e37c03121d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUserInformationReference.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUserInformationReference.go @@ -229,7 +229,7 @@ func (m *_BACnetConstructedDataUserInformationReference) deepCopy() *_BACnetCons return nil } _BACnetConstructedDataUserInformationReferenceCopy := &_BACnetConstructedDataUserInformationReference{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.UserInformationReference.DeepCopy().(BACnetApplicationTagCharacterString), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUserName.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUserName.go index 9c4fa1610c..07d53cbfdc 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUserName.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUserName.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataUserName) deepCopy() *_BACnetConstructedDataUserN return nil } _BACnetConstructedDataUserNameCopy := &_BACnetConstructedDataUserName{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.UserName.DeepCopy().(BACnetApplicationTagCharacterString), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUserType.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUserType.go index 2bc754d590..130db13445 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUserType.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUserType.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataUserType) deepCopy() *_BACnetConstructedDataUserT return nil } _BACnetConstructedDataUserTypeCopy := &_BACnetConstructedDataUserType{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.UserType.DeepCopy().(BACnetAccessUserTypeTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUsesRemaining.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUsesRemaining.go index 539ff5e967..9e8ef138d2 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUsesRemaining.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataUsesRemaining.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataUsesRemaining) deepCopy() *_BACnetConstructedData return nil } _BACnetConstructedDataUsesRemainingCopy := &_BACnetConstructedDataUsesRemaining{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.UsesRemaining.DeepCopy().(BACnetApplicationTagSignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataVTClassesSupported.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataVTClassesSupported.go index 9a8adcefa7..d720ac0c92 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataVTClassesSupported.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataVTClassesSupported.go @@ -198,7 +198,7 @@ func (m *_BACnetConstructedDataVTClassesSupported) deepCopy() *_BACnetConstructe return nil } _BACnetConstructedDataVTClassesSupportedCopy := &_BACnetConstructedDataVTClassesSupported{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), utils.DeepCopySlice[BACnetVTClassTagged, BACnetVTClassTagged](m.VtClassesSupported), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataValidSamples.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataValidSamples.go index 99435ed195..16bbd27615 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataValidSamples.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataValidSamples.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataValidSamples) deepCopy() *_BACnetConstructedDataV return nil } _BACnetConstructedDataValidSamplesCopy := &_BACnetConstructedDataValidSamples{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.ValidSamples.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataValueBeforeChange.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataValueBeforeChange.go index 1bd2d9681d..b8c59ca234 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataValueBeforeChange.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataValueBeforeChange.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataValueBeforeChange) deepCopy() *_BACnetConstructed return nil } _BACnetConstructedDataValueBeforeChangeCopy := &_BACnetConstructedDataValueBeforeChange{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.ValuesBeforeChange.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataValueChangeTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataValueChangeTime.go index 3e71817ea6..2d74575f90 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataValueChangeTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataValueChangeTime.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataValueChangeTime) deepCopy() *_BACnetConstructedDa return nil } _BACnetConstructedDataValueChangeTimeCopy := &_BACnetConstructedDataValueChangeTime{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.ValueChangeTime.DeepCopy().(BACnetDateTime), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataValueSet.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataValueSet.go index f9ca2b2e44..12472a6278 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataValueSet.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataValueSet.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataValueSet) deepCopy() *_BACnetConstructedDataValue return nil } _BACnetConstructedDataValueSetCopy := &_BACnetConstructedDataValueSet{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.ValueSet.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataValueSource.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataValueSource.go index c6e63a46be..8f3bb5479f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataValueSource.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataValueSource.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataValueSource) deepCopy() *_BACnetConstructedDataVa return nil } _BACnetConstructedDataValueSourceCopy := &_BACnetConstructedDataValueSource{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.ValueSource.DeepCopy().(BACnetValueSource), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataValueSourceArray.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataValueSourceArray.go index ceb18575ab..0e015a18b0 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataValueSourceArray.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataValueSourceArray.go @@ -263,7 +263,7 @@ func (m *_BACnetConstructedDataValueSourceArray) deepCopy() *_BACnetConstructedD return nil } _BACnetConstructedDataValueSourceArrayCopy := &_BACnetConstructedDataValueSourceArray{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NumberOfDataElements.DeepCopy().(BACnetApplicationTagUnsignedInteger), utils.DeepCopySlice[BACnetValueSource, BACnetValueSource](m.VtClassesSupported), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataVarianceValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataVarianceValue.go index c0fbfe95fa..c668611fb6 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataVarianceValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataVarianceValue.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataVarianceValue) deepCopy() *_BACnetConstructedData return nil } _BACnetConstructedDataVarianceValueCopy := &_BACnetConstructedDataVarianceValue{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.VarianceValue.DeepCopy().(BACnetApplicationTagReal), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataVendorIdentifier.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataVendorIdentifier.go index f0546c81ab..68f25ce72b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataVendorIdentifier.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataVendorIdentifier.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataVendorIdentifier) deepCopy() *_BACnetConstructedD return nil } _BACnetConstructedDataVendorIdentifierCopy := &_BACnetConstructedDataVendorIdentifier{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.VendorIdentifier.DeepCopy().(BACnetVendorIdTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataVendorName.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataVendorName.go index 0ad82ef824..b14befe8f3 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataVendorName.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataVendorName.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataVendorName) deepCopy() *_BACnetConstructedDataVen return nil } _BACnetConstructedDataVendorNameCopy := &_BACnetConstructedDataVendorName{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.VendorName.DeepCopy().(BACnetApplicationTagCharacterString), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataVerificationTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataVerificationTime.go index 6a0ec1c14d..a4c767d69b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataVerificationTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataVerificationTime.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataVerificationTime) deepCopy() *_BACnetConstructedD return nil } _BACnetConstructedDataVerificationTimeCopy := &_BACnetConstructedDataVerificationTime{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.VerificationTime.DeepCopy().(BACnetApplicationTagSignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataVirtualMACAddressTable.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataVirtualMACAddressTable.go index f520230131..9c15e07cfe 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataVirtualMACAddressTable.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataVirtualMACAddressTable.go @@ -199,7 +199,7 @@ func (m *_BACnetConstructedDataVirtualMACAddressTable) deepCopy() *_BACnetConstr return nil } _BACnetConstructedDataVirtualMACAddressTableCopy := &_BACnetConstructedDataVirtualMACAddressTable{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), utils.DeepCopySlice[BACnetVMACEntry, BACnetVMACEntry](m.VirtualMacAddressTable), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataWeeklySchedule.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataWeeklySchedule.go index b1eb1c5947..e085c430d1 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataWeeklySchedule.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataWeeklySchedule.go @@ -263,7 +263,7 @@ func (m *_BACnetConstructedDataWeeklySchedule) deepCopy() *_BACnetConstructedDat return nil } _BACnetConstructedDataWeeklyScheduleCopy := &_BACnetConstructedDataWeeklySchedule{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.NumberOfDataElements.DeepCopy().(BACnetApplicationTagUnsignedInteger), utils.DeepCopySlice[BACnetDailySchedule, BACnetDailySchedule](m.WeeklySchedule), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataWindowInterval.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataWindowInterval.go index 51f677c870..ba46d2641d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataWindowInterval.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataWindowInterval.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataWindowInterval) deepCopy() *_BACnetConstructedDat return nil } _BACnetConstructedDataWindowIntervalCopy := &_BACnetConstructedDataWindowInterval{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.WindowInterval.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataWindowSamples.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataWindowSamples.go index 2008bb0ddf..56f3270547 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataWindowSamples.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataWindowSamples.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataWindowSamples) deepCopy() *_BACnetConstructedData return nil } _BACnetConstructedDataWindowSamplesCopy := &_BACnetConstructedDataWindowSamples{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.WindowSamples.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataWriteStatus.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataWriteStatus.go index e1ca62baf4..30e7d9f28d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataWriteStatus.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataWriteStatus.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataWriteStatus) deepCopy() *_BACnetConstructedDataWr return nil } _BACnetConstructedDataWriteStatusCopy := &_BACnetConstructedDataWriteStatus{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.WriteStatus.DeepCopy().(BACnetWriteStatusTagged), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataZoneFrom.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataZoneFrom.go index 9e52092a0e..c1691a0048 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataZoneFrom.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataZoneFrom.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataZoneFrom) deepCopy() *_BACnetConstructedDataZoneF return nil } _BACnetConstructedDataZoneFromCopy := &_BACnetConstructedDataZoneFrom{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.ZoneFrom.DeepCopy().(BACnetDeviceObjectReference), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataZoneMembers.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataZoneMembers.go index 2c08224afd..bd5b143012 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataZoneMembers.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataZoneMembers.go @@ -198,7 +198,7 @@ func (m *_BACnetConstructedDataZoneMembers) deepCopy() *_BACnetConstructedDataZo return nil } _BACnetConstructedDataZoneMembersCopy := &_BACnetConstructedDataZoneMembers{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), utils.DeepCopySlice[BACnetDeviceObjectReference, BACnetDeviceObjectReference](m.Members), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataZoneTo.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataZoneTo.go index 2e178897b2..acbf04cf6e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataZoneTo.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetConstructedDataZoneTo.go @@ -228,7 +228,7 @@ func (m *_BACnetConstructedDataZoneTo) deepCopy() *_BACnetConstructedDataZoneTo return nil } _BACnetConstructedDataZoneToCopy := &_BACnetConstructedDataZoneTo{ - m.BACnetConstructedDataContract.DeepCopy().(BACnetConstructedDataContract), + m.BACnetConstructedDataContract.(*_BACnetConstructedData).deepCopy(), m.ZoneTo.DeepCopy().(BACnetDeviceObjectReference), } m.BACnetConstructedDataContract.(*_BACnetConstructedData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTag.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTag.go index 80c6219b92..a472ec965b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTag.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTag.go @@ -47,7 +47,6 @@ type BACnetContextTag interface { // BACnetContextTagContract provides a set of functions which can be overwritten by a sub struct type BACnetContextTagContract interface { - utils.Copyable // GetHeader returns Header (property field) GetHeader() BACnetTagHeader // GetTagNumber returns TagNumber (virtual field) diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagBitString.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagBitString.go index 398e298c9b..13f95d55dc 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagBitString.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagBitString.go @@ -193,7 +193,7 @@ func (m *_BACnetContextTagBitString) deepCopy() *_BACnetContextTagBitString { return nil } _BACnetContextTagBitStringCopy := &_BACnetContextTagBitString{ - m.BACnetContextTagContract.DeepCopy().(BACnetContextTagContract), + m.BACnetContextTagContract.(*_BACnetContextTag).deepCopy(), m.Payload.DeepCopy().(BACnetTagPayloadBitString), } m.BACnetContextTagContract.(*_BACnetContextTag)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagBoolean.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagBoolean.go index dd6f476ec5..ff4b32e5b0 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagBoolean.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagBoolean.go @@ -250,7 +250,7 @@ func (m *_BACnetContextTagBoolean) deepCopy() *_BACnetContextTagBoolean { return nil } _BACnetContextTagBooleanCopy := &_BACnetContextTagBoolean{ - m.BACnetContextTagContract.DeepCopy().(BACnetContextTagContract), + m.BACnetContextTagContract.(*_BACnetContextTag).deepCopy(), m.Value, m.Payload.DeepCopy().(BACnetTagPayloadBoolean), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagCharacterString.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagCharacterString.go index d7931595b1..604b3c6f39 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagCharacterString.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagCharacterString.go @@ -224,7 +224,7 @@ func (m *_BACnetContextTagCharacterString) deepCopy() *_BACnetContextTagCharacte return nil } _BACnetContextTagCharacterStringCopy := &_BACnetContextTagCharacterString{ - m.BACnetContextTagContract.DeepCopy().(BACnetContextTagContract), + m.BACnetContextTagContract.(*_BACnetContextTag).deepCopy(), m.Payload.DeepCopy().(BACnetTagPayloadCharacterString), } m.BACnetContextTagContract.(*_BACnetContextTag)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagDate.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagDate.go index 268c3456b7..a8b6636784 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagDate.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagDate.go @@ -193,7 +193,7 @@ func (m *_BACnetContextTagDate) deepCopy() *_BACnetContextTagDate { return nil } _BACnetContextTagDateCopy := &_BACnetContextTagDate{ - m.BACnetContextTagContract.DeepCopy().(BACnetContextTagContract), + m.BACnetContextTagContract.(*_BACnetContextTag).deepCopy(), m.Payload.DeepCopy().(BACnetTagPayloadDate), } m.BACnetContextTagContract.(*_BACnetContextTag)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagDouble.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagDouble.go index 7046943fd0..a349402e29 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagDouble.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagDouble.go @@ -224,7 +224,7 @@ func (m *_BACnetContextTagDouble) deepCopy() *_BACnetContextTagDouble { return nil } _BACnetContextTagDoubleCopy := &_BACnetContextTagDouble{ - m.BACnetContextTagContract.DeepCopy().(BACnetContextTagContract), + m.BACnetContextTagContract.(*_BACnetContextTag).deepCopy(), m.Payload.DeepCopy().(BACnetTagPayloadDouble), } m.BACnetContextTagContract.(*_BACnetContextTag)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagEnumerated.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagEnumerated.go index 06a99e764a..c30c876a18 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagEnumerated.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagEnumerated.go @@ -224,7 +224,7 @@ func (m *_BACnetContextTagEnumerated) deepCopy() *_BACnetContextTagEnumerated { return nil } _BACnetContextTagEnumeratedCopy := &_BACnetContextTagEnumerated{ - m.BACnetContextTagContract.DeepCopy().(BACnetContextTagContract), + m.BACnetContextTagContract.(*_BACnetContextTag).deepCopy(), m.Payload.DeepCopy().(BACnetTagPayloadEnumerated), } m.BACnetContextTagContract.(*_BACnetContextTag)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagNull.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagNull.go index 190e305788..60740706d8 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagNull.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagNull.go @@ -162,7 +162,7 @@ func (m *_BACnetContextTagNull) deepCopy() *_BACnetContextTagNull { return nil } _BACnetContextTagNullCopy := &_BACnetContextTagNull{ - m.BACnetContextTagContract.DeepCopy().(BACnetContextTagContract), + m.BACnetContextTagContract.(*_BACnetContextTag).deepCopy(), } m.BACnetContextTagContract.(*_BACnetContextTag)._SubType = m return _BACnetContextTagNullCopy diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagObjectIdentifier.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagObjectIdentifier.go index 90d9e603fd..34e42ac7f3 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagObjectIdentifier.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagObjectIdentifier.go @@ -246,7 +246,7 @@ func (m *_BACnetContextTagObjectIdentifier) deepCopy() *_BACnetContextTagObjectI return nil } _BACnetContextTagObjectIdentifierCopy := &_BACnetContextTagObjectIdentifier{ - m.BACnetContextTagContract.DeepCopy().(BACnetContextTagContract), + m.BACnetContextTagContract.(*_BACnetContextTag).deepCopy(), m.Payload.DeepCopy().(BACnetTagPayloadObjectIdentifier), } m.BACnetContextTagContract.(*_BACnetContextTag)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagOctetString.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagOctetString.go index 53cb6c4f13..2f65be6e79 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagOctetString.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagOctetString.go @@ -193,7 +193,7 @@ func (m *_BACnetContextTagOctetString) deepCopy() *_BACnetContextTagOctetString return nil } _BACnetContextTagOctetStringCopy := &_BACnetContextTagOctetString{ - m.BACnetContextTagContract.DeepCopy().(BACnetContextTagContract), + m.BACnetContextTagContract.(*_BACnetContextTag).deepCopy(), m.Payload.DeepCopy().(BACnetTagPayloadOctetString), } m.BACnetContextTagContract.(*_BACnetContextTag)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagReal.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagReal.go index 03880bc5e3..04c5a11f4f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagReal.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagReal.go @@ -224,7 +224,7 @@ func (m *_BACnetContextTagReal) deepCopy() *_BACnetContextTagReal { return nil } _BACnetContextTagRealCopy := &_BACnetContextTagReal{ - m.BACnetContextTagContract.DeepCopy().(BACnetContextTagContract), + m.BACnetContextTagContract.(*_BACnetContextTag).deepCopy(), m.Payload.DeepCopy().(BACnetTagPayloadReal), } m.BACnetContextTagContract.(*_BACnetContextTag)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagSignedInteger.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagSignedInteger.go index ebca9fb573..0fb3dd3954 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagSignedInteger.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagSignedInteger.go @@ -224,7 +224,7 @@ func (m *_BACnetContextTagSignedInteger) deepCopy() *_BACnetContextTagSignedInte return nil } _BACnetContextTagSignedIntegerCopy := &_BACnetContextTagSignedInteger{ - m.BACnetContextTagContract.DeepCopy().(BACnetContextTagContract), + m.BACnetContextTagContract.(*_BACnetContextTag).deepCopy(), m.Payload.DeepCopy().(BACnetTagPayloadSignedInteger), } m.BACnetContextTagContract.(*_BACnetContextTag)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagTime.go index b4adbdfaa4..bef1c315a6 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagTime.go @@ -193,7 +193,7 @@ func (m *_BACnetContextTagTime) deepCopy() *_BACnetContextTagTime { return nil } _BACnetContextTagTimeCopy := &_BACnetContextTagTime{ - m.BACnetContextTagContract.DeepCopy().(BACnetContextTagContract), + m.BACnetContextTagContract.(*_BACnetContextTag).deepCopy(), m.Payload.DeepCopy().(BACnetTagPayloadTime), } m.BACnetContextTagContract.(*_BACnetContextTag)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagUnknown.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagUnknown.go index f12a25d36e..9201906978 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagUnknown.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagUnknown.go @@ -205,7 +205,7 @@ func (m *_BACnetContextTagUnknown) deepCopy() *_BACnetContextTagUnknown { return nil } _BACnetContextTagUnknownCopy := &_BACnetContextTagUnknown{ - m.BACnetContextTagContract.DeepCopy().(BACnetContextTagContract), + m.BACnetContextTagContract.(*_BACnetContextTag).deepCopy(), utils.DeepCopySlice[byte, byte](m.UnknownData), m.ActualLength, } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagUnsignedInteger.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagUnsignedInteger.go index c92c94cad8..178356fbca 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagUnsignedInteger.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetContextTagUnsignedInteger.go @@ -224,7 +224,7 @@ func (m *_BACnetContextTagUnsignedInteger) deepCopy() *_BACnetContextTagUnsigned return nil } _BACnetContextTagUnsignedIntegerCopy := &_BACnetContextTagUnsignedInteger{ - m.BACnetContextTagContract.DeepCopy().(BACnetContextTagContract), + m.BACnetContextTagContract.(*_BACnetContextTag).deepCopy(), m.Payload.DeepCopy().(BACnetTagPayloadUnsignedInteger), } m.BACnetContextTagContract.(*_BACnetContextTag)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetError.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetError.go index fa2f3b9946..a178536ee5 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetError.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetError.go @@ -45,7 +45,6 @@ type BACnetError interface { // BACnetErrorContract provides a set of functions which can be overwritten by a sub struct type BACnetErrorContract interface { - utils.Copyable // IsBACnetError is a marker method to prevent unintentional type checks (interfaces of same signature) IsBACnetError() } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetErrorGeneral.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetErrorGeneral.go index e5dd55cc2c..7399dbd76f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetErrorGeneral.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetErrorGeneral.go @@ -193,7 +193,7 @@ func (m *_BACnetErrorGeneral) deepCopy() *_BACnetErrorGeneral { return nil } _BACnetErrorGeneralCopy := &_BACnetErrorGeneral{ - m.BACnetErrorContract.DeepCopy().(BACnetErrorContract), + m.BACnetErrorContract.(*_BACnetError).deepCopy(), m.Error.DeepCopy().(Error), } m.BACnetErrorContract.(*_BACnetError)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventLogRecordLogDatum.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventLogRecordLogDatum.go index 0c1255b23f..7979f29bf9 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventLogRecordLogDatum.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventLogRecordLogDatum.go @@ -47,7 +47,6 @@ type BACnetEventLogRecordLogDatum interface { // BACnetEventLogRecordLogDatumContract provides a set of functions which can be overwritten by a sub struct type BACnetEventLogRecordLogDatumContract interface { - utils.Copyable // GetOpeningTag returns OpeningTag (property field) GetOpeningTag() BACnetOpeningTag // GetPeekedTagHeader returns PeekedTagHeader (property field) diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventLogRecordLogDatumLogStatus.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventLogRecordLogDatumLogStatus.go index a929e28c97..38b1a8957a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventLogRecordLogDatumLogStatus.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventLogRecordLogDatumLogStatus.go @@ -189,7 +189,7 @@ func (m *_BACnetEventLogRecordLogDatumLogStatus) deepCopy() *_BACnetEventLogReco return nil } _BACnetEventLogRecordLogDatumLogStatusCopy := &_BACnetEventLogRecordLogDatumLogStatus{ - m.BACnetEventLogRecordLogDatumContract.DeepCopy().(BACnetEventLogRecordLogDatumContract), + m.BACnetEventLogRecordLogDatumContract.(*_BACnetEventLogRecordLogDatum).deepCopy(), m.LogStatus.DeepCopy().(BACnetLogStatusTagged), } m.BACnetEventLogRecordLogDatumContract.(*_BACnetEventLogRecordLogDatum)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventLogRecordLogDatumNotification.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventLogRecordLogDatumNotification.go index fad72c249c..b9638d1430 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventLogRecordLogDatumNotification.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventLogRecordLogDatumNotification.go @@ -237,7 +237,7 @@ func (m *_BACnetEventLogRecordLogDatumNotification) deepCopy() *_BACnetEventLogR return nil } _BACnetEventLogRecordLogDatumNotificationCopy := &_BACnetEventLogRecordLogDatumNotification{ - m.BACnetEventLogRecordLogDatumContract.DeepCopy().(BACnetEventLogRecordLogDatumContract), + m.BACnetEventLogRecordLogDatumContract.(*_BACnetEventLogRecordLogDatum).deepCopy(), m.InnerOpeningTag.DeepCopy().(BACnetOpeningTag), m.Notification.DeepCopy().(ConfirmedEventNotificationRequest), m.InnerClosingTag.DeepCopy().(BACnetClosingTag), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventLogRecordLogDatumTimeChange.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventLogRecordLogDatumTimeChange.go index 98d19795b8..2dc8eded7b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventLogRecordLogDatumTimeChange.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventLogRecordLogDatumTimeChange.go @@ -189,7 +189,7 @@ func (m *_BACnetEventLogRecordLogDatumTimeChange) deepCopy() *_BACnetEventLogRec return nil } _BACnetEventLogRecordLogDatumTimeChangeCopy := &_BACnetEventLogRecordLogDatumTimeChange{ - m.BACnetEventLogRecordLogDatumContract.DeepCopy().(BACnetEventLogRecordLogDatumContract), + m.BACnetEventLogRecordLogDatumContract.(*_BACnetEventLogRecordLogDatum).deepCopy(), m.TimeChange.DeepCopy().(BACnetContextTagReal), } m.BACnetEventLogRecordLogDatumContract.(*_BACnetEventLogRecordLogDatum)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameter.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameter.go index fb630a952e..b4a0d1a31a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameter.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameter.go @@ -47,7 +47,6 @@ type BACnetEventParameter interface { // BACnetEventParameterContract provides a set of functions which can be overwritten by a sub struct type BACnetEventParameterContract interface { - utils.Copyable // GetPeekedTagHeader returns PeekedTagHeader (property field) GetPeekedTagHeader() BACnetTagHeader // GetPeekedTagNumber returns PeekedTagNumber (virtual field) diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterAccessEvent.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterAccessEvent.go index e45fbf260f..61a944f9f6 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterAccessEvent.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterAccessEvent.go @@ -261,7 +261,7 @@ func (m *_BACnetEventParameterAccessEvent) deepCopy() *_BACnetEventParameterAcce return nil } _BACnetEventParameterAccessEventCopy := &_BACnetEventParameterAccessEvent{ - m.BACnetEventParameterContract.DeepCopy().(BACnetEventParameterContract), + m.BACnetEventParameterContract.(*_BACnetEventParameter).deepCopy(), m.OpeningTag.DeepCopy().(BACnetOpeningTag), m.ListOfAccessEvents.DeepCopy().(BACnetEventParameterAccessEventListOfAccessEvents), m.AccessEventTimeReference.DeepCopy().(BACnetDeviceObjectPropertyReferenceEnclosed), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterBufferReady.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterBufferReady.go index 72ae2bf111..b88f3e0be0 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterBufferReady.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterBufferReady.go @@ -261,7 +261,7 @@ func (m *_BACnetEventParameterBufferReady) deepCopy() *_BACnetEventParameterBuff return nil } _BACnetEventParameterBufferReadyCopy := &_BACnetEventParameterBufferReady{ - m.BACnetEventParameterContract.DeepCopy().(BACnetEventParameterContract), + m.BACnetEventParameterContract.(*_BACnetEventParameter).deepCopy(), m.OpeningTag.DeepCopy().(BACnetOpeningTag), m.NotificationThreshold.DeepCopy().(BACnetContextTagUnsignedInteger), m.PreviousNotificationCount.DeepCopy().(BACnetContextTagUnsignedInteger), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfBitstring.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfBitstring.go index 31b52fc440..4557593fef 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfBitstring.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfBitstring.go @@ -285,7 +285,7 @@ func (m *_BACnetEventParameterChangeOfBitstring) deepCopy() *_BACnetEventParamet return nil } _BACnetEventParameterChangeOfBitstringCopy := &_BACnetEventParameterChangeOfBitstring{ - m.BACnetEventParameterContract.DeepCopy().(BACnetEventParameterContract), + m.BACnetEventParameterContract.(*_BACnetEventParameter).deepCopy(), m.OpeningTag.DeepCopy().(BACnetOpeningTag), m.TimeDelay.DeepCopy().(BACnetContextTagUnsignedInteger), m.Bitmask.DeepCopy().(BACnetContextTagBitString), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfCharacterString.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfCharacterString.go index f5bf0fead5..612a28bf14 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfCharacterString.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfCharacterString.go @@ -262,7 +262,7 @@ func (m *_BACnetEventParameterChangeOfCharacterString) deepCopy() *_BACnetEventP return nil } _BACnetEventParameterChangeOfCharacterStringCopy := &_BACnetEventParameterChangeOfCharacterString{ - m.BACnetEventParameterContract.DeepCopy().(BACnetEventParameterContract), + m.BACnetEventParameterContract.(*_BACnetEventParameter).deepCopy(), m.OpeningTag.DeepCopy().(BACnetOpeningTag), m.TimeDelay.DeepCopy().(BACnetContextTagUnsignedInteger), m.ListOfAlarmValues.DeepCopy().(BACnetEventParameterChangeOfCharacterStringListOfAlarmValues), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfDiscreteValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfDiscreteValue.go index fed8808820..0b38199c7d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfDiscreteValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfDiscreteValue.go @@ -237,7 +237,7 @@ func (m *_BACnetEventParameterChangeOfDiscreteValue) deepCopy() *_BACnetEventPar return nil } _BACnetEventParameterChangeOfDiscreteValueCopy := &_BACnetEventParameterChangeOfDiscreteValue{ - m.BACnetEventParameterContract.DeepCopy().(BACnetEventParameterContract), + m.BACnetEventParameterContract.(*_BACnetEventParameter).deepCopy(), m.OpeningTag.DeepCopy().(BACnetOpeningTag), m.TimeDelay.DeepCopy().(BACnetContextTagUnsignedInteger), m.ClosingTag.DeepCopy().(BACnetClosingTag), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfLifeSavety.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfLifeSavety.go index 6334b29d83..d0d7de48bd 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfLifeSavety.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfLifeSavety.go @@ -309,7 +309,7 @@ func (m *_BACnetEventParameterChangeOfLifeSavety) deepCopy() *_BACnetEventParame return nil } _BACnetEventParameterChangeOfLifeSavetyCopy := &_BACnetEventParameterChangeOfLifeSavety{ - m.BACnetEventParameterContract.DeepCopy().(BACnetEventParameterContract), + m.BACnetEventParameterContract.(*_BACnetEventParameter).deepCopy(), m.OpeningTag.DeepCopy().(BACnetOpeningTag), m.TimeDelay.DeepCopy().(BACnetContextTagUnsignedInteger), m.ListOfLifeSavetyAlarmValues.DeepCopy().(BACnetEventParameterChangeOfLifeSavetyListOfLifeSavetyAlarmValues), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfState.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfState.go index 246eccba51..392b4ec41e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfState.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfState.go @@ -261,7 +261,7 @@ func (m *_BACnetEventParameterChangeOfState) deepCopy() *_BACnetEventParameterCh return nil } _BACnetEventParameterChangeOfStateCopy := &_BACnetEventParameterChangeOfState{ - m.BACnetEventParameterContract.DeepCopy().(BACnetEventParameterContract), + m.BACnetEventParameterContract.(*_BACnetEventParameter).deepCopy(), m.OpeningTag.DeepCopy().(BACnetOpeningTag), m.TimeDelay.DeepCopy().(BACnetContextTagUnsignedInteger), m.ListOfValues.DeepCopy().(BACnetEventParameterChangeOfStateListOfValues), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfStatusFlags.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfStatusFlags.go index 69b78e94ae..0b1f2ce9a3 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfStatusFlags.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfStatusFlags.go @@ -261,7 +261,7 @@ func (m *_BACnetEventParameterChangeOfStatusFlags) deepCopy() *_BACnetEventParam return nil } _BACnetEventParameterChangeOfStatusFlagsCopy := &_BACnetEventParameterChangeOfStatusFlags{ - m.BACnetEventParameterContract.DeepCopy().(BACnetEventParameterContract), + m.BACnetEventParameterContract.(*_BACnetEventParameter).deepCopy(), m.OpeningTag.DeepCopy().(BACnetOpeningTag), m.TimeDelay.DeepCopy().(BACnetContextTagUnsignedInteger), m.SelectedFlags.DeepCopy().(BACnetStatusFlagsTagged), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfTimer.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfTimer.go index 5d8cf43476..757cf9a8cd 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfTimer.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfTimer.go @@ -285,7 +285,7 @@ func (m *_BACnetEventParameterChangeOfTimer) deepCopy() *_BACnetEventParameterCh return nil } _BACnetEventParameterChangeOfTimerCopy := &_BACnetEventParameterChangeOfTimer{ - m.BACnetEventParameterContract.DeepCopy().(BACnetEventParameterContract), + m.BACnetEventParameterContract.(*_BACnetEventParameter).deepCopy(), m.OpeningTag.DeepCopy().(BACnetOpeningTag), m.TimeDelay.DeepCopy().(BACnetContextTagUnsignedInteger), m.AlarmValues.DeepCopy().(BACnetEventParameterChangeOfTimerAlarmValue), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfValue.go index 057a9c95ea..070920a472 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfValue.go @@ -261,7 +261,7 @@ func (m *_BACnetEventParameterChangeOfValue) deepCopy() *_BACnetEventParameterCh return nil } _BACnetEventParameterChangeOfValueCopy := &_BACnetEventParameterChangeOfValue{ - m.BACnetEventParameterContract.DeepCopy().(BACnetEventParameterContract), + m.BACnetEventParameterContract.(*_BACnetEventParameter).deepCopy(), m.OpeningTag.DeepCopy().(BACnetOpeningTag), m.TimeDelay.DeepCopy().(BACnetContextTagUnsignedInteger), m.CovCriteria.DeepCopy().(BACnetEventParameterChangeOfValueCivCriteria), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfValueCivCriteria.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfValueCivCriteria.go index dbf2cf0447..73b5fca44a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfValueCivCriteria.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfValueCivCriteria.go @@ -47,7 +47,6 @@ type BACnetEventParameterChangeOfValueCivCriteria interface { // BACnetEventParameterChangeOfValueCivCriteriaContract provides a set of functions which can be overwritten by a sub struct type BACnetEventParameterChangeOfValueCivCriteriaContract interface { - utils.Copyable // GetOpeningTag returns OpeningTag (property field) GetOpeningTag() BACnetOpeningTag // GetPeekedTagHeader returns PeekedTagHeader (property field) diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfValueCivCriteriaBitmask.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfValueCivCriteriaBitmask.go index c18a17dc79..cf91a248e5 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfValueCivCriteriaBitmask.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfValueCivCriteriaBitmask.go @@ -190,7 +190,7 @@ func (m *_BACnetEventParameterChangeOfValueCivCriteriaBitmask) deepCopy() *_BACn return nil } _BACnetEventParameterChangeOfValueCivCriteriaBitmaskCopy := &_BACnetEventParameterChangeOfValueCivCriteriaBitmask{ - m.BACnetEventParameterChangeOfValueCivCriteriaContract.DeepCopy().(BACnetEventParameterChangeOfValueCivCriteriaContract), + m.BACnetEventParameterChangeOfValueCivCriteriaContract.(*_BACnetEventParameterChangeOfValueCivCriteria).deepCopy(), m.Bitmask.DeepCopy().(BACnetContextTagBitString), } m.BACnetEventParameterChangeOfValueCivCriteriaContract.(*_BACnetEventParameterChangeOfValueCivCriteria)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfValueCivCriteriaReferencedPropertyIncrement.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfValueCivCriteriaReferencedPropertyIncrement.go index ea5f585ccb..0692daa105 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfValueCivCriteriaReferencedPropertyIncrement.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterChangeOfValueCivCriteriaReferencedPropertyIncrement.go @@ -190,7 +190,7 @@ func (m *_BACnetEventParameterChangeOfValueCivCriteriaReferencedPropertyIncremen return nil } _BACnetEventParameterChangeOfValueCivCriteriaReferencedPropertyIncrementCopy := &_BACnetEventParameterChangeOfValueCivCriteriaReferencedPropertyIncrement{ - m.BACnetEventParameterChangeOfValueCivCriteriaContract.DeepCopy().(BACnetEventParameterChangeOfValueCivCriteriaContract), + m.BACnetEventParameterChangeOfValueCivCriteriaContract.(*_BACnetEventParameterChangeOfValueCivCriteria).deepCopy(), m.ReferencedPropertyIncrement.DeepCopy().(BACnetContextTagReal), } m.BACnetEventParameterChangeOfValueCivCriteriaContract.(*_BACnetEventParameterChangeOfValueCivCriteria)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterCommandFailure.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterCommandFailure.go index bb786fbfd6..b91610f2cf 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterCommandFailure.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterCommandFailure.go @@ -261,7 +261,7 @@ func (m *_BACnetEventParameterCommandFailure) deepCopy() *_BACnetEventParameterC return nil } _BACnetEventParameterCommandFailureCopy := &_BACnetEventParameterCommandFailure{ - m.BACnetEventParameterContract.DeepCopy().(BACnetEventParameterContract), + m.BACnetEventParameterContract.(*_BACnetEventParameter).deepCopy(), m.OpeningTag.DeepCopy().(BACnetOpeningTag), m.TimeDelay.DeepCopy().(BACnetContextTagUnsignedInteger), m.FeedbackPropertyReference.DeepCopy().(BACnetDeviceObjectPropertyReferenceEnclosed), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterDoubleOutOfRange.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterDoubleOutOfRange.go index 1046c8d3b6..c5792429f9 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterDoubleOutOfRange.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterDoubleOutOfRange.go @@ -309,7 +309,7 @@ func (m *_BACnetEventParameterDoubleOutOfRange) deepCopy() *_BACnetEventParamete return nil } _BACnetEventParameterDoubleOutOfRangeCopy := &_BACnetEventParameterDoubleOutOfRange{ - m.BACnetEventParameterContract.DeepCopy().(BACnetEventParameterContract), + m.BACnetEventParameterContract.(*_BACnetEventParameter).deepCopy(), m.OpeningTag.DeepCopy().(BACnetOpeningTag), m.TimeDelay.DeepCopy().(BACnetContextTagUnsignedInteger), m.LowLimit.DeepCopy().(BACnetContextTagDouble), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterExtended.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterExtended.go index 6a24e0b3e3..f693c2cbd2 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterExtended.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterExtended.go @@ -285,7 +285,7 @@ func (m *_BACnetEventParameterExtended) deepCopy() *_BACnetEventParameterExtende return nil } _BACnetEventParameterExtendedCopy := &_BACnetEventParameterExtended{ - m.BACnetEventParameterContract.DeepCopy().(BACnetEventParameterContract), + m.BACnetEventParameterContract.(*_BACnetEventParameter).deepCopy(), m.OpeningTag.DeepCopy().(BACnetOpeningTag), m.VendorId.DeepCopy().(BACnetVendorIdTagged), m.ExtendedEventType.DeepCopy().(BACnetContextTagUnsignedInteger), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterFloatingLimit.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterFloatingLimit.go index 4fe52957d4..d075aa8622 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterFloatingLimit.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterFloatingLimit.go @@ -333,7 +333,7 @@ func (m *_BACnetEventParameterFloatingLimit) deepCopy() *_BACnetEventParameterFl return nil } _BACnetEventParameterFloatingLimitCopy := &_BACnetEventParameterFloatingLimit{ - m.BACnetEventParameterContract.DeepCopy().(BACnetEventParameterContract), + m.BACnetEventParameterContract.(*_BACnetEventParameter).deepCopy(), m.OpeningTag.DeepCopy().(BACnetOpeningTag), m.TimeDelay.DeepCopy().(BACnetContextTagUnsignedInteger), m.SetpointReference.DeepCopy().(BACnetDeviceObjectPropertyReferenceEnclosed), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterNone.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterNone.go index a3758228fa..eef26ff518 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterNone.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterNone.go @@ -189,7 +189,7 @@ func (m *_BACnetEventParameterNone) deepCopy() *_BACnetEventParameterNone { return nil } _BACnetEventParameterNoneCopy := &_BACnetEventParameterNone{ - m.BACnetEventParameterContract.DeepCopy().(BACnetEventParameterContract), + m.BACnetEventParameterContract.(*_BACnetEventParameter).deepCopy(), m.None.DeepCopy().(BACnetContextTagNull), } m.BACnetEventParameterContract.(*_BACnetEventParameter)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterOutOfRange.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterOutOfRange.go index a7eaf6546e..fde9f9b96d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterOutOfRange.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterOutOfRange.go @@ -309,7 +309,7 @@ func (m *_BACnetEventParameterOutOfRange) deepCopy() *_BACnetEventParameterOutOf return nil } _BACnetEventParameterOutOfRangeCopy := &_BACnetEventParameterOutOfRange{ - m.BACnetEventParameterContract.DeepCopy().(BACnetEventParameterContract), + m.BACnetEventParameterContract.(*_BACnetEventParameter).deepCopy(), m.OpeningTag.DeepCopy().(BACnetOpeningTag), m.TimeDelay.DeepCopy().(BACnetContextTagUnsignedInteger), m.LowDiffLimit.DeepCopy().(BACnetContextTagReal), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterSignedOutOfRange.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterSignedOutOfRange.go index 7776f3e72c..9afb336513 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterSignedOutOfRange.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterSignedOutOfRange.go @@ -309,7 +309,7 @@ func (m *_BACnetEventParameterSignedOutOfRange) deepCopy() *_BACnetEventParamete return nil } _BACnetEventParameterSignedOutOfRangeCopy := &_BACnetEventParameterSignedOutOfRange{ - m.BACnetEventParameterContract.DeepCopy().(BACnetEventParameterContract), + m.BACnetEventParameterContract.(*_BACnetEventParameter).deepCopy(), m.OpeningTag.DeepCopy().(BACnetOpeningTag), m.TimeDelay.DeepCopy().(BACnetContextTagUnsignedInteger), m.LowLimit.DeepCopy().(BACnetContextTagSignedInteger), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterUnsignedOutOfRange.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterUnsignedOutOfRange.go index 1d84f1015d..a90e3e1f41 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterUnsignedOutOfRange.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterUnsignedOutOfRange.go @@ -309,7 +309,7 @@ func (m *_BACnetEventParameterUnsignedOutOfRange) deepCopy() *_BACnetEventParame return nil } _BACnetEventParameterUnsignedOutOfRangeCopy := &_BACnetEventParameterUnsignedOutOfRange{ - m.BACnetEventParameterContract.DeepCopy().(BACnetEventParameterContract), + m.BACnetEventParameterContract.(*_BACnetEventParameter).deepCopy(), m.OpeningTag.DeepCopy().(BACnetOpeningTag), m.TimeDelay.DeepCopy().(BACnetContextTagUnsignedInteger), m.LowLimit.DeepCopy().(BACnetContextTagUnsignedInteger), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterUnsignedRange.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterUnsignedRange.go index ec8dc0bdc6..9cc6fdd56a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterUnsignedRange.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetEventParameterUnsignedRange.go @@ -285,7 +285,7 @@ func (m *_BACnetEventParameterUnsignedRange) deepCopy() *_BACnetEventParameterUn return nil } _BACnetEventParameterUnsignedRangeCopy := &_BACnetEventParameterUnsignedRange{ - m.BACnetEventParameterContract.DeepCopy().(BACnetEventParameterContract), + m.BACnetEventParameterContract.(*_BACnetEventParameter).deepCopy(), m.OpeningTag.DeepCopy().(BACnetOpeningTag), m.TimeDelay.DeepCopy().(BACnetContextTagUnsignedInteger), m.LowLimit.DeepCopy().(BACnetContextTagUnsignedInteger), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameter.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameter.go index b6136fee31..273f1210a1 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameter.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameter.go @@ -47,7 +47,6 @@ type BACnetFaultParameter interface { // BACnetFaultParameterContract provides a set of functions which can be overwritten by a sub struct type BACnetFaultParameterContract interface { - utils.Copyable // GetPeekedTagHeader returns PeekedTagHeader (property field) GetPeekedTagHeader() BACnetTagHeader // GetPeekedTagNumber returns PeekedTagNumber (virtual field) diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultCharacterString.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultCharacterString.go index 30990e6ce0..4dcff4762d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultCharacterString.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultCharacterString.go @@ -237,7 +237,7 @@ func (m *_BACnetFaultParameterFaultCharacterString) deepCopy() *_BACnetFaultPara return nil } _BACnetFaultParameterFaultCharacterStringCopy := &_BACnetFaultParameterFaultCharacterString{ - m.BACnetFaultParameterContract.DeepCopy().(BACnetFaultParameterContract), + m.BACnetFaultParameterContract.(*_BACnetFaultParameter).deepCopy(), m.OpeningTag.DeepCopy().(BACnetOpeningTag), m.ListOfFaultValues.DeepCopy().(BACnetFaultParameterFaultCharacterStringListOfFaultValues), m.ClosingTag.DeepCopy().(BACnetClosingTag), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtended.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtended.go index 3f2c24775d..d3bb3bb94a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtended.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtended.go @@ -285,7 +285,7 @@ func (m *_BACnetFaultParameterFaultExtended) deepCopy() *_BACnetFaultParameterFa return nil } _BACnetFaultParameterFaultExtendedCopy := &_BACnetFaultParameterFaultExtended{ - m.BACnetFaultParameterContract.DeepCopy().(BACnetFaultParameterContract), + m.BACnetFaultParameterContract.(*_BACnetFaultParameter).deepCopy(), m.OpeningTag.DeepCopy().(BACnetOpeningTag), m.VendorId.DeepCopy().(BACnetVendorIdTagged), m.ExtendedFaultType.DeepCopy().(BACnetContextTagUnsignedInteger), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntry.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntry.go index 21cf9c66c7..65c14a5e16 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntry.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntry.go @@ -47,7 +47,6 @@ type BACnetFaultParameterFaultExtendedParametersEntry interface { // BACnetFaultParameterFaultExtendedParametersEntryContract provides a set of functions which can be overwritten by a sub struct type BACnetFaultParameterFaultExtendedParametersEntryContract interface { - utils.Copyable // GetPeekedTagHeader returns PeekedTagHeader (property field) GetPeekedTagHeader() BACnetTagHeader // GetPeekedTagNumber returns PeekedTagNumber (virtual field) diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryBitString.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryBitString.go index 26aa5d2af1..81353acdd8 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryBitString.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryBitString.go @@ -190,7 +190,7 @@ func (m *_BACnetFaultParameterFaultExtendedParametersEntryBitString) deepCopy() return nil } _BACnetFaultParameterFaultExtendedParametersEntryBitStringCopy := &_BACnetFaultParameterFaultExtendedParametersEntryBitString{ - m.BACnetFaultParameterFaultExtendedParametersEntryContract.DeepCopy().(BACnetFaultParameterFaultExtendedParametersEntryContract), + m.BACnetFaultParameterFaultExtendedParametersEntryContract.(*_BACnetFaultParameterFaultExtendedParametersEntry).deepCopy(), m.BitStringValue.DeepCopy().(BACnetApplicationTagBitString), } m.BACnetFaultParameterFaultExtendedParametersEntryContract.(*_BACnetFaultParameterFaultExtendedParametersEntry)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryBoolean.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryBoolean.go index 9cbd662f99..7bef2edb27 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryBoolean.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryBoolean.go @@ -190,7 +190,7 @@ func (m *_BACnetFaultParameterFaultExtendedParametersEntryBoolean) deepCopy() *_ return nil } _BACnetFaultParameterFaultExtendedParametersEntryBooleanCopy := &_BACnetFaultParameterFaultExtendedParametersEntryBoolean{ - m.BACnetFaultParameterFaultExtendedParametersEntryContract.DeepCopy().(BACnetFaultParameterFaultExtendedParametersEntryContract), + m.BACnetFaultParameterFaultExtendedParametersEntryContract.(*_BACnetFaultParameterFaultExtendedParametersEntry).deepCopy(), m.BooleanValue.DeepCopy().(BACnetApplicationTagBoolean), } m.BACnetFaultParameterFaultExtendedParametersEntryContract.(*_BACnetFaultParameterFaultExtendedParametersEntry)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryCharacterString.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryCharacterString.go index eb59264371..9085e26c4a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryCharacterString.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryCharacterString.go @@ -190,7 +190,7 @@ func (m *_BACnetFaultParameterFaultExtendedParametersEntryCharacterString) deepC return nil } _BACnetFaultParameterFaultExtendedParametersEntryCharacterStringCopy := &_BACnetFaultParameterFaultExtendedParametersEntryCharacterString{ - m.BACnetFaultParameterFaultExtendedParametersEntryContract.DeepCopy().(BACnetFaultParameterFaultExtendedParametersEntryContract), + m.BACnetFaultParameterFaultExtendedParametersEntryContract.(*_BACnetFaultParameterFaultExtendedParametersEntry).deepCopy(), m.CharacterStringValue.DeepCopy().(BACnetApplicationTagCharacterString), } m.BACnetFaultParameterFaultExtendedParametersEntryContract.(*_BACnetFaultParameterFaultExtendedParametersEntry)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryDate.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryDate.go index 0693452cdf..a414dce3dc 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryDate.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryDate.go @@ -190,7 +190,7 @@ func (m *_BACnetFaultParameterFaultExtendedParametersEntryDate) deepCopy() *_BAC return nil } _BACnetFaultParameterFaultExtendedParametersEntryDateCopy := &_BACnetFaultParameterFaultExtendedParametersEntryDate{ - m.BACnetFaultParameterFaultExtendedParametersEntryContract.DeepCopy().(BACnetFaultParameterFaultExtendedParametersEntryContract), + m.BACnetFaultParameterFaultExtendedParametersEntryContract.(*_BACnetFaultParameterFaultExtendedParametersEntry).deepCopy(), m.DateValue.DeepCopy().(BACnetApplicationTagDate), } m.BACnetFaultParameterFaultExtendedParametersEntryContract.(*_BACnetFaultParameterFaultExtendedParametersEntry)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryDouble.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryDouble.go index f2d247b2a4..a2e692ba43 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryDouble.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryDouble.go @@ -190,7 +190,7 @@ func (m *_BACnetFaultParameterFaultExtendedParametersEntryDouble) deepCopy() *_B return nil } _BACnetFaultParameterFaultExtendedParametersEntryDoubleCopy := &_BACnetFaultParameterFaultExtendedParametersEntryDouble{ - m.BACnetFaultParameterFaultExtendedParametersEntryContract.DeepCopy().(BACnetFaultParameterFaultExtendedParametersEntryContract), + m.BACnetFaultParameterFaultExtendedParametersEntryContract.(*_BACnetFaultParameterFaultExtendedParametersEntry).deepCopy(), m.DoubleValue.DeepCopy().(BACnetApplicationTagDouble), } m.BACnetFaultParameterFaultExtendedParametersEntryContract.(*_BACnetFaultParameterFaultExtendedParametersEntry)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryEnumerated.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryEnumerated.go index 43675fe8a9..5ff7baba56 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryEnumerated.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryEnumerated.go @@ -190,7 +190,7 @@ func (m *_BACnetFaultParameterFaultExtendedParametersEntryEnumerated) deepCopy() return nil } _BACnetFaultParameterFaultExtendedParametersEntryEnumeratedCopy := &_BACnetFaultParameterFaultExtendedParametersEntryEnumerated{ - m.BACnetFaultParameterFaultExtendedParametersEntryContract.DeepCopy().(BACnetFaultParameterFaultExtendedParametersEntryContract), + m.BACnetFaultParameterFaultExtendedParametersEntryContract.(*_BACnetFaultParameterFaultExtendedParametersEntry).deepCopy(), m.EnumeratedValue.DeepCopy().(BACnetApplicationTagEnumerated), } m.BACnetFaultParameterFaultExtendedParametersEntryContract.(*_BACnetFaultParameterFaultExtendedParametersEntry)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryInteger.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryInteger.go index 7108ce6a8b..1f11b778cf 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryInteger.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryInteger.go @@ -190,7 +190,7 @@ func (m *_BACnetFaultParameterFaultExtendedParametersEntryInteger) deepCopy() *_ return nil } _BACnetFaultParameterFaultExtendedParametersEntryIntegerCopy := &_BACnetFaultParameterFaultExtendedParametersEntryInteger{ - m.BACnetFaultParameterFaultExtendedParametersEntryContract.DeepCopy().(BACnetFaultParameterFaultExtendedParametersEntryContract), + m.BACnetFaultParameterFaultExtendedParametersEntryContract.(*_BACnetFaultParameterFaultExtendedParametersEntry).deepCopy(), m.IntegerValue.DeepCopy().(BACnetApplicationTagSignedInteger), } m.BACnetFaultParameterFaultExtendedParametersEntryContract.(*_BACnetFaultParameterFaultExtendedParametersEntry)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryNull.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryNull.go index ec3261a152..5323010d81 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryNull.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryNull.go @@ -190,7 +190,7 @@ func (m *_BACnetFaultParameterFaultExtendedParametersEntryNull) deepCopy() *_BAC return nil } _BACnetFaultParameterFaultExtendedParametersEntryNullCopy := &_BACnetFaultParameterFaultExtendedParametersEntryNull{ - m.BACnetFaultParameterFaultExtendedParametersEntryContract.DeepCopy().(BACnetFaultParameterFaultExtendedParametersEntryContract), + m.BACnetFaultParameterFaultExtendedParametersEntryContract.(*_BACnetFaultParameterFaultExtendedParametersEntry).deepCopy(), m.NullValue.DeepCopy().(BACnetApplicationTagNull), } m.BACnetFaultParameterFaultExtendedParametersEntryContract.(*_BACnetFaultParameterFaultExtendedParametersEntry)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryObjectidentifier.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryObjectidentifier.go index 5f9aa7977d..8807c79ff1 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryObjectidentifier.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryObjectidentifier.go @@ -190,7 +190,7 @@ func (m *_BACnetFaultParameterFaultExtendedParametersEntryObjectidentifier) deep return nil } _BACnetFaultParameterFaultExtendedParametersEntryObjectidentifierCopy := &_BACnetFaultParameterFaultExtendedParametersEntryObjectidentifier{ - m.BACnetFaultParameterFaultExtendedParametersEntryContract.DeepCopy().(BACnetFaultParameterFaultExtendedParametersEntryContract), + m.BACnetFaultParameterFaultExtendedParametersEntryContract.(*_BACnetFaultParameterFaultExtendedParametersEntry).deepCopy(), m.ObjectidentifierValue.DeepCopy().(BACnetApplicationTagObjectIdentifier), } m.BACnetFaultParameterFaultExtendedParametersEntryContract.(*_BACnetFaultParameterFaultExtendedParametersEntry)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryOctetString.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryOctetString.go index 0b779f6628..2fa445337e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryOctetString.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryOctetString.go @@ -190,7 +190,7 @@ func (m *_BACnetFaultParameterFaultExtendedParametersEntryOctetString) deepCopy( return nil } _BACnetFaultParameterFaultExtendedParametersEntryOctetStringCopy := &_BACnetFaultParameterFaultExtendedParametersEntryOctetString{ - m.BACnetFaultParameterFaultExtendedParametersEntryContract.DeepCopy().(BACnetFaultParameterFaultExtendedParametersEntryContract), + m.BACnetFaultParameterFaultExtendedParametersEntryContract.(*_BACnetFaultParameterFaultExtendedParametersEntry).deepCopy(), m.OctetStringValue.DeepCopy().(BACnetApplicationTagOctetString), } m.BACnetFaultParameterFaultExtendedParametersEntryContract.(*_BACnetFaultParameterFaultExtendedParametersEntry)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryReal.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryReal.go index 7fcec1bcd5..8d484d0b76 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryReal.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryReal.go @@ -190,7 +190,7 @@ func (m *_BACnetFaultParameterFaultExtendedParametersEntryReal) deepCopy() *_BAC return nil } _BACnetFaultParameterFaultExtendedParametersEntryRealCopy := &_BACnetFaultParameterFaultExtendedParametersEntryReal{ - m.BACnetFaultParameterFaultExtendedParametersEntryContract.DeepCopy().(BACnetFaultParameterFaultExtendedParametersEntryContract), + m.BACnetFaultParameterFaultExtendedParametersEntryContract.(*_BACnetFaultParameterFaultExtendedParametersEntry).deepCopy(), m.RealValue.DeepCopy().(BACnetApplicationTagReal), } m.BACnetFaultParameterFaultExtendedParametersEntryContract.(*_BACnetFaultParameterFaultExtendedParametersEntry)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryReference.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryReference.go index 1506024b64..5c9493eecc 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryReference.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryReference.go @@ -190,7 +190,7 @@ func (m *_BACnetFaultParameterFaultExtendedParametersEntryReference) deepCopy() return nil } _BACnetFaultParameterFaultExtendedParametersEntryReferenceCopy := &_BACnetFaultParameterFaultExtendedParametersEntryReference{ - m.BACnetFaultParameterFaultExtendedParametersEntryContract.DeepCopy().(BACnetFaultParameterFaultExtendedParametersEntryContract), + m.BACnetFaultParameterFaultExtendedParametersEntryContract.(*_BACnetFaultParameterFaultExtendedParametersEntry).deepCopy(), m.Reference.DeepCopy().(BACnetDeviceObjectPropertyReferenceEnclosed), } m.BACnetFaultParameterFaultExtendedParametersEntryContract.(*_BACnetFaultParameterFaultExtendedParametersEntry)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryTime.go index 4644d6cd36..3a791081b6 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryTime.go @@ -190,7 +190,7 @@ func (m *_BACnetFaultParameterFaultExtendedParametersEntryTime) deepCopy() *_BAC return nil } _BACnetFaultParameterFaultExtendedParametersEntryTimeCopy := &_BACnetFaultParameterFaultExtendedParametersEntryTime{ - m.BACnetFaultParameterFaultExtendedParametersEntryContract.DeepCopy().(BACnetFaultParameterFaultExtendedParametersEntryContract), + m.BACnetFaultParameterFaultExtendedParametersEntryContract.(*_BACnetFaultParameterFaultExtendedParametersEntry).deepCopy(), m.TimeValue.DeepCopy().(BACnetApplicationTagTime), } m.BACnetFaultParameterFaultExtendedParametersEntryContract.(*_BACnetFaultParameterFaultExtendedParametersEntry)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryUnsigned.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryUnsigned.go index a7928ea1d6..048db08e7f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryUnsigned.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultExtendedParametersEntryUnsigned.go @@ -190,7 +190,7 @@ func (m *_BACnetFaultParameterFaultExtendedParametersEntryUnsigned) deepCopy() * return nil } _BACnetFaultParameterFaultExtendedParametersEntryUnsignedCopy := &_BACnetFaultParameterFaultExtendedParametersEntryUnsigned{ - m.BACnetFaultParameterFaultExtendedParametersEntryContract.DeepCopy().(BACnetFaultParameterFaultExtendedParametersEntryContract), + m.BACnetFaultParameterFaultExtendedParametersEntryContract.(*_BACnetFaultParameterFaultExtendedParametersEntry).deepCopy(), m.UnsignedValue.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetFaultParameterFaultExtendedParametersEntryContract.(*_BACnetFaultParameterFaultExtendedParametersEntry)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultLifeSafety.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultLifeSafety.go index 94781c7721..c4d326484c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultLifeSafety.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultLifeSafety.go @@ -261,7 +261,7 @@ func (m *_BACnetFaultParameterFaultLifeSafety) deepCopy() *_BACnetFaultParameter return nil } _BACnetFaultParameterFaultLifeSafetyCopy := &_BACnetFaultParameterFaultLifeSafety{ - m.BACnetFaultParameterContract.DeepCopy().(BACnetFaultParameterContract), + m.BACnetFaultParameterContract.(*_BACnetFaultParameter).deepCopy(), m.OpeningTag.DeepCopy().(BACnetOpeningTag), m.ListOfFaultValues.DeepCopy().(BACnetFaultParameterFaultLifeSafetyListOfFaultValues), m.ModePropertyReference.DeepCopy().(BACnetDeviceObjectPropertyReferenceEnclosed), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultListed.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultListed.go index 4e285914d8..65a9c4598e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultListed.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultListed.go @@ -237,7 +237,7 @@ func (m *_BACnetFaultParameterFaultListed) deepCopy() *_BACnetFaultParameterFaul return nil } _BACnetFaultParameterFaultListedCopy := &_BACnetFaultParameterFaultListed{ - m.BACnetFaultParameterContract.DeepCopy().(BACnetFaultParameterContract), + m.BACnetFaultParameterContract.(*_BACnetFaultParameter).deepCopy(), m.OpeningTag.DeepCopy().(BACnetOpeningTag), m.FaultListReference.DeepCopy().(BACnetDeviceObjectPropertyReferenceEnclosed), m.ClosingTag.DeepCopy().(BACnetClosingTag), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRange.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRange.go index 444c2660b6..50fb80dc54 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRange.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRange.go @@ -261,7 +261,7 @@ func (m *_BACnetFaultParameterFaultOutOfRange) deepCopy() *_BACnetFaultParameter return nil } _BACnetFaultParameterFaultOutOfRangeCopy := &_BACnetFaultParameterFaultOutOfRange{ - m.BACnetFaultParameterContract.DeepCopy().(BACnetFaultParameterContract), + m.BACnetFaultParameterContract.(*_BACnetFaultParameter).deepCopy(), m.OpeningTag.DeepCopy().(BACnetOpeningTag), m.MinNormalValue.DeepCopy().(BACnetFaultParameterFaultOutOfRangeMinNormalValue), m.MaxNormalValue.DeepCopy().(BACnetFaultParameterFaultOutOfRangeMaxNormalValue), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMaxNormalValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMaxNormalValue.go index 9f5d69eb97..774326f4c4 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMaxNormalValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMaxNormalValue.go @@ -47,7 +47,6 @@ type BACnetFaultParameterFaultOutOfRangeMaxNormalValue interface { // BACnetFaultParameterFaultOutOfRangeMaxNormalValueContract provides a set of functions which can be overwritten by a sub struct type BACnetFaultParameterFaultOutOfRangeMaxNormalValueContract interface { - utils.Copyable // GetOpeningTag returns OpeningTag (property field) GetOpeningTag() BACnetOpeningTag // GetPeekedTagHeader returns PeekedTagHeader (property field) diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMaxNormalValueDouble.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMaxNormalValueDouble.go index 14e5dc8f22..f71b83b9bd 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMaxNormalValueDouble.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMaxNormalValueDouble.go @@ -190,7 +190,7 @@ func (m *_BACnetFaultParameterFaultOutOfRangeMaxNormalValueDouble) deepCopy() *_ return nil } _BACnetFaultParameterFaultOutOfRangeMaxNormalValueDoubleCopy := &_BACnetFaultParameterFaultOutOfRangeMaxNormalValueDouble{ - m.BACnetFaultParameterFaultOutOfRangeMaxNormalValueContract.DeepCopy().(BACnetFaultParameterFaultOutOfRangeMaxNormalValueContract), + m.BACnetFaultParameterFaultOutOfRangeMaxNormalValueContract.(*_BACnetFaultParameterFaultOutOfRangeMaxNormalValue).deepCopy(), m.DoubleValue.DeepCopy().(BACnetApplicationTagDouble), } m.BACnetFaultParameterFaultOutOfRangeMaxNormalValueContract.(*_BACnetFaultParameterFaultOutOfRangeMaxNormalValue)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMaxNormalValueInteger.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMaxNormalValueInteger.go index f981c93daa..acbbb9c4a5 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMaxNormalValueInteger.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMaxNormalValueInteger.go @@ -190,7 +190,7 @@ func (m *_BACnetFaultParameterFaultOutOfRangeMaxNormalValueInteger) deepCopy() * return nil } _BACnetFaultParameterFaultOutOfRangeMaxNormalValueIntegerCopy := &_BACnetFaultParameterFaultOutOfRangeMaxNormalValueInteger{ - m.BACnetFaultParameterFaultOutOfRangeMaxNormalValueContract.DeepCopy().(BACnetFaultParameterFaultOutOfRangeMaxNormalValueContract), + m.BACnetFaultParameterFaultOutOfRangeMaxNormalValueContract.(*_BACnetFaultParameterFaultOutOfRangeMaxNormalValue).deepCopy(), m.IntegerValue.DeepCopy().(BACnetApplicationTagSignedInteger), } m.BACnetFaultParameterFaultOutOfRangeMaxNormalValueContract.(*_BACnetFaultParameterFaultOutOfRangeMaxNormalValue)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMaxNormalValueReal.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMaxNormalValueReal.go index 7afbb47835..477d9fc9dd 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMaxNormalValueReal.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMaxNormalValueReal.go @@ -190,7 +190,7 @@ func (m *_BACnetFaultParameterFaultOutOfRangeMaxNormalValueReal) deepCopy() *_BA return nil } _BACnetFaultParameterFaultOutOfRangeMaxNormalValueRealCopy := &_BACnetFaultParameterFaultOutOfRangeMaxNormalValueReal{ - m.BACnetFaultParameterFaultOutOfRangeMaxNormalValueContract.DeepCopy().(BACnetFaultParameterFaultOutOfRangeMaxNormalValueContract), + m.BACnetFaultParameterFaultOutOfRangeMaxNormalValueContract.(*_BACnetFaultParameterFaultOutOfRangeMaxNormalValue).deepCopy(), m.RealValue.DeepCopy().(BACnetApplicationTagReal), } m.BACnetFaultParameterFaultOutOfRangeMaxNormalValueContract.(*_BACnetFaultParameterFaultOutOfRangeMaxNormalValue)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMaxNormalValueUnsigned.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMaxNormalValueUnsigned.go index 49b0a29fc1..f10ac9a115 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMaxNormalValueUnsigned.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMaxNormalValueUnsigned.go @@ -190,7 +190,7 @@ func (m *_BACnetFaultParameterFaultOutOfRangeMaxNormalValueUnsigned) deepCopy() return nil } _BACnetFaultParameterFaultOutOfRangeMaxNormalValueUnsignedCopy := &_BACnetFaultParameterFaultOutOfRangeMaxNormalValueUnsigned{ - m.BACnetFaultParameterFaultOutOfRangeMaxNormalValueContract.DeepCopy().(BACnetFaultParameterFaultOutOfRangeMaxNormalValueContract), + m.BACnetFaultParameterFaultOutOfRangeMaxNormalValueContract.(*_BACnetFaultParameterFaultOutOfRangeMaxNormalValue).deepCopy(), m.UnsignedValue.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetFaultParameterFaultOutOfRangeMaxNormalValueContract.(*_BACnetFaultParameterFaultOutOfRangeMaxNormalValue)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMinNormalValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMinNormalValue.go index febda56fff..44f668b7cd 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMinNormalValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMinNormalValue.go @@ -47,7 +47,6 @@ type BACnetFaultParameterFaultOutOfRangeMinNormalValue interface { // BACnetFaultParameterFaultOutOfRangeMinNormalValueContract provides a set of functions which can be overwritten by a sub struct type BACnetFaultParameterFaultOutOfRangeMinNormalValueContract interface { - utils.Copyable // GetOpeningTag returns OpeningTag (property field) GetOpeningTag() BACnetOpeningTag // GetPeekedTagHeader returns PeekedTagHeader (property field) diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMinNormalValueDouble.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMinNormalValueDouble.go index 00ef5cc0f7..e08fb82c8a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMinNormalValueDouble.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMinNormalValueDouble.go @@ -190,7 +190,7 @@ func (m *_BACnetFaultParameterFaultOutOfRangeMinNormalValueDouble) deepCopy() *_ return nil } _BACnetFaultParameterFaultOutOfRangeMinNormalValueDoubleCopy := &_BACnetFaultParameterFaultOutOfRangeMinNormalValueDouble{ - m.BACnetFaultParameterFaultOutOfRangeMinNormalValueContract.DeepCopy().(BACnetFaultParameterFaultOutOfRangeMinNormalValueContract), + m.BACnetFaultParameterFaultOutOfRangeMinNormalValueContract.(*_BACnetFaultParameterFaultOutOfRangeMinNormalValue).deepCopy(), m.DoubleValue.DeepCopy().(BACnetApplicationTagDouble), } m.BACnetFaultParameterFaultOutOfRangeMinNormalValueContract.(*_BACnetFaultParameterFaultOutOfRangeMinNormalValue)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMinNormalValueInteger.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMinNormalValueInteger.go index bcb9d74198..a30c61ffcb 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMinNormalValueInteger.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMinNormalValueInteger.go @@ -190,7 +190,7 @@ func (m *_BACnetFaultParameterFaultOutOfRangeMinNormalValueInteger) deepCopy() * return nil } _BACnetFaultParameterFaultOutOfRangeMinNormalValueIntegerCopy := &_BACnetFaultParameterFaultOutOfRangeMinNormalValueInteger{ - m.BACnetFaultParameterFaultOutOfRangeMinNormalValueContract.DeepCopy().(BACnetFaultParameterFaultOutOfRangeMinNormalValueContract), + m.BACnetFaultParameterFaultOutOfRangeMinNormalValueContract.(*_BACnetFaultParameterFaultOutOfRangeMinNormalValue).deepCopy(), m.IntegerValue.DeepCopy().(BACnetApplicationTagSignedInteger), } m.BACnetFaultParameterFaultOutOfRangeMinNormalValueContract.(*_BACnetFaultParameterFaultOutOfRangeMinNormalValue)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMinNormalValueReal.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMinNormalValueReal.go index 719489bbd0..1b8426b2a0 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMinNormalValueReal.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMinNormalValueReal.go @@ -190,7 +190,7 @@ func (m *_BACnetFaultParameterFaultOutOfRangeMinNormalValueReal) deepCopy() *_BA return nil } _BACnetFaultParameterFaultOutOfRangeMinNormalValueRealCopy := &_BACnetFaultParameterFaultOutOfRangeMinNormalValueReal{ - m.BACnetFaultParameterFaultOutOfRangeMinNormalValueContract.DeepCopy().(BACnetFaultParameterFaultOutOfRangeMinNormalValueContract), + m.BACnetFaultParameterFaultOutOfRangeMinNormalValueContract.(*_BACnetFaultParameterFaultOutOfRangeMinNormalValue).deepCopy(), m.RealValue.DeepCopy().(BACnetApplicationTagReal), } m.BACnetFaultParameterFaultOutOfRangeMinNormalValueContract.(*_BACnetFaultParameterFaultOutOfRangeMinNormalValue)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMinNormalValueUnsigned.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMinNormalValueUnsigned.go index 893e861eb9..6766dec9a8 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMinNormalValueUnsigned.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultOutOfRangeMinNormalValueUnsigned.go @@ -190,7 +190,7 @@ func (m *_BACnetFaultParameterFaultOutOfRangeMinNormalValueUnsigned) deepCopy() return nil } _BACnetFaultParameterFaultOutOfRangeMinNormalValueUnsignedCopy := &_BACnetFaultParameterFaultOutOfRangeMinNormalValueUnsigned{ - m.BACnetFaultParameterFaultOutOfRangeMinNormalValueContract.DeepCopy().(BACnetFaultParameterFaultOutOfRangeMinNormalValueContract), + m.BACnetFaultParameterFaultOutOfRangeMinNormalValueContract.(*_BACnetFaultParameterFaultOutOfRangeMinNormalValue).deepCopy(), m.UnsignedValue.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetFaultParameterFaultOutOfRangeMinNormalValueContract.(*_BACnetFaultParameterFaultOutOfRangeMinNormalValue)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultState.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultState.go index 34b700eaf1..60ed5b232c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultState.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultState.go @@ -237,7 +237,7 @@ func (m *_BACnetFaultParameterFaultState) deepCopy() *_BACnetFaultParameterFault return nil } _BACnetFaultParameterFaultStateCopy := &_BACnetFaultParameterFaultState{ - m.BACnetFaultParameterContract.DeepCopy().(BACnetFaultParameterContract), + m.BACnetFaultParameterContract.(*_BACnetFaultParameter).deepCopy(), m.OpeningTag.DeepCopy().(BACnetOpeningTag), m.ListOfFaultValues.DeepCopy().(BACnetFaultParameterFaultStateListOfFaultValues), m.ClosingTag.DeepCopy().(BACnetClosingTag), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultStatusFlags.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultStatusFlags.go index 7b6f786501..e37a3d0a6d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultStatusFlags.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterFaultStatusFlags.go @@ -237,7 +237,7 @@ func (m *_BACnetFaultParameterFaultStatusFlags) deepCopy() *_BACnetFaultParamete return nil } _BACnetFaultParameterFaultStatusFlagsCopy := &_BACnetFaultParameterFaultStatusFlags{ - m.BACnetFaultParameterContract.DeepCopy().(BACnetFaultParameterContract), + m.BACnetFaultParameterContract.(*_BACnetFaultParameter).deepCopy(), m.OpeningTag.DeepCopy().(BACnetOpeningTag), m.StatusFlagsReference.DeepCopy().(BACnetDeviceObjectPropertyReferenceEnclosed), m.ClosingTag.DeepCopy().(BACnetClosingTag), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterNone.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterNone.go index 326d5a5730..fb9fd3aba4 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterNone.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetFaultParameterNone.go @@ -189,7 +189,7 @@ func (m *_BACnetFaultParameterNone) deepCopy() *_BACnetFaultParameterNone { return nil } _BACnetFaultParameterNoneCopy := &_BACnetFaultParameterNone{ - m.BACnetFaultParameterContract.DeepCopy().(BACnetFaultParameterContract), + m.BACnetFaultParameterContract.(*_BACnetFaultParameter).deepCopy(), m.None.DeepCopy().(BACnetContextTagNull), } m.BACnetFaultParameterContract.(*_BACnetFaultParameter)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetHostAddress.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetHostAddress.go index 10b9eb72f7..452c4ca11f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetHostAddress.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetHostAddress.go @@ -47,7 +47,6 @@ type BACnetHostAddress interface { // BACnetHostAddressContract provides a set of functions which can be overwritten by a sub struct type BACnetHostAddressContract interface { - utils.Copyable // GetPeekedTagHeader returns PeekedTagHeader (property field) GetPeekedTagHeader() BACnetTagHeader // GetPeekedTagNumber returns PeekedTagNumber (virtual field) diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetHostAddressIpAddress.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetHostAddressIpAddress.go index 59284b1bfb..e52cb1eaf1 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetHostAddressIpAddress.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetHostAddressIpAddress.go @@ -189,7 +189,7 @@ func (m *_BACnetHostAddressIpAddress) deepCopy() *_BACnetHostAddressIpAddress { return nil } _BACnetHostAddressIpAddressCopy := &_BACnetHostAddressIpAddress{ - m.BACnetHostAddressContract.DeepCopy().(BACnetHostAddressContract), + m.BACnetHostAddressContract.(*_BACnetHostAddress).deepCopy(), m.IpAddress.DeepCopy().(BACnetContextTagOctetString), } m.BACnetHostAddressContract.(*_BACnetHostAddress)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetHostAddressName.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetHostAddressName.go index 47994d5567..43be740b62 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetHostAddressName.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetHostAddressName.go @@ -189,7 +189,7 @@ func (m *_BACnetHostAddressName) deepCopy() *_BACnetHostAddressName { return nil } _BACnetHostAddressNameCopy := &_BACnetHostAddressName{ - m.BACnetHostAddressContract.DeepCopy().(BACnetHostAddressContract), + m.BACnetHostAddressContract.(*_BACnetHostAddress).deepCopy(), m.Name.DeepCopy().(BACnetContextTagCharacterString), } m.BACnetHostAddressContract.(*_BACnetHostAddress)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetHostAddressNull.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetHostAddressNull.go index 74b221b7a8..aaeea31d17 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetHostAddressNull.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetHostAddressNull.go @@ -189,7 +189,7 @@ func (m *_BACnetHostAddressNull) deepCopy() *_BACnetHostAddressNull { return nil } _BACnetHostAddressNullCopy := &_BACnetHostAddressNull{ - m.BACnetHostAddressContract.DeepCopy().(BACnetHostAddressContract), + m.BACnetHostAddressContract.(*_BACnetHostAddress).deepCopy(), m.None.DeepCopy().(BACnetContextTagNull), } m.BACnetHostAddressContract.(*_BACnetHostAddress)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLandingCallStatusCommand.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLandingCallStatusCommand.go index c7edd86626..c900ecdf70 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLandingCallStatusCommand.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLandingCallStatusCommand.go @@ -47,7 +47,6 @@ type BACnetLandingCallStatusCommand interface { // BACnetLandingCallStatusCommandContract provides a set of functions which can be overwritten by a sub struct type BACnetLandingCallStatusCommandContract interface { - utils.Copyable // GetPeekedTagHeader returns PeekedTagHeader (property field) GetPeekedTagHeader() BACnetTagHeader // GetPeekedTagNumber returns PeekedTagNumber (virtual field) diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLandingCallStatusCommandDestination.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLandingCallStatusCommandDestination.go index 4e85c4d2cf..cfed0c960d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLandingCallStatusCommandDestination.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLandingCallStatusCommandDestination.go @@ -189,7 +189,7 @@ func (m *_BACnetLandingCallStatusCommandDestination) deepCopy() *_BACnetLandingC return nil } _BACnetLandingCallStatusCommandDestinationCopy := &_BACnetLandingCallStatusCommandDestination{ - m.BACnetLandingCallStatusCommandContract.DeepCopy().(BACnetLandingCallStatusCommandContract), + m.BACnetLandingCallStatusCommandContract.(*_BACnetLandingCallStatusCommand).deepCopy(), m.Destination.DeepCopy().(BACnetContextTagUnsignedInteger), } m.BACnetLandingCallStatusCommandContract.(*_BACnetLandingCallStatusCommand)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLandingCallStatusCommandDirection.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLandingCallStatusCommandDirection.go index f1d376a844..a57decee99 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLandingCallStatusCommandDirection.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLandingCallStatusCommandDirection.go @@ -189,7 +189,7 @@ func (m *_BACnetLandingCallStatusCommandDirection) deepCopy() *_BACnetLandingCal return nil } _BACnetLandingCallStatusCommandDirectionCopy := &_BACnetLandingCallStatusCommandDirection{ - m.BACnetLandingCallStatusCommandContract.DeepCopy().(BACnetLandingCallStatusCommandContract), + m.BACnetLandingCallStatusCommandContract.(*_BACnetLandingCallStatusCommand).deepCopy(), m.Direction.DeepCopy().(BACnetLiftCarDirectionTagged), } m.BACnetLandingCallStatusCommandContract.(*_BACnetLandingCallStatusCommand)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogData.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogData.go index 44c90a4b9e..35a0784ebd 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogData.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogData.go @@ -47,7 +47,6 @@ type BACnetLogData interface { // BACnetLogDataContract provides a set of functions which can be overwritten by a sub struct type BACnetLogDataContract interface { - utils.Copyable // GetOpeningTag returns OpeningTag (property field) GetOpeningTag() BACnetOpeningTag // GetPeekedTagHeader returns PeekedTagHeader (property field) diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogData.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogData.go index 6c8d19871c..ca243e5b07 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogData.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogData.go @@ -238,7 +238,7 @@ func (m *_BACnetLogDataLogData) deepCopy() *_BACnetLogDataLogData { return nil } _BACnetLogDataLogDataCopy := &_BACnetLogDataLogData{ - m.BACnetLogDataContract.DeepCopy().(BACnetLogDataContract), + m.BACnetLogDataContract.(*_BACnetLogData).deepCopy(), m.InnerOpeningTag.DeepCopy().(BACnetOpeningTag), utils.DeepCopySlice[BACnetLogDataLogDataEntry, BACnetLogDataLogDataEntry](m.LogData), m.InnerClosingTag.DeepCopy().(BACnetClosingTag), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntry.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntry.go index 05f86e4010..a95c293a38 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntry.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntry.go @@ -47,7 +47,6 @@ type BACnetLogDataLogDataEntry interface { // BACnetLogDataLogDataEntryContract provides a set of functions which can be overwritten by a sub struct type BACnetLogDataLogDataEntryContract interface { - utils.Copyable // GetPeekedTagHeader returns PeekedTagHeader (property field) GetPeekedTagHeader() BACnetTagHeader // GetPeekedTagNumber returns PeekedTagNumber (virtual field) diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntryAnyValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntryAnyValue.go index 3fdc9df405..eb92101eba 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntryAnyValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntryAnyValue.go @@ -192,7 +192,7 @@ func (m *_BACnetLogDataLogDataEntryAnyValue) deepCopy() *_BACnetLogDataLogDataEn return nil } _BACnetLogDataLogDataEntryAnyValueCopy := &_BACnetLogDataLogDataEntryAnyValue{ - m.BACnetLogDataLogDataEntryContract.DeepCopy().(BACnetLogDataLogDataEntryContract), + m.BACnetLogDataLogDataEntryContract.(*_BACnetLogDataLogDataEntry).deepCopy(), m.AnyValue.DeepCopy().(BACnetConstructedData), } m.BACnetLogDataLogDataEntryContract.(*_BACnetLogDataLogDataEntry)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntryBitStringValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntryBitStringValue.go index 9bc46e9e2b..71ca5f75dc 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntryBitStringValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntryBitStringValue.go @@ -189,7 +189,7 @@ func (m *_BACnetLogDataLogDataEntryBitStringValue) deepCopy() *_BACnetLogDataLog return nil } _BACnetLogDataLogDataEntryBitStringValueCopy := &_BACnetLogDataLogDataEntryBitStringValue{ - m.BACnetLogDataLogDataEntryContract.DeepCopy().(BACnetLogDataLogDataEntryContract), + m.BACnetLogDataLogDataEntryContract.(*_BACnetLogDataLogDataEntry).deepCopy(), m.BitStringValue.DeepCopy().(BACnetContextTagBitString), } m.BACnetLogDataLogDataEntryContract.(*_BACnetLogDataLogDataEntry)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntryBooleanValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntryBooleanValue.go index f5a5b53d4e..990b50dc79 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntryBooleanValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntryBooleanValue.go @@ -189,7 +189,7 @@ func (m *_BACnetLogDataLogDataEntryBooleanValue) deepCopy() *_BACnetLogDataLogDa return nil } _BACnetLogDataLogDataEntryBooleanValueCopy := &_BACnetLogDataLogDataEntryBooleanValue{ - m.BACnetLogDataLogDataEntryContract.DeepCopy().(BACnetLogDataLogDataEntryContract), + m.BACnetLogDataLogDataEntryContract.(*_BACnetLogDataLogDataEntry).deepCopy(), m.BooleanValue.DeepCopy().(BACnetContextTagBoolean), } m.BACnetLogDataLogDataEntryContract.(*_BACnetLogDataLogDataEntry)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntryEnumeratedValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntryEnumeratedValue.go index 97abd5f955..731ab6fe56 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntryEnumeratedValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntryEnumeratedValue.go @@ -189,7 +189,7 @@ func (m *_BACnetLogDataLogDataEntryEnumeratedValue) deepCopy() *_BACnetLogDataLo return nil } _BACnetLogDataLogDataEntryEnumeratedValueCopy := &_BACnetLogDataLogDataEntryEnumeratedValue{ - m.BACnetLogDataLogDataEntryContract.DeepCopy().(BACnetLogDataLogDataEntryContract), + m.BACnetLogDataLogDataEntryContract.(*_BACnetLogDataLogDataEntry).deepCopy(), m.EnumeratedValue.DeepCopy().(BACnetContextTagEnumerated), } m.BACnetLogDataLogDataEntryContract.(*_BACnetLogDataLogDataEntry)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntryFailure.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntryFailure.go index ca3a74a3c3..b20edf76ec 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntryFailure.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntryFailure.go @@ -189,7 +189,7 @@ func (m *_BACnetLogDataLogDataEntryFailure) deepCopy() *_BACnetLogDataLogDataEnt return nil } _BACnetLogDataLogDataEntryFailureCopy := &_BACnetLogDataLogDataEntryFailure{ - m.BACnetLogDataLogDataEntryContract.DeepCopy().(BACnetLogDataLogDataEntryContract), + m.BACnetLogDataLogDataEntryContract.(*_BACnetLogDataLogDataEntry).deepCopy(), m.Failure.DeepCopy().(ErrorEnclosed), } m.BACnetLogDataLogDataEntryContract.(*_BACnetLogDataLogDataEntry)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntryIntegerValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntryIntegerValue.go index 710684448c..369e16df53 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntryIntegerValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntryIntegerValue.go @@ -189,7 +189,7 @@ func (m *_BACnetLogDataLogDataEntryIntegerValue) deepCopy() *_BACnetLogDataLogDa return nil } _BACnetLogDataLogDataEntryIntegerValueCopy := &_BACnetLogDataLogDataEntryIntegerValue{ - m.BACnetLogDataLogDataEntryContract.DeepCopy().(BACnetLogDataLogDataEntryContract), + m.BACnetLogDataLogDataEntryContract.(*_BACnetLogDataLogDataEntry).deepCopy(), m.IntegerValue.DeepCopy().(BACnetContextTagSignedInteger), } m.BACnetLogDataLogDataEntryContract.(*_BACnetLogDataLogDataEntry)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntryNullValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntryNullValue.go index 80f930fa70..09c19fdee4 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntryNullValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntryNullValue.go @@ -189,7 +189,7 @@ func (m *_BACnetLogDataLogDataEntryNullValue) deepCopy() *_BACnetLogDataLogDataE return nil } _BACnetLogDataLogDataEntryNullValueCopy := &_BACnetLogDataLogDataEntryNullValue{ - m.BACnetLogDataLogDataEntryContract.DeepCopy().(BACnetLogDataLogDataEntryContract), + m.BACnetLogDataLogDataEntryContract.(*_BACnetLogDataLogDataEntry).deepCopy(), m.NullValue.DeepCopy().(BACnetContextTagNull), } m.BACnetLogDataLogDataEntryContract.(*_BACnetLogDataLogDataEntry)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntryRealValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntryRealValue.go index 4af0644aeb..d51b04180b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntryRealValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntryRealValue.go @@ -189,7 +189,7 @@ func (m *_BACnetLogDataLogDataEntryRealValue) deepCopy() *_BACnetLogDataLogDataE return nil } _BACnetLogDataLogDataEntryRealValueCopy := &_BACnetLogDataLogDataEntryRealValue{ - m.BACnetLogDataLogDataEntryContract.DeepCopy().(BACnetLogDataLogDataEntryContract), + m.BACnetLogDataLogDataEntryContract.(*_BACnetLogDataLogDataEntry).deepCopy(), m.RealValue.DeepCopy().(BACnetContextTagReal), } m.BACnetLogDataLogDataEntryContract.(*_BACnetLogDataLogDataEntry)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntryUnsignedValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntryUnsignedValue.go index f065ba556f..9ce6ac7dbf 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntryUnsignedValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataEntryUnsignedValue.go @@ -189,7 +189,7 @@ func (m *_BACnetLogDataLogDataEntryUnsignedValue) deepCopy() *_BACnetLogDataLogD return nil } _BACnetLogDataLogDataEntryUnsignedValueCopy := &_BACnetLogDataLogDataEntryUnsignedValue{ - m.BACnetLogDataLogDataEntryContract.DeepCopy().(BACnetLogDataLogDataEntryContract), + m.BACnetLogDataLogDataEntryContract.(*_BACnetLogDataLogDataEntry).deepCopy(), m.UnsignedValue.DeepCopy().(BACnetContextTagUnsignedInteger), } m.BACnetLogDataLogDataEntryContract.(*_BACnetLogDataLogDataEntry)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataTimeChange.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataTimeChange.go index 965133449d..9b3283dd01 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataTimeChange.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogDataTimeChange.go @@ -189,7 +189,7 @@ func (m *_BACnetLogDataLogDataTimeChange) deepCopy() *_BACnetLogDataLogDataTimeC return nil } _BACnetLogDataLogDataTimeChangeCopy := &_BACnetLogDataLogDataTimeChange{ - m.BACnetLogDataContract.DeepCopy().(BACnetLogDataContract), + m.BACnetLogDataContract.(*_BACnetLogData).deepCopy(), m.TimeChange.DeepCopy().(BACnetContextTagReal), } m.BACnetLogDataContract.(*_BACnetLogData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogStatus.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogStatus.go index e3989352fd..74458a71c5 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogStatus.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogDataLogStatus.go @@ -189,7 +189,7 @@ func (m *_BACnetLogDataLogStatus) deepCopy() *_BACnetLogDataLogStatus { return nil } _BACnetLogDataLogStatusCopy := &_BACnetLogDataLogStatus{ - m.BACnetLogDataContract.DeepCopy().(BACnetLogDataContract), + m.BACnetLogDataContract.(*_BACnetLogData).deepCopy(), m.LogStatus.DeepCopy().(BACnetLogStatusTagged), } m.BACnetLogDataContract.(*_BACnetLogData)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatum.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatum.go index 411086ed53..9d2effcb08 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatum.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatum.go @@ -47,7 +47,6 @@ type BACnetLogRecordLogDatum interface { // BACnetLogRecordLogDatumContract provides a set of functions which can be overwritten by a sub struct type BACnetLogRecordLogDatumContract interface { - utils.Copyable // GetOpeningTag returns OpeningTag (property field) GetOpeningTag() BACnetOpeningTag // GetPeekedTagHeader returns PeekedTagHeader (property field) diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumAnyValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumAnyValue.go index dd03a32277..b7de723816 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumAnyValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumAnyValue.go @@ -192,7 +192,7 @@ func (m *_BACnetLogRecordLogDatumAnyValue) deepCopy() *_BACnetLogRecordLogDatumA return nil } _BACnetLogRecordLogDatumAnyValueCopy := &_BACnetLogRecordLogDatumAnyValue{ - m.BACnetLogRecordLogDatumContract.DeepCopy().(BACnetLogRecordLogDatumContract), + m.BACnetLogRecordLogDatumContract.(*_BACnetLogRecordLogDatum).deepCopy(), m.AnyValue.DeepCopy().(BACnetConstructedData), } m.BACnetLogRecordLogDatumContract.(*_BACnetLogRecordLogDatum)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumBitStringValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumBitStringValue.go index 797444991b..79fb5c2851 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumBitStringValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumBitStringValue.go @@ -189,7 +189,7 @@ func (m *_BACnetLogRecordLogDatumBitStringValue) deepCopy() *_BACnetLogRecordLog return nil } _BACnetLogRecordLogDatumBitStringValueCopy := &_BACnetLogRecordLogDatumBitStringValue{ - m.BACnetLogRecordLogDatumContract.DeepCopy().(BACnetLogRecordLogDatumContract), + m.BACnetLogRecordLogDatumContract.(*_BACnetLogRecordLogDatum).deepCopy(), m.BitStringValue.DeepCopy().(BACnetContextTagBitString), } m.BACnetLogRecordLogDatumContract.(*_BACnetLogRecordLogDatum)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumBooleanValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumBooleanValue.go index 270ff255ef..52457b93a2 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumBooleanValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumBooleanValue.go @@ -189,7 +189,7 @@ func (m *_BACnetLogRecordLogDatumBooleanValue) deepCopy() *_BACnetLogRecordLogDa return nil } _BACnetLogRecordLogDatumBooleanValueCopy := &_BACnetLogRecordLogDatumBooleanValue{ - m.BACnetLogRecordLogDatumContract.DeepCopy().(BACnetLogRecordLogDatumContract), + m.BACnetLogRecordLogDatumContract.(*_BACnetLogRecordLogDatum).deepCopy(), m.BooleanValue.DeepCopy().(BACnetContextTagBoolean), } m.BACnetLogRecordLogDatumContract.(*_BACnetLogRecordLogDatum)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumEnumeratedValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumEnumeratedValue.go index 89abeea50f..0ad06a1988 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumEnumeratedValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumEnumeratedValue.go @@ -189,7 +189,7 @@ func (m *_BACnetLogRecordLogDatumEnumeratedValue) deepCopy() *_BACnetLogRecordLo return nil } _BACnetLogRecordLogDatumEnumeratedValueCopy := &_BACnetLogRecordLogDatumEnumeratedValue{ - m.BACnetLogRecordLogDatumContract.DeepCopy().(BACnetLogRecordLogDatumContract), + m.BACnetLogRecordLogDatumContract.(*_BACnetLogRecordLogDatum).deepCopy(), m.EnumeratedValue.DeepCopy().(BACnetContextTagEnumerated), } m.BACnetLogRecordLogDatumContract.(*_BACnetLogRecordLogDatum)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumFailure.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumFailure.go index 5f93ab9609..9e52f49235 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumFailure.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumFailure.go @@ -189,7 +189,7 @@ func (m *_BACnetLogRecordLogDatumFailure) deepCopy() *_BACnetLogRecordLogDatumFa return nil } _BACnetLogRecordLogDatumFailureCopy := &_BACnetLogRecordLogDatumFailure{ - m.BACnetLogRecordLogDatumContract.DeepCopy().(BACnetLogRecordLogDatumContract), + m.BACnetLogRecordLogDatumContract.(*_BACnetLogRecordLogDatum).deepCopy(), m.Failure.DeepCopy().(ErrorEnclosed), } m.BACnetLogRecordLogDatumContract.(*_BACnetLogRecordLogDatum)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumIntegerValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumIntegerValue.go index dc8d8f7904..e4a04390a5 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumIntegerValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumIntegerValue.go @@ -189,7 +189,7 @@ func (m *_BACnetLogRecordLogDatumIntegerValue) deepCopy() *_BACnetLogRecordLogDa return nil } _BACnetLogRecordLogDatumIntegerValueCopy := &_BACnetLogRecordLogDatumIntegerValue{ - m.BACnetLogRecordLogDatumContract.DeepCopy().(BACnetLogRecordLogDatumContract), + m.BACnetLogRecordLogDatumContract.(*_BACnetLogRecordLogDatum).deepCopy(), m.IntegerValue.DeepCopy().(BACnetContextTagSignedInteger), } m.BACnetLogRecordLogDatumContract.(*_BACnetLogRecordLogDatum)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumLogStatus.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumLogStatus.go index 3aa192113f..a9af20853a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumLogStatus.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumLogStatus.go @@ -189,7 +189,7 @@ func (m *_BACnetLogRecordLogDatumLogStatus) deepCopy() *_BACnetLogRecordLogDatum return nil } _BACnetLogRecordLogDatumLogStatusCopy := &_BACnetLogRecordLogDatumLogStatus{ - m.BACnetLogRecordLogDatumContract.DeepCopy().(BACnetLogRecordLogDatumContract), + m.BACnetLogRecordLogDatumContract.(*_BACnetLogRecordLogDatum).deepCopy(), m.LogStatus.DeepCopy().(BACnetLogStatusTagged), } m.BACnetLogRecordLogDatumContract.(*_BACnetLogRecordLogDatum)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumNullValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumNullValue.go index ad1e6fdf88..5d12f4bfbc 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumNullValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumNullValue.go @@ -189,7 +189,7 @@ func (m *_BACnetLogRecordLogDatumNullValue) deepCopy() *_BACnetLogRecordLogDatum return nil } _BACnetLogRecordLogDatumNullValueCopy := &_BACnetLogRecordLogDatumNullValue{ - m.BACnetLogRecordLogDatumContract.DeepCopy().(BACnetLogRecordLogDatumContract), + m.BACnetLogRecordLogDatumContract.(*_BACnetLogRecordLogDatum).deepCopy(), m.NullValue.DeepCopy().(BACnetContextTagNull), } m.BACnetLogRecordLogDatumContract.(*_BACnetLogRecordLogDatum)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumRealValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumRealValue.go index b7527e7d6c..dd4b620e85 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumRealValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumRealValue.go @@ -189,7 +189,7 @@ func (m *_BACnetLogRecordLogDatumRealValue) deepCopy() *_BACnetLogRecordLogDatum return nil } _BACnetLogRecordLogDatumRealValueCopy := &_BACnetLogRecordLogDatumRealValue{ - m.BACnetLogRecordLogDatumContract.DeepCopy().(BACnetLogRecordLogDatumContract), + m.BACnetLogRecordLogDatumContract.(*_BACnetLogRecordLogDatum).deepCopy(), m.RealValue.DeepCopy().(BACnetContextTagReal), } m.BACnetLogRecordLogDatumContract.(*_BACnetLogRecordLogDatum)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumTimeChange.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumTimeChange.go index f8d9283fa1..8f7fc22f8b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumTimeChange.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumTimeChange.go @@ -189,7 +189,7 @@ func (m *_BACnetLogRecordLogDatumTimeChange) deepCopy() *_BACnetLogRecordLogDatu return nil } _BACnetLogRecordLogDatumTimeChangeCopy := &_BACnetLogRecordLogDatumTimeChange{ - m.BACnetLogRecordLogDatumContract.DeepCopy().(BACnetLogRecordLogDatumContract), + m.BACnetLogRecordLogDatumContract.(*_BACnetLogRecordLogDatum).deepCopy(), m.TimeChange.DeepCopy().(BACnetContextTagReal), } m.BACnetLogRecordLogDatumContract.(*_BACnetLogRecordLogDatum)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumUnsignedValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumUnsignedValue.go index 95ae7cd186..f672f06602 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumUnsignedValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetLogRecordLogDatumUnsignedValue.go @@ -189,7 +189,7 @@ func (m *_BACnetLogRecordLogDatumUnsignedValue) deepCopy() *_BACnetLogRecordLogD return nil } _BACnetLogRecordLogDatumUnsignedValueCopy := &_BACnetLogRecordLogDatumUnsignedValue{ - m.BACnetLogRecordLogDatumContract.DeepCopy().(BACnetLogRecordLogDatumContract), + m.BACnetLogRecordLogDatumContract.(*_BACnetLogRecordLogDatum).deepCopy(), m.UnsignedValue.DeepCopy().(BACnetContextTagUnsignedInteger), } m.BACnetLogRecordLogDatumContract.(*_BACnetLogRecordLogDatum)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParameters.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParameters.go index 81318cbcdd..a92f0dbc6a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParameters.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParameters.go @@ -47,7 +47,6 @@ type BACnetNotificationParameters interface { // BACnetNotificationParametersContract provides a set of functions which can be overwritten by a sub struct type BACnetNotificationParametersContract interface { - utils.Copyable // GetOpeningTag returns OpeningTag (property field) GetOpeningTag() BACnetOpeningTag // GetPeekedTagHeader returns PeekedTagHeader (property field) diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersAccessEvent.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersAccessEvent.go index 001c06893d..f1725e0a28 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersAccessEvent.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersAccessEvent.go @@ -360,7 +360,7 @@ func (m *_BACnetNotificationParametersAccessEvent) deepCopy() *_BACnetNotificati return nil } _BACnetNotificationParametersAccessEventCopy := &_BACnetNotificationParametersAccessEvent{ - m.BACnetNotificationParametersContract.DeepCopy().(BACnetNotificationParametersContract), + m.BACnetNotificationParametersContract.(*_BACnetNotificationParameters).deepCopy(), m.InnerOpeningTag.DeepCopy().(BACnetOpeningTag), m.AccessEvent.DeepCopy().(BACnetAccessEventTagged), m.StatusFlags.DeepCopy().(BACnetStatusFlagsTagged), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersBufferReady.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersBufferReady.go index 097bcfdc98..c8e9511ee2 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersBufferReady.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersBufferReady.go @@ -285,7 +285,7 @@ func (m *_BACnetNotificationParametersBufferReady) deepCopy() *_BACnetNotificati return nil } _BACnetNotificationParametersBufferReadyCopy := &_BACnetNotificationParametersBufferReady{ - m.BACnetNotificationParametersContract.DeepCopy().(BACnetNotificationParametersContract), + m.BACnetNotificationParametersContract.(*_BACnetNotificationParameters).deepCopy(), m.InnerOpeningTag.DeepCopy().(BACnetOpeningTag), m.BufferProperty.DeepCopy().(BACnetDeviceObjectPropertyReferenceEnclosed), m.PreviousNotification.DeepCopy().(BACnetContextTagUnsignedInteger), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfBitString.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfBitString.go index a7542a3ad3..e310efb805 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfBitString.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfBitString.go @@ -262,7 +262,7 @@ func (m *_BACnetNotificationParametersChangeOfBitString) deepCopy() *_BACnetNoti return nil } _BACnetNotificationParametersChangeOfBitStringCopy := &_BACnetNotificationParametersChangeOfBitString{ - m.BACnetNotificationParametersContract.DeepCopy().(BACnetNotificationParametersContract), + m.BACnetNotificationParametersContract.(*_BACnetNotificationParameters).deepCopy(), m.InnerOpeningTag.DeepCopy().(BACnetOpeningTag), m.ChangeOfBitString.DeepCopy().(BACnetContextTagBitString), m.StatusFlags.DeepCopy().(BACnetStatusFlagsTagged), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfCharacterString.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfCharacterString.go index 85dfafac60..75e0bef47d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfCharacterString.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfCharacterString.go @@ -286,7 +286,7 @@ func (m *_BACnetNotificationParametersChangeOfCharacterString) deepCopy() *_BACn return nil } _BACnetNotificationParametersChangeOfCharacterStringCopy := &_BACnetNotificationParametersChangeOfCharacterString{ - m.BACnetNotificationParametersContract.DeepCopy().(BACnetNotificationParametersContract), + m.BACnetNotificationParametersContract.(*_BACnetNotificationParameters).deepCopy(), m.InnerOpeningTag.DeepCopy().(BACnetOpeningTag), m.ChangedValue.DeepCopy().(BACnetContextTagCharacterString), m.StatusFlags.DeepCopy().(BACnetStatusFlagsTagged), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValue.go index 7b5d993047..b04c591edd 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValue.go @@ -262,7 +262,7 @@ func (m *_BACnetNotificationParametersChangeOfDiscreteValue) deepCopy() *_BACnet return nil } _BACnetNotificationParametersChangeOfDiscreteValueCopy := &_BACnetNotificationParametersChangeOfDiscreteValue{ - m.BACnetNotificationParametersContract.DeepCopy().(BACnetNotificationParametersContract), + m.BACnetNotificationParametersContract.(*_BACnetNotificationParameters).deepCopy(), m.InnerOpeningTag.DeepCopy().(BACnetOpeningTag), m.NewValue.DeepCopy().(BACnetNotificationParametersChangeOfDiscreteValueNewValue), m.StatusFlags.DeepCopy().(BACnetStatusFlagsTagged), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValue.go index 85cc66c00e..01eca58b4f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValue.go @@ -47,7 +47,6 @@ type BACnetNotificationParametersChangeOfDiscreteValueNewValue interface { // BACnetNotificationParametersChangeOfDiscreteValueNewValueContract provides a set of functions which can be overwritten by a sub struct type BACnetNotificationParametersChangeOfDiscreteValueNewValueContract interface { - utils.Copyable // GetOpeningTag returns OpeningTag (property field) GetOpeningTag() BACnetOpeningTag // GetPeekedTagHeader returns PeekedTagHeader (property field) diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueBoolean.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueBoolean.go index 4ec3d816e1..360b68e8be 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueBoolean.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueBoolean.go @@ -190,7 +190,7 @@ func (m *_BACnetNotificationParametersChangeOfDiscreteValueNewValueBoolean) deep return nil } _BACnetNotificationParametersChangeOfDiscreteValueNewValueBooleanCopy := &_BACnetNotificationParametersChangeOfDiscreteValueNewValueBoolean{ - m.BACnetNotificationParametersChangeOfDiscreteValueNewValueContract.DeepCopy().(BACnetNotificationParametersChangeOfDiscreteValueNewValueContract), + m.BACnetNotificationParametersChangeOfDiscreteValueNewValueContract.(*_BACnetNotificationParametersChangeOfDiscreteValueNewValue).deepCopy(), m.BooleanValue.DeepCopy().(BACnetApplicationTagBoolean), } m.BACnetNotificationParametersChangeOfDiscreteValueNewValueContract.(*_BACnetNotificationParametersChangeOfDiscreteValueNewValue)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueCharacterString.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueCharacterString.go index 1a0b4aa375..dd466264d4 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueCharacterString.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueCharacterString.go @@ -190,7 +190,7 @@ func (m *_BACnetNotificationParametersChangeOfDiscreteValueNewValueCharacterStri return nil } _BACnetNotificationParametersChangeOfDiscreteValueNewValueCharacterStringCopy := &_BACnetNotificationParametersChangeOfDiscreteValueNewValueCharacterString{ - m.BACnetNotificationParametersChangeOfDiscreteValueNewValueContract.DeepCopy().(BACnetNotificationParametersChangeOfDiscreteValueNewValueContract), + m.BACnetNotificationParametersChangeOfDiscreteValueNewValueContract.(*_BACnetNotificationParametersChangeOfDiscreteValueNewValue).deepCopy(), m.CharacterStringValue.DeepCopy().(BACnetApplicationTagCharacterString), } m.BACnetNotificationParametersChangeOfDiscreteValueNewValueContract.(*_BACnetNotificationParametersChangeOfDiscreteValueNewValue)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueDatetime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueDatetime.go index 1d9a0e7afb..dc7c19ecfc 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueDatetime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueDatetime.go @@ -190,7 +190,7 @@ func (m *_BACnetNotificationParametersChangeOfDiscreteValueNewValueDatetime) dee return nil } _BACnetNotificationParametersChangeOfDiscreteValueNewValueDatetimeCopy := &_BACnetNotificationParametersChangeOfDiscreteValueNewValueDatetime{ - m.BACnetNotificationParametersChangeOfDiscreteValueNewValueContract.DeepCopy().(BACnetNotificationParametersChangeOfDiscreteValueNewValueContract), + m.BACnetNotificationParametersChangeOfDiscreteValueNewValueContract.(*_BACnetNotificationParametersChangeOfDiscreteValueNewValue).deepCopy(), m.DateTimeValue.DeepCopy().(BACnetDateTimeEnclosed), } m.BACnetNotificationParametersChangeOfDiscreteValueNewValueContract.(*_BACnetNotificationParametersChangeOfDiscreteValueNewValue)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueEnumerated.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueEnumerated.go index ff87e40fb0..a6ddb827e3 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueEnumerated.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueEnumerated.go @@ -190,7 +190,7 @@ func (m *_BACnetNotificationParametersChangeOfDiscreteValueNewValueEnumerated) d return nil } _BACnetNotificationParametersChangeOfDiscreteValueNewValueEnumeratedCopy := &_BACnetNotificationParametersChangeOfDiscreteValueNewValueEnumerated{ - m.BACnetNotificationParametersChangeOfDiscreteValueNewValueContract.DeepCopy().(BACnetNotificationParametersChangeOfDiscreteValueNewValueContract), + m.BACnetNotificationParametersChangeOfDiscreteValueNewValueContract.(*_BACnetNotificationParametersChangeOfDiscreteValueNewValue).deepCopy(), m.EnumeratedValue.DeepCopy().(BACnetApplicationTagEnumerated), } m.BACnetNotificationParametersChangeOfDiscreteValueNewValueContract.(*_BACnetNotificationParametersChangeOfDiscreteValueNewValue)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueInteger.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueInteger.go index fd7a38d004..86b0340357 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueInteger.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueInteger.go @@ -190,7 +190,7 @@ func (m *_BACnetNotificationParametersChangeOfDiscreteValueNewValueInteger) deep return nil } _BACnetNotificationParametersChangeOfDiscreteValueNewValueIntegerCopy := &_BACnetNotificationParametersChangeOfDiscreteValueNewValueInteger{ - m.BACnetNotificationParametersChangeOfDiscreteValueNewValueContract.DeepCopy().(BACnetNotificationParametersChangeOfDiscreteValueNewValueContract), + m.BACnetNotificationParametersChangeOfDiscreteValueNewValueContract.(*_BACnetNotificationParametersChangeOfDiscreteValueNewValue).deepCopy(), m.IntegerValue.DeepCopy().(BACnetApplicationTagSignedInteger), } m.BACnetNotificationParametersChangeOfDiscreteValueNewValueContract.(*_BACnetNotificationParametersChangeOfDiscreteValueNewValue)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueObjectidentifier.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueObjectidentifier.go index bbc5d73a39..3f2a13b45c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueObjectidentifier.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueObjectidentifier.go @@ -190,7 +190,7 @@ func (m *_BACnetNotificationParametersChangeOfDiscreteValueNewValueObjectidentif return nil } _BACnetNotificationParametersChangeOfDiscreteValueNewValueObjectidentifierCopy := &_BACnetNotificationParametersChangeOfDiscreteValueNewValueObjectidentifier{ - m.BACnetNotificationParametersChangeOfDiscreteValueNewValueContract.DeepCopy().(BACnetNotificationParametersChangeOfDiscreteValueNewValueContract), + m.BACnetNotificationParametersChangeOfDiscreteValueNewValueContract.(*_BACnetNotificationParametersChangeOfDiscreteValueNewValue).deepCopy(), m.ObjectidentifierValue.DeepCopy().(BACnetApplicationTagObjectIdentifier), } m.BACnetNotificationParametersChangeOfDiscreteValueNewValueContract.(*_BACnetNotificationParametersChangeOfDiscreteValueNewValue)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueOctetDate.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueOctetDate.go index ac36eb31f6..6625b9d0a1 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueOctetDate.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueOctetDate.go @@ -190,7 +190,7 @@ func (m *_BACnetNotificationParametersChangeOfDiscreteValueNewValueOctetDate) de return nil } _BACnetNotificationParametersChangeOfDiscreteValueNewValueOctetDateCopy := &_BACnetNotificationParametersChangeOfDiscreteValueNewValueOctetDate{ - m.BACnetNotificationParametersChangeOfDiscreteValueNewValueContract.DeepCopy().(BACnetNotificationParametersChangeOfDiscreteValueNewValueContract), + m.BACnetNotificationParametersChangeOfDiscreteValueNewValueContract.(*_BACnetNotificationParametersChangeOfDiscreteValueNewValue).deepCopy(), m.DateValue.DeepCopy().(BACnetApplicationTagDate), } m.BACnetNotificationParametersChangeOfDiscreteValueNewValueContract.(*_BACnetNotificationParametersChangeOfDiscreteValueNewValue)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueOctetString.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueOctetString.go index 1722980729..a4f08c146b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueOctetString.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueOctetString.go @@ -190,7 +190,7 @@ func (m *_BACnetNotificationParametersChangeOfDiscreteValueNewValueOctetString) return nil } _BACnetNotificationParametersChangeOfDiscreteValueNewValueOctetStringCopy := &_BACnetNotificationParametersChangeOfDiscreteValueNewValueOctetString{ - m.BACnetNotificationParametersChangeOfDiscreteValueNewValueContract.DeepCopy().(BACnetNotificationParametersChangeOfDiscreteValueNewValueContract), + m.BACnetNotificationParametersChangeOfDiscreteValueNewValueContract.(*_BACnetNotificationParametersChangeOfDiscreteValueNewValue).deepCopy(), m.OctetStringValue.DeepCopy().(BACnetApplicationTagOctetString), } m.BACnetNotificationParametersChangeOfDiscreteValueNewValueContract.(*_BACnetNotificationParametersChangeOfDiscreteValueNewValue)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueOctetTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueOctetTime.go index fe223cb715..5e8b9bf86d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueOctetTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueOctetTime.go @@ -190,7 +190,7 @@ func (m *_BACnetNotificationParametersChangeOfDiscreteValueNewValueOctetTime) de return nil } _BACnetNotificationParametersChangeOfDiscreteValueNewValueOctetTimeCopy := &_BACnetNotificationParametersChangeOfDiscreteValueNewValueOctetTime{ - m.BACnetNotificationParametersChangeOfDiscreteValueNewValueContract.DeepCopy().(BACnetNotificationParametersChangeOfDiscreteValueNewValueContract), + m.BACnetNotificationParametersChangeOfDiscreteValueNewValueContract.(*_BACnetNotificationParametersChangeOfDiscreteValueNewValue).deepCopy(), m.TimeValue.DeepCopy().(BACnetApplicationTagTime), } m.BACnetNotificationParametersChangeOfDiscreteValueNewValueContract.(*_BACnetNotificationParametersChangeOfDiscreteValueNewValue)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueUnsigned.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueUnsigned.go index 1ca6de8471..5e55d96ba1 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueUnsigned.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfDiscreteValueNewValueUnsigned.go @@ -190,7 +190,7 @@ func (m *_BACnetNotificationParametersChangeOfDiscreteValueNewValueUnsigned) dee return nil } _BACnetNotificationParametersChangeOfDiscreteValueNewValueUnsignedCopy := &_BACnetNotificationParametersChangeOfDiscreteValueNewValueUnsigned{ - m.BACnetNotificationParametersChangeOfDiscreteValueNewValueContract.DeepCopy().(BACnetNotificationParametersChangeOfDiscreteValueNewValueContract), + m.BACnetNotificationParametersChangeOfDiscreteValueNewValueContract.(*_BACnetNotificationParametersChangeOfDiscreteValueNewValue).deepCopy(), m.UnsignedValue.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetNotificationParametersChangeOfDiscreteValueNewValueContract.(*_BACnetNotificationParametersChangeOfDiscreteValueNewValue)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfLifeSafety.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfLifeSafety.go index 25effa9891..1be7b202fd 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfLifeSafety.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfLifeSafety.go @@ -310,7 +310,7 @@ func (m *_BACnetNotificationParametersChangeOfLifeSafety) deepCopy() *_BACnetNot return nil } _BACnetNotificationParametersChangeOfLifeSafetyCopy := &_BACnetNotificationParametersChangeOfLifeSafety{ - m.BACnetNotificationParametersContract.DeepCopy().(BACnetNotificationParametersContract), + m.BACnetNotificationParametersContract.(*_BACnetNotificationParameters).deepCopy(), m.InnerOpeningTag.DeepCopy().(BACnetOpeningTag), m.NewState.DeepCopy().(BACnetLifeSafetyStateTagged), m.NewMode.DeepCopy().(BACnetLifeSafetyModeTagged), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfReliability.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfReliability.go index 48be25c0ab..f2243229c4 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfReliability.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfReliability.go @@ -286,7 +286,7 @@ func (m *_BACnetNotificationParametersChangeOfReliability) deepCopy() *_BACnetNo return nil } _BACnetNotificationParametersChangeOfReliabilityCopy := &_BACnetNotificationParametersChangeOfReliability{ - m.BACnetNotificationParametersContract.DeepCopy().(BACnetNotificationParametersContract), + m.BACnetNotificationParametersContract.(*_BACnetNotificationParameters).deepCopy(), m.InnerOpeningTag.DeepCopy().(BACnetOpeningTag), m.Reliability.DeepCopy().(BACnetReliabilityTagged), m.StatusFlags.DeepCopy().(BACnetStatusFlagsTagged), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfState.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfState.go index 424f1202db..fe67e54178 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfState.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfState.go @@ -261,7 +261,7 @@ func (m *_BACnetNotificationParametersChangeOfState) deepCopy() *_BACnetNotifica return nil } _BACnetNotificationParametersChangeOfStateCopy := &_BACnetNotificationParametersChangeOfState{ - m.BACnetNotificationParametersContract.DeepCopy().(BACnetNotificationParametersContract), + m.BACnetNotificationParametersContract.(*_BACnetNotificationParameters).deepCopy(), m.InnerOpeningTag.DeepCopy().(BACnetOpeningTag), m.ChangeOfState.DeepCopy().(BACnetPropertyStatesEnclosed), m.StatusFlags.DeepCopy().(BACnetStatusFlagsTagged), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfStatusFlags.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfStatusFlags.go index f0d60d2ad4..939eb354ec 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfStatusFlags.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfStatusFlags.go @@ -262,7 +262,7 @@ func (m *_BACnetNotificationParametersChangeOfStatusFlags) deepCopy() *_BACnetNo return nil } _BACnetNotificationParametersChangeOfStatusFlagsCopy := &_BACnetNotificationParametersChangeOfStatusFlags{ - m.BACnetNotificationParametersContract.DeepCopy().(BACnetNotificationParametersContract), + m.BACnetNotificationParametersContract.(*_BACnetNotificationParameters).deepCopy(), m.InnerOpeningTag.DeepCopy().(BACnetOpeningTag), m.PresentValue.DeepCopy().(BACnetConstructedData), m.ReferencedFlags.DeepCopy().(BACnetStatusFlagsTagged), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfTimer.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfTimer.go index 4af147f00d..022ee942e4 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfTimer.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfTimer.go @@ -366,7 +366,7 @@ func (m *_BACnetNotificationParametersChangeOfTimer) deepCopy() *_BACnetNotifica return nil } _BACnetNotificationParametersChangeOfTimerCopy := &_BACnetNotificationParametersChangeOfTimer{ - m.BACnetNotificationParametersContract.DeepCopy().(BACnetNotificationParametersContract), + m.BACnetNotificationParametersContract.(*_BACnetNotificationParameters).deepCopy(), m.InnerOpeningTag.DeepCopy().(BACnetOpeningTag), m.NewValue.DeepCopy().(BACnetTimerStateTagged), m.StatusFlags.DeepCopy().(BACnetStatusFlagsTagged), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfValue.go index 21e4c16eb9..cc744529ed 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfValue.go @@ -261,7 +261,7 @@ func (m *_BACnetNotificationParametersChangeOfValue) deepCopy() *_BACnetNotifica return nil } _BACnetNotificationParametersChangeOfValueCopy := &_BACnetNotificationParametersChangeOfValue{ - m.BACnetNotificationParametersContract.DeepCopy().(BACnetNotificationParametersContract), + m.BACnetNotificationParametersContract.(*_BACnetNotificationParameters).deepCopy(), m.InnerOpeningTag.DeepCopy().(BACnetOpeningTag), m.NewValue.DeepCopy().(BACnetNotificationParametersChangeOfValueNewValue), m.StatusFlags.DeepCopy().(BACnetStatusFlagsTagged), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfValueNewValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfValueNewValue.go index e8471facaa..6147939a35 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfValueNewValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfValueNewValue.go @@ -47,7 +47,6 @@ type BACnetNotificationParametersChangeOfValueNewValue interface { // BACnetNotificationParametersChangeOfValueNewValueContract provides a set of functions which can be overwritten by a sub struct type BACnetNotificationParametersChangeOfValueNewValueContract interface { - utils.Copyable // GetOpeningTag returns OpeningTag (property field) GetOpeningTag() BACnetOpeningTag // GetPeekedTagHeader returns PeekedTagHeader (property field) diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfValueNewValueChangedBits.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfValueNewValueChangedBits.go index a31b26d57e..c4ef4a184e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfValueNewValueChangedBits.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfValueNewValueChangedBits.go @@ -190,7 +190,7 @@ func (m *_BACnetNotificationParametersChangeOfValueNewValueChangedBits) deepCopy return nil } _BACnetNotificationParametersChangeOfValueNewValueChangedBitsCopy := &_BACnetNotificationParametersChangeOfValueNewValueChangedBits{ - m.BACnetNotificationParametersChangeOfValueNewValueContract.DeepCopy().(BACnetNotificationParametersChangeOfValueNewValueContract), + m.BACnetNotificationParametersChangeOfValueNewValueContract.(*_BACnetNotificationParametersChangeOfValueNewValue).deepCopy(), m.ChangedBits.DeepCopy().(BACnetContextTagBitString), } m.BACnetNotificationParametersChangeOfValueNewValueContract.(*_BACnetNotificationParametersChangeOfValueNewValue)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfValueNewValueChangedValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfValueNewValueChangedValue.go index 25ab3c76b9..39aa0a0f48 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfValueNewValueChangedValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersChangeOfValueNewValueChangedValue.go @@ -190,7 +190,7 @@ func (m *_BACnetNotificationParametersChangeOfValueNewValueChangedValue) deepCop return nil } _BACnetNotificationParametersChangeOfValueNewValueChangedValueCopy := &_BACnetNotificationParametersChangeOfValueNewValueChangedValue{ - m.BACnetNotificationParametersChangeOfValueNewValueContract.DeepCopy().(BACnetNotificationParametersChangeOfValueNewValueContract), + m.BACnetNotificationParametersChangeOfValueNewValueContract.(*_BACnetNotificationParametersChangeOfValueNewValue).deepCopy(), m.ChangedValue.DeepCopy().(BACnetContextTagReal), } m.BACnetNotificationParametersChangeOfValueNewValueContract.(*_BACnetNotificationParametersChangeOfValueNewValue)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersCommandFailure.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersCommandFailure.go index 035c906ac7..d0bfc5c431 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersCommandFailure.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersCommandFailure.go @@ -286,7 +286,7 @@ func (m *_BACnetNotificationParametersCommandFailure) deepCopy() *_BACnetNotific return nil } _BACnetNotificationParametersCommandFailureCopy := &_BACnetNotificationParametersCommandFailure{ - m.BACnetNotificationParametersContract.DeepCopy().(BACnetNotificationParametersContract), + m.BACnetNotificationParametersContract.(*_BACnetNotificationParameters).deepCopy(), m.InnerOpeningTag.DeepCopy().(BACnetOpeningTag), m.CommandValue.DeepCopy().(BACnetConstructedData), m.StatusFlags.DeepCopy().(BACnetStatusFlagsTagged), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersComplexEventType.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersComplexEventType.go index 1792af8486..e963afb978 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersComplexEventType.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersComplexEventType.go @@ -190,7 +190,7 @@ func (m *_BACnetNotificationParametersComplexEventType) deepCopy() *_BACnetNotif return nil } _BACnetNotificationParametersComplexEventTypeCopy := &_BACnetNotificationParametersComplexEventType{ - m.BACnetNotificationParametersContract.DeepCopy().(BACnetNotificationParametersContract), + m.BACnetNotificationParametersContract.(*_BACnetNotificationParameters).deepCopy(), m.ListOfValues.DeepCopy().(BACnetPropertyValues), } m.BACnetNotificationParametersContract.(*_BACnetNotificationParameters)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersDoubleOutOfRange.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersDoubleOutOfRange.go index c488cc12a7..93076a279d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersDoubleOutOfRange.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersDoubleOutOfRange.go @@ -310,7 +310,7 @@ func (m *_BACnetNotificationParametersDoubleOutOfRange) deepCopy() *_BACnetNotif return nil } _BACnetNotificationParametersDoubleOutOfRangeCopy := &_BACnetNotificationParametersDoubleOutOfRange{ - m.BACnetNotificationParametersContract.DeepCopy().(BACnetNotificationParametersContract), + m.BACnetNotificationParametersContract.(*_BACnetNotificationParameters).deepCopy(), m.InnerOpeningTag.DeepCopy().(BACnetOpeningTag), m.ExceedingValue.DeepCopy().(BACnetContextTagDouble), m.StatusFlags.DeepCopy().(BACnetStatusFlagsTagged), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersExtended.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersExtended.go index 439fedf861..ef9cbe2b29 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersExtended.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersExtended.go @@ -285,7 +285,7 @@ func (m *_BACnetNotificationParametersExtended) deepCopy() *_BACnetNotificationP return nil } _BACnetNotificationParametersExtendedCopy := &_BACnetNotificationParametersExtended{ - m.BACnetNotificationParametersContract.DeepCopy().(BACnetNotificationParametersContract), + m.BACnetNotificationParametersContract.(*_BACnetNotificationParameters).deepCopy(), m.InnerOpeningTag.DeepCopy().(BACnetOpeningTag), m.VendorId.DeepCopy().(BACnetVendorIdTagged), m.ExtendedEventType.DeepCopy().(BACnetContextTagUnsignedInteger), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersFloatingLimit.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersFloatingLimit.go index 25718eb095..0edc35bec8 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersFloatingLimit.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersFloatingLimit.go @@ -309,7 +309,7 @@ func (m *_BACnetNotificationParametersFloatingLimit) deepCopy() *_BACnetNotifica return nil } _BACnetNotificationParametersFloatingLimitCopy := &_BACnetNotificationParametersFloatingLimit{ - m.BACnetNotificationParametersContract.DeepCopy().(BACnetNotificationParametersContract), + m.BACnetNotificationParametersContract.(*_BACnetNotificationParameters).deepCopy(), m.InnerOpeningTag.DeepCopy().(BACnetOpeningTag), m.ReferenceValue.DeepCopy().(BACnetContextTagReal), m.StatusFlags.DeepCopy().(BACnetStatusFlagsTagged), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersOutOfRange.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersOutOfRange.go index ad453c6278..57deb6268d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersOutOfRange.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersOutOfRange.go @@ -309,7 +309,7 @@ func (m *_BACnetNotificationParametersOutOfRange) deepCopy() *_BACnetNotificatio return nil } _BACnetNotificationParametersOutOfRangeCopy := &_BACnetNotificationParametersOutOfRange{ - m.BACnetNotificationParametersContract.DeepCopy().(BACnetNotificationParametersContract), + m.BACnetNotificationParametersContract.(*_BACnetNotificationParameters).deepCopy(), m.InnerOpeningTag.DeepCopy().(BACnetOpeningTag), m.ExceedingValue.DeepCopy().(BACnetContextTagReal), m.StatusFlags.DeepCopy().(BACnetStatusFlagsTagged), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersSignedOutOfRange.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersSignedOutOfRange.go index e2daa6da96..56a29174c3 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersSignedOutOfRange.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersSignedOutOfRange.go @@ -310,7 +310,7 @@ func (m *_BACnetNotificationParametersSignedOutOfRange) deepCopy() *_BACnetNotif return nil } _BACnetNotificationParametersSignedOutOfRangeCopy := &_BACnetNotificationParametersSignedOutOfRange{ - m.BACnetNotificationParametersContract.DeepCopy().(BACnetNotificationParametersContract), + m.BACnetNotificationParametersContract.(*_BACnetNotificationParameters).deepCopy(), m.InnerOpeningTag.DeepCopy().(BACnetOpeningTag), m.ExceedingValue.DeepCopy().(BACnetContextTagSignedInteger), m.StatusFlags.DeepCopy().(BACnetStatusFlagsTagged), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersUnsignedOutOfRange.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersUnsignedOutOfRange.go index 43a019a9ba..67e64f49dd 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersUnsignedOutOfRange.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersUnsignedOutOfRange.go @@ -310,7 +310,7 @@ func (m *_BACnetNotificationParametersUnsignedOutOfRange) deepCopy() *_BACnetNot return nil } _BACnetNotificationParametersUnsignedOutOfRangeCopy := &_BACnetNotificationParametersUnsignedOutOfRange{ - m.BACnetNotificationParametersContract.DeepCopy().(BACnetNotificationParametersContract), + m.BACnetNotificationParametersContract.(*_BACnetNotificationParameters).deepCopy(), m.InnerOpeningTag.DeepCopy().(BACnetOpeningTag), m.ExceedingValue.DeepCopy().(BACnetContextTagUnsignedInteger), m.StatusFlags.DeepCopy().(BACnetStatusFlagsTagged), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersUnsignedRange.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersUnsignedRange.go index 4703d4c2ca..4504431fbe 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersUnsignedRange.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetNotificationParametersUnsignedRange.go @@ -285,7 +285,7 @@ func (m *_BACnetNotificationParametersUnsignedRange) deepCopy() *_BACnetNotifica return nil } _BACnetNotificationParametersUnsignedRangeCopy := &_BACnetNotificationParametersUnsignedRange{ - m.BACnetNotificationParametersContract.DeepCopy().(BACnetNotificationParametersContract), + m.BACnetNotificationParametersContract.(*_BACnetNotificationParameters).deepCopy(), m.InnerOpeningTag.DeepCopy().(BACnetOpeningTag), m.SequenceNumber.DeepCopy().(BACnetContextTagUnsignedInteger), m.StatusFlags.DeepCopy().(BACnetStatusFlagsTagged), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalBinaryPV.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalBinaryPV.go index b054879946..e166e9d2e9 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalBinaryPV.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalBinaryPV.go @@ -47,7 +47,6 @@ type BACnetOptionalBinaryPV interface { // BACnetOptionalBinaryPVContract provides a set of functions which can be overwritten by a sub struct type BACnetOptionalBinaryPVContract interface { - utils.Copyable // GetPeekedTagHeader returns PeekedTagHeader (property field) GetPeekedTagHeader() BACnetTagHeader // GetPeekedTagNumber returns PeekedTagNumber (virtual field) diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalBinaryPVNull.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalBinaryPVNull.go index c2896e0309..18565dbcca 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalBinaryPVNull.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalBinaryPVNull.go @@ -189,7 +189,7 @@ func (m *_BACnetOptionalBinaryPVNull) deepCopy() *_BACnetOptionalBinaryPVNull { return nil } _BACnetOptionalBinaryPVNullCopy := &_BACnetOptionalBinaryPVNull{ - m.BACnetOptionalBinaryPVContract.DeepCopy().(BACnetOptionalBinaryPVContract), + m.BACnetOptionalBinaryPVContract.(*_BACnetOptionalBinaryPV).deepCopy(), m.NullValue.DeepCopy().(BACnetApplicationTagNull), } m.BACnetOptionalBinaryPVContract.(*_BACnetOptionalBinaryPV)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalBinaryPVValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalBinaryPVValue.go index 1c85406e97..0fe70ccc36 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalBinaryPVValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalBinaryPVValue.go @@ -189,7 +189,7 @@ func (m *_BACnetOptionalBinaryPVValue) deepCopy() *_BACnetOptionalBinaryPVValue return nil } _BACnetOptionalBinaryPVValueCopy := &_BACnetOptionalBinaryPVValue{ - m.BACnetOptionalBinaryPVContract.DeepCopy().(BACnetOptionalBinaryPVContract), + m.BACnetOptionalBinaryPVContract.(*_BACnetOptionalBinaryPV).deepCopy(), m.BinaryPv.DeepCopy().(BACnetBinaryPVTagged), } m.BACnetOptionalBinaryPVContract.(*_BACnetOptionalBinaryPV)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalCharacterString.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalCharacterString.go index 446e622321..e5262e8d1d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalCharacterString.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalCharacterString.go @@ -47,7 +47,6 @@ type BACnetOptionalCharacterString interface { // BACnetOptionalCharacterStringContract provides a set of functions which can be overwritten by a sub struct type BACnetOptionalCharacterStringContract interface { - utils.Copyable // GetPeekedTagHeader returns PeekedTagHeader (property field) GetPeekedTagHeader() BACnetTagHeader // GetPeekedTagNumber returns PeekedTagNumber (virtual field) diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalCharacterStringNull.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalCharacterStringNull.go index 89cf6cfc9a..b809e7ddee 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalCharacterStringNull.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalCharacterStringNull.go @@ -189,7 +189,7 @@ func (m *_BACnetOptionalCharacterStringNull) deepCopy() *_BACnetOptionalCharacte return nil } _BACnetOptionalCharacterStringNullCopy := &_BACnetOptionalCharacterStringNull{ - m.BACnetOptionalCharacterStringContract.DeepCopy().(BACnetOptionalCharacterStringContract), + m.BACnetOptionalCharacterStringContract.(*_BACnetOptionalCharacterString).deepCopy(), m.NullValue.DeepCopy().(BACnetApplicationTagNull), } m.BACnetOptionalCharacterStringContract.(*_BACnetOptionalCharacterString)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalCharacterStringValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalCharacterStringValue.go index 65528a25ad..13f3712196 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalCharacterStringValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalCharacterStringValue.go @@ -189,7 +189,7 @@ func (m *_BACnetOptionalCharacterStringValue) deepCopy() *_BACnetOptionalCharact return nil } _BACnetOptionalCharacterStringValueCopy := &_BACnetOptionalCharacterStringValue{ - m.BACnetOptionalCharacterStringContract.DeepCopy().(BACnetOptionalCharacterStringContract), + m.BACnetOptionalCharacterStringContract.(*_BACnetOptionalCharacterString).deepCopy(), m.Characterstring.DeepCopy().(BACnetApplicationTagCharacterString), } m.BACnetOptionalCharacterStringContract.(*_BACnetOptionalCharacterString)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalREAL.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalREAL.go index 505333a093..b3c68bd0d3 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalREAL.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalREAL.go @@ -47,7 +47,6 @@ type BACnetOptionalREAL interface { // BACnetOptionalREALContract provides a set of functions which can be overwritten by a sub struct type BACnetOptionalREALContract interface { - utils.Copyable // GetPeekedTagHeader returns PeekedTagHeader (property field) GetPeekedTagHeader() BACnetTagHeader // GetPeekedTagNumber returns PeekedTagNumber (virtual field) diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalREALNull.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalREALNull.go index ec19bb733e..bf148fd773 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalREALNull.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalREALNull.go @@ -189,7 +189,7 @@ func (m *_BACnetOptionalREALNull) deepCopy() *_BACnetOptionalREALNull { return nil } _BACnetOptionalREALNullCopy := &_BACnetOptionalREALNull{ - m.BACnetOptionalREALContract.DeepCopy().(BACnetOptionalREALContract), + m.BACnetOptionalREALContract.(*_BACnetOptionalREAL).deepCopy(), m.NullValue.DeepCopy().(BACnetApplicationTagNull), } m.BACnetOptionalREALContract.(*_BACnetOptionalREAL)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalREALValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalREALValue.go index 126cc75954..0fac820658 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalREALValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalREALValue.go @@ -189,7 +189,7 @@ func (m *_BACnetOptionalREALValue) deepCopy() *_BACnetOptionalREALValue { return nil } _BACnetOptionalREALValueCopy := &_BACnetOptionalREALValue{ - m.BACnetOptionalREALContract.DeepCopy().(BACnetOptionalREALContract), + m.BACnetOptionalREALContract.(*_BACnetOptionalREAL).deepCopy(), m.RealValue.DeepCopy().(BACnetApplicationTagReal), } m.BACnetOptionalREALContract.(*_BACnetOptionalREAL)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalUnsigned.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalUnsigned.go index cd74caafa2..b0c6392901 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalUnsigned.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalUnsigned.go @@ -47,7 +47,6 @@ type BACnetOptionalUnsigned interface { // BACnetOptionalUnsignedContract provides a set of functions which can be overwritten by a sub struct type BACnetOptionalUnsignedContract interface { - utils.Copyable // GetPeekedTagHeader returns PeekedTagHeader (property field) GetPeekedTagHeader() BACnetTagHeader // GetPeekedTagNumber returns PeekedTagNumber (virtual field) diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalUnsignedNull.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalUnsignedNull.go index ab11b5061a..8c4c8fdaf8 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalUnsignedNull.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalUnsignedNull.go @@ -189,7 +189,7 @@ func (m *_BACnetOptionalUnsignedNull) deepCopy() *_BACnetOptionalUnsignedNull { return nil } _BACnetOptionalUnsignedNullCopy := &_BACnetOptionalUnsignedNull{ - m.BACnetOptionalUnsignedContract.DeepCopy().(BACnetOptionalUnsignedContract), + m.BACnetOptionalUnsignedContract.(*_BACnetOptionalUnsigned).deepCopy(), m.NullValue.DeepCopy().(BACnetApplicationTagNull), } m.BACnetOptionalUnsignedContract.(*_BACnetOptionalUnsigned)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalUnsignedValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalUnsignedValue.go index 04462a1b93..dcb5f3c0d3 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalUnsignedValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetOptionalUnsignedValue.go @@ -189,7 +189,7 @@ func (m *_BACnetOptionalUnsignedValue) deepCopy() *_BACnetOptionalUnsignedValue return nil } _BACnetOptionalUnsignedValueCopy := &_BACnetOptionalUnsignedValue{ - m.BACnetOptionalUnsignedContract.DeepCopy().(BACnetOptionalUnsignedContract), + m.BACnetOptionalUnsignedContract.(*_BACnetOptionalUnsigned).deepCopy(), m.UnsignedValue.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetOptionalUnsignedContract.(*_BACnetOptionalUnsigned)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValue.go index e31d9a5780..1bfe340259 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValue.go @@ -47,7 +47,6 @@ type BACnetPriorityValue interface { // BACnetPriorityValueContract provides a set of functions which can be overwritten by a sub struct type BACnetPriorityValueContract interface { - utils.Copyable // GetPeekedTagHeader returns PeekedTagHeader (property field) GetPeekedTagHeader() BACnetTagHeader // GetPeekedTagNumber returns PeekedTagNumber (virtual field) diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueBitString.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueBitString.go index 76f076f2d2..5b4a5e66a6 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueBitString.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueBitString.go @@ -189,7 +189,7 @@ func (m *_BACnetPriorityValueBitString) deepCopy() *_BACnetPriorityValueBitStrin return nil } _BACnetPriorityValueBitStringCopy := &_BACnetPriorityValueBitString{ - m.BACnetPriorityValueContract.DeepCopy().(BACnetPriorityValueContract), + m.BACnetPriorityValueContract.(*_BACnetPriorityValue).deepCopy(), m.BitStringValue.DeepCopy().(BACnetApplicationTagBitString), } m.BACnetPriorityValueContract.(*_BACnetPriorityValue)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueBoolean.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueBoolean.go index f1d41c7032..31256e9d52 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueBoolean.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueBoolean.go @@ -189,7 +189,7 @@ func (m *_BACnetPriorityValueBoolean) deepCopy() *_BACnetPriorityValueBoolean { return nil } _BACnetPriorityValueBooleanCopy := &_BACnetPriorityValueBoolean{ - m.BACnetPriorityValueContract.DeepCopy().(BACnetPriorityValueContract), + m.BACnetPriorityValueContract.(*_BACnetPriorityValue).deepCopy(), m.BooleanValue.DeepCopy().(BACnetApplicationTagBoolean), } m.BACnetPriorityValueContract.(*_BACnetPriorityValue)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueCharacterString.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueCharacterString.go index 985ad85a88..40d1fc59c5 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueCharacterString.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueCharacterString.go @@ -189,7 +189,7 @@ func (m *_BACnetPriorityValueCharacterString) deepCopy() *_BACnetPriorityValueCh return nil } _BACnetPriorityValueCharacterStringCopy := &_BACnetPriorityValueCharacterString{ - m.BACnetPriorityValueContract.DeepCopy().(BACnetPriorityValueContract), + m.BACnetPriorityValueContract.(*_BACnetPriorityValue).deepCopy(), m.CharacterStringValue.DeepCopy().(BACnetApplicationTagCharacterString), } m.BACnetPriorityValueContract.(*_BACnetPriorityValue)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueConstructedValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueConstructedValue.go index 7725af63dc..fbce7a44be 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueConstructedValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueConstructedValue.go @@ -189,7 +189,7 @@ func (m *_BACnetPriorityValueConstructedValue) deepCopy() *_BACnetPriorityValueC return nil } _BACnetPriorityValueConstructedValueCopy := &_BACnetPriorityValueConstructedValue{ - m.BACnetPriorityValueContract.DeepCopy().(BACnetPriorityValueContract), + m.BACnetPriorityValueContract.(*_BACnetPriorityValue).deepCopy(), m.ConstructedValue.DeepCopy().(BACnetConstructedData), } m.BACnetPriorityValueContract.(*_BACnetPriorityValue)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueDate.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueDate.go index e0d97b0d62..a872763a29 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueDate.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueDate.go @@ -189,7 +189,7 @@ func (m *_BACnetPriorityValueDate) deepCopy() *_BACnetPriorityValueDate { return nil } _BACnetPriorityValueDateCopy := &_BACnetPriorityValueDate{ - m.BACnetPriorityValueContract.DeepCopy().(BACnetPriorityValueContract), + m.BACnetPriorityValueContract.(*_BACnetPriorityValue).deepCopy(), m.DateValue.DeepCopy().(BACnetApplicationTagDate), } m.BACnetPriorityValueContract.(*_BACnetPriorityValue)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueDateTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueDateTime.go index 89b8726ad6..d9323f20f2 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueDateTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueDateTime.go @@ -189,7 +189,7 @@ func (m *_BACnetPriorityValueDateTime) deepCopy() *_BACnetPriorityValueDateTime return nil } _BACnetPriorityValueDateTimeCopy := &_BACnetPriorityValueDateTime{ - m.BACnetPriorityValueContract.DeepCopy().(BACnetPriorityValueContract), + m.BACnetPriorityValueContract.(*_BACnetPriorityValue).deepCopy(), m.DateTimeValue.DeepCopy().(BACnetDateTimeEnclosed), } m.BACnetPriorityValueContract.(*_BACnetPriorityValue)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueDouble.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueDouble.go index 03ad073929..d7558e26dc 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueDouble.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueDouble.go @@ -189,7 +189,7 @@ func (m *_BACnetPriorityValueDouble) deepCopy() *_BACnetPriorityValueDouble { return nil } _BACnetPriorityValueDoubleCopy := &_BACnetPriorityValueDouble{ - m.BACnetPriorityValueContract.DeepCopy().(BACnetPriorityValueContract), + m.BACnetPriorityValueContract.(*_BACnetPriorityValue).deepCopy(), m.DoubleValue.DeepCopy().(BACnetApplicationTagDouble), } m.BACnetPriorityValueContract.(*_BACnetPriorityValue)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueEnumerated.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueEnumerated.go index 04ec594efd..9efe092982 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueEnumerated.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueEnumerated.go @@ -189,7 +189,7 @@ func (m *_BACnetPriorityValueEnumerated) deepCopy() *_BACnetPriorityValueEnumera return nil } _BACnetPriorityValueEnumeratedCopy := &_BACnetPriorityValueEnumerated{ - m.BACnetPriorityValueContract.DeepCopy().(BACnetPriorityValueContract), + m.BACnetPriorityValueContract.(*_BACnetPriorityValue).deepCopy(), m.EnumeratedValue.DeepCopy().(BACnetApplicationTagEnumerated), } m.BACnetPriorityValueContract.(*_BACnetPriorityValue)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueInteger.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueInteger.go index b5375734df..0355871cf0 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueInteger.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueInteger.go @@ -189,7 +189,7 @@ func (m *_BACnetPriorityValueInteger) deepCopy() *_BACnetPriorityValueInteger { return nil } _BACnetPriorityValueIntegerCopy := &_BACnetPriorityValueInteger{ - m.BACnetPriorityValueContract.DeepCopy().(BACnetPriorityValueContract), + m.BACnetPriorityValueContract.(*_BACnetPriorityValue).deepCopy(), m.IntegerValue.DeepCopy().(BACnetApplicationTagSignedInteger), } m.BACnetPriorityValueContract.(*_BACnetPriorityValue)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueNull.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueNull.go index 71b0634efc..97066834b1 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueNull.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueNull.go @@ -189,7 +189,7 @@ func (m *_BACnetPriorityValueNull) deepCopy() *_BACnetPriorityValueNull { return nil } _BACnetPriorityValueNullCopy := &_BACnetPriorityValueNull{ - m.BACnetPriorityValueContract.DeepCopy().(BACnetPriorityValueContract), + m.BACnetPriorityValueContract.(*_BACnetPriorityValue).deepCopy(), m.NullValue.DeepCopy().(BACnetApplicationTagNull), } m.BACnetPriorityValueContract.(*_BACnetPriorityValue)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueObjectidentifier.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueObjectidentifier.go index 3b52b6abce..4f49a817e2 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueObjectidentifier.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueObjectidentifier.go @@ -189,7 +189,7 @@ func (m *_BACnetPriorityValueObjectidentifier) deepCopy() *_BACnetPriorityValueO return nil } _BACnetPriorityValueObjectidentifierCopy := &_BACnetPriorityValueObjectidentifier{ - m.BACnetPriorityValueContract.DeepCopy().(BACnetPriorityValueContract), + m.BACnetPriorityValueContract.(*_BACnetPriorityValue).deepCopy(), m.ObjectidentifierValue.DeepCopy().(BACnetApplicationTagObjectIdentifier), } m.BACnetPriorityValueContract.(*_BACnetPriorityValue)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueOctetString.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueOctetString.go index e935c20de6..ecb169a0d2 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueOctetString.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueOctetString.go @@ -189,7 +189,7 @@ func (m *_BACnetPriorityValueOctetString) deepCopy() *_BACnetPriorityValueOctetS return nil } _BACnetPriorityValueOctetStringCopy := &_BACnetPriorityValueOctetString{ - m.BACnetPriorityValueContract.DeepCopy().(BACnetPriorityValueContract), + m.BACnetPriorityValueContract.(*_BACnetPriorityValue).deepCopy(), m.OctetStringValue.DeepCopy().(BACnetApplicationTagOctetString), } m.BACnetPriorityValueContract.(*_BACnetPriorityValue)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueReal.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueReal.go index 39b136b0d7..8d964f5bee 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueReal.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueReal.go @@ -189,7 +189,7 @@ func (m *_BACnetPriorityValueReal) deepCopy() *_BACnetPriorityValueReal { return nil } _BACnetPriorityValueRealCopy := &_BACnetPriorityValueReal{ - m.BACnetPriorityValueContract.DeepCopy().(BACnetPriorityValueContract), + m.BACnetPriorityValueContract.(*_BACnetPriorityValue).deepCopy(), m.RealValue.DeepCopy().(BACnetApplicationTagReal), } m.BACnetPriorityValueContract.(*_BACnetPriorityValue)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueTime.go index 30f13b40c9..4a3027e507 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueTime.go @@ -189,7 +189,7 @@ func (m *_BACnetPriorityValueTime) deepCopy() *_BACnetPriorityValueTime { return nil } _BACnetPriorityValueTimeCopy := &_BACnetPriorityValueTime{ - m.BACnetPriorityValueContract.DeepCopy().(BACnetPriorityValueContract), + m.BACnetPriorityValueContract.(*_BACnetPriorityValue).deepCopy(), m.TimeValue.DeepCopy().(BACnetApplicationTagTime), } m.BACnetPriorityValueContract.(*_BACnetPriorityValue)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueUnsigned.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueUnsigned.go index e6e73dcdfa..a5433e8cd4 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueUnsigned.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPriorityValueUnsigned.go @@ -189,7 +189,7 @@ func (m *_BACnetPriorityValueUnsigned) deepCopy() *_BACnetPriorityValueUnsigned return nil } _BACnetPriorityValueUnsignedCopy := &_BACnetPriorityValueUnsigned{ - m.BACnetPriorityValueContract.DeepCopy().(BACnetPriorityValueContract), + m.BACnetPriorityValueContract.(*_BACnetPriorityValue).deepCopy(), m.UnsignedValue.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetPriorityValueContract.(*_BACnetPriorityValue)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetProcessIdSelection.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetProcessIdSelection.go index b47e608f16..26793708f4 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetProcessIdSelection.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetProcessIdSelection.go @@ -47,7 +47,6 @@ type BACnetProcessIdSelection interface { // BACnetProcessIdSelectionContract provides a set of functions which can be overwritten by a sub struct type BACnetProcessIdSelectionContract interface { - utils.Copyable // GetPeekedTagHeader returns PeekedTagHeader (property field) GetPeekedTagHeader() BACnetTagHeader // GetPeekedTagNumber returns PeekedTagNumber (virtual field) diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetProcessIdSelectionNull.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetProcessIdSelectionNull.go index 13779d9c17..f9505f12ff 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetProcessIdSelectionNull.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetProcessIdSelectionNull.go @@ -189,7 +189,7 @@ func (m *_BACnetProcessIdSelectionNull) deepCopy() *_BACnetProcessIdSelectionNul return nil } _BACnetProcessIdSelectionNullCopy := &_BACnetProcessIdSelectionNull{ - m.BACnetProcessIdSelectionContract.DeepCopy().(BACnetProcessIdSelectionContract), + m.BACnetProcessIdSelectionContract.(*_BACnetProcessIdSelection).deepCopy(), m.NullValue.DeepCopy().(BACnetApplicationTagNull), } m.BACnetProcessIdSelectionContract.(*_BACnetProcessIdSelection)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetProcessIdSelectionValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetProcessIdSelectionValue.go index 1caaf73869..9943cc8302 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetProcessIdSelectionValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetProcessIdSelectionValue.go @@ -189,7 +189,7 @@ func (m *_BACnetProcessIdSelectionValue) deepCopy() *_BACnetProcessIdSelectionVa return nil } _BACnetProcessIdSelectionValueCopy := &_BACnetProcessIdSelectionValue{ - m.BACnetProcessIdSelectionContract.DeepCopy().(BACnetProcessIdSelectionContract), + m.BACnetProcessIdSelectionContract.(*_BACnetProcessIdSelection).deepCopy(), m.ProcessIdentifier.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetProcessIdSelectionContract.(*_BACnetProcessIdSelection)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyAccessResultAccessResult.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyAccessResultAccessResult.go index db24e587b7..39ce0edb2a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyAccessResultAccessResult.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyAccessResultAccessResult.go @@ -47,7 +47,6 @@ type BACnetPropertyAccessResultAccessResult interface { // BACnetPropertyAccessResultAccessResultContract provides a set of functions which can be overwritten by a sub struct type BACnetPropertyAccessResultAccessResultContract interface { - utils.Copyable // GetPeekedTagHeader returns PeekedTagHeader (property field) GetPeekedTagHeader() BACnetTagHeader // GetPeekedTagNumber returns PeekedTagNumber (virtual field) diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyAccessResultAccessResultPropertyAccessError.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyAccessResultAccessResultPropertyAccessError.go index 3dac022fcd..c3bbf5e466 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyAccessResultAccessResultPropertyAccessError.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyAccessResultAccessResultPropertyAccessError.go @@ -190,7 +190,7 @@ func (m *_BACnetPropertyAccessResultAccessResultPropertyAccessError) deepCopy() return nil } _BACnetPropertyAccessResultAccessResultPropertyAccessErrorCopy := &_BACnetPropertyAccessResultAccessResultPropertyAccessError{ - m.BACnetPropertyAccessResultAccessResultContract.DeepCopy().(BACnetPropertyAccessResultAccessResultContract), + m.BACnetPropertyAccessResultAccessResultContract.(*_BACnetPropertyAccessResultAccessResult).deepCopy(), m.PropertyAccessError.DeepCopy().(ErrorEnclosed), } m.BACnetPropertyAccessResultAccessResultContract.(*_BACnetPropertyAccessResultAccessResult)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyAccessResultAccessResultPropertyValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyAccessResultAccessResultPropertyValue.go index dfe9f043c3..4298e89464 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyAccessResultAccessResultPropertyValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyAccessResultAccessResultPropertyValue.go @@ -190,7 +190,7 @@ func (m *_BACnetPropertyAccessResultAccessResultPropertyValue) deepCopy() *_BACn return nil } _BACnetPropertyAccessResultAccessResultPropertyValueCopy := &_BACnetPropertyAccessResultAccessResultPropertyValue{ - m.BACnetPropertyAccessResultAccessResultContract.DeepCopy().(BACnetPropertyAccessResultAccessResultContract), + m.BACnetPropertyAccessResultAccessResultContract.(*_BACnetPropertyAccessResultAccessResult).deepCopy(), m.PropertyValue.DeepCopy().(BACnetConstructedData), } m.BACnetPropertyAccessResultAccessResultContract.(*_BACnetPropertyAccessResultAccessResult)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStateActionUnknown.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStateActionUnknown.go index c6824376d3..40cc70f4f0 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStateActionUnknown.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStateActionUnknown.go @@ -189,7 +189,7 @@ func (m *_BACnetPropertyStateActionUnknown) deepCopy() *_BACnetPropertyStateActi return nil } _BACnetPropertyStateActionUnknownCopy := &_BACnetPropertyStateActionUnknown{ - m.BACnetPropertyStatesContract.DeepCopy().(BACnetPropertyStatesContract), + m.BACnetPropertyStatesContract.(*_BACnetPropertyStates).deepCopy(), m.UnknownValue.DeepCopy().(BACnetContextTagUnknown), } m.BACnetPropertyStatesContract.(*_BACnetPropertyStates)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStates.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStates.go index 63a18994b6..9b3ead2ca1 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStates.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStates.go @@ -47,7 +47,6 @@ type BACnetPropertyStates interface { // BACnetPropertyStatesContract provides a set of functions which can be overwritten by a sub struct type BACnetPropertyStatesContract interface { - utils.Copyable // GetPeekedTagHeader returns PeekedTagHeader (property field) GetPeekedTagHeader() BACnetTagHeader // GetPeekedTagNumber returns PeekedTagNumber (virtual field) diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesAccessCredentialDisable.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesAccessCredentialDisable.go index 44adc978f1..f44b67d1d5 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesAccessCredentialDisable.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesAccessCredentialDisable.go @@ -190,7 +190,7 @@ func (m *_BACnetPropertyStatesAccessCredentialDisable) deepCopy() *_BACnetProper return nil } _BACnetPropertyStatesAccessCredentialDisableCopy := &_BACnetPropertyStatesAccessCredentialDisable{ - m.BACnetPropertyStatesContract.DeepCopy().(BACnetPropertyStatesContract), + m.BACnetPropertyStatesContract.(*_BACnetPropertyStates).deepCopy(), m.AccessCredentialDisable.DeepCopy().(BACnetAccessCredentialDisableTagged), } m.BACnetPropertyStatesContract.(*_BACnetPropertyStates)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesAccessCredentialDisableReason.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesAccessCredentialDisableReason.go index a5a24efcc4..e553c7c637 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesAccessCredentialDisableReason.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesAccessCredentialDisableReason.go @@ -190,7 +190,7 @@ func (m *_BACnetPropertyStatesAccessCredentialDisableReason) deepCopy() *_BACnet return nil } _BACnetPropertyStatesAccessCredentialDisableReasonCopy := &_BACnetPropertyStatesAccessCredentialDisableReason{ - m.BACnetPropertyStatesContract.DeepCopy().(BACnetPropertyStatesContract), + m.BACnetPropertyStatesContract.(*_BACnetPropertyStates).deepCopy(), m.AccessCredentialDisableReason.DeepCopy().(BACnetAccessCredentialDisableReasonTagged), } m.BACnetPropertyStatesContract.(*_BACnetPropertyStates)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesAccessEvent.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesAccessEvent.go index aa3e2357c2..dc236b7fb7 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesAccessEvent.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesAccessEvent.go @@ -189,7 +189,7 @@ func (m *_BACnetPropertyStatesAccessEvent) deepCopy() *_BACnetPropertyStatesAcce return nil } _BACnetPropertyStatesAccessEventCopy := &_BACnetPropertyStatesAccessEvent{ - m.BACnetPropertyStatesContract.DeepCopy().(BACnetPropertyStatesContract), + m.BACnetPropertyStatesContract.(*_BACnetPropertyStates).deepCopy(), m.AccessEvent.DeepCopy().(BACnetAccessEventTagged), } m.BACnetPropertyStatesContract.(*_BACnetPropertyStates)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesAction.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesAction.go index e01a3b0db0..2abb3d4e6d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesAction.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesAction.go @@ -189,7 +189,7 @@ func (m *_BACnetPropertyStatesAction) deepCopy() *_BACnetPropertyStatesAction { return nil } _BACnetPropertyStatesActionCopy := &_BACnetPropertyStatesAction{ - m.BACnetPropertyStatesContract.DeepCopy().(BACnetPropertyStatesContract), + m.BACnetPropertyStatesContract.(*_BACnetPropertyStates).deepCopy(), m.Action.DeepCopy().(BACnetActionTagged), } m.BACnetPropertyStatesContract.(*_BACnetPropertyStates)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesAuthenticationStatus.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesAuthenticationStatus.go index 1f72376044..698f48f3ad 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesAuthenticationStatus.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesAuthenticationStatus.go @@ -189,7 +189,7 @@ func (m *_BACnetPropertyStatesAuthenticationStatus) deepCopy() *_BACnetPropertyS return nil } _BACnetPropertyStatesAuthenticationStatusCopy := &_BACnetPropertyStatesAuthenticationStatus{ - m.BACnetPropertyStatesContract.DeepCopy().(BACnetPropertyStatesContract), + m.BACnetPropertyStatesContract.(*_BACnetPropertyStates).deepCopy(), m.AuthenticationStatus.DeepCopy().(BACnetAuthenticationStatusTagged), } m.BACnetPropertyStatesContract.(*_BACnetPropertyStates)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesBackupState.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesBackupState.go index 287a5f782d..a538f90047 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesBackupState.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesBackupState.go @@ -189,7 +189,7 @@ func (m *_BACnetPropertyStatesBackupState) deepCopy() *_BACnetPropertyStatesBack return nil } _BACnetPropertyStatesBackupStateCopy := &_BACnetPropertyStatesBackupState{ - m.BACnetPropertyStatesContract.DeepCopy().(BACnetPropertyStatesContract), + m.BACnetPropertyStatesContract.(*_BACnetPropertyStates).deepCopy(), m.BackupState.DeepCopy().(BACnetBackupStateTagged), } m.BACnetPropertyStatesContract.(*_BACnetPropertyStates)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesBacnetIpMode.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesBacnetIpMode.go index 2e15797ad6..c5b7344a8a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesBacnetIpMode.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesBacnetIpMode.go @@ -189,7 +189,7 @@ func (m *_BACnetPropertyStatesBacnetIpMode) deepCopy() *_BACnetPropertyStatesBac return nil } _BACnetPropertyStatesBacnetIpModeCopy := &_BACnetPropertyStatesBacnetIpMode{ - m.BACnetPropertyStatesContract.DeepCopy().(BACnetPropertyStatesContract), + m.BACnetPropertyStatesContract.(*_BACnetPropertyStates).deepCopy(), m.BacnetIpMode.DeepCopy().(BACnetIPModeTagged), } m.BACnetPropertyStatesContract.(*_BACnetPropertyStates)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesBinaryLightningValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesBinaryLightningValue.go index faa8941f8e..baa36c8ed8 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesBinaryLightningValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesBinaryLightningValue.go @@ -189,7 +189,7 @@ func (m *_BACnetPropertyStatesBinaryLightningValue) deepCopy() *_BACnetPropertyS return nil } _BACnetPropertyStatesBinaryLightningValueCopy := &_BACnetPropertyStatesBinaryLightningValue{ - m.BACnetPropertyStatesContract.DeepCopy().(BACnetPropertyStatesContract), + m.BACnetPropertyStatesContract.(*_BACnetPropertyStates).deepCopy(), m.BinaryLightningValue.DeepCopy().(BACnetBinaryLightingPVTagged), } m.BACnetPropertyStatesContract.(*_BACnetPropertyStates)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesBinaryValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesBinaryValue.go index 00a62ab963..3d1f068dbd 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesBinaryValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesBinaryValue.go @@ -189,7 +189,7 @@ func (m *_BACnetPropertyStatesBinaryValue) deepCopy() *_BACnetPropertyStatesBina return nil } _BACnetPropertyStatesBinaryValueCopy := &_BACnetPropertyStatesBinaryValue{ - m.BACnetPropertyStatesContract.DeepCopy().(BACnetPropertyStatesContract), + m.BACnetPropertyStatesContract.(*_BACnetPropertyStates).deepCopy(), m.BinaryValue.DeepCopy().(BACnetBinaryPVTagged), } m.BACnetPropertyStatesContract.(*_BACnetPropertyStates)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesBoolean.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesBoolean.go index 42a3299368..2a010c4708 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesBoolean.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesBoolean.go @@ -189,7 +189,7 @@ func (m *_BACnetPropertyStatesBoolean) deepCopy() *_BACnetPropertyStatesBoolean return nil } _BACnetPropertyStatesBooleanCopy := &_BACnetPropertyStatesBoolean{ - m.BACnetPropertyStatesContract.DeepCopy().(BACnetPropertyStatesContract), + m.BACnetPropertyStatesContract.(*_BACnetPropertyStates).deepCopy(), m.BooleanValue.DeepCopy().(BACnetContextTagBoolean), } m.BACnetPropertyStatesContract.(*_BACnetPropertyStates)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesDoorAlarmState.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesDoorAlarmState.go index e31855f15e..6b15609c48 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesDoorAlarmState.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesDoorAlarmState.go @@ -189,7 +189,7 @@ func (m *_BACnetPropertyStatesDoorAlarmState) deepCopy() *_BACnetPropertyStatesD return nil } _BACnetPropertyStatesDoorAlarmStateCopy := &_BACnetPropertyStatesDoorAlarmState{ - m.BACnetPropertyStatesContract.DeepCopy().(BACnetPropertyStatesContract), + m.BACnetPropertyStatesContract.(*_BACnetPropertyStates).deepCopy(), m.DoorAlarmState.DeepCopy().(BACnetDoorAlarmStateTagged), } m.BACnetPropertyStatesContract.(*_BACnetPropertyStates)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesDoorSecuredStatus.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesDoorSecuredStatus.go index 5c50ca6705..de37324589 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesDoorSecuredStatus.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesDoorSecuredStatus.go @@ -189,7 +189,7 @@ func (m *_BACnetPropertyStatesDoorSecuredStatus) deepCopy() *_BACnetPropertyStat return nil } _BACnetPropertyStatesDoorSecuredStatusCopy := &_BACnetPropertyStatesDoorSecuredStatus{ - m.BACnetPropertyStatesContract.DeepCopy().(BACnetPropertyStatesContract), + m.BACnetPropertyStatesContract.(*_BACnetPropertyStates).deepCopy(), m.DoorSecuredStatus.DeepCopy().(BACnetDoorSecuredStatusTagged), } m.BACnetPropertyStatesContract.(*_BACnetPropertyStates)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesDoorStatus.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesDoorStatus.go index 48c6d55bd8..d785473e02 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesDoorStatus.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesDoorStatus.go @@ -189,7 +189,7 @@ func (m *_BACnetPropertyStatesDoorStatus) deepCopy() *_BACnetPropertyStatesDoorS return nil } _BACnetPropertyStatesDoorStatusCopy := &_BACnetPropertyStatesDoorStatus{ - m.BACnetPropertyStatesContract.DeepCopy().(BACnetPropertyStatesContract), + m.BACnetPropertyStatesContract.(*_BACnetPropertyStates).deepCopy(), m.DoorStatus.DeepCopy().(BACnetDoorStatusTagged), } m.BACnetPropertyStatesContract.(*_BACnetPropertyStates)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesDoorValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesDoorValue.go index f5c7c3c3b7..4227745471 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesDoorValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesDoorValue.go @@ -189,7 +189,7 @@ func (m *_BACnetPropertyStatesDoorValue) deepCopy() *_BACnetPropertyStatesDoorVa return nil } _BACnetPropertyStatesDoorValueCopy := &_BACnetPropertyStatesDoorValue{ - m.BACnetPropertyStatesContract.DeepCopy().(BACnetPropertyStatesContract), + m.BACnetPropertyStatesContract.(*_BACnetPropertyStates).deepCopy(), m.DoorValue.DeepCopy().(BACnetDoorValueTagged), } m.BACnetPropertyStatesContract.(*_BACnetPropertyStates)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesEscalatorFault.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesEscalatorFault.go index a6d394940a..edf01a9e6d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesEscalatorFault.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesEscalatorFault.go @@ -189,7 +189,7 @@ func (m *_BACnetPropertyStatesEscalatorFault) deepCopy() *_BACnetPropertyStatesE return nil } _BACnetPropertyStatesEscalatorFaultCopy := &_BACnetPropertyStatesEscalatorFault{ - m.BACnetPropertyStatesContract.DeepCopy().(BACnetPropertyStatesContract), + m.BACnetPropertyStatesContract.(*_BACnetPropertyStates).deepCopy(), m.EscalatorFault.DeepCopy().(BACnetEscalatorFaultTagged), } m.BACnetPropertyStatesContract.(*_BACnetPropertyStates)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesEscalatorMode.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesEscalatorMode.go index 9b3a2082cd..e02788de7e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesEscalatorMode.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesEscalatorMode.go @@ -189,7 +189,7 @@ func (m *_BACnetPropertyStatesEscalatorMode) deepCopy() *_BACnetPropertyStatesEs return nil } _BACnetPropertyStatesEscalatorModeCopy := &_BACnetPropertyStatesEscalatorMode{ - m.BACnetPropertyStatesContract.DeepCopy().(BACnetPropertyStatesContract), + m.BACnetPropertyStatesContract.(*_BACnetPropertyStates).deepCopy(), m.EscalatorMode.DeepCopy().(BACnetEscalatorModeTagged), } m.BACnetPropertyStatesContract.(*_BACnetPropertyStates)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesEscalatorOperationDirection.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesEscalatorOperationDirection.go index 76f9265e47..dfab1d16c5 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesEscalatorOperationDirection.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesEscalatorOperationDirection.go @@ -190,7 +190,7 @@ func (m *_BACnetPropertyStatesEscalatorOperationDirection) deepCopy() *_BACnetPr return nil } _BACnetPropertyStatesEscalatorOperationDirectionCopy := &_BACnetPropertyStatesEscalatorOperationDirection{ - m.BACnetPropertyStatesContract.DeepCopy().(BACnetPropertyStatesContract), + m.BACnetPropertyStatesContract.(*_BACnetPropertyStates).deepCopy(), m.EscalatorOperationDirection.DeepCopy().(BACnetEscalatorOperationDirectionTagged), } m.BACnetPropertyStatesContract.(*_BACnetPropertyStates)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesEventType.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesEventType.go index c5ccaee594..90606fcd76 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesEventType.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesEventType.go @@ -189,7 +189,7 @@ func (m *_BACnetPropertyStatesEventType) deepCopy() *_BACnetPropertyStatesEventT return nil } _BACnetPropertyStatesEventTypeCopy := &_BACnetPropertyStatesEventType{ - m.BACnetPropertyStatesContract.DeepCopy().(BACnetPropertyStatesContract), + m.BACnetPropertyStatesContract.(*_BACnetPropertyStates).deepCopy(), m.EventType.DeepCopy().(BACnetEventTypeTagged), } m.BACnetPropertyStatesContract.(*_BACnetPropertyStates)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesExtendedValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesExtendedValue.go index 29ea481ed9..c801ece873 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesExtendedValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesExtendedValue.go @@ -189,7 +189,7 @@ func (m *_BACnetPropertyStatesExtendedValue) deepCopy() *_BACnetPropertyStatesEx return nil } _BACnetPropertyStatesExtendedValueCopy := &_BACnetPropertyStatesExtendedValue{ - m.BACnetPropertyStatesContract.DeepCopy().(BACnetPropertyStatesContract), + m.BACnetPropertyStatesContract.(*_BACnetPropertyStates).deepCopy(), m.ExtendedValue.DeepCopy().(BACnetContextTagUnsignedInteger), } m.BACnetPropertyStatesContract.(*_BACnetPropertyStates)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesFileAccessMethod.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesFileAccessMethod.go index 8d09c554ce..28e8432487 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesFileAccessMethod.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesFileAccessMethod.go @@ -189,7 +189,7 @@ func (m *_BACnetPropertyStatesFileAccessMethod) deepCopy() *_BACnetPropertyState return nil } _BACnetPropertyStatesFileAccessMethodCopy := &_BACnetPropertyStatesFileAccessMethod{ - m.BACnetPropertyStatesContract.DeepCopy().(BACnetPropertyStatesContract), + m.BACnetPropertyStatesContract.(*_BACnetPropertyStates).deepCopy(), m.FileAccessMethod.DeepCopy().(BACnetFileAccessMethodTagged), } m.BACnetPropertyStatesContract.(*_BACnetPropertyStates)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesIntegerValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesIntegerValue.go index 1bceda3204..7d3c167d75 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesIntegerValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesIntegerValue.go @@ -189,7 +189,7 @@ func (m *_BACnetPropertyStatesIntegerValue) deepCopy() *_BACnetPropertyStatesInt return nil } _BACnetPropertyStatesIntegerValueCopy := &_BACnetPropertyStatesIntegerValue{ - m.BACnetPropertyStatesContract.DeepCopy().(BACnetPropertyStatesContract), + m.BACnetPropertyStatesContract.(*_BACnetPropertyStates).deepCopy(), m.IntegerValue.DeepCopy().(BACnetContextTagSignedInteger), } m.BACnetPropertyStatesContract.(*_BACnetPropertyStates)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLifeSafetyMode.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLifeSafetyMode.go index 924d0a2726..275436befa 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLifeSafetyMode.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLifeSafetyMode.go @@ -189,7 +189,7 @@ func (m *_BACnetPropertyStatesLifeSafetyMode) deepCopy() *_BACnetPropertyStatesL return nil } _BACnetPropertyStatesLifeSafetyModeCopy := &_BACnetPropertyStatesLifeSafetyMode{ - m.BACnetPropertyStatesContract.DeepCopy().(BACnetPropertyStatesContract), + m.BACnetPropertyStatesContract.(*_BACnetPropertyStates).deepCopy(), m.LifeSafetyMode.DeepCopy().(BACnetLifeSafetyModeTagged), } m.BACnetPropertyStatesContract.(*_BACnetPropertyStates)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLifeSafetyOperations.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLifeSafetyOperations.go index f2315f8be3..9543bcb119 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLifeSafetyOperations.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLifeSafetyOperations.go @@ -189,7 +189,7 @@ func (m *_BACnetPropertyStatesLifeSafetyOperations) deepCopy() *_BACnetPropertyS return nil } _BACnetPropertyStatesLifeSafetyOperationsCopy := &_BACnetPropertyStatesLifeSafetyOperations{ - m.BACnetPropertyStatesContract.DeepCopy().(BACnetPropertyStatesContract), + m.BACnetPropertyStatesContract.(*_BACnetPropertyStates).deepCopy(), m.LifeSafetyOperations.DeepCopy().(BACnetLifeSafetyOperationTagged), } m.BACnetPropertyStatesContract.(*_BACnetPropertyStates)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLifeSafetyState.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLifeSafetyState.go index be0ca36b4a..3b5be9d60b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLifeSafetyState.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLifeSafetyState.go @@ -189,7 +189,7 @@ func (m *_BACnetPropertyStatesLifeSafetyState) deepCopy() *_BACnetPropertyStates return nil } _BACnetPropertyStatesLifeSafetyStateCopy := &_BACnetPropertyStatesLifeSafetyState{ - m.BACnetPropertyStatesContract.DeepCopy().(BACnetPropertyStatesContract), + m.BACnetPropertyStatesContract.(*_BACnetPropertyStates).deepCopy(), m.LifeSafetyState.DeepCopy().(BACnetLifeSafetyStateTagged), } m.BACnetPropertyStatesContract.(*_BACnetPropertyStates)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLiftCarDirection.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLiftCarDirection.go index 048cb76c51..fec5d70d63 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLiftCarDirection.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLiftCarDirection.go @@ -189,7 +189,7 @@ func (m *_BACnetPropertyStatesLiftCarDirection) deepCopy() *_BACnetPropertyState return nil } _BACnetPropertyStatesLiftCarDirectionCopy := &_BACnetPropertyStatesLiftCarDirection{ - m.BACnetPropertyStatesContract.DeepCopy().(BACnetPropertyStatesContract), + m.BACnetPropertyStatesContract.(*_BACnetPropertyStates).deepCopy(), m.LiftCarDirection.DeepCopy().(BACnetLiftCarDirectionTagged), } m.BACnetPropertyStatesContract.(*_BACnetPropertyStates)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLiftCarDoorCommand.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLiftCarDoorCommand.go index 2682d8b2ed..8acba2411c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLiftCarDoorCommand.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLiftCarDoorCommand.go @@ -189,7 +189,7 @@ func (m *_BACnetPropertyStatesLiftCarDoorCommand) deepCopy() *_BACnetPropertySta return nil } _BACnetPropertyStatesLiftCarDoorCommandCopy := &_BACnetPropertyStatesLiftCarDoorCommand{ - m.BACnetPropertyStatesContract.DeepCopy().(BACnetPropertyStatesContract), + m.BACnetPropertyStatesContract.(*_BACnetPropertyStates).deepCopy(), m.LiftCarDoorCommand.DeepCopy().(BACnetLiftCarDoorCommandTagged), } m.BACnetPropertyStatesContract.(*_BACnetPropertyStates)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLiftCarDriveStatus.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLiftCarDriveStatus.go index 9ddced1af7..d84c641cf7 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLiftCarDriveStatus.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLiftCarDriveStatus.go @@ -189,7 +189,7 @@ func (m *_BACnetPropertyStatesLiftCarDriveStatus) deepCopy() *_BACnetPropertySta return nil } _BACnetPropertyStatesLiftCarDriveStatusCopy := &_BACnetPropertyStatesLiftCarDriveStatus{ - m.BACnetPropertyStatesContract.DeepCopy().(BACnetPropertyStatesContract), + m.BACnetPropertyStatesContract.(*_BACnetPropertyStates).deepCopy(), m.LiftCarDriveStatus.DeepCopy().(BACnetLiftCarDriveStatusTagged), } m.BACnetPropertyStatesContract.(*_BACnetPropertyStates)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLiftCarMode.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLiftCarMode.go index 8733f8330b..9879fe078a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLiftCarMode.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLiftCarMode.go @@ -189,7 +189,7 @@ func (m *_BACnetPropertyStatesLiftCarMode) deepCopy() *_BACnetPropertyStatesLift return nil } _BACnetPropertyStatesLiftCarModeCopy := &_BACnetPropertyStatesLiftCarMode{ - m.BACnetPropertyStatesContract.DeepCopy().(BACnetPropertyStatesContract), + m.BACnetPropertyStatesContract.(*_BACnetPropertyStates).deepCopy(), m.LiftCarMode.DeepCopy().(BACnetLiftCarModeTagged), } m.BACnetPropertyStatesContract.(*_BACnetPropertyStates)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLiftFault.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLiftFault.go index dc23d89e1e..6cad0e4ff7 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLiftFault.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLiftFault.go @@ -189,7 +189,7 @@ func (m *_BACnetPropertyStatesLiftFault) deepCopy() *_BACnetPropertyStatesLiftFa return nil } _BACnetPropertyStatesLiftFaultCopy := &_BACnetPropertyStatesLiftFault{ - m.BACnetPropertyStatesContract.DeepCopy().(BACnetPropertyStatesContract), + m.BACnetPropertyStatesContract.(*_BACnetPropertyStates).deepCopy(), m.LiftFault.DeepCopy().(BACnetLiftFaultTagged), } m.BACnetPropertyStatesContract.(*_BACnetPropertyStates)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLiftGroupMode.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLiftGroupMode.go index cf037ea4e5..7e930ea502 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLiftGroupMode.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLiftGroupMode.go @@ -189,7 +189,7 @@ func (m *_BACnetPropertyStatesLiftGroupMode) deepCopy() *_BACnetPropertyStatesLi return nil } _BACnetPropertyStatesLiftGroupModeCopy := &_BACnetPropertyStatesLiftGroupMode{ - m.BACnetPropertyStatesContract.DeepCopy().(BACnetPropertyStatesContract), + m.BACnetPropertyStatesContract.(*_BACnetPropertyStates).deepCopy(), m.LiftGroupMode.DeepCopy().(BACnetLiftGroupModeTagged), } m.BACnetPropertyStatesContract.(*_BACnetPropertyStates)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLightningInProgress.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLightningInProgress.go index 649e03ea75..631f57bf2f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLightningInProgress.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLightningInProgress.go @@ -189,7 +189,7 @@ func (m *_BACnetPropertyStatesLightningInProgress) deepCopy() *_BACnetPropertySt return nil } _BACnetPropertyStatesLightningInProgressCopy := &_BACnetPropertyStatesLightningInProgress{ - m.BACnetPropertyStatesContract.DeepCopy().(BACnetPropertyStatesContract), + m.BACnetPropertyStatesContract.(*_BACnetPropertyStates).deepCopy(), m.LightningInProgress.DeepCopy().(BACnetLightingInProgressTagged), } m.BACnetPropertyStatesContract.(*_BACnetPropertyStates)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLightningOperation.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLightningOperation.go index c391bd71f9..546ab48e24 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLightningOperation.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLightningOperation.go @@ -189,7 +189,7 @@ func (m *_BACnetPropertyStatesLightningOperation) deepCopy() *_BACnetPropertySta return nil } _BACnetPropertyStatesLightningOperationCopy := &_BACnetPropertyStatesLightningOperation{ - m.BACnetPropertyStatesContract.DeepCopy().(BACnetPropertyStatesContract), + m.BACnetPropertyStatesContract.(*_BACnetPropertyStates).deepCopy(), m.LightningOperation.DeepCopy().(BACnetLightingOperationTagged), } m.BACnetPropertyStatesContract.(*_BACnetPropertyStates)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLightningTransition.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLightningTransition.go index 5ef3b5810c..396ea3b37f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLightningTransition.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLightningTransition.go @@ -189,7 +189,7 @@ func (m *_BACnetPropertyStatesLightningTransition) deepCopy() *_BACnetPropertySt return nil } _BACnetPropertyStatesLightningTransitionCopy := &_BACnetPropertyStatesLightningTransition{ - m.BACnetPropertyStatesContract.DeepCopy().(BACnetPropertyStatesContract), + m.BACnetPropertyStatesContract.(*_BACnetPropertyStates).deepCopy(), m.LightningTransition.DeepCopy().(BACnetLightingTransitionTagged), } m.BACnetPropertyStatesContract.(*_BACnetPropertyStates)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLockStatus.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLockStatus.go index 322459ea5a..26261ad845 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLockStatus.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesLockStatus.go @@ -189,7 +189,7 @@ func (m *_BACnetPropertyStatesLockStatus) deepCopy() *_BACnetPropertyStatesLockS return nil } _BACnetPropertyStatesLockStatusCopy := &_BACnetPropertyStatesLockStatus{ - m.BACnetPropertyStatesContract.DeepCopy().(BACnetPropertyStatesContract), + m.BACnetPropertyStatesContract.(*_BACnetPropertyStates).deepCopy(), m.LockStatus.DeepCopy().(BACnetLockStatusTagged), } m.BACnetPropertyStatesContract.(*_BACnetPropertyStates)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesMaintenance.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesMaintenance.go index f1331a3db7..33af129e1b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesMaintenance.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesMaintenance.go @@ -189,7 +189,7 @@ func (m *_BACnetPropertyStatesMaintenance) deepCopy() *_BACnetPropertyStatesMain return nil } _BACnetPropertyStatesMaintenanceCopy := &_BACnetPropertyStatesMaintenance{ - m.BACnetPropertyStatesContract.DeepCopy().(BACnetPropertyStatesContract), + m.BACnetPropertyStatesContract.(*_BACnetPropertyStates).deepCopy(), m.Maintenance.DeepCopy().(BACnetMaintenanceTagged), } m.BACnetPropertyStatesContract.(*_BACnetPropertyStates)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesNetworkNumberQuality.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesNetworkNumberQuality.go index 10585c4a2a..d2ea4162b6 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesNetworkNumberQuality.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesNetworkNumberQuality.go @@ -189,7 +189,7 @@ func (m *_BACnetPropertyStatesNetworkNumberQuality) deepCopy() *_BACnetPropertyS return nil } _BACnetPropertyStatesNetworkNumberQualityCopy := &_BACnetPropertyStatesNetworkNumberQuality{ - m.BACnetPropertyStatesContract.DeepCopy().(BACnetPropertyStatesContract), + m.BACnetPropertyStatesContract.(*_BACnetPropertyStates).deepCopy(), m.NetworkNumberQuality.DeepCopy().(BACnetNetworkNumberQualityTagged), } m.BACnetPropertyStatesContract.(*_BACnetPropertyStates)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesNetworkPortCommand.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesNetworkPortCommand.go index 3e9c859844..e78056b86d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesNetworkPortCommand.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesNetworkPortCommand.go @@ -189,7 +189,7 @@ func (m *_BACnetPropertyStatesNetworkPortCommand) deepCopy() *_BACnetPropertySta return nil } _BACnetPropertyStatesNetworkPortCommandCopy := &_BACnetPropertyStatesNetworkPortCommand{ - m.BACnetPropertyStatesContract.DeepCopy().(BACnetPropertyStatesContract), + m.BACnetPropertyStatesContract.(*_BACnetPropertyStates).deepCopy(), m.NetworkPortCommand.DeepCopy().(BACnetNetworkPortCommandTagged), } m.BACnetPropertyStatesContract.(*_BACnetPropertyStates)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesNetworkType.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesNetworkType.go index df70434952..52c98bb3a9 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesNetworkType.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesNetworkType.go @@ -189,7 +189,7 @@ func (m *_BACnetPropertyStatesNetworkType) deepCopy() *_BACnetPropertyStatesNetw return nil } _BACnetPropertyStatesNetworkTypeCopy := &_BACnetPropertyStatesNetworkType{ - m.BACnetPropertyStatesContract.DeepCopy().(BACnetPropertyStatesContract), + m.BACnetPropertyStatesContract.(*_BACnetPropertyStates).deepCopy(), m.NetworkType.DeepCopy().(BACnetNetworkTypeTagged), } m.BACnetPropertyStatesContract.(*_BACnetPropertyStates)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesNodeType.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesNodeType.go index 5481ac51bd..ff31177d17 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesNodeType.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesNodeType.go @@ -189,7 +189,7 @@ func (m *_BACnetPropertyStatesNodeType) deepCopy() *_BACnetPropertyStatesNodeTyp return nil } _BACnetPropertyStatesNodeTypeCopy := &_BACnetPropertyStatesNodeType{ - m.BACnetPropertyStatesContract.DeepCopy().(BACnetPropertyStatesContract), + m.BACnetPropertyStatesContract.(*_BACnetPropertyStates).deepCopy(), m.NodeType.DeepCopy().(BACnetNodeTypeTagged), } m.BACnetPropertyStatesContract.(*_BACnetPropertyStates)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesNotifyType.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesNotifyType.go index 76124416e6..42547bc40f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesNotifyType.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesNotifyType.go @@ -189,7 +189,7 @@ func (m *_BACnetPropertyStatesNotifyType) deepCopy() *_BACnetPropertyStatesNotif return nil } _BACnetPropertyStatesNotifyTypeCopy := &_BACnetPropertyStatesNotifyType{ - m.BACnetPropertyStatesContract.DeepCopy().(BACnetPropertyStatesContract), + m.BACnetPropertyStatesContract.(*_BACnetPropertyStates).deepCopy(), m.NotifyType.DeepCopy().(BACnetNotifyTypeTagged), } m.BACnetPropertyStatesContract.(*_BACnetPropertyStates)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesPolarity.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesPolarity.go index d961e80758..5fe39f932e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesPolarity.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesPolarity.go @@ -189,7 +189,7 @@ func (m *_BACnetPropertyStatesPolarity) deepCopy() *_BACnetPropertyStatesPolarit return nil } _BACnetPropertyStatesPolarityCopy := &_BACnetPropertyStatesPolarity{ - m.BACnetPropertyStatesContract.DeepCopy().(BACnetPropertyStatesContract), + m.BACnetPropertyStatesContract.(*_BACnetPropertyStates).deepCopy(), m.Polarity.DeepCopy().(BACnetPolarityTagged), } m.BACnetPropertyStatesContract.(*_BACnetPropertyStates)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesProgramChange.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesProgramChange.go index 4654a67da1..34b8f42ae0 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesProgramChange.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesProgramChange.go @@ -189,7 +189,7 @@ func (m *_BACnetPropertyStatesProgramChange) deepCopy() *_BACnetPropertyStatesPr return nil } _BACnetPropertyStatesProgramChangeCopy := &_BACnetPropertyStatesProgramChange{ - m.BACnetPropertyStatesContract.DeepCopy().(BACnetPropertyStatesContract), + m.BACnetPropertyStatesContract.(*_BACnetPropertyStates).deepCopy(), m.ProgramState.DeepCopy().(BACnetProgramStateTagged), } m.BACnetPropertyStatesContract.(*_BACnetPropertyStates)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesProtocolLevel.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesProtocolLevel.go index 18887e0f2c..155eb2f7e1 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesProtocolLevel.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesProtocolLevel.go @@ -189,7 +189,7 @@ func (m *_BACnetPropertyStatesProtocolLevel) deepCopy() *_BACnetPropertyStatesPr return nil } _BACnetPropertyStatesProtocolLevelCopy := &_BACnetPropertyStatesProtocolLevel{ - m.BACnetPropertyStatesContract.DeepCopy().(BACnetPropertyStatesContract), + m.BACnetPropertyStatesContract.(*_BACnetPropertyStates).deepCopy(), m.ProtocolLevel.DeepCopy().(BACnetProtocolLevelTagged), } m.BACnetPropertyStatesContract.(*_BACnetPropertyStates)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesReasonForHalt.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesReasonForHalt.go index 8866db9891..71dda06621 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesReasonForHalt.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesReasonForHalt.go @@ -189,7 +189,7 @@ func (m *_BACnetPropertyStatesReasonForHalt) deepCopy() *_BACnetPropertyStatesRe return nil } _BACnetPropertyStatesReasonForHaltCopy := &_BACnetPropertyStatesReasonForHalt{ - m.BACnetPropertyStatesContract.DeepCopy().(BACnetPropertyStatesContract), + m.BACnetPropertyStatesContract.(*_BACnetPropertyStates).deepCopy(), m.ReasonForHalt.DeepCopy().(BACnetProgramErrorTagged), } m.BACnetPropertyStatesContract.(*_BACnetPropertyStates)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesReliability.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesReliability.go index 6a0a358919..87f0c2bd15 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesReliability.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesReliability.go @@ -189,7 +189,7 @@ func (m *_BACnetPropertyStatesReliability) deepCopy() *_BACnetPropertyStatesReli return nil } _BACnetPropertyStatesReliabilityCopy := &_BACnetPropertyStatesReliability{ - m.BACnetPropertyStatesContract.DeepCopy().(BACnetPropertyStatesContract), + m.BACnetPropertyStatesContract.(*_BACnetPropertyStates).deepCopy(), m.Reliability.DeepCopy().(BACnetReliabilityTagged), } m.BACnetPropertyStatesContract.(*_BACnetPropertyStates)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesRestartReason.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesRestartReason.go index fa33f424b5..4d6e8434cd 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesRestartReason.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesRestartReason.go @@ -189,7 +189,7 @@ func (m *_BACnetPropertyStatesRestartReason) deepCopy() *_BACnetPropertyStatesRe return nil } _BACnetPropertyStatesRestartReasonCopy := &_BACnetPropertyStatesRestartReason{ - m.BACnetPropertyStatesContract.DeepCopy().(BACnetPropertyStatesContract), + m.BACnetPropertyStatesContract.(*_BACnetPropertyStates).deepCopy(), m.RestartReason.DeepCopy().(BACnetRestartReasonTagged), } m.BACnetPropertyStatesContract.(*_BACnetPropertyStates)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesSecurityLevel.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesSecurityLevel.go index 0a947c6d5a..4a570e661a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesSecurityLevel.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesSecurityLevel.go @@ -189,7 +189,7 @@ func (m *_BACnetPropertyStatesSecurityLevel) deepCopy() *_BACnetPropertyStatesSe return nil } _BACnetPropertyStatesSecurityLevelCopy := &_BACnetPropertyStatesSecurityLevel{ - m.BACnetPropertyStatesContract.DeepCopy().(BACnetPropertyStatesContract), + m.BACnetPropertyStatesContract.(*_BACnetPropertyStates).deepCopy(), m.SecurityLevel.DeepCopy().(BACnetSecurityLevelTagged), } m.BACnetPropertyStatesContract.(*_BACnetPropertyStates)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesShedState.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesShedState.go index fd526f8209..8500c5b96b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesShedState.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesShedState.go @@ -189,7 +189,7 @@ func (m *_BACnetPropertyStatesShedState) deepCopy() *_BACnetPropertyStatesShedSt return nil } _BACnetPropertyStatesShedStateCopy := &_BACnetPropertyStatesShedState{ - m.BACnetPropertyStatesContract.DeepCopy().(BACnetPropertyStatesContract), + m.BACnetPropertyStatesContract.(*_BACnetPropertyStates).deepCopy(), m.ShedState.DeepCopy().(BACnetShedStateTagged), } m.BACnetPropertyStatesContract.(*_BACnetPropertyStates)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesSilencedState.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesSilencedState.go index 1b46782b73..64d20a4245 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesSilencedState.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesSilencedState.go @@ -189,7 +189,7 @@ func (m *_BACnetPropertyStatesSilencedState) deepCopy() *_BACnetPropertyStatesSi return nil } _BACnetPropertyStatesSilencedStateCopy := &_BACnetPropertyStatesSilencedState{ - m.BACnetPropertyStatesContract.DeepCopy().(BACnetPropertyStatesContract), + m.BACnetPropertyStatesContract.(*_BACnetPropertyStates).deepCopy(), m.SilencedState.DeepCopy().(BACnetSilencedStateTagged), } m.BACnetPropertyStatesContract.(*_BACnetPropertyStates)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesState.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesState.go index 4d38a76e63..2f502686ec 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesState.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesState.go @@ -189,7 +189,7 @@ func (m *_BACnetPropertyStatesState) deepCopy() *_BACnetPropertyStatesState { return nil } _BACnetPropertyStatesStateCopy := &_BACnetPropertyStatesState{ - m.BACnetPropertyStatesContract.DeepCopy().(BACnetPropertyStatesContract), + m.BACnetPropertyStatesContract.(*_BACnetPropertyStates).deepCopy(), m.State.DeepCopy().(BACnetEventStateTagged), } m.BACnetPropertyStatesContract.(*_BACnetPropertyStates)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesSystemStatus.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesSystemStatus.go index 7067d572aa..e63b6934bc 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesSystemStatus.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesSystemStatus.go @@ -189,7 +189,7 @@ func (m *_BACnetPropertyStatesSystemStatus) deepCopy() *_BACnetPropertyStatesSys return nil } _BACnetPropertyStatesSystemStatusCopy := &_BACnetPropertyStatesSystemStatus{ - m.BACnetPropertyStatesContract.DeepCopy().(BACnetPropertyStatesContract), + m.BACnetPropertyStatesContract.(*_BACnetPropertyStates).deepCopy(), m.SystemStatus.DeepCopy().(BACnetDeviceStatusTagged), } m.BACnetPropertyStatesContract.(*_BACnetPropertyStates)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesTimerState.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesTimerState.go index 5312cbdffe..4b5ba9c63f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesTimerState.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesTimerState.go @@ -189,7 +189,7 @@ func (m *_BACnetPropertyStatesTimerState) deepCopy() *_BACnetPropertyStatesTimer return nil } _BACnetPropertyStatesTimerStateCopy := &_BACnetPropertyStatesTimerState{ - m.BACnetPropertyStatesContract.DeepCopy().(BACnetPropertyStatesContract), + m.BACnetPropertyStatesContract.(*_BACnetPropertyStates).deepCopy(), m.TimerState.DeepCopy().(BACnetTimerStateTagged), } m.BACnetPropertyStatesContract.(*_BACnetPropertyStates)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesTimerTransition.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesTimerTransition.go index f1f99c2876..5b2a4e3098 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesTimerTransition.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesTimerTransition.go @@ -189,7 +189,7 @@ func (m *_BACnetPropertyStatesTimerTransition) deepCopy() *_BACnetPropertyStates return nil } _BACnetPropertyStatesTimerTransitionCopy := &_BACnetPropertyStatesTimerTransition{ - m.BACnetPropertyStatesContract.DeepCopy().(BACnetPropertyStatesContract), + m.BACnetPropertyStatesContract.(*_BACnetPropertyStates).deepCopy(), m.TimerTransition.DeepCopy().(BACnetTimerTransitionTagged), } m.BACnetPropertyStatesContract.(*_BACnetPropertyStates)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesUnits.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesUnits.go index e578357579..025bd1ca92 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesUnits.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesUnits.go @@ -189,7 +189,7 @@ func (m *_BACnetPropertyStatesUnits) deepCopy() *_BACnetPropertyStatesUnits { return nil } _BACnetPropertyStatesUnitsCopy := &_BACnetPropertyStatesUnits{ - m.BACnetPropertyStatesContract.DeepCopy().(BACnetPropertyStatesContract), + m.BACnetPropertyStatesContract.(*_BACnetPropertyStates).deepCopy(), m.Units.DeepCopy().(BACnetEngineeringUnitsTagged), } m.BACnetPropertyStatesContract.(*_BACnetPropertyStates)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesWriteStatus.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesWriteStatus.go index 86217d5ed1..361cd9b97a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesWriteStatus.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesWriteStatus.go @@ -189,7 +189,7 @@ func (m *_BACnetPropertyStatesWriteStatus) deepCopy() *_BACnetPropertyStatesWrit return nil } _BACnetPropertyStatesWriteStatusCopy := &_BACnetPropertyStatesWriteStatus{ - m.BACnetPropertyStatesContract.DeepCopy().(BACnetPropertyStatesContract), + m.BACnetPropertyStatesContract.(*_BACnetPropertyStates).deepCopy(), m.WriteStatus.DeepCopy().(BACnetWriteStatusTagged), } m.BACnetPropertyStatesContract.(*_BACnetPropertyStates)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesZoneOccupanyState.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesZoneOccupanyState.go index a7073b73c2..613f7b40f9 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesZoneOccupanyState.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetPropertyStatesZoneOccupanyState.go @@ -189,7 +189,7 @@ func (m *_BACnetPropertyStatesZoneOccupanyState) deepCopy() *_BACnetPropertyStat return nil } _BACnetPropertyStatesZoneOccupanyStateCopy := &_BACnetPropertyStatesZoneOccupanyState{ - m.BACnetPropertyStatesContract.DeepCopy().(BACnetPropertyStatesContract), + m.BACnetPropertyStatesContract.(*_BACnetPropertyStates).deepCopy(), m.ZoneOccupanyState.DeepCopy().(BACnetAccessZoneOccupancyStateTagged), } m.BACnetPropertyStatesContract.(*_BACnetPropertyStates)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetRecipient.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetRecipient.go index fde89c3617..d18e22e9c2 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetRecipient.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetRecipient.go @@ -47,7 +47,6 @@ type BACnetRecipient interface { // BACnetRecipientContract provides a set of functions which can be overwritten by a sub struct type BACnetRecipientContract interface { - utils.Copyable // GetPeekedTagHeader returns PeekedTagHeader (property field) GetPeekedTagHeader() BACnetTagHeader // GetPeekedTagNumber returns PeekedTagNumber (virtual field) diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetRecipientAddress.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetRecipientAddress.go index fdd6585869..5fe0b02e07 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetRecipientAddress.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetRecipientAddress.go @@ -189,7 +189,7 @@ func (m *_BACnetRecipientAddress) deepCopy() *_BACnetRecipientAddress { return nil } _BACnetRecipientAddressCopy := &_BACnetRecipientAddress{ - m.BACnetRecipientContract.DeepCopy().(BACnetRecipientContract), + m.BACnetRecipientContract.(*_BACnetRecipient).deepCopy(), m.AddressValue.DeepCopy().(BACnetAddressEnclosed), } m.BACnetRecipientContract.(*_BACnetRecipient)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetRecipientDevice.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetRecipientDevice.go index b14e36d564..48f19648ab 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetRecipientDevice.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetRecipientDevice.go @@ -189,7 +189,7 @@ func (m *_BACnetRecipientDevice) deepCopy() *_BACnetRecipientDevice { return nil } _BACnetRecipientDeviceCopy := &_BACnetRecipientDevice{ - m.BACnetRecipientContract.DeepCopy().(BACnetRecipientContract), + m.BACnetRecipientContract.(*_BACnetRecipient).deepCopy(), m.DeviceValue.DeepCopy().(BACnetContextTagObjectIdentifier), } m.BACnetRecipientContract.(*_BACnetRecipient)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetScale.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetScale.go index 51dd24550a..cdc0c8fd5b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetScale.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetScale.go @@ -47,7 +47,6 @@ type BACnetScale interface { // BACnetScaleContract provides a set of functions which can be overwritten by a sub struct type BACnetScaleContract interface { - utils.Copyable // GetPeekedTagHeader returns PeekedTagHeader (property field) GetPeekedTagHeader() BACnetTagHeader // GetPeekedTagNumber returns PeekedTagNumber (virtual field) diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetScaleFloatScale.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetScaleFloatScale.go index 05b7c22e18..6e24a2e70f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetScaleFloatScale.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetScaleFloatScale.go @@ -189,7 +189,7 @@ func (m *_BACnetScaleFloatScale) deepCopy() *_BACnetScaleFloatScale { return nil } _BACnetScaleFloatScaleCopy := &_BACnetScaleFloatScale{ - m.BACnetScaleContract.DeepCopy().(BACnetScaleContract), + m.BACnetScaleContract.(*_BACnetScale).deepCopy(), m.FloatScale.DeepCopy().(BACnetContextTagReal), } m.BACnetScaleContract.(*_BACnetScale)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetScaleIntegerScale.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetScaleIntegerScale.go index bf605c7bf2..7c21009210 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetScaleIntegerScale.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetScaleIntegerScale.go @@ -189,7 +189,7 @@ func (m *_BACnetScaleIntegerScale) deepCopy() *_BACnetScaleIntegerScale { return nil } _BACnetScaleIntegerScaleCopy := &_BACnetScaleIntegerScale{ - m.BACnetScaleContract.DeepCopy().(BACnetScaleContract), + m.BACnetScaleContract.(*_BACnetScale).deepCopy(), m.IntegerScale.DeepCopy().(BACnetContextTagSignedInteger), } m.BACnetScaleContract.(*_BACnetScale)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAck.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAck.go index 74b7e82bf5..050883faca 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAck.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAck.go @@ -47,7 +47,6 @@ type BACnetServiceAck interface { // BACnetServiceAckContract provides a set of functions which can be overwritten by a sub struct type BACnetServiceAckContract interface { - utils.Copyable // GetServiceAckPayloadLength returns ServiceAckPayloadLength (virtual field) GetServiceAckPayloadLength() uint32 // GetServiceAckLength() returns a parser argument diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckAtomicReadFile.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckAtomicReadFile.go index a3bf59fc13..f43456858e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckAtomicReadFile.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckAtomicReadFile.go @@ -217,7 +217,7 @@ func (m *_BACnetServiceAckAtomicReadFile) deepCopy() *_BACnetServiceAckAtomicRea return nil } _BACnetServiceAckAtomicReadFileCopy := &_BACnetServiceAckAtomicReadFile{ - m.BACnetServiceAckContract.DeepCopy().(BACnetServiceAckContract), + m.BACnetServiceAckContract.(*_BACnetServiceAck).deepCopy(), m.EndOfFile.DeepCopy().(BACnetApplicationTagBoolean), m.AccessMethod.DeepCopy().(BACnetServiceAckAtomicReadFileStreamOrRecord), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckAtomicReadFileRecord.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckAtomicReadFileRecord.go index 1efad1d04a..265c87e0d1 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckAtomicReadFileRecord.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckAtomicReadFileRecord.go @@ -241,7 +241,7 @@ func (m *_BACnetServiceAckAtomicReadFileRecord) deepCopy() *_BACnetServiceAckAto return nil } _BACnetServiceAckAtomicReadFileRecordCopy := &_BACnetServiceAckAtomicReadFileRecord{ - m.BACnetServiceAckAtomicReadFileStreamOrRecordContract.DeepCopy().(BACnetServiceAckAtomicReadFileStreamOrRecordContract), + m.BACnetServiceAckAtomicReadFileStreamOrRecordContract.(*_BACnetServiceAckAtomicReadFileStreamOrRecord).deepCopy(), m.FileStartRecord.DeepCopy().(BACnetApplicationTagSignedInteger), m.ReturnedRecordCount.DeepCopy().(BACnetApplicationTagUnsignedInteger), utils.DeepCopySlice[BACnetApplicationTagOctetString, BACnetApplicationTagOctetString](m.FileRecordData), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckAtomicReadFileStream.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckAtomicReadFileStream.go index f4291afb10..7580bb7c92 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckAtomicReadFileStream.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckAtomicReadFileStream.go @@ -213,7 +213,7 @@ func (m *_BACnetServiceAckAtomicReadFileStream) deepCopy() *_BACnetServiceAckAto return nil } _BACnetServiceAckAtomicReadFileStreamCopy := &_BACnetServiceAckAtomicReadFileStream{ - m.BACnetServiceAckAtomicReadFileStreamOrRecordContract.DeepCopy().(BACnetServiceAckAtomicReadFileStreamOrRecordContract), + m.BACnetServiceAckAtomicReadFileStreamOrRecordContract.(*_BACnetServiceAckAtomicReadFileStreamOrRecord).deepCopy(), m.FileStartPosition.DeepCopy().(BACnetApplicationTagSignedInteger), m.FileData.DeepCopy().(BACnetApplicationTagOctetString), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckAtomicReadFileStreamOrRecord.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckAtomicReadFileStreamOrRecord.go index 5d9fe436ac..cace9a59dc 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckAtomicReadFileStreamOrRecord.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckAtomicReadFileStreamOrRecord.go @@ -47,7 +47,6 @@ type BACnetServiceAckAtomicReadFileStreamOrRecord interface { // BACnetServiceAckAtomicReadFileStreamOrRecordContract provides a set of functions which can be overwritten by a sub struct type BACnetServiceAckAtomicReadFileStreamOrRecordContract interface { - utils.Copyable // GetPeekedTagHeader returns PeekedTagHeader (property field) GetPeekedTagHeader() BACnetTagHeader // GetOpeningTag returns OpeningTag (property field) diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckAtomicWriteFile.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckAtomicWriteFile.go index 27554cdfb6..111c5d070e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckAtomicWriteFile.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckAtomicWriteFile.go @@ -193,7 +193,7 @@ func (m *_BACnetServiceAckAtomicWriteFile) deepCopy() *_BACnetServiceAckAtomicWr return nil } _BACnetServiceAckAtomicWriteFileCopy := &_BACnetServiceAckAtomicWriteFile{ - m.BACnetServiceAckContract.DeepCopy().(BACnetServiceAckContract), + m.BACnetServiceAckContract.(*_BACnetServiceAck).deepCopy(), m.FileStartPosition.DeepCopy().(BACnetContextTagSignedInteger), } m.BACnetServiceAckContract.(*_BACnetServiceAck)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckAuthenticate.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckAuthenticate.go index 58a299e254..ddf6e5a190 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckAuthenticate.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckAuthenticate.go @@ -205,7 +205,7 @@ func (m *_BACnetServiceAckAuthenticate) deepCopy() *_BACnetServiceAckAuthenticat return nil } _BACnetServiceAckAuthenticateCopy := &_BACnetServiceAckAuthenticate{ - m.BACnetServiceAckContract.DeepCopy().(BACnetServiceAckContract), + m.BACnetServiceAckContract.(*_BACnetServiceAck).deepCopy(), utils.DeepCopySlice[byte, byte](m.BytesOfRemovedService), m.ServiceAckPayloadLength, } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckConfirmedPrivateTransfer.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckConfirmedPrivateTransfer.go index 3f9d3abab8..11c47240df 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckConfirmedPrivateTransfer.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckConfirmedPrivateTransfer.go @@ -244,7 +244,7 @@ func (m *_BACnetServiceAckConfirmedPrivateTransfer) deepCopy() *_BACnetServiceAc return nil } _BACnetServiceAckConfirmedPrivateTransferCopy := &_BACnetServiceAckConfirmedPrivateTransfer{ - m.BACnetServiceAckContract.DeepCopy().(BACnetServiceAckContract), + m.BACnetServiceAckContract.(*_BACnetServiceAck).deepCopy(), m.VendorId.DeepCopy().(BACnetVendorIdTagged), m.ServiceNumber.DeepCopy().(BACnetContextTagUnsignedInteger), m.ResultBlock.DeepCopy().(BACnetConstructedData), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckCreateObject.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckCreateObject.go index 8e8d5556e8..5a4da01fad 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckCreateObject.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckCreateObject.go @@ -193,7 +193,7 @@ func (m *_BACnetServiceAckCreateObject) deepCopy() *_BACnetServiceAckCreateObjec return nil } _BACnetServiceAckCreateObjectCopy := &_BACnetServiceAckCreateObject{ - m.BACnetServiceAckContract.DeepCopy().(BACnetServiceAckContract), + m.BACnetServiceAckContract.(*_BACnetServiceAck).deepCopy(), m.ObjectIdentifier.DeepCopy().(BACnetApplicationTagObjectIdentifier), } m.BACnetServiceAckContract.(*_BACnetServiceAck)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckGetAlarmSummary.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckGetAlarmSummary.go index 196b11a273..630251073c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckGetAlarmSummary.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckGetAlarmSummary.go @@ -241,7 +241,7 @@ func (m *_BACnetServiceAckGetAlarmSummary) deepCopy() *_BACnetServiceAckGetAlarm return nil } _BACnetServiceAckGetAlarmSummaryCopy := &_BACnetServiceAckGetAlarmSummary{ - m.BACnetServiceAckContract.DeepCopy().(BACnetServiceAckContract), + m.BACnetServiceAckContract.(*_BACnetServiceAck).deepCopy(), m.ObjectIdentifier.DeepCopy().(BACnetApplicationTagObjectIdentifier), m.EventState.DeepCopy().(BACnetEventStateTagged), m.AcknowledgedTransitions.DeepCopy().(BACnetEventTransitionBitsTagged), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckGetEnrollmentSummary.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckGetEnrollmentSummary.go index bf3a50ad9c..c4ae0f5692 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckGetEnrollmentSummary.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckGetEnrollmentSummary.go @@ -292,7 +292,7 @@ func (m *_BACnetServiceAckGetEnrollmentSummary) deepCopy() *_BACnetServiceAckGet return nil } _BACnetServiceAckGetEnrollmentSummaryCopy := &_BACnetServiceAckGetEnrollmentSummary{ - m.BACnetServiceAckContract.DeepCopy().(BACnetServiceAckContract), + m.BACnetServiceAckContract.(*_BACnetServiceAck).deepCopy(), m.ObjectIdentifier.DeepCopy().(BACnetApplicationTagObjectIdentifier), m.EventType.DeepCopy().(BACnetEventTypeTagged), m.EventState.DeepCopy().(BACnetEventStateTagged), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckGetEventInformation.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckGetEventInformation.go index 1b1eef4162..3a4e318662 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckGetEventInformation.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckGetEventInformation.go @@ -217,7 +217,7 @@ func (m *_BACnetServiceAckGetEventInformation) deepCopy() *_BACnetServiceAckGetE return nil } _BACnetServiceAckGetEventInformationCopy := &_BACnetServiceAckGetEventInformation{ - m.BACnetServiceAckContract.DeepCopy().(BACnetServiceAckContract), + m.BACnetServiceAckContract.(*_BACnetServiceAck).deepCopy(), m.ListOfEventSummaries.DeepCopy().(BACnetEventSummariesList), m.MoreEvents.DeepCopy().(BACnetContextTagBoolean), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckReadProperty.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckReadProperty.go index 25a96ff8b4..a5873c3b71 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckReadProperty.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckReadProperty.go @@ -271,7 +271,7 @@ func (m *_BACnetServiceAckReadProperty) deepCopy() *_BACnetServiceAckReadPropert return nil } _BACnetServiceAckReadPropertyCopy := &_BACnetServiceAckReadProperty{ - m.BACnetServiceAckContract.DeepCopy().(BACnetServiceAckContract), + m.BACnetServiceAckContract.(*_BACnetServiceAck).deepCopy(), m.ObjectIdentifier.DeepCopy().(BACnetContextTagObjectIdentifier), m.PropertyIdentifier.DeepCopy().(BACnetPropertyIdentifierTagged), m.ArrayIndex.DeepCopy().(BACnetContextTagUnsignedInteger), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckReadPropertyConditional.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckReadPropertyConditional.go index 795a0699e6..336ec69937 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckReadPropertyConditional.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckReadPropertyConditional.go @@ -205,7 +205,7 @@ func (m *_BACnetServiceAckReadPropertyConditional) deepCopy() *_BACnetServiceAck return nil } _BACnetServiceAckReadPropertyConditionalCopy := &_BACnetServiceAckReadPropertyConditional{ - m.BACnetServiceAckContract.DeepCopy().(BACnetServiceAckContract), + m.BACnetServiceAckContract.(*_BACnetServiceAck).deepCopy(), utils.DeepCopySlice[byte, byte](m.BytesOfRemovedService), m.ServiceAckPayloadLength, } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckReadPropertyMultiple.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckReadPropertyMultiple.go index 38d5fd837b..4b57323b95 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckReadPropertyMultiple.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckReadPropertyMultiple.go @@ -207,7 +207,7 @@ func (m *_BACnetServiceAckReadPropertyMultiple) deepCopy() *_BACnetServiceAckRea return nil } _BACnetServiceAckReadPropertyMultipleCopy := &_BACnetServiceAckReadPropertyMultiple{ - m.BACnetServiceAckContract.DeepCopy().(BACnetServiceAckContract), + m.BACnetServiceAckContract.(*_BACnetServiceAck).deepCopy(), utils.DeepCopySlice[BACnetReadAccessResult, BACnetReadAccessResult](m.Data), m.ServiceAckPayloadLength, } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckReadRange.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckReadRange.go index b1e23cf326..84e635ac21 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckReadRange.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckReadRange.go @@ -346,7 +346,7 @@ func (m *_BACnetServiceAckReadRange) deepCopy() *_BACnetServiceAckReadRange { return nil } _BACnetServiceAckReadRangeCopy := &_BACnetServiceAckReadRange{ - m.BACnetServiceAckContract.DeepCopy().(BACnetServiceAckContract), + m.BACnetServiceAckContract.(*_BACnetServiceAck).deepCopy(), m.ObjectIdentifier.DeepCopy().(BACnetContextTagObjectIdentifier), m.PropertyIdentifier.DeepCopy().(BACnetPropertyIdentifierTagged), m.PropertyArrayIndex.DeepCopy().(BACnetContextTagUnsignedInteger), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckRequestKey.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckRequestKey.go index 7a81dbeff5..8fd23b85be 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckRequestKey.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckRequestKey.go @@ -205,7 +205,7 @@ func (m *_BACnetServiceAckRequestKey) deepCopy() *_BACnetServiceAckRequestKey { return nil } _BACnetServiceAckRequestKeyCopy := &_BACnetServiceAckRequestKey{ - m.BACnetServiceAckContract.DeepCopy().(BACnetServiceAckContract), + m.BACnetServiceAckContract.(*_BACnetServiceAck).deepCopy(), utils.DeepCopySlice[byte, byte](m.BytesOfRemovedService), m.ServiceAckPayloadLength, } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckVTData.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckVTData.go index 4e2bc52635..21ad9352ce 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckVTData.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckVTData.go @@ -241,7 +241,7 @@ func (m *_BACnetServiceAckVTData) deepCopy() *_BACnetServiceAckVTData { return nil } _BACnetServiceAckVTDataCopy := &_BACnetServiceAckVTData{ - m.BACnetServiceAckContract.DeepCopy().(BACnetServiceAckContract), + m.BACnetServiceAckContract.(*_BACnetServiceAck).deepCopy(), m.VtSessionIdentifier.DeepCopy().(BACnetApplicationTagUnsignedInteger), m.VtNewData.DeepCopy().(BACnetApplicationTagOctetString), m.VtDataFlag.DeepCopy().(BACnetApplicationTagUnsignedInteger), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckVTOpen.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckVTOpen.go index ccfd8b630f..9637e6080a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckVTOpen.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetServiceAckVTOpen.go @@ -193,7 +193,7 @@ func (m *_BACnetServiceAckVTOpen) deepCopy() *_BACnetServiceAckVTOpen { return nil } _BACnetServiceAckVTOpenCopy := &_BACnetServiceAckVTOpen{ - m.BACnetServiceAckContract.DeepCopy().(BACnetServiceAckContract), + m.BACnetServiceAckContract.(*_BACnetServiceAck).deepCopy(), m.RemoteVtSessionIdentifier.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetServiceAckContract.(*_BACnetServiceAck)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetShedLevel.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetShedLevel.go index e777f5eb57..3a69a52ba0 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetShedLevel.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetShedLevel.go @@ -47,7 +47,6 @@ type BACnetShedLevel interface { // BACnetShedLevelContract provides a set of functions which can be overwritten by a sub struct type BACnetShedLevelContract interface { - utils.Copyable // GetPeekedTagHeader returns PeekedTagHeader (property field) GetPeekedTagHeader() BACnetTagHeader // GetPeekedTagNumber returns PeekedTagNumber (virtual field) diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetShedLevelAmount.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetShedLevelAmount.go index 8f91266780..444064af6a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetShedLevelAmount.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetShedLevelAmount.go @@ -189,7 +189,7 @@ func (m *_BACnetShedLevelAmount) deepCopy() *_BACnetShedLevelAmount { return nil } _BACnetShedLevelAmountCopy := &_BACnetShedLevelAmount{ - m.BACnetShedLevelContract.DeepCopy().(BACnetShedLevelContract), + m.BACnetShedLevelContract.(*_BACnetShedLevel).deepCopy(), m.Amount.DeepCopy().(BACnetContextTagReal), } m.BACnetShedLevelContract.(*_BACnetShedLevel)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetShedLevelLevel.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetShedLevelLevel.go index 16aad68152..beb7961763 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetShedLevelLevel.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetShedLevelLevel.go @@ -189,7 +189,7 @@ func (m *_BACnetShedLevelLevel) deepCopy() *_BACnetShedLevelLevel { return nil } _BACnetShedLevelLevelCopy := &_BACnetShedLevelLevel{ - m.BACnetShedLevelContract.DeepCopy().(BACnetShedLevelContract), + m.BACnetShedLevelContract.(*_BACnetShedLevel).deepCopy(), m.Level.DeepCopy().(BACnetContextTagUnsignedInteger), } m.BACnetShedLevelContract.(*_BACnetShedLevel)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetShedLevelPercent.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetShedLevelPercent.go index f2931cbe05..d2dc5cbbb5 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetShedLevelPercent.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetShedLevelPercent.go @@ -189,7 +189,7 @@ func (m *_BACnetShedLevelPercent) deepCopy() *_BACnetShedLevelPercent { return nil } _BACnetShedLevelPercentCopy := &_BACnetShedLevelPercent{ - m.BACnetShedLevelContract.DeepCopy().(BACnetShedLevelContract), + m.BACnetShedLevelContract.(*_BACnetShedLevel).deepCopy(), m.Percent.DeepCopy().(BACnetContextTagUnsignedInteger), } m.BACnetShedLevelContract.(*_BACnetShedLevel)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetSpecialEventPeriod.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetSpecialEventPeriod.go index 26ad4ac703..5e1611988a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetSpecialEventPeriod.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetSpecialEventPeriod.go @@ -47,7 +47,6 @@ type BACnetSpecialEventPeriod interface { // BACnetSpecialEventPeriodContract provides a set of functions which can be overwritten by a sub struct type BACnetSpecialEventPeriodContract interface { - utils.Copyable // GetPeekedTagHeader returns PeekedTagHeader (property field) GetPeekedTagHeader() BACnetTagHeader // GetPeekedTagNumber returns PeekedTagNumber (virtual field) diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetSpecialEventPeriodCalendarEntry.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetSpecialEventPeriodCalendarEntry.go index 8c73033e95..4c76f4f76f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetSpecialEventPeriodCalendarEntry.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetSpecialEventPeriodCalendarEntry.go @@ -189,7 +189,7 @@ func (m *_BACnetSpecialEventPeriodCalendarEntry) deepCopy() *_BACnetSpecialEvent return nil } _BACnetSpecialEventPeriodCalendarEntryCopy := &_BACnetSpecialEventPeriodCalendarEntry{ - m.BACnetSpecialEventPeriodContract.DeepCopy().(BACnetSpecialEventPeriodContract), + m.BACnetSpecialEventPeriodContract.(*_BACnetSpecialEventPeriod).deepCopy(), m.CalendarEntry.DeepCopy().(BACnetCalendarEntryEnclosed), } m.BACnetSpecialEventPeriodContract.(*_BACnetSpecialEventPeriod)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetSpecialEventPeriodCalendarReference.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetSpecialEventPeriodCalendarReference.go index 2062446825..59ef32a71c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetSpecialEventPeriodCalendarReference.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetSpecialEventPeriodCalendarReference.go @@ -189,7 +189,7 @@ func (m *_BACnetSpecialEventPeriodCalendarReference) deepCopy() *_BACnetSpecialE return nil } _BACnetSpecialEventPeriodCalendarReferenceCopy := &_BACnetSpecialEventPeriodCalendarReference{ - m.BACnetSpecialEventPeriodContract.DeepCopy().(BACnetSpecialEventPeriodContract), + m.BACnetSpecialEventPeriodContract.(*_BACnetSpecialEventPeriod).deepCopy(), m.CalendarReference.DeepCopy().(BACnetContextTagObjectIdentifier), } m.BACnetSpecialEventPeriodContract.(*_BACnetSpecialEventPeriod)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimeStamp.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimeStamp.go index c16dcce85d..eb39a5d9c6 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimeStamp.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimeStamp.go @@ -47,7 +47,6 @@ type BACnetTimeStamp interface { // BACnetTimeStampContract provides a set of functions which can be overwritten by a sub struct type BACnetTimeStampContract interface { - utils.Copyable // GetPeekedTagHeader returns PeekedTagHeader (property field) GetPeekedTagHeader() BACnetTagHeader // GetPeekedTagNumber returns PeekedTagNumber (virtual field) diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimeStampDateTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimeStampDateTime.go index 788e5d2abb..d3a3ab4ec7 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimeStampDateTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimeStampDateTime.go @@ -189,7 +189,7 @@ func (m *_BACnetTimeStampDateTime) deepCopy() *_BACnetTimeStampDateTime { return nil } _BACnetTimeStampDateTimeCopy := &_BACnetTimeStampDateTime{ - m.BACnetTimeStampContract.DeepCopy().(BACnetTimeStampContract), + m.BACnetTimeStampContract.(*_BACnetTimeStamp).deepCopy(), m.DateTimeValue.DeepCopy().(BACnetDateTimeEnclosed), } m.BACnetTimeStampContract.(*_BACnetTimeStamp)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimeStampSequence.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimeStampSequence.go index 9a3dc006d1..9c204aa653 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimeStampSequence.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimeStampSequence.go @@ -189,7 +189,7 @@ func (m *_BACnetTimeStampSequence) deepCopy() *_BACnetTimeStampSequence { return nil } _BACnetTimeStampSequenceCopy := &_BACnetTimeStampSequence{ - m.BACnetTimeStampContract.DeepCopy().(BACnetTimeStampContract), + m.BACnetTimeStampContract.(*_BACnetTimeStamp).deepCopy(), m.SequenceNumber.DeepCopy().(BACnetContextTagUnsignedInteger), } m.BACnetTimeStampContract.(*_BACnetTimeStamp)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimeStampTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimeStampTime.go index c0253488d7..ce50670842 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimeStampTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimeStampTime.go @@ -189,7 +189,7 @@ func (m *_BACnetTimeStampTime) deepCopy() *_BACnetTimeStampTime { return nil } _BACnetTimeStampTimeCopy := &_BACnetTimeStampTime{ - m.BACnetTimeStampContract.DeepCopy().(BACnetTimeStampContract), + m.BACnetTimeStampContract.(*_BACnetTimeStamp).deepCopy(), m.TimeValue.DeepCopy().(BACnetContextTagTime), } m.BACnetTimeStampContract.(*_BACnetTimeStamp)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValue.go index 78db2722b4..4c88409a09 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValue.go @@ -47,7 +47,6 @@ type BACnetTimerStateChangeValue interface { // BACnetTimerStateChangeValueContract provides a set of functions which can be overwritten by a sub struct type BACnetTimerStateChangeValueContract interface { - utils.Copyable // GetPeekedTagHeader returns PeekedTagHeader (property field) GetPeekedTagHeader() BACnetTagHeader // GetPeekedTagNumber returns PeekedTagNumber (virtual field) diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueBitString.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueBitString.go index 0a58c659a1..6917542156 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueBitString.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueBitString.go @@ -189,7 +189,7 @@ func (m *_BACnetTimerStateChangeValueBitString) deepCopy() *_BACnetTimerStateCha return nil } _BACnetTimerStateChangeValueBitStringCopy := &_BACnetTimerStateChangeValueBitString{ - m.BACnetTimerStateChangeValueContract.DeepCopy().(BACnetTimerStateChangeValueContract), + m.BACnetTimerStateChangeValueContract.(*_BACnetTimerStateChangeValue).deepCopy(), m.BitStringValue.DeepCopy().(BACnetApplicationTagBitString), } m.BACnetTimerStateChangeValueContract.(*_BACnetTimerStateChangeValue)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueBoolean.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueBoolean.go index 7fb741ea46..3140e185db 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueBoolean.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueBoolean.go @@ -189,7 +189,7 @@ func (m *_BACnetTimerStateChangeValueBoolean) deepCopy() *_BACnetTimerStateChang return nil } _BACnetTimerStateChangeValueBooleanCopy := &_BACnetTimerStateChangeValueBoolean{ - m.BACnetTimerStateChangeValueContract.DeepCopy().(BACnetTimerStateChangeValueContract), + m.BACnetTimerStateChangeValueContract.(*_BACnetTimerStateChangeValue).deepCopy(), m.BooleanValue.DeepCopy().(BACnetApplicationTagBoolean), } m.BACnetTimerStateChangeValueContract.(*_BACnetTimerStateChangeValue)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueCharacterString.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueCharacterString.go index f32c2b9c14..f80a894911 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueCharacterString.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueCharacterString.go @@ -190,7 +190,7 @@ func (m *_BACnetTimerStateChangeValueCharacterString) deepCopy() *_BACnetTimerSt return nil } _BACnetTimerStateChangeValueCharacterStringCopy := &_BACnetTimerStateChangeValueCharacterString{ - m.BACnetTimerStateChangeValueContract.DeepCopy().(BACnetTimerStateChangeValueContract), + m.BACnetTimerStateChangeValueContract.(*_BACnetTimerStateChangeValue).deepCopy(), m.CharacterStringValue.DeepCopy().(BACnetApplicationTagCharacterString), } m.BACnetTimerStateChangeValueContract.(*_BACnetTimerStateChangeValue)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueConstructedValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueConstructedValue.go index 9e777c2eea..e37c431b77 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueConstructedValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueConstructedValue.go @@ -190,7 +190,7 @@ func (m *_BACnetTimerStateChangeValueConstructedValue) deepCopy() *_BACnetTimerS return nil } _BACnetTimerStateChangeValueConstructedValueCopy := &_BACnetTimerStateChangeValueConstructedValue{ - m.BACnetTimerStateChangeValueContract.DeepCopy().(BACnetTimerStateChangeValueContract), + m.BACnetTimerStateChangeValueContract.(*_BACnetTimerStateChangeValue).deepCopy(), m.ConstructedValue.DeepCopy().(BACnetConstructedData), } m.BACnetTimerStateChangeValueContract.(*_BACnetTimerStateChangeValue)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueDate.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueDate.go index 2d99cfca8c..2f9e22580f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueDate.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueDate.go @@ -189,7 +189,7 @@ func (m *_BACnetTimerStateChangeValueDate) deepCopy() *_BACnetTimerStateChangeVa return nil } _BACnetTimerStateChangeValueDateCopy := &_BACnetTimerStateChangeValueDate{ - m.BACnetTimerStateChangeValueContract.DeepCopy().(BACnetTimerStateChangeValueContract), + m.BACnetTimerStateChangeValueContract.(*_BACnetTimerStateChangeValue).deepCopy(), m.DateValue.DeepCopy().(BACnetApplicationTagDate), } m.BACnetTimerStateChangeValueContract.(*_BACnetTimerStateChangeValue)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueDateTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueDateTime.go index 4bbab23aeb..bc2f8cdb92 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueDateTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueDateTime.go @@ -189,7 +189,7 @@ func (m *_BACnetTimerStateChangeValueDateTime) deepCopy() *_BACnetTimerStateChan return nil } _BACnetTimerStateChangeValueDateTimeCopy := &_BACnetTimerStateChangeValueDateTime{ - m.BACnetTimerStateChangeValueContract.DeepCopy().(BACnetTimerStateChangeValueContract), + m.BACnetTimerStateChangeValueContract.(*_BACnetTimerStateChangeValue).deepCopy(), m.DateTimeValue.DeepCopy().(BACnetDateTimeEnclosed), } m.BACnetTimerStateChangeValueContract.(*_BACnetTimerStateChangeValue)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueDouble.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueDouble.go index 681ef6c205..4837ca5a10 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueDouble.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueDouble.go @@ -189,7 +189,7 @@ func (m *_BACnetTimerStateChangeValueDouble) deepCopy() *_BACnetTimerStateChange return nil } _BACnetTimerStateChangeValueDoubleCopy := &_BACnetTimerStateChangeValueDouble{ - m.BACnetTimerStateChangeValueContract.DeepCopy().(BACnetTimerStateChangeValueContract), + m.BACnetTimerStateChangeValueContract.(*_BACnetTimerStateChangeValue).deepCopy(), m.DoubleValue.DeepCopy().(BACnetApplicationTagDouble), } m.BACnetTimerStateChangeValueContract.(*_BACnetTimerStateChangeValue)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueEnumerated.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueEnumerated.go index ad227cefe8..5141d065a2 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueEnumerated.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueEnumerated.go @@ -189,7 +189,7 @@ func (m *_BACnetTimerStateChangeValueEnumerated) deepCopy() *_BACnetTimerStateCh return nil } _BACnetTimerStateChangeValueEnumeratedCopy := &_BACnetTimerStateChangeValueEnumerated{ - m.BACnetTimerStateChangeValueContract.DeepCopy().(BACnetTimerStateChangeValueContract), + m.BACnetTimerStateChangeValueContract.(*_BACnetTimerStateChangeValue).deepCopy(), m.EnumeratedValue.DeepCopy().(BACnetApplicationTagEnumerated), } m.BACnetTimerStateChangeValueContract.(*_BACnetTimerStateChangeValue)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueInteger.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueInteger.go index 11b2e26154..afa5b08466 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueInteger.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueInteger.go @@ -189,7 +189,7 @@ func (m *_BACnetTimerStateChangeValueInteger) deepCopy() *_BACnetTimerStateChang return nil } _BACnetTimerStateChangeValueIntegerCopy := &_BACnetTimerStateChangeValueInteger{ - m.BACnetTimerStateChangeValueContract.DeepCopy().(BACnetTimerStateChangeValueContract), + m.BACnetTimerStateChangeValueContract.(*_BACnetTimerStateChangeValue).deepCopy(), m.IntegerValue.DeepCopy().(BACnetApplicationTagSignedInteger), } m.BACnetTimerStateChangeValueContract.(*_BACnetTimerStateChangeValue)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueLightingCommand.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueLightingCommand.go index 7c991c8ca6..67b4f0e477 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueLightingCommand.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueLightingCommand.go @@ -190,7 +190,7 @@ func (m *_BACnetTimerStateChangeValueLightingCommand) deepCopy() *_BACnetTimerSt return nil } _BACnetTimerStateChangeValueLightingCommandCopy := &_BACnetTimerStateChangeValueLightingCommand{ - m.BACnetTimerStateChangeValueContract.DeepCopy().(BACnetTimerStateChangeValueContract), + m.BACnetTimerStateChangeValueContract.(*_BACnetTimerStateChangeValue).deepCopy(), m.LigthingCommandValue.DeepCopy().(BACnetLightingCommandEnclosed), } m.BACnetTimerStateChangeValueContract.(*_BACnetTimerStateChangeValue)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueNoValue.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueNoValue.go index 120794f1ff..8a007595a7 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueNoValue.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueNoValue.go @@ -189,7 +189,7 @@ func (m *_BACnetTimerStateChangeValueNoValue) deepCopy() *_BACnetTimerStateChang return nil } _BACnetTimerStateChangeValueNoValueCopy := &_BACnetTimerStateChangeValueNoValue{ - m.BACnetTimerStateChangeValueContract.DeepCopy().(BACnetTimerStateChangeValueContract), + m.BACnetTimerStateChangeValueContract.(*_BACnetTimerStateChangeValue).deepCopy(), m.NoValue.DeepCopy().(BACnetContextTagNull), } m.BACnetTimerStateChangeValueContract.(*_BACnetTimerStateChangeValue)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueNull.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueNull.go index 638c10b03e..d3093a6ac2 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueNull.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueNull.go @@ -189,7 +189,7 @@ func (m *_BACnetTimerStateChangeValueNull) deepCopy() *_BACnetTimerStateChangeVa return nil } _BACnetTimerStateChangeValueNullCopy := &_BACnetTimerStateChangeValueNull{ - m.BACnetTimerStateChangeValueContract.DeepCopy().(BACnetTimerStateChangeValueContract), + m.BACnetTimerStateChangeValueContract.(*_BACnetTimerStateChangeValue).deepCopy(), m.NullValue.DeepCopy().(BACnetApplicationTagNull), } m.BACnetTimerStateChangeValueContract.(*_BACnetTimerStateChangeValue)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueObjectidentifier.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueObjectidentifier.go index 105d28990e..36b9fc2dbc 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueObjectidentifier.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueObjectidentifier.go @@ -190,7 +190,7 @@ func (m *_BACnetTimerStateChangeValueObjectidentifier) deepCopy() *_BACnetTimerS return nil } _BACnetTimerStateChangeValueObjectidentifierCopy := &_BACnetTimerStateChangeValueObjectidentifier{ - m.BACnetTimerStateChangeValueContract.DeepCopy().(BACnetTimerStateChangeValueContract), + m.BACnetTimerStateChangeValueContract.(*_BACnetTimerStateChangeValue).deepCopy(), m.ObjectidentifierValue.DeepCopy().(BACnetApplicationTagObjectIdentifier), } m.BACnetTimerStateChangeValueContract.(*_BACnetTimerStateChangeValue)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueOctetString.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueOctetString.go index a51a71934d..974fc1aa22 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueOctetString.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueOctetString.go @@ -189,7 +189,7 @@ func (m *_BACnetTimerStateChangeValueOctetString) deepCopy() *_BACnetTimerStateC return nil } _BACnetTimerStateChangeValueOctetStringCopy := &_BACnetTimerStateChangeValueOctetString{ - m.BACnetTimerStateChangeValueContract.DeepCopy().(BACnetTimerStateChangeValueContract), + m.BACnetTimerStateChangeValueContract.(*_BACnetTimerStateChangeValue).deepCopy(), m.OctetStringValue.DeepCopy().(BACnetApplicationTagOctetString), } m.BACnetTimerStateChangeValueContract.(*_BACnetTimerStateChangeValue)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueReal.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueReal.go index 4896ecad08..74dfc5a0ae 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueReal.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueReal.go @@ -189,7 +189,7 @@ func (m *_BACnetTimerStateChangeValueReal) deepCopy() *_BACnetTimerStateChangeVa return nil } _BACnetTimerStateChangeValueRealCopy := &_BACnetTimerStateChangeValueReal{ - m.BACnetTimerStateChangeValueContract.DeepCopy().(BACnetTimerStateChangeValueContract), + m.BACnetTimerStateChangeValueContract.(*_BACnetTimerStateChangeValue).deepCopy(), m.RealValue.DeepCopy().(BACnetApplicationTagReal), } m.BACnetTimerStateChangeValueContract.(*_BACnetTimerStateChangeValue)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueTime.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueTime.go index 89af0eb91f..993cc9ca3f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueTime.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueTime.go @@ -189,7 +189,7 @@ func (m *_BACnetTimerStateChangeValueTime) deepCopy() *_BACnetTimerStateChangeVa return nil } _BACnetTimerStateChangeValueTimeCopy := &_BACnetTimerStateChangeValueTime{ - m.BACnetTimerStateChangeValueContract.DeepCopy().(BACnetTimerStateChangeValueContract), + m.BACnetTimerStateChangeValueContract.(*_BACnetTimerStateChangeValue).deepCopy(), m.TimeValue.DeepCopy().(BACnetApplicationTagTime), } m.BACnetTimerStateChangeValueContract.(*_BACnetTimerStateChangeValue)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueUnsigned.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueUnsigned.go index 103733dc29..17451c12f2 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueUnsigned.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetTimerStateChangeValueUnsigned.go @@ -189,7 +189,7 @@ func (m *_BACnetTimerStateChangeValueUnsigned) deepCopy() *_BACnetTimerStateChan return nil } _BACnetTimerStateChangeValueUnsignedCopy := &_BACnetTimerStateChangeValueUnsigned{ - m.BACnetTimerStateChangeValueContract.DeepCopy().(BACnetTimerStateChangeValueContract), + m.BACnetTimerStateChangeValueContract.(*_BACnetTimerStateChangeValue).deepCopy(), m.UnsignedValue.DeepCopy().(BACnetApplicationTagUnsignedInteger), } m.BACnetTimerStateChangeValueContract.(*_BACnetTimerStateChangeValue)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequest.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequest.go index c147203748..aab9e047e8 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequest.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequest.go @@ -47,7 +47,6 @@ type BACnetUnconfirmedServiceRequest interface { // BACnetUnconfirmedServiceRequestContract provides a set of functions which can be overwritten by a sub struct type BACnetUnconfirmedServiceRequestContract interface { - utils.Copyable // GetServiceRequestLength() returns a parser argument GetServiceRequestLength() uint16 // IsBACnetUnconfirmedServiceRequest is a marker method to prevent unintentional type checks (interfaces of same signature) diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestIAm.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestIAm.go index f3f967ba74..fc6daeb00c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestIAm.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestIAm.go @@ -265,7 +265,7 @@ func (m *_BACnetUnconfirmedServiceRequestIAm) deepCopy() *_BACnetUnconfirmedServ return nil } _BACnetUnconfirmedServiceRequestIAmCopy := &_BACnetUnconfirmedServiceRequestIAm{ - m.BACnetUnconfirmedServiceRequestContract.DeepCopy().(BACnetUnconfirmedServiceRequestContract), + m.BACnetUnconfirmedServiceRequestContract.(*_BACnetUnconfirmedServiceRequest).deepCopy(), m.DeviceIdentifier.DeepCopy().(BACnetApplicationTagObjectIdentifier), m.MaximumApduLengthAcceptedLength.DeepCopy().(BACnetApplicationTagUnsignedInteger), m.SegmentationSupported.DeepCopy().(BACnetSegmentationTagged), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestIHave.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestIHave.go index 08f7a731cb..b72402e5fe 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestIHave.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestIHave.go @@ -241,7 +241,7 @@ func (m *_BACnetUnconfirmedServiceRequestIHave) deepCopy() *_BACnetUnconfirmedSe return nil } _BACnetUnconfirmedServiceRequestIHaveCopy := &_BACnetUnconfirmedServiceRequestIHave{ - m.BACnetUnconfirmedServiceRequestContract.DeepCopy().(BACnetUnconfirmedServiceRequestContract), + m.BACnetUnconfirmedServiceRequestContract.(*_BACnetUnconfirmedServiceRequest).deepCopy(), m.DeviceIdentifier.DeepCopy().(BACnetApplicationTagObjectIdentifier), m.ObjectIdentifier.DeepCopy().(BACnetApplicationTagObjectIdentifier), m.ObjectName.DeepCopy().(BACnetApplicationTagCharacterString), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestTimeSynchronization.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestTimeSynchronization.go index 14590530bd..9371a3c462 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestTimeSynchronization.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestTimeSynchronization.go @@ -218,7 +218,7 @@ func (m *_BACnetUnconfirmedServiceRequestTimeSynchronization) deepCopy() *_BACne return nil } _BACnetUnconfirmedServiceRequestTimeSynchronizationCopy := &_BACnetUnconfirmedServiceRequestTimeSynchronization{ - m.BACnetUnconfirmedServiceRequestContract.DeepCopy().(BACnetUnconfirmedServiceRequestContract), + m.BACnetUnconfirmedServiceRequestContract.(*_BACnetUnconfirmedServiceRequest).deepCopy(), m.SynchronizedDate.DeepCopy().(BACnetApplicationTagDate), m.SynchronizedTime.DeepCopy().(BACnetApplicationTagTime), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestUTCTimeSynchronization.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestUTCTimeSynchronization.go index 21046abb47..fbea78d865 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestUTCTimeSynchronization.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestUTCTimeSynchronization.go @@ -218,7 +218,7 @@ func (m *_BACnetUnconfirmedServiceRequestUTCTimeSynchronization) deepCopy() *_BA return nil } _BACnetUnconfirmedServiceRequestUTCTimeSynchronizationCopy := &_BACnetUnconfirmedServiceRequestUTCTimeSynchronization{ - m.BACnetUnconfirmedServiceRequestContract.DeepCopy().(BACnetUnconfirmedServiceRequestContract), + m.BACnetUnconfirmedServiceRequestContract.(*_BACnetUnconfirmedServiceRequest).deepCopy(), m.SynchronizedDate.DeepCopy().(BACnetApplicationTagDate), m.SynchronizedTime.DeepCopy().(BACnetApplicationTagTime), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestUnconfirmedCOVNotification.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestUnconfirmedCOVNotification.go index 751a584783..b933f586e4 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestUnconfirmedCOVNotification.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestUnconfirmedCOVNotification.go @@ -290,7 +290,7 @@ func (m *_BACnetUnconfirmedServiceRequestUnconfirmedCOVNotification) deepCopy() return nil } _BACnetUnconfirmedServiceRequestUnconfirmedCOVNotificationCopy := &_BACnetUnconfirmedServiceRequestUnconfirmedCOVNotification{ - m.BACnetUnconfirmedServiceRequestContract.DeepCopy().(BACnetUnconfirmedServiceRequestContract), + m.BACnetUnconfirmedServiceRequestContract.(*_BACnetUnconfirmedServiceRequest).deepCopy(), m.SubscriberProcessIdentifier.DeepCopy().(BACnetContextTagUnsignedInteger), m.InitiatingDeviceIdentifier.DeepCopy().(BACnetContextTagObjectIdentifier), m.MonitoredObjectIdentifier.DeepCopy().(BACnetContextTagObjectIdentifier), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestUnconfirmedCOVNotificationMultiple.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestUnconfirmedCOVNotificationMultiple.go index 8ac9033ad2..6f2c7dafc9 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestUnconfirmedCOVNotificationMultiple.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestUnconfirmedCOVNotificationMultiple.go @@ -293,7 +293,7 @@ func (m *_BACnetUnconfirmedServiceRequestUnconfirmedCOVNotificationMultiple) dee return nil } _BACnetUnconfirmedServiceRequestUnconfirmedCOVNotificationMultipleCopy := &_BACnetUnconfirmedServiceRequestUnconfirmedCOVNotificationMultiple{ - m.BACnetUnconfirmedServiceRequestContract.DeepCopy().(BACnetUnconfirmedServiceRequestContract), + m.BACnetUnconfirmedServiceRequestContract.(*_BACnetUnconfirmedServiceRequest).deepCopy(), m.SubscriberProcessIdentifier.DeepCopy().(BACnetContextTagUnsignedInteger), m.InitiatingDeviceIdentifier.DeepCopy().(BACnetContextTagObjectIdentifier), m.TimeRemaining.DeepCopy().(BACnetContextTagUnsignedInteger), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestUnconfirmedEventNotification.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestUnconfirmedEventNotification.go index 2ac8583c06..1c6b3075ba 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestUnconfirmedEventNotification.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestUnconfirmedEventNotification.go @@ -494,7 +494,7 @@ func (m *_BACnetUnconfirmedServiceRequestUnconfirmedEventNotification) deepCopy( return nil } _BACnetUnconfirmedServiceRequestUnconfirmedEventNotificationCopy := &_BACnetUnconfirmedServiceRequestUnconfirmedEventNotification{ - m.BACnetUnconfirmedServiceRequestContract.DeepCopy().(BACnetUnconfirmedServiceRequestContract), + m.BACnetUnconfirmedServiceRequestContract.(*_BACnetUnconfirmedServiceRequest).deepCopy(), m.ProcessIdentifier.DeepCopy().(BACnetContextTagUnsignedInteger), m.InitiatingDeviceIdentifier.DeepCopy().(BACnetContextTagObjectIdentifier), m.EventObjectIdentifier.DeepCopy().(BACnetContextTagObjectIdentifier), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestUnconfirmedPrivateTransfer.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestUnconfirmedPrivateTransfer.go index 63f35af5cc..dd67e795e5 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestUnconfirmedPrivateTransfer.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestUnconfirmedPrivateTransfer.go @@ -245,7 +245,7 @@ func (m *_BACnetUnconfirmedServiceRequestUnconfirmedPrivateTransfer) deepCopy() return nil } _BACnetUnconfirmedServiceRequestUnconfirmedPrivateTransferCopy := &_BACnetUnconfirmedServiceRequestUnconfirmedPrivateTransfer{ - m.BACnetUnconfirmedServiceRequestContract.DeepCopy().(BACnetUnconfirmedServiceRequestContract), + m.BACnetUnconfirmedServiceRequestContract.(*_BACnetUnconfirmedServiceRequest).deepCopy(), m.VendorId.DeepCopy().(BACnetVendorIdTagged), m.ServiceNumber.DeepCopy().(BACnetContextTagUnsignedInteger), m.ServiceParameters.DeepCopy().(BACnetConstructedData), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestUnconfirmedTextMessage.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestUnconfirmedTextMessage.go index 66f306ec6d..3788f9d685 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestUnconfirmedTextMessage.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestUnconfirmedTextMessage.go @@ -269,7 +269,7 @@ func (m *_BACnetUnconfirmedServiceRequestUnconfirmedTextMessage) deepCopy() *_BA return nil } _BACnetUnconfirmedServiceRequestUnconfirmedTextMessageCopy := &_BACnetUnconfirmedServiceRequestUnconfirmedTextMessage{ - m.BACnetUnconfirmedServiceRequestContract.DeepCopy().(BACnetUnconfirmedServiceRequestContract), + m.BACnetUnconfirmedServiceRequestContract.(*_BACnetUnconfirmedServiceRequest).deepCopy(), m.TextMessageSourceDevice.DeepCopy().(BACnetContextTagObjectIdentifier), m.MessageClass.DeepCopy().(BACnetConfirmedServiceRequestConfirmedTextMessageMessageClass), m.MessagePriority.DeepCopy().(BACnetConfirmedServiceRequestConfirmedTextMessageMessagePriorityTagged), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestUnknown.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestUnknown.go index 0bc851593e..ad08b72e38 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestUnknown.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestUnknown.go @@ -192,7 +192,7 @@ func (m *_BACnetUnconfirmedServiceRequestUnknown) deepCopy() *_BACnetUnconfirmed return nil } _BACnetUnconfirmedServiceRequestUnknownCopy := &_BACnetUnconfirmedServiceRequestUnknown{ - m.BACnetUnconfirmedServiceRequestContract.DeepCopy().(BACnetUnconfirmedServiceRequestContract), + m.BACnetUnconfirmedServiceRequestContract.(*_BACnetUnconfirmedServiceRequest).deepCopy(), utils.DeepCopySlice[byte, byte](m.UnknownBytes), } m.BACnetUnconfirmedServiceRequestContract.(*_BACnetUnconfirmedServiceRequest)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestWhoHas.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestWhoHas.go index 56d97abce6..bc3f569e94 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestWhoHas.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestWhoHas.go @@ -247,7 +247,7 @@ func (m *_BACnetUnconfirmedServiceRequestWhoHas) deepCopy() *_BACnetUnconfirmedS return nil } _BACnetUnconfirmedServiceRequestWhoHasCopy := &_BACnetUnconfirmedServiceRequestWhoHas{ - m.BACnetUnconfirmedServiceRequestContract.DeepCopy().(BACnetUnconfirmedServiceRequestContract), + m.BACnetUnconfirmedServiceRequestContract.(*_BACnetUnconfirmedServiceRequest).deepCopy(), m.DeviceInstanceRangeLowLimit.DeepCopy().(BACnetContextTagUnsignedInteger), m.DeviceInstanceRangeHighLimit.DeepCopy().(BACnetContextTagUnsignedInteger), m.Object.DeepCopy().(BACnetUnconfirmedServiceRequestWhoHasObject), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestWhoHasObject.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestWhoHasObject.go index 5a34548470..afdeaf4c97 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestWhoHasObject.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestWhoHasObject.go @@ -47,7 +47,6 @@ type BACnetUnconfirmedServiceRequestWhoHasObject interface { // BACnetUnconfirmedServiceRequestWhoHasObjectContract provides a set of functions which can be overwritten by a sub struct type BACnetUnconfirmedServiceRequestWhoHasObjectContract interface { - utils.Copyable // GetPeekedTagHeader returns PeekedTagHeader (property field) GetPeekedTagHeader() BACnetTagHeader // GetPeekedTagNumber returns PeekedTagNumber (virtual field) diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestWhoHasObjectIdentifier.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestWhoHasObjectIdentifier.go index 209833a4de..dc7542c0c1 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestWhoHasObjectIdentifier.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestWhoHasObjectIdentifier.go @@ -190,7 +190,7 @@ func (m *_BACnetUnconfirmedServiceRequestWhoHasObjectIdentifier) deepCopy() *_BA return nil } _BACnetUnconfirmedServiceRequestWhoHasObjectIdentifierCopy := &_BACnetUnconfirmedServiceRequestWhoHasObjectIdentifier{ - m.BACnetUnconfirmedServiceRequestWhoHasObjectContract.DeepCopy().(BACnetUnconfirmedServiceRequestWhoHasObjectContract), + m.BACnetUnconfirmedServiceRequestWhoHasObjectContract.(*_BACnetUnconfirmedServiceRequestWhoHasObject).deepCopy(), m.ObjectIdentifier.DeepCopy().(BACnetContextTagObjectIdentifier), } m.BACnetUnconfirmedServiceRequestWhoHasObjectContract.(*_BACnetUnconfirmedServiceRequestWhoHasObject)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestWhoHasObjectName.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestWhoHasObjectName.go index b5da16b54e..725c0d92f8 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestWhoHasObjectName.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestWhoHasObjectName.go @@ -190,7 +190,7 @@ func (m *_BACnetUnconfirmedServiceRequestWhoHasObjectName) deepCopy() *_BACnetUn return nil } _BACnetUnconfirmedServiceRequestWhoHasObjectNameCopy := &_BACnetUnconfirmedServiceRequestWhoHasObjectName{ - m.BACnetUnconfirmedServiceRequestWhoHasObjectContract.DeepCopy().(BACnetUnconfirmedServiceRequestWhoHasObjectContract), + m.BACnetUnconfirmedServiceRequestWhoHasObjectContract.(*_BACnetUnconfirmedServiceRequestWhoHasObject).deepCopy(), m.ObjectName.DeepCopy().(BACnetContextTagCharacterString), } m.BACnetUnconfirmedServiceRequestWhoHasObjectContract.(*_BACnetUnconfirmedServiceRequestWhoHasObject)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestWhoIs.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestWhoIs.go index 63e3e8ebdf..285c4b4dc5 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestWhoIs.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestWhoIs.go @@ -223,7 +223,7 @@ func (m *_BACnetUnconfirmedServiceRequestWhoIs) deepCopy() *_BACnetUnconfirmedSe return nil } _BACnetUnconfirmedServiceRequestWhoIsCopy := &_BACnetUnconfirmedServiceRequestWhoIs{ - m.BACnetUnconfirmedServiceRequestContract.DeepCopy().(BACnetUnconfirmedServiceRequestContract), + m.BACnetUnconfirmedServiceRequestContract.(*_BACnetUnconfirmedServiceRequest).deepCopy(), m.DeviceInstanceRangeLowLimit.DeepCopy().(BACnetContextTagUnsignedInteger), m.DeviceInstanceRangeHighLimit.DeepCopy().(BACnetContextTagUnsignedInteger), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestWriteGroup.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestWriteGroup.go index 6698489a96..934503ee14 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestWriteGroup.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetUnconfirmedServiceRequestWriteGroup.go @@ -268,7 +268,7 @@ func (m *_BACnetUnconfirmedServiceRequestWriteGroup) deepCopy() *_BACnetUnconfir return nil } _BACnetUnconfirmedServiceRequestWriteGroupCopy := &_BACnetUnconfirmedServiceRequestWriteGroup{ - m.BACnetUnconfirmedServiceRequestContract.DeepCopy().(BACnetUnconfirmedServiceRequestContract), + m.BACnetUnconfirmedServiceRequestContract.(*_BACnetUnconfirmedServiceRequest).deepCopy(), m.GroupNumber.DeepCopy().(BACnetContextTagUnsignedInteger), m.WritePriority.DeepCopy().(BACnetContextTagUnsignedInteger), m.ChangeList.DeepCopy().(BACnetGroupChannelValueList), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetValueSource.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetValueSource.go index 3855404d25..83d635c524 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetValueSource.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetValueSource.go @@ -47,7 +47,6 @@ type BACnetValueSource interface { // BACnetValueSourceContract provides a set of functions which can be overwritten by a sub struct type BACnetValueSourceContract interface { - utils.Copyable // GetPeekedTagHeader returns PeekedTagHeader (property field) GetPeekedTagHeader() BACnetTagHeader // GetPeekedTagNumber returns PeekedTagNumber (virtual field) diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetValueSourceAddress.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetValueSourceAddress.go index 31847b7fea..cff1ab17cc 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetValueSourceAddress.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetValueSourceAddress.go @@ -189,7 +189,7 @@ func (m *_BACnetValueSourceAddress) deepCopy() *_BACnetValueSourceAddress { return nil } _BACnetValueSourceAddressCopy := &_BACnetValueSourceAddress{ - m.BACnetValueSourceContract.DeepCopy().(BACnetValueSourceContract), + m.BACnetValueSourceContract.(*_BACnetValueSource).deepCopy(), m.Address.DeepCopy().(BACnetAddressEnclosed), } m.BACnetValueSourceContract.(*_BACnetValueSource)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetValueSourceNone.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetValueSourceNone.go index 554efaa8c2..a2978c8b30 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetValueSourceNone.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetValueSourceNone.go @@ -189,7 +189,7 @@ func (m *_BACnetValueSourceNone) deepCopy() *_BACnetValueSourceNone { return nil } _BACnetValueSourceNoneCopy := &_BACnetValueSourceNone{ - m.BACnetValueSourceContract.DeepCopy().(BACnetValueSourceContract), + m.BACnetValueSourceContract.(*_BACnetValueSource).deepCopy(), m.None.DeepCopy().(BACnetContextTagNull), } m.BACnetValueSourceContract.(*_BACnetValueSource)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BACnetValueSourceObject.go b/plc4go/protocols/bacnetip/readwrite/model/BACnetValueSourceObject.go index 8bd0e7c744..ef4ffa00eb 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BACnetValueSourceObject.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BACnetValueSourceObject.go @@ -189,7 +189,7 @@ func (m *_BACnetValueSourceObject) deepCopy() *_BACnetValueSourceObject { return nil } _BACnetValueSourceObjectCopy := &_BACnetValueSourceObject{ - m.BACnetValueSourceContract.DeepCopy().(BACnetValueSourceContract), + m.BACnetValueSourceContract.(*_BACnetValueSource).deepCopy(), m.Object.DeepCopy().(BACnetDeviceObjectReferenceEnclosed), } m.BACnetValueSourceContract.(*_BACnetValueSource)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BVLC.go b/plc4go/protocols/bacnetip/readwrite/model/BVLC.go index 11e66fc613..e2339b68c3 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BVLC.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BVLC.go @@ -52,7 +52,6 @@ type BVLC interface { // BVLCContract provides a set of functions which can be overwritten by a sub struct type BVLCContract interface { - utils.Copyable // GetBvlcPayloadLength returns BvlcPayloadLength (virtual field) GetBvlcPayloadLength() uint16 // IsBVLC is a marker method to prevent unintentional type checks (interfaces of same signature) diff --git a/plc4go/protocols/bacnetip/readwrite/model/BVLCDeleteForeignDeviceTableEntry.go b/plc4go/protocols/bacnetip/readwrite/model/BVLCDeleteForeignDeviceTableEntry.go index f5ef606145..799d674e8a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BVLCDeleteForeignDeviceTableEntry.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BVLCDeleteForeignDeviceTableEntry.go @@ -215,7 +215,7 @@ func (m *_BVLCDeleteForeignDeviceTableEntry) deepCopy() *_BVLCDeleteForeignDevic return nil } _BVLCDeleteForeignDeviceTableEntryCopy := &_BVLCDeleteForeignDeviceTableEntry{ - m.BVLCContract.DeepCopy().(BVLCContract), + m.BVLCContract.(*_BVLC).deepCopy(), utils.DeepCopySlice[uint8, uint8](m.Ip), m.Port, } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BVLCDistributeBroadcastToNetwork.go b/plc4go/protocols/bacnetip/readwrite/model/BVLCDistributeBroadcastToNetwork.go index 5ebe5e3591..2f46d83178 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BVLCDistributeBroadcastToNetwork.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BVLCDistributeBroadcastToNetwork.go @@ -208,7 +208,7 @@ func (m *_BVLCDistributeBroadcastToNetwork) deepCopy() *_BVLCDistributeBroadcast return nil } _BVLCDistributeBroadcastToNetworkCopy := &_BVLCDistributeBroadcastToNetwork{ - m.BVLCContract.DeepCopy().(BVLCContract), + m.BVLCContract.(*_BVLC).deepCopy(), m.Npdu.DeepCopy().(NPDU), m.BvlcPayloadLength, } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BVLCForwardedNPDU.go b/plc4go/protocols/bacnetip/readwrite/model/BVLCForwardedNPDU.go index 919081babb..1624d03399 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BVLCForwardedNPDU.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BVLCForwardedNPDU.go @@ -252,7 +252,7 @@ func (m *_BVLCForwardedNPDU) deepCopy() *_BVLCForwardedNPDU { return nil } _BVLCForwardedNPDUCopy := &_BVLCForwardedNPDU{ - m.BVLCContract.DeepCopy().(BVLCContract), + m.BVLCContract.(*_BVLC).deepCopy(), utils.DeepCopySlice[uint8, uint8](m.Ip), m.Port, m.Npdu.DeepCopy().(NPDU), diff --git a/plc4go/protocols/bacnetip/readwrite/model/BVLCOriginalBroadcastNPDU.go b/plc4go/protocols/bacnetip/readwrite/model/BVLCOriginalBroadcastNPDU.go index 2add782629..601dc07313 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BVLCOriginalBroadcastNPDU.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BVLCOriginalBroadcastNPDU.go @@ -208,7 +208,7 @@ func (m *_BVLCOriginalBroadcastNPDU) deepCopy() *_BVLCOriginalBroadcastNPDU { return nil } _BVLCOriginalBroadcastNPDUCopy := &_BVLCOriginalBroadcastNPDU{ - m.BVLCContract.DeepCopy().(BVLCContract), + m.BVLCContract.(*_BVLC).deepCopy(), m.Npdu.DeepCopy().(NPDU), m.BvlcPayloadLength, } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BVLCOriginalUnicastNPDU.go b/plc4go/protocols/bacnetip/readwrite/model/BVLCOriginalUnicastNPDU.go index b3911de5de..4b545f6c5b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BVLCOriginalUnicastNPDU.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BVLCOriginalUnicastNPDU.go @@ -208,7 +208,7 @@ func (m *_BVLCOriginalUnicastNPDU) deepCopy() *_BVLCOriginalUnicastNPDU { return nil } _BVLCOriginalUnicastNPDUCopy := &_BVLCOriginalUnicastNPDU{ - m.BVLCContract.DeepCopy().(BVLCContract), + m.BVLCContract.(*_BVLC).deepCopy(), m.Npdu.DeepCopy().(NPDU), m.BvlcPayloadLength, } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BVLCReadBroadcastDistributionTable.go b/plc4go/protocols/bacnetip/readwrite/model/BVLCReadBroadcastDistributionTable.go index 3d733b63ef..bd2eb7b524 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BVLCReadBroadcastDistributionTable.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BVLCReadBroadcastDistributionTable.go @@ -158,7 +158,7 @@ func (m *_BVLCReadBroadcastDistributionTable) deepCopy() *_BVLCReadBroadcastDist return nil } _BVLCReadBroadcastDistributionTableCopy := &_BVLCReadBroadcastDistributionTable{ - m.BVLCContract.DeepCopy().(BVLCContract), + m.BVLCContract.(*_BVLC).deepCopy(), } m.BVLCContract.(*_BVLC)._SubType = m return _BVLCReadBroadcastDistributionTableCopy diff --git a/plc4go/protocols/bacnetip/readwrite/model/BVLCReadBroadcastDistributionTableAck.go b/plc4go/protocols/bacnetip/readwrite/model/BVLCReadBroadcastDistributionTableAck.go index 26eca24e87..356c33aa2c 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BVLCReadBroadcastDistributionTableAck.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BVLCReadBroadcastDistributionTableAck.go @@ -209,7 +209,7 @@ func (m *_BVLCReadBroadcastDistributionTableAck) deepCopy() *_BVLCReadBroadcastD return nil } _BVLCReadBroadcastDistributionTableAckCopy := &_BVLCReadBroadcastDistributionTableAck{ - m.BVLCContract.DeepCopy().(BVLCContract), + m.BVLCContract.(*_BVLC).deepCopy(), utils.DeepCopySlice[BVLCBroadcastDistributionTableEntry, BVLCBroadcastDistributionTableEntry](m.Table), m.BvlcPayloadLength, } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BVLCReadForeignDeviceTable.go b/plc4go/protocols/bacnetip/readwrite/model/BVLCReadForeignDeviceTable.go index 0984410330..febdc19539 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BVLCReadForeignDeviceTable.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BVLCReadForeignDeviceTable.go @@ -158,7 +158,7 @@ func (m *_BVLCReadForeignDeviceTable) deepCopy() *_BVLCReadForeignDeviceTable { return nil } _BVLCReadForeignDeviceTableCopy := &_BVLCReadForeignDeviceTable{ - m.BVLCContract.DeepCopy().(BVLCContract), + m.BVLCContract.(*_BVLC).deepCopy(), } m.BVLCContract.(*_BVLC)._SubType = m return _BVLCReadForeignDeviceTableCopy diff --git a/plc4go/protocols/bacnetip/readwrite/model/BVLCReadForeignDeviceTableAck.go b/plc4go/protocols/bacnetip/readwrite/model/BVLCReadForeignDeviceTableAck.go index f8ab958a75..0bb96897ae 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BVLCReadForeignDeviceTableAck.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BVLCReadForeignDeviceTableAck.go @@ -209,7 +209,7 @@ func (m *_BVLCReadForeignDeviceTableAck) deepCopy() *_BVLCReadForeignDeviceTable return nil } _BVLCReadForeignDeviceTableAckCopy := &_BVLCReadForeignDeviceTableAck{ - m.BVLCContract.DeepCopy().(BVLCContract), + m.BVLCContract.(*_BVLC).deepCopy(), utils.DeepCopySlice[BVLCForeignDeviceTableEntry, BVLCForeignDeviceTableEntry](m.Table), m.BvlcPayloadLength, } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BVLCRegisterForeignDevice.go b/plc4go/protocols/bacnetip/readwrite/model/BVLCRegisterForeignDevice.go index 1692a3b1e8..ad28ee5060 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BVLCRegisterForeignDevice.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BVLCRegisterForeignDevice.go @@ -192,7 +192,7 @@ func (m *_BVLCRegisterForeignDevice) deepCopy() *_BVLCRegisterForeignDevice { return nil } _BVLCRegisterForeignDeviceCopy := &_BVLCRegisterForeignDevice{ - m.BVLCContract.DeepCopy().(BVLCContract), + m.BVLCContract.(*_BVLC).deepCopy(), m.Ttl, } m.BVLCContract.(*_BVLC)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BVLCResult.go b/plc4go/protocols/bacnetip/readwrite/model/BVLCResult.go index e7c56e469a..0dd003ba2b 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BVLCResult.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BVLCResult.go @@ -192,7 +192,7 @@ func (m *_BVLCResult) deepCopy() *_BVLCResult { return nil } _BVLCResultCopy := &_BVLCResult{ - m.BVLCContract.DeepCopy().(BVLCContract), + m.BVLCContract.(*_BVLC).deepCopy(), m.Code, } m.BVLCContract.(*_BVLC)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/BVLCSecureBVLL.go b/plc4go/protocols/bacnetip/readwrite/model/BVLCSecureBVLL.go index 74ea00d889..2b4b517bb2 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BVLCSecureBVLL.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BVLCSecureBVLL.go @@ -207,7 +207,7 @@ func (m *_BVLCSecureBVLL) deepCopy() *_BVLCSecureBVLL { return nil } _BVLCSecureBVLLCopy := &_BVLCSecureBVLL{ - m.BVLCContract.DeepCopy().(BVLCContract), + m.BVLCContract.(*_BVLC).deepCopy(), utils.DeepCopySlice[byte, byte](m.SecurityWrapper), m.BvlcPayloadLength, } diff --git a/plc4go/protocols/bacnetip/readwrite/model/BVLCWriteBroadcastDistributionTable.go b/plc4go/protocols/bacnetip/readwrite/model/BVLCWriteBroadcastDistributionTable.go index 73cba553b6..1b6876f545 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/BVLCWriteBroadcastDistributionTable.go +++ b/plc4go/protocols/bacnetip/readwrite/model/BVLCWriteBroadcastDistributionTable.go @@ -209,7 +209,7 @@ func (m *_BVLCWriteBroadcastDistributionTable) deepCopy() *_BVLCWriteBroadcastDi return nil } _BVLCWriteBroadcastDistributionTableCopy := &_BVLCWriteBroadcastDistributionTable{ - m.BVLCContract.DeepCopy().(BVLCContract), + m.BVLCContract.(*_BVLC).deepCopy(), utils.DeepCopySlice[BVLCBroadcastDistributionTableEntry, BVLCBroadcastDistributionTableEntry](m.Table), m.BvlcPayloadLength, } diff --git a/plc4go/protocols/bacnetip/readwrite/model/ChangeListAddError.go b/plc4go/protocols/bacnetip/readwrite/model/ChangeListAddError.go index 415194e4f2..89ad5cbd96 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/ChangeListAddError.go +++ b/plc4go/protocols/bacnetip/readwrite/model/ChangeListAddError.go @@ -217,7 +217,7 @@ func (m *_ChangeListAddError) deepCopy() *_ChangeListAddError { return nil } _ChangeListAddErrorCopy := &_ChangeListAddError{ - m.BACnetErrorContract.DeepCopy().(BACnetErrorContract), + m.BACnetErrorContract.(*_BACnetError).deepCopy(), m.ErrorType.DeepCopy().(ErrorEnclosed), m.FirstFailedElementNumber.DeepCopy().(BACnetContextTagUnsignedInteger), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/ChangeListRemoveError.go b/plc4go/protocols/bacnetip/readwrite/model/ChangeListRemoveError.go index 77719ae5fc..61db0290e8 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/ChangeListRemoveError.go +++ b/plc4go/protocols/bacnetip/readwrite/model/ChangeListRemoveError.go @@ -217,7 +217,7 @@ func (m *_ChangeListRemoveError) deepCopy() *_ChangeListRemoveError { return nil } _ChangeListRemoveErrorCopy := &_ChangeListRemoveError{ - m.BACnetErrorContract.DeepCopy().(BACnetErrorContract), + m.BACnetErrorContract.(*_BACnetError).deepCopy(), m.ErrorType.DeepCopy().(ErrorEnclosed), m.FirstFailedElementNumber.DeepCopy().(BACnetContextTagUnsignedInteger), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/ConfirmedPrivateTransferError.go b/plc4go/protocols/bacnetip/readwrite/model/ConfirmedPrivateTransferError.go index 5f5c491ee4..1b794164de 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/ConfirmedPrivateTransferError.go +++ b/plc4go/protocols/bacnetip/readwrite/model/ConfirmedPrivateTransferError.go @@ -268,7 +268,7 @@ func (m *_ConfirmedPrivateTransferError) deepCopy() *_ConfirmedPrivateTransferEr return nil } _ConfirmedPrivateTransferErrorCopy := &_ConfirmedPrivateTransferError{ - m.BACnetErrorContract.DeepCopy().(BACnetErrorContract), + m.BACnetErrorContract.(*_BACnetError).deepCopy(), m.ErrorType.DeepCopy().(ErrorEnclosed), m.VendorId.DeepCopy().(BACnetVendorIdTagged), m.ServiceNumber.DeepCopy().(BACnetContextTagUnsignedInteger), diff --git a/plc4go/protocols/bacnetip/readwrite/model/CreateObjectError.go b/plc4go/protocols/bacnetip/readwrite/model/CreateObjectError.go index ca66fb0dd3..eae333c962 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/CreateObjectError.go +++ b/plc4go/protocols/bacnetip/readwrite/model/CreateObjectError.go @@ -217,7 +217,7 @@ func (m *_CreateObjectError) deepCopy() *_CreateObjectError { return nil } _CreateObjectErrorCopy := &_CreateObjectError{ - m.BACnetErrorContract.DeepCopy().(BACnetErrorContract), + m.BACnetErrorContract.(*_BACnetError).deepCopy(), m.ErrorType.DeepCopy().(ErrorEnclosed), m.FirstFailedElementNumber.DeepCopy().(BACnetContextTagUnsignedInteger), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/NLM.go b/plc4go/protocols/bacnetip/readwrite/model/NLM.go index d13976a750..3e4ead4629 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/NLM.go +++ b/plc4go/protocols/bacnetip/readwrite/model/NLM.go @@ -47,7 +47,6 @@ type NLM interface { // NLMContract provides a set of functions which can be overwritten by a sub struct type NLMContract interface { - utils.Copyable // GetIsVendorProprietaryMessage returns IsVendorProprietaryMessage (virtual field) GetIsVendorProprietaryMessage() bool // GetApduLength() returns a parser argument diff --git a/plc4go/protocols/bacnetip/readwrite/model/NLMChallengeRequest.go b/plc4go/protocols/bacnetip/readwrite/model/NLMChallengeRequest.go index 6ad550599c..3a9421d42f 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/NLMChallengeRequest.go +++ b/plc4go/protocols/bacnetip/readwrite/model/NLMChallengeRequest.go @@ -232,7 +232,7 @@ func (m *_NLMChallengeRequest) deepCopy() *_NLMChallengeRequest { return nil } _NLMChallengeRequestCopy := &_NLMChallengeRequest{ - m.NLMContract.DeepCopy().(NLMContract), + m.NLMContract.(*_NLM).deepCopy(), m.MessageChallenge, m.OriginalMessageId, m.OriginalTimestamp, diff --git a/plc4go/protocols/bacnetip/readwrite/model/NLMDisconnectConnectionToNetwork.go b/plc4go/protocols/bacnetip/readwrite/model/NLMDisconnectConnectionToNetwork.go index e0e7f13b99..5489a9d716 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/NLMDisconnectConnectionToNetwork.go +++ b/plc4go/protocols/bacnetip/readwrite/model/NLMDisconnectConnectionToNetwork.go @@ -190,7 +190,7 @@ func (m *_NLMDisconnectConnectionToNetwork) deepCopy() *_NLMDisconnectConnection return nil } _NLMDisconnectConnectionToNetworkCopy := &_NLMDisconnectConnectionToNetwork{ - m.NLMContract.DeepCopy().(NLMContract), + m.NLMContract.(*_NLM).deepCopy(), m.DestinationNetworkAddress, } m.NLMContract.(*_NLM)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/NLMEstablishConnectionToNetwork.go b/plc4go/protocols/bacnetip/readwrite/model/NLMEstablishConnectionToNetwork.go index 5a6213e931..08ba606fa3 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/NLMEstablishConnectionToNetwork.go +++ b/plc4go/protocols/bacnetip/readwrite/model/NLMEstablishConnectionToNetwork.go @@ -211,7 +211,7 @@ func (m *_NLMEstablishConnectionToNetwork) deepCopy() *_NLMEstablishConnectionTo return nil } _NLMEstablishConnectionToNetworkCopy := &_NLMEstablishConnectionToNetwork{ - m.NLMContract.DeepCopy().(NLMContract), + m.NLMContract.(*_NLM).deepCopy(), m.DestinationNetworkAddress, m.TerminationTime, } diff --git a/plc4go/protocols/bacnetip/readwrite/model/NLMIAmRouterToNetwork.go b/plc4go/protocols/bacnetip/readwrite/model/NLMIAmRouterToNetwork.go index 67b3f54172..1c6daac795 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/NLMIAmRouterToNetwork.go +++ b/plc4go/protocols/bacnetip/readwrite/model/NLMIAmRouterToNetwork.go @@ -192,7 +192,7 @@ func (m *_NLMIAmRouterToNetwork) deepCopy() *_NLMIAmRouterToNetwork { return nil } _NLMIAmRouterToNetworkCopy := &_NLMIAmRouterToNetwork{ - m.NLMContract.DeepCopy().(NLMContract), + m.NLMContract.(*_NLM).deepCopy(), utils.DeepCopySlice[uint16, uint16](m.DestinationNetworkAddresses), } m.NLMContract.(*_NLM)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/NLMICouldBeRouterToNetwork.go b/plc4go/protocols/bacnetip/readwrite/model/NLMICouldBeRouterToNetwork.go index 0c9612cbb3..c820e2fba5 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/NLMICouldBeRouterToNetwork.go +++ b/plc4go/protocols/bacnetip/readwrite/model/NLMICouldBeRouterToNetwork.go @@ -211,7 +211,7 @@ func (m *_NLMICouldBeRouterToNetwork) deepCopy() *_NLMICouldBeRouterToNetwork { return nil } _NLMICouldBeRouterToNetworkCopy := &_NLMICouldBeRouterToNetwork{ - m.NLMContract.DeepCopy().(NLMContract), + m.NLMContract.(*_NLM).deepCopy(), m.DestinationNetworkAddress, m.PerformanceIndex, } diff --git a/plc4go/protocols/bacnetip/readwrite/model/NLMInitializeRoutingTable.go b/plc4go/protocols/bacnetip/readwrite/model/NLMInitializeRoutingTable.go index 5073b8d19c..3eeceb15a0 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/NLMInitializeRoutingTable.go +++ b/plc4go/protocols/bacnetip/readwrite/model/NLMInitializeRoutingTable.go @@ -218,7 +218,7 @@ func (m *_NLMInitializeRoutingTable) deepCopy() *_NLMInitializeRoutingTable { return nil } _NLMInitializeRoutingTableCopy := &_NLMInitializeRoutingTable{ - m.NLMContract.DeepCopy().(NLMContract), + m.NLMContract.(*_NLM).deepCopy(), m.NumberOfPorts, utils.DeepCopySlice[NLMInitializeRoutingTablePortMapping, NLMInitializeRoutingTablePortMapping](m.PortMappings), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/NLMInitializeRoutingTableAck.go b/plc4go/protocols/bacnetip/readwrite/model/NLMInitializeRoutingTableAck.go index 0cc9bb959f..0c6412c0e0 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/NLMInitializeRoutingTableAck.go +++ b/plc4go/protocols/bacnetip/readwrite/model/NLMInitializeRoutingTableAck.go @@ -218,7 +218,7 @@ func (m *_NLMInitializeRoutingTableAck) deepCopy() *_NLMInitializeRoutingTableAc return nil } _NLMInitializeRoutingTableAckCopy := &_NLMInitializeRoutingTableAck{ - m.NLMContract.DeepCopy().(NLMContract), + m.NLMContract.(*_NLM).deepCopy(), m.NumberOfPorts, utils.DeepCopySlice[NLMInitializeRoutingTablePortMapping, NLMInitializeRoutingTablePortMapping](m.PortMappings), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/NLMNetworkNumberIs.go b/plc4go/protocols/bacnetip/readwrite/model/NLMNetworkNumberIs.go index 524d0b09a7..e74785ac2a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/NLMNetworkNumberIs.go +++ b/plc4go/protocols/bacnetip/readwrite/model/NLMNetworkNumberIs.go @@ -226,7 +226,7 @@ func (m *_NLMNetworkNumberIs) deepCopy() *_NLMNetworkNumberIs { return nil } _NLMNetworkNumberIsCopy := &_NLMNetworkNumberIs{ - m.NLMContract.DeepCopy().(NLMContract), + m.NLMContract.(*_NLM).deepCopy(), m.NetworkNumber, m.NetworkNumberConfigured, m.reservedField0, diff --git a/plc4go/protocols/bacnetip/readwrite/model/NLMRejectMessageToNetwork.go b/plc4go/protocols/bacnetip/readwrite/model/NLMRejectMessageToNetwork.go index 16c23ed78a..80cce1e944 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/NLMRejectMessageToNetwork.go +++ b/plc4go/protocols/bacnetip/readwrite/model/NLMRejectMessageToNetwork.go @@ -211,7 +211,7 @@ func (m *_NLMRejectMessageToNetwork) deepCopy() *_NLMRejectMessageToNetwork { return nil } _NLMRejectMessageToNetworkCopy := &_NLMRejectMessageToNetwork{ - m.NLMContract.DeepCopy().(NLMContract), + m.NLMContract.(*_NLM).deepCopy(), m.RejectReason, m.DestinationNetworkAddress, } diff --git a/plc4go/protocols/bacnetip/readwrite/model/NLMRequestKeyUpdate.go b/plc4go/protocols/bacnetip/readwrite/model/NLMRequestKeyUpdate.go index 7a3470e642..abd62184f0 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/NLMRequestKeyUpdate.go +++ b/plc4go/protocols/bacnetip/readwrite/model/NLMRequestKeyUpdate.go @@ -316,7 +316,7 @@ func (m *_NLMRequestKeyUpdate) deepCopy() *_NLMRequestKeyUpdate { return nil } _NLMRequestKeyUpdateCopy := &_NLMRequestKeyUpdate{ - m.NLMContract.DeepCopy().(NLMContract), + m.NLMContract.(*_NLM).deepCopy(), m.Set1KeyRevision, m.Set1ActivationTime, m.Set1ExpirationTime, diff --git a/plc4go/protocols/bacnetip/readwrite/model/NLMRequestMasterKey.go b/plc4go/protocols/bacnetip/readwrite/model/NLMRequestMasterKey.go index 29cc7c6c22..79ddc9e91e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/NLMRequestMasterKey.go +++ b/plc4go/protocols/bacnetip/readwrite/model/NLMRequestMasterKey.go @@ -213,7 +213,7 @@ func (m *_NLMRequestMasterKey) deepCopy() *_NLMRequestMasterKey { return nil } _NLMRequestMasterKeyCopy := &_NLMRequestMasterKey{ - m.NLMContract.DeepCopy().(NLMContract), + m.NLMContract.(*_NLM).deepCopy(), m.NumberOfSupportedKeyAlgorithms, utils.DeepCopySlice[byte, byte](m.EncryptionAndSignatureAlgorithms), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/NLMReserved.go b/plc4go/protocols/bacnetip/readwrite/model/NLMReserved.go index 5eb8d60c44..dc273332b7 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/NLMReserved.go +++ b/plc4go/protocols/bacnetip/readwrite/model/NLMReserved.go @@ -192,7 +192,7 @@ func (m *_NLMReserved) deepCopy() *_NLMReserved { return nil } _NLMReservedCopy := &_NLMReserved{ - m.NLMContract.DeepCopy().(NLMContract), + m.NLMContract.(*_NLM).deepCopy(), utils.DeepCopySlice[byte, byte](m.UnknownBytes), } m.NLMContract.(*_NLM)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/NLMRouterAvailableToNetwork.go b/plc4go/protocols/bacnetip/readwrite/model/NLMRouterAvailableToNetwork.go index cc9ac18d97..ee78f1345d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/NLMRouterAvailableToNetwork.go +++ b/plc4go/protocols/bacnetip/readwrite/model/NLMRouterAvailableToNetwork.go @@ -192,7 +192,7 @@ func (m *_NLMRouterAvailableToNetwork) deepCopy() *_NLMRouterAvailableToNetwork return nil } _NLMRouterAvailableToNetworkCopy := &_NLMRouterAvailableToNetwork{ - m.NLMContract.DeepCopy().(NLMContract), + m.NLMContract.(*_NLM).deepCopy(), utils.DeepCopySlice[uint16, uint16](m.DestinationNetworkAddresses), } m.NLMContract.(*_NLM)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/NLMRouterBusyToNetwork.go b/plc4go/protocols/bacnetip/readwrite/model/NLMRouterBusyToNetwork.go index e22243b1a0..c37bdba41e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/NLMRouterBusyToNetwork.go +++ b/plc4go/protocols/bacnetip/readwrite/model/NLMRouterBusyToNetwork.go @@ -192,7 +192,7 @@ func (m *_NLMRouterBusyToNetwork) deepCopy() *_NLMRouterBusyToNetwork { return nil } _NLMRouterBusyToNetworkCopy := &_NLMRouterBusyToNetwork{ - m.NLMContract.DeepCopy().(NLMContract), + m.NLMContract.(*_NLM).deepCopy(), utils.DeepCopySlice[uint16, uint16](m.DestinationNetworkAddresses), } m.NLMContract.(*_NLM)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/NLMSecurityPayload.go b/plc4go/protocols/bacnetip/readwrite/model/NLMSecurityPayload.go index 5b8cc5033c..195065ca60 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/NLMSecurityPayload.go +++ b/plc4go/protocols/bacnetip/readwrite/model/NLMSecurityPayload.go @@ -213,7 +213,7 @@ func (m *_NLMSecurityPayload) deepCopy() *_NLMSecurityPayload { return nil } _NLMSecurityPayloadCopy := &_NLMSecurityPayload{ - m.NLMContract.DeepCopy().(NLMContract), + m.NLMContract.(*_NLM).deepCopy(), m.PayloadLength, utils.DeepCopySlice[byte, byte](m.Payload), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/NLMSecurityResponse.go b/plc4go/protocols/bacnetip/readwrite/model/NLMSecurityResponse.go index d326432f13..ff56c0656a 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/NLMSecurityResponse.go +++ b/plc4go/protocols/bacnetip/readwrite/model/NLMSecurityResponse.go @@ -255,7 +255,7 @@ func (m *_NLMSecurityResponse) deepCopy() *_NLMSecurityResponse { return nil } _NLMSecurityResponseCopy := &_NLMSecurityResponse{ - m.NLMContract.DeepCopy().(NLMContract), + m.NLMContract.(*_NLM).deepCopy(), m.ResponseCode, m.OriginalMessageId, m.OriginalTimestamp, diff --git a/plc4go/protocols/bacnetip/readwrite/model/NLMSetMasterKey.go b/plc4go/protocols/bacnetip/readwrite/model/NLMSetMasterKey.go index bddfb45634..73ed561005 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/NLMSetMasterKey.go +++ b/plc4go/protocols/bacnetip/readwrite/model/NLMSetMasterKey.go @@ -193,7 +193,7 @@ func (m *_NLMSetMasterKey) deepCopy() *_NLMSetMasterKey { return nil } _NLMSetMasterKeyCopy := &_NLMSetMasterKey{ - m.NLMContract.DeepCopy().(NLMContract), + m.NLMContract.(*_NLM).deepCopy(), m.Key.DeepCopy().(NLMUpdateKeyUpdateKeyEntry), } m.NLMContract.(*_NLM)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/NLMUpdateKeyDistributionKey.go b/plc4go/protocols/bacnetip/readwrite/model/NLMUpdateKeyDistributionKey.go index 14fb0c088a..7a17c9c8ff 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/NLMUpdateKeyDistributionKey.go +++ b/plc4go/protocols/bacnetip/readwrite/model/NLMUpdateKeyDistributionKey.go @@ -214,7 +214,7 @@ func (m *_NLMUpdateKeyDistributionKey) deepCopy() *_NLMUpdateKeyDistributionKey return nil } _NLMUpdateKeyDistributionKeyCopy := &_NLMUpdateKeyDistributionKey{ - m.NLMContract.DeepCopy().(NLMContract), + m.NLMContract.(*_NLM).deepCopy(), m.KeyRevision, m.Key.DeepCopy().(NLMUpdateKeyUpdateKeyEntry), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/NLMUpdateKeyUpdate.go b/plc4go/protocols/bacnetip/readwrite/model/NLMUpdateKeyUpdate.go index ef057c202d..b18680f32e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/NLMUpdateKeyUpdate.go +++ b/plc4go/protocols/bacnetip/readwrite/model/NLMUpdateKeyUpdate.go @@ -441,7 +441,7 @@ func (m *_NLMUpdateKeyUpdate) deepCopy() *_NLMUpdateKeyUpdate { return nil } _NLMUpdateKeyUpdateCopy := &_NLMUpdateKeyUpdate{ - m.NLMContract.DeepCopy().(NLMContract), + m.NLMContract.(*_NLM).deepCopy(), m.ControlFlags.DeepCopy().(NLMUpdateKeyUpdateControlFlags), utils.CopyPtr[byte](m.Set1KeyRevision), utils.CopyPtr[uint32](m.Set1ActivationTime), diff --git a/plc4go/protocols/bacnetip/readwrite/model/NLMVendorProprietaryMessage.go b/plc4go/protocols/bacnetip/readwrite/model/NLMVendorProprietaryMessage.go index 4c9ae83ee8..8f8d6c6943 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/NLMVendorProprietaryMessage.go +++ b/plc4go/protocols/bacnetip/readwrite/model/NLMVendorProprietaryMessage.go @@ -213,7 +213,7 @@ func (m *_NLMVendorProprietaryMessage) deepCopy() *_NLMVendorProprietaryMessage return nil } _NLMVendorProprietaryMessageCopy := &_NLMVendorProprietaryMessage{ - m.NLMContract.DeepCopy().(NLMContract), + m.NLMContract.(*_NLM).deepCopy(), m.VendorId, utils.DeepCopySlice[byte, byte](m.ProprietaryMessage), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/NLMWhatIsNetworkNumber.go b/plc4go/protocols/bacnetip/readwrite/model/NLMWhatIsNetworkNumber.go index 6dc91f1126..e719cbfc0e 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/NLMWhatIsNetworkNumber.go +++ b/plc4go/protocols/bacnetip/readwrite/model/NLMWhatIsNetworkNumber.go @@ -157,7 +157,7 @@ func (m *_NLMWhatIsNetworkNumber) deepCopy() *_NLMWhatIsNetworkNumber { return nil } _NLMWhatIsNetworkNumberCopy := &_NLMWhatIsNetworkNumber{ - m.NLMContract.DeepCopy().(NLMContract), + m.NLMContract.(*_NLM).deepCopy(), } m.NLMContract.(*_NLM)._SubType = m return _NLMWhatIsNetworkNumberCopy diff --git a/plc4go/protocols/bacnetip/readwrite/model/NLMWhoIsRouterToNetwork.go b/plc4go/protocols/bacnetip/readwrite/model/NLMWhoIsRouterToNetwork.go index 046e291243..dcaf5fdedb 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/NLMWhoIsRouterToNetwork.go +++ b/plc4go/protocols/bacnetip/readwrite/model/NLMWhoIsRouterToNetwork.go @@ -193,7 +193,7 @@ func (m *_NLMWhoIsRouterToNetwork) deepCopy() *_NLMWhoIsRouterToNetwork { return nil } _NLMWhoIsRouterToNetworkCopy := &_NLMWhoIsRouterToNetwork{ - m.NLMContract.DeepCopy().(NLMContract), + m.NLMContract.(*_NLM).deepCopy(), utils.CopyPtr[uint16](m.DestinationNetworkAddress), } m.NLMContract.(*_NLM)._SubType = m diff --git a/plc4go/protocols/bacnetip/readwrite/model/SubscribeCOVPropertyMultipleError.go b/plc4go/protocols/bacnetip/readwrite/model/SubscribeCOVPropertyMultipleError.go index 4673cc6d9d..498c0539bc 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/SubscribeCOVPropertyMultipleError.go +++ b/plc4go/protocols/bacnetip/readwrite/model/SubscribeCOVPropertyMultipleError.go @@ -217,7 +217,7 @@ func (m *_SubscribeCOVPropertyMultipleError) deepCopy() *_SubscribeCOVPropertyMu return nil } _SubscribeCOVPropertyMultipleErrorCopy := &_SubscribeCOVPropertyMultipleError{ - m.BACnetErrorContract.DeepCopy().(BACnetErrorContract), + m.BACnetErrorContract.(*_BACnetError).deepCopy(), m.ErrorType.DeepCopy().(ErrorEnclosed), m.FirstFailedSubscription.DeepCopy().(SubscribeCOVPropertyMultipleErrorFirstFailedSubscription), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/VTCloseError.go b/plc4go/protocols/bacnetip/readwrite/model/VTCloseError.go index 8ec4e62fec..06b4c53efd 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/VTCloseError.go +++ b/plc4go/protocols/bacnetip/readwrite/model/VTCloseError.go @@ -220,7 +220,7 @@ func (m *_VTCloseError) deepCopy() *_VTCloseError { return nil } _VTCloseErrorCopy := &_VTCloseError{ - m.BACnetErrorContract.DeepCopy().(BACnetErrorContract), + m.BACnetErrorContract.(*_BACnetError).deepCopy(), m.ErrorType.DeepCopy().(ErrorEnclosed), m.ListOfVtSessionIdentifiers.DeepCopy().(VTCloseErrorListOfVTSessionIdentifiers), } diff --git a/plc4go/protocols/bacnetip/readwrite/model/WritePropertyMultipleError.go b/plc4go/protocols/bacnetip/readwrite/model/WritePropertyMultipleError.go index a3688679ee..62070a9b1d 100644 --- a/plc4go/protocols/bacnetip/readwrite/model/WritePropertyMultipleError.go +++ b/plc4go/protocols/bacnetip/readwrite/model/WritePropertyMultipleError.go @@ -217,7 +217,7 @@ func (m *_WritePropertyMultipleError) deepCopy() *_WritePropertyMultipleError { return nil } _WritePropertyMultipleErrorCopy := &_WritePropertyMultipleError{ - m.BACnetErrorContract.DeepCopy().(BACnetErrorContract), + m.BACnetErrorContract.(*_BACnetError).deepCopy(), m.ErrorType.DeepCopy().(ErrorEnclosed), m.FirstFailedWriteAttempt.DeepCopy().(BACnetObjectPropertyReferenceEnclosed), } diff --git a/plc4go/protocols/cbus/readwrite/model/AccessControlData.go b/plc4go/protocols/cbus/readwrite/model/AccessControlData.go index 267061f28e..90c1b82051 100644 --- a/plc4go/protocols/cbus/readwrite/model/AccessControlData.go +++ b/plc4go/protocols/cbus/readwrite/model/AccessControlData.go @@ -47,7 +47,6 @@ type AccessControlData interface { // AccessControlDataContract provides a set of functions which can be overwritten by a sub struct type AccessControlDataContract interface { - utils.Copyable // GetCommandTypeContainer returns CommandTypeContainer (property field) GetCommandTypeContainer() AccessControlCommandTypeContainer // GetNetworkId returns NetworkId (property field) diff --git a/plc4go/protocols/cbus/readwrite/model/AccessControlDataAccessPointClosed.go b/plc4go/protocols/cbus/readwrite/model/AccessControlDataAccessPointClosed.go index 3c8c160fa3..3fbb400b62 100644 --- a/plc4go/protocols/cbus/readwrite/model/AccessControlDataAccessPointClosed.go +++ b/plc4go/protocols/cbus/readwrite/model/AccessControlDataAccessPointClosed.go @@ -153,7 +153,7 @@ func (m *_AccessControlDataAccessPointClosed) deepCopy() *_AccessControlDataAcce return nil } _AccessControlDataAccessPointClosedCopy := &_AccessControlDataAccessPointClosed{ - m.AccessControlDataContract.DeepCopy().(AccessControlDataContract), + m.AccessControlDataContract.(*_AccessControlData).deepCopy(), } m.AccessControlDataContract.(*_AccessControlData)._SubType = m return _AccessControlDataAccessPointClosedCopy diff --git a/plc4go/protocols/cbus/readwrite/model/AccessControlDataAccessPointForcedOpen.go b/plc4go/protocols/cbus/readwrite/model/AccessControlDataAccessPointForcedOpen.go index a4c437251d..98e23aa331 100644 --- a/plc4go/protocols/cbus/readwrite/model/AccessControlDataAccessPointForcedOpen.go +++ b/plc4go/protocols/cbus/readwrite/model/AccessControlDataAccessPointForcedOpen.go @@ -153,7 +153,7 @@ func (m *_AccessControlDataAccessPointForcedOpen) deepCopy() *_AccessControlData return nil } _AccessControlDataAccessPointForcedOpenCopy := &_AccessControlDataAccessPointForcedOpen{ - m.AccessControlDataContract.DeepCopy().(AccessControlDataContract), + m.AccessControlDataContract.(*_AccessControlData).deepCopy(), } m.AccessControlDataContract.(*_AccessControlData)._SubType = m return _AccessControlDataAccessPointForcedOpenCopy diff --git a/plc4go/protocols/cbus/readwrite/model/AccessControlDataAccessPointLeftOpen.go b/plc4go/protocols/cbus/readwrite/model/AccessControlDataAccessPointLeftOpen.go index c3cf35f7a3..305484aff9 100644 --- a/plc4go/protocols/cbus/readwrite/model/AccessControlDataAccessPointLeftOpen.go +++ b/plc4go/protocols/cbus/readwrite/model/AccessControlDataAccessPointLeftOpen.go @@ -153,7 +153,7 @@ func (m *_AccessControlDataAccessPointLeftOpen) deepCopy() *_AccessControlDataAc return nil } _AccessControlDataAccessPointLeftOpenCopy := &_AccessControlDataAccessPointLeftOpen{ - m.AccessControlDataContract.DeepCopy().(AccessControlDataContract), + m.AccessControlDataContract.(*_AccessControlData).deepCopy(), } m.AccessControlDataContract.(*_AccessControlData)._SubType = m return _AccessControlDataAccessPointLeftOpenCopy diff --git a/plc4go/protocols/cbus/readwrite/model/AccessControlDataCloseAccessPoint.go b/plc4go/protocols/cbus/readwrite/model/AccessControlDataCloseAccessPoint.go index 5cb628ca05..bb6242723d 100644 --- a/plc4go/protocols/cbus/readwrite/model/AccessControlDataCloseAccessPoint.go +++ b/plc4go/protocols/cbus/readwrite/model/AccessControlDataCloseAccessPoint.go @@ -153,7 +153,7 @@ func (m *_AccessControlDataCloseAccessPoint) deepCopy() *_AccessControlDataClose return nil } _AccessControlDataCloseAccessPointCopy := &_AccessControlDataCloseAccessPoint{ - m.AccessControlDataContract.DeepCopy().(AccessControlDataContract), + m.AccessControlDataContract.(*_AccessControlData).deepCopy(), } m.AccessControlDataContract.(*_AccessControlData)._SubType = m return _AccessControlDataCloseAccessPointCopy diff --git a/plc4go/protocols/cbus/readwrite/model/AccessControlDataInvalidAccessRequest.go b/plc4go/protocols/cbus/readwrite/model/AccessControlDataInvalidAccessRequest.go index 024e6ebb69..e04f9208c3 100644 --- a/plc4go/protocols/cbus/readwrite/model/AccessControlDataInvalidAccessRequest.go +++ b/plc4go/protocols/cbus/readwrite/model/AccessControlDataInvalidAccessRequest.go @@ -209,7 +209,7 @@ func (m *_AccessControlDataInvalidAccessRequest) deepCopy() *_AccessControlDataI return nil } _AccessControlDataInvalidAccessRequestCopy := &_AccessControlDataInvalidAccessRequest{ - m.AccessControlDataContract.DeepCopy().(AccessControlDataContract), + m.AccessControlDataContract.(*_AccessControlData).deepCopy(), m.AccessControlDirection, utils.DeepCopySlice[byte, byte](m.Data), } diff --git a/plc4go/protocols/cbus/readwrite/model/AccessControlDataLockAccessPoint.go b/plc4go/protocols/cbus/readwrite/model/AccessControlDataLockAccessPoint.go index f5ff5625d6..fd7347df5e 100644 --- a/plc4go/protocols/cbus/readwrite/model/AccessControlDataLockAccessPoint.go +++ b/plc4go/protocols/cbus/readwrite/model/AccessControlDataLockAccessPoint.go @@ -153,7 +153,7 @@ func (m *_AccessControlDataLockAccessPoint) deepCopy() *_AccessControlDataLockAc return nil } _AccessControlDataLockAccessPointCopy := &_AccessControlDataLockAccessPoint{ - m.AccessControlDataContract.DeepCopy().(AccessControlDataContract), + m.AccessControlDataContract.(*_AccessControlData).deepCopy(), } m.AccessControlDataContract.(*_AccessControlData)._SubType = m return _AccessControlDataLockAccessPointCopy diff --git a/plc4go/protocols/cbus/readwrite/model/AccessControlDataRequestToExit.go b/plc4go/protocols/cbus/readwrite/model/AccessControlDataRequestToExit.go index 66ce849c4c..283cade668 100644 --- a/plc4go/protocols/cbus/readwrite/model/AccessControlDataRequestToExit.go +++ b/plc4go/protocols/cbus/readwrite/model/AccessControlDataRequestToExit.go @@ -153,7 +153,7 @@ func (m *_AccessControlDataRequestToExit) deepCopy() *_AccessControlDataRequestT return nil } _AccessControlDataRequestToExitCopy := &_AccessControlDataRequestToExit{ - m.AccessControlDataContract.DeepCopy().(AccessControlDataContract), + m.AccessControlDataContract.(*_AccessControlData).deepCopy(), } m.AccessControlDataContract.(*_AccessControlData)._SubType = m return _AccessControlDataRequestToExitCopy diff --git a/plc4go/protocols/cbus/readwrite/model/AccessControlDataValidAccessRequest.go b/plc4go/protocols/cbus/readwrite/model/AccessControlDataValidAccessRequest.go index 9abd4bf3cc..b2824592db 100644 --- a/plc4go/protocols/cbus/readwrite/model/AccessControlDataValidAccessRequest.go +++ b/plc4go/protocols/cbus/readwrite/model/AccessControlDataValidAccessRequest.go @@ -209,7 +209,7 @@ func (m *_AccessControlDataValidAccessRequest) deepCopy() *_AccessControlDataVal return nil } _AccessControlDataValidAccessRequestCopy := &_AccessControlDataValidAccessRequest{ - m.AccessControlDataContract.DeepCopy().(AccessControlDataContract), + m.AccessControlDataContract.(*_AccessControlData).deepCopy(), m.AccessControlDirection, utils.DeepCopySlice[byte, byte](m.Data), } diff --git a/plc4go/protocols/cbus/readwrite/model/AirConditioningData.go b/plc4go/protocols/cbus/readwrite/model/AirConditioningData.go index 9b06fc749b..670138f47a 100644 --- a/plc4go/protocols/cbus/readwrite/model/AirConditioningData.go +++ b/plc4go/protocols/cbus/readwrite/model/AirConditioningData.go @@ -47,7 +47,6 @@ type AirConditioningData interface { // AirConditioningDataContract provides a set of functions which can be overwritten by a sub struct type AirConditioningDataContract interface { - utils.Copyable // GetCommandTypeContainer returns CommandTypeContainer (property field) GetCommandTypeContainer() AirConditioningCommandTypeContainer // GetCommandType returns CommandType (virtual field) diff --git a/plc4go/protocols/cbus/readwrite/model/AirConditioningDataHumidityScheduleEntry.go b/plc4go/protocols/cbus/readwrite/model/AirConditioningDataHumidityScheduleEntry.go index 33e16c5ea0..139d819479 100644 --- a/plc4go/protocols/cbus/readwrite/model/AirConditioningDataHumidityScheduleEntry.go +++ b/plc4go/protocols/cbus/readwrite/model/AirConditioningDataHumidityScheduleEntry.go @@ -354,7 +354,7 @@ func (m *_AirConditioningDataHumidityScheduleEntry) deepCopy() *_AirConditioning return nil } _AirConditioningDataHumidityScheduleEntryCopy := &_AirConditioningDataHumidityScheduleEntry{ - m.AirConditioningDataContract.DeepCopy().(AirConditioningDataContract), + m.AirConditioningDataContract.(*_AirConditioningData).deepCopy(), m.ZoneGroup, m.ZoneList.DeepCopy().(HVACZoneList), m.Entry, diff --git a/plc4go/protocols/cbus/readwrite/model/AirConditioningDataHvacScheduleEntry.go b/plc4go/protocols/cbus/readwrite/model/AirConditioningDataHvacScheduleEntry.go index 44fff9c0ea..2c878ebefe 100644 --- a/plc4go/protocols/cbus/readwrite/model/AirConditioningDataHvacScheduleEntry.go +++ b/plc4go/protocols/cbus/readwrite/model/AirConditioningDataHvacScheduleEntry.go @@ -354,7 +354,7 @@ func (m *_AirConditioningDataHvacScheduleEntry) deepCopy() *_AirConditioningData return nil } _AirConditioningDataHvacScheduleEntryCopy := &_AirConditioningDataHvacScheduleEntry{ - m.AirConditioningDataContract.DeepCopy().(AirConditioningDataContract), + m.AirConditioningDataContract.(*_AirConditioningData).deepCopy(), m.ZoneGroup, m.ZoneList.DeepCopy().(HVACZoneList), m.Entry, diff --git a/plc4go/protocols/cbus/readwrite/model/AirConditioningDataRefresh.go b/plc4go/protocols/cbus/readwrite/model/AirConditioningDataRefresh.go index 877f500569..9cac7ccd9b 100644 --- a/plc4go/protocols/cbus/readwrite/model/AirConditioningDataRefresh.go +++ b/plc4go/protocols/cbus/readwrite/model/AirConditioningDataRefresh.go @@ -186,7 +186,7 @@ func (m *_AirConditioningDataRefresh) deepCopy() *_AirConditioningDataRefresh { return nil } _AirConditioningDataRefreshCopy := &_AirConditioningDataRefresh{ - m.AirConditioningDataContract.DeepCopy().(AirConditioningDataContract), + m.AirConditioningDataContract.(*_AirConditioningData).deepCopy(), m.ZoneGroup, } m.AirConditioningDataContract.(*_AirConditioningData)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetHumidityLowerGuardLimit.go b/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetHumidityLowerGuardLimit.go index 17fe242274..3a438a7c69 100644 --- a/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetHumidityLowerGuardLimit.go +++ b/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetHumidityLowerGuardLimit.go @@ -259,7 +259,7 @@ func (m *_AirConditioningDataSetHumidityLowerGuardLimit) deepCopy() *_AirConditi return nil } _AirConditioningDataSetHumidityLowerGuardLimitCopy := &_AirConditioningDataSetHumidityLowerGuardLimit{ - m.AirConditioningDataContract.DeepCopy().(AirConditioningDataContract), + m.AirConditioningDataContract.(*_AirConditioningData).deepCopy(), m.ZoneGroup, m.ZoneList.DeepCopy().(HVACZoneList), m.Limit.DeepCopy().(HVACHumidity), diff --git a/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetHumiditySetbackLimit.go b/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetHumiditySetbackLimit.go index 0e3d556fbc..dd277f463a 100644 --- a/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetHumiditySetbackLimit.go +++ b/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetHumiditySetbackLimit.go @@ -259,7 +259,7 @@ func (m *_AirConditioningDataSetHumiditySetbackLimit) deepCopy() *_AirConditioni return nil } _AirConditioningDataSetHumiditySetbackLimitCopy := &_AirConditioningDataSetHumiditySetbackLimit{ - m.AirConditioningDataContract.DeepCopy().(AirConditioningDataContract), + m.AirConditioningDataContract.(*_AirConditioningData).deepCopy(), m.ZoneGroup, m.ZoneList.DeepCopy().(HVACZoneList), m.Limit.DeepCopy().(HVACHumidity), diff --git a/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetHumidityUpperGuardLimit.go b/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetHumidityUpperGuardLimit.go index 692a0adf2b..a0ea043e82 100644 --- a/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetHumidityUpperGuardLimit.go +++ b/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetHumidityUpperGuardLimit.go @@ -259,7 +259,7 @@ func (m *_AirConditioningDataSetHumidityUpperGuardLimit) deepCopy() *_AirConditi return nil } _AirConditioningDataSetHumidityUpperGuardLimitCopy := &_AirConditioningDataSetHumidityUpperGuardLimit{ - m.AirConditioningDataContract.DeepCopy().(AirConditioningDataContract), + m.AirConditioningDataContract.(*_AirConditioningData).deepCopy(), m.ZoneGroup, m.ZoneList.DeepCopy().(HVACZoneList), m.Limit.DeepCopy().(HVACHumidity), diff --git a/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetHvacLowerGuardLimit.go b/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetHvacLowerGuardLimit.go index 527df07562..3747b45435 100644 --- a/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetHvacLowerGuardLimit.go +++ b/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetHvacLowerGuardLimit.go @@ -258,7 +258,7 @@ func (m *_AirConditioningDataSetHvacLowerGuardLimit) deepCopy() *_AirConditionin return nil } _AirConditioningDataSetHvacLowerGuardLimitCopy := &_AirConditioningDataSetHvacLowerGuardLimit{ - m.AirConditioningDataContract.DeepCopy().(AirConditioningDataContract), + m.AirConditioningDataContract.(*_AirConditioningData).deepCopy(), m.ZoneGroup, m.ZoneList.DeepCopy().(HVACZoneList), m.Limit.DeepCopy().(HVACTemperature), diff --git a/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetHvacSetbackLimit.go b/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetHvacSetbackLimit.go index 5ab25b5ca2..f5d68c6655 100644 --- a/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetHvacSetbackLimit.go +++ b/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetHvacSetbackLimit.go @@ -258,7 +258,7 @@ func (m *_AirConditioningDataSetHvacSetbackLimit) deepCopy() *_AirConditioningDa return nil } _AirConditioningDataSetHvacSetbackLimitCopy := &_AirConditioningDataSetHvacSetbackLimit{ - m.AirConditioningDataContract.DeepCopy().(AirConditioningDataContract), + m.AirConditioningDataContract.(*_AirConditioningData).deepCopy(), m.ZoneGroup, m.ZoneList.DeepCopy().(HVACZoneList), m.Limit.DeepCopy().(HVACTemperature), diff --git a/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetHvacUpperGuardLimit.go b/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetHvacUpperGuardLimit.go index 23ef0dcb4a..25dc157a5e 100644 --- a/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetHvacUpperGuardLimit.go +++ b/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetHvacUpperGuardLimit.go @@ -258,7 +258,7 @@ func (m *_AirConditioningDataSetHvacUpperGuardLimit) deepCopy() *_AirConditionin return nil } _AirConditioningDataSetHvacUpperGuardLimitCopy := &_AirConditioningDataSetHvacUpperGuardLimit{ - m.AirConditioningDataContract.DeepCopy().(AirConditioningDataContract), + m.AirConditioningDataContract.(*_AirConditioningData).deepCopy(), m.ZoneGroup, m.ZoneList.DeepCopy().(HVACZoneList), m.Limit.DeepCopy().(HVACTemperature), diff --git a/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetPlantHumidityLevel.go b/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetPlantHumidityLevel.go index c73d5384f3..ff21387b99 100644 --- a/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetPlantHumidityLevel.go +++ b/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetPlantHumidityLevel.go @@ -336,7 +336,7 @@ func (m *_AirConditioningDataSetPlantHumidityLevel) deepCopy() *_AirConditioning return nil } _AirConditioningDataSetPlantHumidityLevelCopy := &_AirConditioningDataSetPlantHumidityLevel{ - m.AirConditioningDataContract.DeepCopy().(AirConditioningDataContract), + m.AirConditioningDataContract.(*_AirConditioningData).deepCopy(), m.ZoneGroup, m.ZoneList.DeepCopy().(HVACZoneList), m.HumidityModeAndFlags.DeepCopy().(HVACHumidityModeAndFlags), diff --git a/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetPlantHvacLevel.go b/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetPlantHvacLevel.go index fbea8172b2..f2cca389be 100644 --- a/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetPlantHvacLevel.go +++ b/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetPlantHvacLevel.go @@ -336,7 +336,7 @@ func (m *_AirConditioningDataSetPlantHvacLevel) deepCopy() *_AirConditioningData return nil } _AirConditioningDataSetPlantHvacLevelCopy := &_AirConditioningDataSetPlantHvacLevel{ - m.AirConditioningDataContract.DeepCopy().(AirConditioningDataContract), + m.AirConditioningDataContract.(*_AirConditioningData).deepCopy(), m.ZoneGroup, m.ZoneList.DeepCopy().(HVACZoneList), m.HvacModeAndFlags.DeepCopy().(HVACModeAndFlags), diff --git a/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetZoneGroupOff.go b/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetZoneGroupOff.go index 271156339f..e03d96a817 100644 --- a/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetZoneGroupOff.go +++ b/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetZoneGroupOff.go @@ -186,7 +186,7 @@ func (m *_AirConditioningDataSetZoneGroupOff) deepCopy() *_AirConditioningDataSe return nil } _AirConditioningDataSetZoneGroupOffCopy := &_AirConditioningDataSetZoneGroupOff{ - m.AirConditioningDataContract.DeepCopy().(AirConditioningDataContract), + m.AirConditioningDataContract.(*_AirConditioningData).deepCopy(), m.ZoneGroup, } m.AirConditioningDataContract.(*_AirConditioningData)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetZoneGroupOn.go b/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetZoneGroupOn.go index 7b37bb834a..ee3ab9c9ac 100644 --- a/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetZoneGroupOn.go +++ b/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetZoneGroupOn.go @@ -186,7 +186,7 @@ func (m *_AirConditioningDataSetZoneGroupOn) deepCopy() *_AirConditioningDataSet return nil } _AirConditioningDataSetZoneGroupOnCopy := &_AirConditioningDataSetZoneGroupOn{ - m.AirConditioningDataContract.DeepCopy().(AirConditioningDataContract), + m.AirConditioningDataContract.(*_AirConditioningData).deepCopy(), m.ZoneGroup, } m.AirConditioningDataContract.(*_AirConditioningData)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetZoneHumidityMode.go b/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetZoneHumidityMode.go index d26516d4bc..6a96d083ae 100644 --- a/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetZoneHumidityMode.go +++ b/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetZoneHumidityMode.go @@ -336,7 +336,7 @@ func (m *_AirConditioningDataSetZoneHumidityMode) deepCopy() *_AirConditioningDa return nil } _AirConditioningDataSetZoneHumidityModeCopy := &_AirConditioningDataSetZoneHumidityMode{ - m.AirConditioningDataContract.DeepCopy().(AirConditioningDataContract), + m.AirConditioningDataContract.(*_AirConditioningData).deepCopy(), m.ZoneGroup, m.ZoneList.DeepCopy().(HVACZoneList), m.HumidityModeAndFlags.DeepCopy().(HVACHumidityModeAndFlags), diff --git a/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetZoneHvacMode.go b/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetZoneHvacMode.go index d04e2a0aef..1024fac9bf 100644 --- a/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetZoneHvacMode.go +++ b/plc4go/protocols/cbus/readwrite/model/AirConditioningDataSetZoneHvacMode.go @@ -336,7 +336,7 @@ func (m *_AirConditioningDataSetZoneHvacMode) deepCopy() *_AirConditioningDataSe return nil } _AirConditioningDataSetZoneHvacModeCopy := &_AirConditioningDataSetZoneHvacMode{ - m.AirConditioningDataContract.DeepCopy().(AirConditioningDataContract), + m.AirConditioningDataContract.(*_AirConditioningData).deepCopy(), m.ZoneGroup, m.ZoneList.DeepCopy().(HVACZoneList), m.HvacModeAndFlags.DeepCopy().(HVACModeAndFlags), diff --git a/plc4go/protocols/cbus/readwrite/model/AirConditioningDataZoneHumidity.go b/plc4go/protocols/cbus/readwrite/model/AirConditioningDataZoneHumidity.go index 9036c12e7b..00246f5dbf 100644 --- a/plc4go/protocols/cbus/readwrite/model/AirConditioningDataZoneHumidity.go +++ b/plc4go/protocols/cbus/readwrite/model/AirConditioningDataZoneHumidity.go @@ -255,7 +255,7 @@ func (m *_AirConditioningDataZoneHumidity) deepCopy() *_AirConditioningDataZoneH return nil } _AirConditioningDataZoneHumidityCopy := &_AirConditioningDataZoneHumidity{ - m.AirConditioningDataContract.DeepCopy().(AirConditioningDataContract), + m.AirConditioningDataContract.(*_AirConditioningData).deepCopy(), m.ZoneGroup, m.ZoneList.DeepCopy().(HVACZoneList), m.Humidity.DeepCopy().(HVACHumidity), diff --git a/plc4go/protocols/cbus/readwrite/model/AirConditioningDataZoneHumidityPlantStatus.go b/plc4go/protocols/cbus/readwrite/model/AirConditioningDataZoneHumidityPlantStatus.go index e5d30dc55d..1b1872399a 100644 --- a/plc4go/protocols/cbus/readwrite/model/AirConditioningDataZoneHumidityPlantStatus.go +++ b/plc4go/protocols/cbus/readwrite/model/AirConditioningDataZoneHumidityPlantStatus.go @@ -277,7 +277,7 @@ func (m *_AirConditioningDataZoneHumidityPlantStatus) deepCopy() *_AirConditioni return nil } _AirConditioningDataZoneHumidityPlantStatusCopy := &_AirConditioningDataZoneHumidityPlantStatus{ - m.AirConditioningDataContract.DeepCopy().(AirConditioningDataContract), + m.AirConditioningDataContract.(*_AirConditioningData).deepCopy(), m.ZoneGroup, m.ZoneList.DeepCopy().(HVACZoneList), m.HumidityType, diff --git a/plc4go/protocols/cbus/readwrite/model/AirConditioningDataZoneHvacPlantStatus.go b/plc4go/protocols/cbus/readwrite/model/AirConditioningDataZoneHvacPlantStatus.go index 0fcccf0c3d..5f0ffb6d91 100644 --- a/plc4go/protocols/cbus/readwrite/model/AirConditioningDataZoneHvacPlantStatus.go +++ b/plc4go/protocols/cbus/readwrite/model/AirConditioningDataZoneHvacPlantStatus.go @@ -276,7 +276,7 @@ func (m *_AirConditioningDataZoneHvacPlantStatus) deepCopy() *_AirConditioningDa return nil } _AirConditioningDataZoneHvacPlantStatusCopy := &_AirConditioningDataZoneHvacPlantStatus{ - m.AirConditioningDataContract.DeepCopy().(AirConditioningDataContract), + m.AirConditioningDataContract.(*_AirConditioningData).deepCopy(), m.ZoneGroup, m.ZoneList.DeepCopy().(HVACZoneList), m.HvacType, diff --git a/plc4go/protocols/cbus/readwrite/model/AirConditioningDataZoneTemperature.go b/plc4go/protocols/cbus/readwrite/model/AirConditioningDataZoneTemperature.go index ce5aef3de5..cade596cb4 100644 --- a/plc4go/protocols/cbus/readwrite/model/AirConditioningDataZoneTemperature.go +++ b/plc4go/protocols/cbus/readwrite/model/AirConditioningDataZoneTemperature.go @@ -255,7 +255,7 @@ func (m *_AirConditioningDataZoneTemperature) deepCopy() *_AirConditioningDataZo return nil } _AirConditioningDataZoneTemperatureCopy := &_AirConditioningDataZoneTemperature{ - m.AirConditioningDataContract.DeepCopy().(AirConditioningDataContract), + m.AirConditioningDataContract.(*_AirConditioningData).deepCopy(), m.ZoneGroup, m.ZoneList.DeepCopy().(HVACZoneList), m.Temperature.DeepCopy().(HVACTemperature), diff --git a/plc4go/protocols/cbus/readwrite/model/CALData.go b/plc4go/protocols/cbus/readwrite/model/CALData.go index b3482ec4bc..6e0fa8e804 100644 --- a/plc4go/protocols/cbus/readwrite/model/CALData.go +++ b/plc4go/protocols/cbus/readwrite/model/CALData.go @@ -47,7 +47,6 @@ type CALData interface { // CALDataContract provides a set of functions which can be overwritten by a sub struct type CALDataContract interface { - utils.Copyable // GetCommandTypeContainer returns CommandTypeContainer (property field) GetCommandTypeContainer() CALCommandTypeContainer // GetAdditionalData returns AdditionalData (property field) diff --git a/plc4go/protocols/cbus/readwrite/model/CALDataAcknowledge.go b/plc4go/protocols/cbus/readwrite/model/CALDataAcknowledge.go index db0a71a6ae..f1d4ce0332 100644 --- a/plc4go/protocols/cbus/readwrite/model/CALDataAcknowledge.go +++ b/plc4go/protocols/cbus/readwrite/model/CALDataAcknowledge.go @@ -207,7 +207,7 @@ func (m *_CALDataAcknowledge) deepCopy() *_CALDataAcknowledge { return nil } _CALDataAcknowledgeCopy := &_CALDataAcknowledge{ - m.CALDataContract.DeepCopy().(CALDataContract), + m.CALDataContract.(*_CALData).deepCopy(), m.ParamNo, m.Code, } diff --git a/plc4go/protocols/cbus/readwrite/model/CALDataGetStatus.go b/plc4go/protocols/cbus/readwrite/model/CALDataGetStatus.go index 64f1c89669..c05ae2599e 100644 --- a/plc4go/protocols/cbus/readwrite/model/CALDataGetStatus.go +++ b/plc4go/protocols/cbus/readwrite/model/CALDataGetStatus.go @@ -207,7 +207,7 @@ func (m *_CALDataGetStatus) deepCopy() *_CALDataGetStatus { return nil } _CALDataGetStatusCopy := &_CALDataGetStatus{ - m.CALDataContract.DeepCopy().(CALDataContract), + m.CALDataContract.(*_CALData).deepCopy(), m.ParamNo, m.Count, } diff --git a/plc4go/protocols/cbus/readwrite/model/CALDataIdentify.go b/plc4go/protocols/cbus/readwrite/model/CALDataIdentify.go index 65fd5ffcce..3a6a01130e 100644 --- a/plc4go/protocols/cbus/readwrite/model/CALDataIdentify.go +++ b/plc4go/protocols/cbus/readwrite/model/CALDataIdentify.go @@ -186,7 +186,7 @@ func (m *_CALDataIdentify) deepCopy() *_CALDataIdentify { return nil } _CALDataIdentifyCopy := &_CALDataIdentify{ - m.CALDataContract.DeepCopy().(CALDataContract), + m.CALDataContract.(*_CALData).deepCopy(), m.Attribute, } m.CALDataContract.(*_CALData)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/CALDataIdentifyReply.go b/plc4go/protocols/cbus/readwrite/model/CALDataIdentifyReply.go index 54ee777654..34aa20cf6f 100644 --- a/plc4go/protocols/cbus/readwrite/model/CALDataIdentifyReply.go +++ b/plc4go/protocols/cbus/readwrite/model/CALDataIdentifyReply.go @@ -210,7 +210,7 @@ func (m *_CALDataIdentifyReply) deepCopy() *_CALDataIdentifyReply { return nil } _CALDataIdentifyReplyCopy := &_CALDataIdentifyReply{ - m.CALDataContract.DeepCopy().(CALDataContract), + m.CALDataContract.(*_CALData).deepCopy(), m.Attribute, m.IdentifyReplyCommand.DeepCopy().(IdentifyReplyCommand), } diff --git a/plc4go/protocols/cbus/readwrite/model/CALDataRecall.go b/plc4go/protocols/cbus/readwrite/model/CALDataRecall.go index d3e7a52a6a..3d878245a6 100644 --- a/plc4go/protocols/cbus/readwrite/model/CALDataRecall.go +++ b/plc4go/protocols/cbus/readwrite/model/CALDataRecall.go @@ -207,7 +207,7 @@ func (m *_CALDataRecall) deepCopy() *_CALDataRecall { return nil } _CALDataRecallCopy := &_CALDataRecall{ - m.CALDataContract.DeepCopy().(CALDataContract), + m.CALDataContract.(*_CALData).deepCopy(), m.ParamNo, m.Count, } diff --git a/plc4go/protocols/cbus/readwrite/model/CALDataReply.go b/plc4go/protocols/cbus/readwrite/model/CALDataReply.go index a62f3bdf6e..fc1d98dd3d 100644 --- a/plc4go/protocols/cbus/readwrite/model/CALDataReply.go +++ b/plc4go/protocols/cbus/readwrite/model/CALDataReply.go @@ -210,7 +210,7 @@ func (m *_CALDataReply) deepCopy() *_CALDataReply { return nil } _CALDataReplyCopy := &_CALDataReply{ - m.CALDataContract.DeepCopy().(CALDataContract), + m.CALDataContract.(*_CALData).deepCopy(), m.ParamNo, m.ParameterValue.DeepCopy().(ParameterValue), } diff --git a/plc4go/protocols/cbus/readwrite/model/CALDataReset.go b/plc4go/protocols/cbus/readwrite/model/CALDataReset.go index 148c8221d8..a46696fd44 100644 --- a/plc4go/protocols/cbus/readwrite/model/CALDataReset.go +++ b/plc4go/protocols/cbus/readwrite/model/CALDataReset.go @@ -153,7 +153,7 @@ func (m *_CALDataReset) deepCopy() *_CALDataReset { return nil } _CALDataResetCopy := &_CALDataReset{ - m.CALDataContract.DeepCopy().(CALDataContract), + m.CALDataContract.(*_CALData).deepCopy(), } m.CALDataContract.(*_CALData)._SubType = m return _CALDataResetCopy diff --git a/plc4go/protocols/cbus/readwrite/model/CALDataStatus.go b/plc4go/protocols/cbus/readwrite/model/CALDataStatus.go index c4945ce2dd..5a6ed29bf2 100644 --- a/plc4go/protocols/cbus/readwrite/model/CALDataStatus.go +++ b/plc4go/protocols/cbus/readwrite/model/CALDataStatus.go @@ -235,7 +235,7 @@ func (m *_CALDataStatus) deepCopy() *_CALDataStatus { return nil } _CALDataStatusCopy := &_CALDataStatus{ - m.CALDataContract.DeepCopy().(CALDataContract), + m.CALDataContract.(*_CALData).deepCopy(), m.Application, m.BlockStart, utils.DeepCopySlice[StatusByte, StatusByte](m.StatusBytes), diff --git a/plc4go/protocols/cbus/readwrite/model/CALDataStatusExtended.go b/plc4go/protocols/cbus/readwrite/model/CALDataStatusExtended.go index ea7bf9b0cc..4659c34afa 100644 --- a/plc4go/protocols/cbus/readwrite/model/CALDataStatusExtended.go +++ b/plc4go/protocols/cbus/readwrite/model/CALDataStatusExtended.go @@ -341,7 +341,7 @@ func (m *_CALDataStatusExtended) deepCopy() *_CALDataStatusExtended { return nil } _CALDataStatusExtendedCopy := &_CALDataStatusExtended{ - m.CALDataContract.DeepCopy().(CALDataContract), + m.CALDataContract.(*_CALData).deepCopy(), m.Coding, m.Application, m.BlockStart, diff --git a/plc4go/protocols/cbus/readwrite/model/CALDataWrite.go b/plc4go/protocols/cbus/readwrite/model/CALDataWrite.go index 874f8f407e..6dd01e5e7e 100644 --- a/plc4go/protocols/cbus/readwrite/model/CALDataWrite.go +++ b/plc4go/protocols/cbus/readwrite/model/CALDataWrite.go @@ -231,7 +231,7 @@ func (m *_CALDataWrite) deepCopy() *_CALDataWrite { return nil } _CALDataWriteCopy := &_CALDataWrite{ - m.CALDataContract.DeepCopy().(CALDataContract), + m.CALDataContract.(*_CALData).deepCopy(), m.ParamNo, m.Code, m.ParameterValue.DeepCopy().(ParameterValue), diff --git a/plc4go/protocols/cbus/readwrite/model/CALReply.go b/plc4go/protocols/cbus/readwrite/model/CALReply.go index 43761f39b1..8d44c5b1f0 100644 --- a/plc4go/protocols/cbus/readwrite/model/CALReply.go +++ b/plc4go/protocols/cbus/readwrite/model/CALReply.go @@ -47,7 +47,6 @@ type CALReply interface { // CALReplyContract provides a set of functions which can be overwritten by a sub struct type CALReplyContract interface { - utils.Copyable // GetCalType returns CalType (property field) GetCalType() byte // GetCalData returns CalData (property field) diff --git a/plc4go/protocols/cbus/readwrite/model/CALReplyLong.go b/plc4go/protocols/cbus/readwrite/model/CALReplyLong.go index 31f5c7ba45..9a0d595864 100644 --- a/plc4go/protocols/cbus/readwrite/model/CALReplyLong.go +++ b/plc4go/protocols/cbus/readwrite/model/CALReplyLong.go @@ -367,7 +367,7 @@ func (m *_CALReplyLong) deepCopy() *_CALReplyLong { return nil } _CALReplyLongCopy := &_CALReplyLong{ - m.CALReplyContract.DeepCopy().(CALReplyContract), + m.CALReplyContract.(*_CALReply).deepCopy(), m.TerminatingByte, m.UnitAddress.DeepCopy().(UnitAddress), m.BridgeAddress.DeepCopy().(BridgeAddress), diff --git a/plc4go/protocols/cbus/readwrite/model/CALReplyShort.go b/plc4go/protocols/cbus/readwrite/model/CALReplyShort.go index 69dc25d742..f7ca39ed1d 100644 --- a/plc4go/protocols/cbus/readwrite/model/CALReplyShort.go +++ b/plc4go/protocols/cbus/readwrite/model/CALReplyShort.go @@ -153,7 +153,7 @@ func (m *_CALReplyShort) deepCopy() *_CALReplyShort { return nil } _CALReplyShortCopy := &_CALReplyShort{ - m.CALReplyContract.DeepCopy().(CALReplyContract), + m.CALReplyContract.(*_CALReply).deepCopy(), } m.CALReplyContract.(*_CALReply)._SubType = m return _CALReplyShortCopy diff --git a/plc4go/protocols/cbus/readwrite/model/CBusCommand.go b/plc4go/protocols/cbus/readwrite/model/CBusCommand.go index be7dfd23bf..f20f36a7b0 100644 --- a/plc4go/protocols/cbus/readwrite/model/CBusCommand.go +++ b/plc4go/protocols/cbus/readwrite/model/CBusCommand.go @@ -47,7 +47,6 @@ type CBusCommand interface { // CBusCommandContract provides a set of functions which can be overwritten by a sub struct type CBusCommandContract interface { - utils.Copyable // GetHeader returns Header (property field) GetHeader() CBusHeader // GetIsDeviceManagement returns IsDeviceManagement (virtual field) diff --git a/plc4go/protocols/cbus/readwrite/model/CBusCommandDeviceManagement.go b/plc4go/protocols/cbus/readwrite/model/CBusCommandDeviceManagement.go index a5a70c70ea..5e1835e33b 100644 --- a/plc4go/protocols/cbus/readwrite/model/CBusCommandDeviceManagement.go +++ b/plc4go/protocols/cbus/readwrite/model/CBusCommandDeviceManagement.go @@ -236,7 +236,7 @@ func (m *_CBusCommandDeviceManagement) deepCopy() *_CBusCommandDeviceManagement return nil } _CBusCommandDeviceManagementCopy := &_CBusCommandDeviceManagement{ - m.CBusCommandContract.DeepCopy().(CBusCommandContract), + m.CBusCommandContract.(*_CBusCommand).deepCopy(), m.ParamNo, m.ParameterValue, } diff --git a/plc4go/protocols/cbus/readwrite/model/CBusCommandPointToMultiPoint.go b/plc4go/protocols/cbus/readwrite/model/CBusCommandPointToMultiPoint.go index 94a34aa6b4..10f1365c0c 100644 --- a/plc4go/protocols/cbus/readwrite/model/CBusCommandPointToMultiPoint.go +++ b/plc4go/protocols/cbus/readwrite/model/CBusCommandPointToMultiPoint.go @@ -189,7 +189,7 @@ func (m *_CBusCommandPointToMultiPoint) deepCopy() *_CBusCommandPointToMultiPoin return nil } _CBusCommandPointToMultiPointCopy := &_CBusCommandPointToMultiPoint{ - m.CBusCommandContract.DeepCopy().(CBusCommandContract), + m.CBusCommandContract.(*_CBusCommand).deepCopy(), m.Command.DeepCopy().(CBusPointToMultiPointCommand), } m.CBusCommandContract.(*_CBusCommand)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/CBusCommandPointToPoint.go b/plc4go/protocols/cbus/readwrite/model/CBusCommandPointToPoint.go index 11236d925a..5a40a40b1e 100644 --- a/plc4go/protocols/cbus/readwrite/model/CBusCommandPointToPoint.go +++ b/plc4go/protocols/cbus/readwrite/model/CBusCommandPointToPoint.go @@ -189,7 +189,7 @@ func (m *_CBusCommandPointToPoint) deepCopy() *_CBusCommandPointToPoint { return nil } _CBusCommandPointToPointCopy := &_CBusCommandPointToPoint{ - m.CBusCommandContract.DeepCopy().(CBusCommandContract), + m.CBusCommandContract.(*_CBusCommand).deepCopy(), m.Command.DeepCopy().(CBusPointToPointCommand), } m.CBusCommandContract.(*_CBusCommand)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/CBusCommandPointToPointToMultiPoint.go b/plc4go/protocols/cbus/readwrite/model/CBusCommandPointToPointToMultiPoint.go index d950dbce00..c67f70e011 100644 --- a/plc4go/protocols/cbus/readwrite/model/CBusCommandPointToPointToMultiPoint.go +++ b/plc4go/protocols/cbus/readwrite/model/CBusCommandPointToPointToMultiPoint.go @@ -189,7 +189,7 @@ func (m *_CBusCommandPointToPointToMultiPoint) deepCopy() *_CBusCommandPointToPo return nil } _CBusCommandPointToPointToMultiPointCopy := &_CBusCommandPointToPointToMultiPoint{ - m.CBusCommandContract.DeepCopy().(CBusCommandContract), + m.CBusCommandContract.(*_CBusCommand).deepCopy(), m.Command.DeepCopy().(CBusPointToPointToMultiPointCommand), } m.CBusCommandContract.(*_CBusCommand)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/CBusMessage.go b/plc4go/protocols/cbus/readwrite/model/CBusMessage.go index 92c2da1cc4..7022b9f756 100644 --- a/plc4go/protocols/cbus/readwrite/model/CBusMessage.go +++ b/plc4go/protocols/cbus/readwrite/model/CBusMessage.go @@ -45,7 +45,6 @@ type CBusMessage interface { // CBusMessageContract provides a set of functions which can be overwritten by a sub struct type CBusMessageContract interface { - utils.Copyable // GetRequestContext() returns a parser argument GetRequestContext() RequestContext // GetCBusOptions() returns a parser argument diff --git a/plc4go/protocols/cbus/readwrite/model/CBusMessageToClient.go b/plc4go/protocols/cbus/readwrite/model/CBusMessageToClient.go index b527384212..3da187a78f 100644 --- a/plc4go/protocols/cbus/readwrite/model/CBusMessageToClient.go +++ b/plc4go/protocols/cbus/readwrite/model/CBusMessageToClient.go @@ -193,7 +193,7 @@ func (m *_CBusMessageToClient) deepCopy() *_CBusMessageToClient { return nil } _CBusMessageToClientCopy := &_CBusMessageToClient{ - m.CBusMessageContract.DeepCopy().(CBusMessageContract), + m.CBusMessageContract.(*_CBusMessage).deepCopy(), m.Reply.DeepCopy().(ReplyOrConfirmation), } m.CBusMessageContract.(*_CBusMessage)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/CBusMessageToServer.go b/plc4go/protocols/cbus/readwrite/model/CBusMessageToServer.go index 15f989d4cd..1c53c1d0b9 100644 --- a/plc4go/protocols/cbus/readwrite/model/CBusMessageToServer.go +++ b/plc4go/protocols/cbus/readwrite/model/CBusMessageToServer.go @@ -193,7 +193,7 @@ func (m *_CBusMessageToServer) deepCopy() *_CBusMessageToServer { return nil } _CBusMessageToServerCopy := &_CBusMessageToServer{ - m.CBusMessageContract.DeepCopy().(CBusMessageContract), + m.CBusMessageContract.(*_CBusMessage).deepCopy(), m.Request.DeepCopy().(Request), } m.CBusMessageContract.(*_CBusMessage)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/CBusPointToMultiPointCommand.go b/plc4go/protocols/cbus/readwrite/model/CBusPointToMultiPointCommand.go index acc4cb7bb8..14a11317f6 100644 --- a/plc4go/protocols/cbus/readwrite/model/CBusPointToMultiPointCommand.go +++ b/plc4go/protocols/cbus/readwrite/model/CBusPointToMultiPointCommand.go @@ -47,7 +47,6 @@ type CBusPointToMultiPointCommand interface { // CBusPointToMultiPointCommandContract provides a set of functions which can be overwritten by a sub struct type CBusPointToMultiPointCommandContract interface { - utils.Copyable // GetPeekedApplication returns PeekedApplication (property field) GetPeekedApplication() byte // GetCBusOptions() returns a parser argument diff --git a/plc4go/protocols/cbus/readwrite/model/CBusPointToMultiPointCommandNormal.go b/plc4go/protocols/cbus/readwrite/model/CBusPointToMultiPointCommandNormal.go index 53b80b2261..9d45c3d812 100644 --- a/plc4go/protocols/cbus/readwrite/model/CBusPointToMultiPointCommandNormal.go +++ b/plc4go/protocols/cbus/readwrite/model/CBusPointToMultiPointCommandNormal.go @@ -225,7 +225,7 @@ func (m *_CBusPointToMultiPointCommandNormal) deepCopy() *_CBusPointToMultiPoint return nil } _CBusPointToMultiPointCommandNormalCopy := &_CBusPointToMultiPointCommandNormal{ - m.CBusPointToMultiPointCommandContract.DeepCopy().(CBusPointToMultiPointCommandContract), + m.CBusPointToMultiPointCommandContract.(*_CBusPointToMultiPointCommand).deepCopy(), m.Application, m.SalData.DeepCopy().(SALData), m.reservedField0, diff --git a/plc4go/protocols/cbus/readwrite/model/CBusPointToMultiPointCommandStatus.go b/plc4go/protocols/cbus/readwrite/model/CBusPointToMultiPointCommandStatus.go index d6970fd8ac..827dc18dde 100644 --- a/plc4go/protocols/cbus/readwrite/model/CBusPointToMultiPointCommandStatus.go +++ b/plc4go/protocols/cbus/readwrite/model/CBusPointToMultiPointCommandStatus.go @@ -218,7 +218,7 @@ func (m *_CBusPointToMultiPointCommandStatus) deepCopy() *_CBusPointToMultiPoint return nil } _CBusPointToMultiPointCommandStatusCopy := &_CBusPointToMultiPointCommandStatus{ - m.CBusPointToMultiPointCommandContract.DeepCopy().(CBusPointToMultiPointCommandContract), + m.CBusPointToMultiPointCommandContract.(*_CBusPointToMultiPointCommand).deepCopy(), m.StatusRequest.DeepCopy().(StatusRequest), m.reservedField0, m.reservedField1, diff --git a/plc4go/protocols/cbus/readwrite/model/CBusPointToPointCommand.go b/plc4go/protocols/cbus/readwrite/model/CBusPointToPointCommand.go index a2f8ea3a24..6f1ad50620 100644 --- a/plc4go/protocols/cbus/readwrite/model/CBusPointToPointCommand.go +++ b/plc4go/protocols/cbus/readwrite/model/CBusPointToPointCommand.go @@ -47,7 +47,6 @@ type CBusPointToPointCommand interface { // CBusPointToPointCommandContract provides a set of functions which can be overwritten by a sub struct type CBusPointToPointCommandContract interface { - utils.Copyable // GetBridgeAddressCountPeek returns BridgeAddressCountPeek (property field) GetBridgeAddressCountPeek() uint16 // GetCalData returns CalData (property field) diff --git a/plc4go/protocols/cbus/readwrite/model/CBusPointToPointCommandDirect.go b/plc4go/protocols/cbus/readwrite/model/CBusPointToPointCommandDirect.go index 89ff312de5..4def8444bc 100644 --- a/plc4go/protocols/cbus/readwrite/model/CBusPointToPointCommandDirect.go +++ b/plc4go/protocols/cbus/readwrite/model/CBusPointToPointCommandDirect.go @@ -204,7 +204,7 @@ func (m *_CBusPointToPointCommandDirect) deepCopy() *_CBusPointToPointCommandDir return nil } _CBusPointToPointCommandDirectCopy := &_CBusPointToPointCommandDirect{ - m.CBusPointToPointCommandContract.DeepCopy().(CBusPointToPointCommandContract), + m.CBusPointToPointCommandContract.(*_CBusPointToPointCommand).deepCopy(), m.UnitAddress.DeepCopy().(UnitAddress), m.reservedField0, } diff --git a/plc4go/protocols/cbus/readwrite/model/CBusPointToPointCommandIndirect.go b/plc4go/protocols/cbus/readwrite/model/CBusPointToPointCommandIndirect.go index bd820e129e..6ffe756c31 100644 --- a/plc4go/protocols/cbus/readwrite/model/CBusPointToPointCommandIndirect.go +++ b/plc4go/protocols/cbus/readwrite/model/CBusPointToPointCommandIndirect.go @@ -237,7 +237,7 @@ func (m *_CBusPointToPointCommandIndirect) deepCopy() *_CBusPointToPointCommandI return nil } _CBusPointToPointCommandIndirectCopy := &_CBusPointToPointCommandIndirect{ - m.CBusPointToPointCommandContract.DeepCopy().(CBusPointToPointCommandContract), + m.CBusPointToPointCommandContract.(*_CBusPointToPointCommand).deepCopy(), m.BridgeAddress.DeepCopy().(BridgeAddress), m.NetworkRoute.DeepCopy().(NetworkRoute), m.UnitAddress.DeepCopy().(UnitAddress), diff --git a/plc4go/protocols/cbus/readwrite/model/CBusPointToPointToMultiPointCommand.go b/plc4go/protocols/cbus/readwrite/model/CBusPointToPointToMultiPointCommand.go index e5469384f7..a46f0b4cd7 100644 --- a/plc4go/protocols/cbus/readwrite/model/CBusPointToPointToMultiPointCommand.go +++ b/plc4go/protocols/cbus/readwrite/model/CBusPointToPointToMultiPointCommand.go @@ -47,7 +47,6 @@ type CBusPointToPointToMultiPointCommand interface { // CBusPointToPointToMultiPointCommandContract provides a set of functions which can be overwritten by a sub struct type CBusPointToPointToMultiPointCommandContract interface { - utils.Copyable // GetBridgeAddress returns BridgeAddress (property field) GetBridgeAddress() BridgeAddress // GetNetworkRoute returns NetworkRoute (property field) diff --git a/plc4go/protocols/cbus/readwrite/model/CBusPointToPointToMultiPointCommandNormal.go b/plc4go/protocols/cbus/readwrite/model/CBusPointToPointToMultiPointCommandNormal.go index a428895463..70f8495461 100644 --- a/plc4go/protocols/cbus/readwrite/model/CBusPointToPointToMultiPointCommandNormal.go +++ b/plc4go/protocols/cbus/readwrite/model/CBusPointToPointToMultiPointCommandNormal.go @@ -210,7 +210,7 @@ func (m *_CBusPointToPointToMultiPointCommandNormal) deepCopy() *_CBusPointToPoi return nil } _CBusPointToPointToMultiPointCommandNormalCopy := &_CBusPointToPointToMultiPointCommandNormal{ - m.CBusPointToPointToMultiPointCommandContract.DeepCopy().(CBusPointToPointToMultiPointCommandContract), + m.CBusPointToPointToMultiPointCommandContract.(*_CBusPointToPointToMultiPointCommand).deepCopy(), m.Application, m.SalData.DeepCopy().(SALData), } diff --git a/plc4go/protocols/cbus/readwrite/model/CBusPointToPointToMultiPointCommandStatus.go b/plc4go/protocols/cbus/readwrite/model/CBusPointToPointToMultiPointCommandStatus.go index 5759c71b21..991bb598d6 100644 --- a/plc4go/protocols/cbus/readwrite/model/CBusPointToPointToMultiPointCommandStatus.go +++ b/plc4go/protocols/cbus/readwrite/model/CBusPointToPointToMultiPointCommandStatus.go @@ -204,7 +204,7 @@ func (m *_CBusPointToPointToMultiPointCommandStatus) deepCopy() *_CBusPointToPoi return nil } _CBusPointToPointToMultiPointCommandStatusCopy := &_CBusPointToPointToMultiPointCommandStatus{ - m.CBusPointToPointToMultiPointCommandContract.DeepCopy().(CBusPointToPointToMultiPointCommandContract), + m.CBusPointToPointToMultiPointCommandContract.(*_CBusPointToPointToMultiPointCommand).deepCopy(), m.StatusRequest.DeepCopy().(StatusRequest), m.reservedField0, } diff --git a/plc4go/protocols/cbus/readwrite/model/ClockAndTimekeepingData.go b/plc4go/protocols/cbus/readwrite/model/ClockAndTimekeepingData.go index 3004298b5c..e0afe39142 100644 --- a/plc4go/protocols/cbus/readwrite/model/ClockAndTimekeepingData.go +++ b/plc4go/protocols/cbus/readwrite/model/ClockAndTimekeepingData.go @@ -47,7 +47,6 @@ type ClockAndTimekeepingData interface { // ClockAndTimekeepingDataContract provides a set of functions which can be overwritten by a sub struct type ClockAndTimekeepingDataContract interface { - utils.Copyable // GetCommandTypeContainer returns CommandTypeContainer (property field) GetCommandTypeContainer() ClockAndTimekeepingCommandTypeContainer // GetArgument returns Argument (property field) diff --git a/plc4go/protocols/cbus/readwrite/model/ClockAndTimekeepingDataRequestRefresh.go b/plc4go/protocols/cbus/readwrite/model/ClockAndTimekeepingDataRequestRefresh.go index 702e4f1193..bb8750500a 100644 --- a/plc4go/protocols/cbus/readwrite/model/ClockAndTimekeepingDataRequestRefresh.go +++ b/plc4go/protocols/cbus/readwrite/model/ClockAndTimekeepingDataRequestRefresh.go @@ -153,7 +153,7 @@ func (m *_ClockAndTimekeepingDataRequestRefresh) deepCopy() *_ClockAndTimekeepin return nil } _ClockAndTimekeepingDataRequestRefreshCopy := &_ClockAndTimekeepingDataRequestRefresh{ - m.ClockAndTimekeepingDataContract.DeepCopy().(ClockAndTimekeepingDataContract), + m.ClockAndTimekeepingDataContract.(*_ClockAndTimekeepingData).deepCopy(), } m.ClockAndTimekeepingDataContract.(*_ClockAndTimekeepingData)._SubType = m return _ClockAndTimekeepingDataRequestRefreshCopy diff --git a/plc4go/protocols/cbus/readwrite/model/ClockAndTimekeepingDataUpdateDate.go b/plc4go/protocols/cbus/readwrite/model/ClockAndTimekeepingDataUpdateDate.go index ee43a86cec..87a013bbb9 100644 --- a/plc4go/protocols/cbus/readwrite/model/ClockAndTimekeepingDataUpdateDate.go +++ b/plc4go/protocols/cbus/readwrite/model/ClockAndTimekeepingDataUpdateDate.go @@ -270,7 +270,7 @@ func (m *_ClockAndTimekeepingDataUpdateDate) deepCopy() *_ClockAndTimekeepingDat return nil } _ClockAndTimekeepingDataUpdateDateCopy := &_ClockAndTimekeepingDataUpdateDate{ - m.ClockAndTimekeepingDataContract.DeepCopy().(ClockAndTimekeepingDataContract), + m.ClockAndTimekeepingDataContract.(*_ClockAndTimekeepingData).deepCopy(), m.YearHigh, m.YearLow, m.Month, diff --git a/plc4go/protocols/cbus/readwrite/model/ClockAndTimekeepingDataUpdateTime.go b/plc4go/protocols/cbus/readwrite/model/ClockAndTimekeepingDataUpdateTime.go index db323fd704..a1f03355bb 100644 --- a/plc4go/protocols/cbus/readwrite/model/ClockAndTimekeepingDataUpdateTime.go +++ b/plc4go/protocols/cbus/readwrite/model/ClockAndTimekeepingDataUpdateTime.go @@ -346,7 +346,7 @@ func (m *_ClockAndTimekeepingDataUpdateTime) deepCopy() *_ClockAndTimekeepingDat return nil } _ClockAndTimekeepingDataUpdateTimeCopy := &_ClockAndTimekeepingDataUpdateTime{ - m.ClockAndTimekeepingDataContract.DeepCopy().(ClockAndTimekeepingDataContract), + m.ClockAndTimekeepingDataContract.(*_ClockAndTimekeepingData).deepCopy(), m.Hours, m.Minute, m.Second, diff --git a/plc4go/protocols/cbus/readwrite/model/EncodedReply.go b/plc4go/protocols/cbus/readwrite/model/EncodedReply.go index 41643c11a3..406d669a12 100644 --- a/plc4go/protocols/cbus/readwrite/model/EncodedReply.go +++ b/plc4go/protocols/cbus/readwrite/model/EncodedReply.go @@ -47,7 +47,6 @@ type EncodedReply interface { // EncodedReplyContract provides a set of functions which can be overwritten by a sub struct type EncodedReplyContract interface { - utils.Copyable // GetPeekedByte returns PeekedByte (property field) GetPeekedByte() byte // GetIsMonitoredSAL returns IsMonitoredSAL (virtual field) diff --git a/plc4go/protocols/cbus/readwrite/model/EncodedReplyCALReply.go b/plc4go/protocols/cbus/readwrite/model/EncodedReplyCALReply.go index c0d74083a7..b332132ce6 100644 --- a/plc4go/protocols/cbus/readwrite/model/EncodedReplyCALReply.go +++ b/plc4go/protocols/cbus/readwrite/model/EncodedReplyCALReply.go @@ -189,7 +189,7 @@ func (m *_EncodedReplyCALReply) deepCopy() *_EncodedReplyCALReply { return nil } _EncodedReplyCALReplyCopy := &_EncodedReplyCALReply{ - m.EncodedReplyContract.DeepCopy().(EncodedReplyContract), + m.EncodedReplyContract.(*_EncodedReply).deepCopy(), m.CalReply.DeepCopy().(CALReply), } m.EncodedReplyContract.(*_EncodedReply)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/ErrorReportingData.go b/plc4go/protocols/cbus/readwrite/model/ErrorReportingData.go index a72d957dde..21b740adaf 100644 --- a/plc4go/protocols/cbus/readwrite/model/ErrorReportingData.go +++ b/plc4go/protocols/cbus/readwrite/model/ErrorReportingData.go @@ -47,7 +47,6 @@ type ErrorReportingData interface { // ErrorReportingDataContract provides a set of functions which can be overwritten by a sub struct type ErrorReportingDataContract interface { - utils.Copyable // GetCommandTypeContainer returns CommandTypeContainer (property field) GetCommandTypeContainer() ErrorReportingCommandTypeContainer // GetCommandType returns CommandType (virtual field) diff --git a/plc4go/protocols/cbus/readwrite/model/ErrorReportingDataGeneric.go b/plc4go/protocols/cbus/readwrite/model/ErrorReportingDataGeneric.go index 0d5f55c958..319c835156 100644 --- a/plc4go/protocols/cbus/readwrite/model/ErrorReportingDataGeneric.go +++ b/plc4go/protocols/cbus/readwrite/model/ErrorReportingDataGeneric.go @@ -416,7 +416,7 @@ func (m *_ErrorReportingDataGeneric) deepCopy() *_ErrorReportingDataGeneric { return nil } _ErrorReportingDataGenericCopy := &_ErrorReportingDataGeneric{ - m.ErrorReportingDataContract.DeepCopy().(ErrorReportingDataContract), + m.ErrorReportingDataContract.(*_ErrorReportingData).deepCopy(), m.SystemCategory.DeepCopy().(ErrorReportingSystemCategory), m.MostRecent, m.Acknowledge, diff --git a/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryType.go b/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryType.go index 5fed7f3c50..3743f2e2da 100644 --- a/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryType.go +++ b/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryType.go @@ -45,7 +45,6 @@ type ErrorReportingSystemCategoryType interface { // ErrorReportingSystemCategoryTypeContract provides a set of functions which can be overwritten by a sub struct type ErrorReportingSystemCategoryTypeContract interface { - utils.Copyable // IsErrorReportingSystemCategoryType is a marker method to prevent unintentional type checks (interfaces of same signature) IsErrorReportingSystemCategoryType() } diff --git a/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryTypeBuildingManagementSystems.go b/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryTypeBuildingManagementSystems.go index 006959adf8..14d6af9ad3 100644 --- a/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryTypeBuildingManagementSystems.go +++ b/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryTypeBuildingManagementSystems.go @@ -191,7 +191,7 @@ func (m *_ErrorReportingSystemCategoryTypeBuildingManagementSystems) deepCopy() return nil } _ErrorReportingSystemCategoryTypeBuildingManagementSystemsCopy := &_ErrorReportingSystemCategoryTypeBuildingManagementSystems{ - m.ErrorReportingSystemCategoryTypeContract.DeepCopy().(ErrorReportingSystemCategoryTypeContract), + m.ErrorReportingSystemCategoryTypeContract.(*_ErrorReportingSystemCategoryType).deepCopy(), m.CategoryForType, } m.ErrorReportingSystemCategoryTypeContract.(*_ErrorReportingSystemCategoryType)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryTypeClimateControllers.go b/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryTypeClimateControllers.go index 805151440d..ce4301eb44 100644 --- a/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryTypeClimateControllers.go +++ b/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryTypeClimateControllers.go @@ -191,7 +191,7 @@ func (m *_ErrorReportingSystemCategoryTypeClimateControllers) deepCopy() *_Error return nil } _ErrorReportingSystemCategoryTypeClimateControllersCopy := &_ErrorReportingSystemCategoryTypeClimateControllers{ - m.ErrorReportingSystemCategoryTypeContract.DeepCopy().(ErrorReportingSystemCategoryTypeContract), + m.ErrorReportingSystemCategoryTypeContract.(*_ErrorReportingSystemCategoryType).deepCopy(), m.CategoryForType, } m.ErrorReportingSystemCategoryTypeContract.(*_ErrorReportingSystemCategoryType)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryTypeInputUnits.go b/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryTypeInputUnits.go index 551297c02d..47e6d7c3f1 100644 --- a/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryTypeInputUnits.go +++ b/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryTypeInputUnits.go @@ -191,7 +191,7 @@ func (m *_ErrorReportingSystemCategoryTypeInputUnits) deepCopy() *_ErrorReportin return nil } _ErrorReportingSystemCategoryTypeInputUnitsCopy := &_ErrorReportingSystemCategoryTypeInputUnits{ - m.ErrorReportingSystemCategoryTypeContract.DeepCopy().(ErrorReportingSystemCategoryTypeContract), + m.ErrorReportingSystemCategoryTypeContract.(*_ErrorReportingSystemCategoryType).deepCopy(), m.CategoryForType, } m.ErrorReportingSystemCategoryTypeContract.(*_ErrorReportingSystemCategoryType)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryTypeOutputUnits.go b/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryTypeOutputUnits.go index 0a4c3cc093..8bff95873c 100644 --- a/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryTypeOutputUnits.go +++ b/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryTypeOutputUnits.go @@ -191,7 +191,7 @@ func (m *_ErrorReportingSystemCategoryTypeOutputUnits) deepCopy() *_ErrorReporti return nil } _ErrorReportingSystemCategoryTypeOutputUnitsCopy := &_ErrorReportingSystemCategoryTypeOutputUnits{ - m.ErrorReportingSystemCategoryTypeContract.DeepCopy().(ErrorReportingSystemCategoryTypeContract), + m.ErrorReportingSystemCategoryTypeContract.(*_ErrorReportingSystemCategoryType).deepCopy(), m.CategoryForType, } m.ErrorReportingSystemCategoryTypeContract.(*_ErrorReportingSystemCategoryType)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryTypeReserved.go b/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryTypeReserved.go index 4c573867a5..2466d355ab 100644 --- a/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryTypeReserved.go +++ b/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryTypeReserved.go @@ -190,7 +190,7 @@ func (m *_ErrorReportingSystemCategoryTypeReserved) deepCopy() *_ErrorReportingS return nil } _ErrorReportingSystemCategoryTypeReservedCopy := &_ErrorReportingSystemCategoryTypeReserved{ - m.ErrorReportingSystemCategoryTypeContract.DeepCopy().(ErrorReportingSystemCategoryTypeContract), + m.ErrorReportingSystemCategoryTypeContract.(*_ErrorReportingSystemCategoryType).deepCopy(), m.ReservedValue, } m.ErrorReportingSystemCategoryTypeContract.(*_ErrorReportingSystemCategoryType)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryTypeSupportUnits.go b/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryTypeSupportUnits.go index dd57704ca2..95a2302282 100644 --- a/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryTypeSupportUnits.go +++ b/plc4go/protocols/cbus/readwrite/model/ErrorReportingSystemCategoryTypeSupportUnits.go @@ -191,7 +191,7 @@ func (m *_ErrorReportingSystemCategoryTypeSupportUnits) deepCopy() *_ErrorReport return nil } _ErrorReportingSystemCategoryTypeSupportUnitsCopy := &_ErrorReportingSystemCategoryTypeSupportUnits{ - m.ErrorReportingSystemCategoryTypeContract.DeepCopy().(ErrorReportingSystemCategoryTypeContract), + m.ErrorReportingSystemCategoryTypeContract.(*_ErrorReportingSystemCategoryType).deepCopy(), m.CategoryForType, } m.ErrorReportingSystemCategoryTypeContract.(*_ErrorReportingSystemCategoryType)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommand.go b/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommand.go index cb0d70747c..0f7c1ca6d3 100644 --- a/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommand.go +++ b/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommand.go @@ -45,7 +45,6 @@ type IdentifyReplyCommand interface { // IdentifyReplyCommandContract provides a set of functions which can be overwritten by a sub struct type IdentifyReplyCommandContract interface { - utils.Copyable // GetNumBytes() returns a parser argument GetNumBytes() uint8 // IsIdentifyReplyCommand is a marker method to prevent unintentional type checks (interfaces of same signature) diff --git a/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandCurrentSenseLevels.go b/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandCurrentSenseLevels.go index f2c934873e..013513065c 100644 --- a/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandCurrentSenseLevels.go +++ b/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandCurrentSenseLevels.go @@ -192,7 +192,7 @@ func (m *_IdentifyReplyCommandCurrentSenseLevels) deepCopy() *_IdentifyReplyComm return nil } _IdentifyReplyCommandCurrentSenseLevelsCopy := &_IdentifyReplyCommandCurrentSenseLevels{ - m.IdentifyReplyCommandContract.DeepCopy().(IdentifyReplyCommandContract), + m.IdentifyReplyCommandContract.(*_IdentifyReplyCommand).deepCopy(), utils.DeepCopySlice[byte, byte](m.CurrentSenseLevels), } m.IdentifyReplyCommandContract.(*_IdentifyReplyCommand)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandDSIStatus.go b/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandDSIStatus.go index 08c6db00a8..29efed2916 100644 --- a/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandDSIStatus.go +++ b/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandDSIStatus.go @@ -379,7 +379,7 @@ func (m *_IdentifyReplyCommandDSIStatus) deepCopy() *_IdentifyReplyCommandDSISta return nil } _IdentifyReplyCommandDSIStatusCopy := &_IdentifyReplyCommandDSIStatus{ - m.IdentifyReplyCommandContract.DeepCopy().(IdentifyReplyCommandContract), + m.IdentifyReplyCommandContract.(*_IdentifyReplyCommand).deepCopy(), m.ChannelStatus1, m.ChannelStatus2, m.ChannelStatus3, diff --git a/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandDelays.go b/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandDelays.go index c07feea0e9..c05ba66df8 100644 --- a/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandDelays.go +++ b/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandDelays.go @@ -213,7 +213,7 @@ func (m *_IdentifyReplyCommandDelays) deepCopy() *_IdentifyReplyCommandDelays { return nil } _IdentifyReplyCommandDelaysCopy := &_IdentifyReplyCommandDelays{ - m.IdentifyReplyCommandContract.DeepCopy().(IdentifyReplyCommandContract), + m.IdentifyReplyCommandContract.(*_IdentifyReplyCommand).deepCopy(), utils.DeepCopySlice[byte, byte](m.TerminalLevels), m.ReStrikeDelay, } diff --git a/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandExtendedDiagnosticSummary.go b/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandExtendedDiagnosticSummary.go index 89b824343e..25425597e2 100644 --- a/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandExtendedDiagnosticSummary.go +++ b/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandExtendedDiagnosticSummary.go @@ -643,7 +643,7 @@ func (m *_IdentifyReplyCommandExtendedDiagnosticSummary) deepCopy() *_IdentifyRe return nil } _IdentifyReplyCommandExtendedDiagnosticSummaryCopy := &_IdentifyReplyCommandExtendedDiagnosticSummary{ - m.IdentifyReplyCommandContract.DeepCopy().(IdentifyReplyCommandContract), + m.IdentifyReplyCommandContract.(*_IdentifyReplyCommand).deepCopy(), m.LowApplication, m.HighApplication, m.Area, diff --git a/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandFirmwareVersion.go b/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandFirmwareVersion.go index 2584eb70aa..f2c4213bd4 100644 --- a/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandFirmwareVersion.go +++ b/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandFirmwareVersion.go @@ -190,7 +190,7 @@ func (m *_IdentifyReplyCommandFirmwareVersion) deepCopy() *_IdentifyReplyCommand return nil } _IdentifyReplyCommandFirmwareVersionCopy := &_IdentifyReplyCommandFirmwareVersion{ - m.IdentifyReplyCommandContract.DeepCopy().(IdentifyReplyCommandContract), + m.IdentifyReplyCommandContract.(*_IdentifyReplyCommand).deepCopy(), m.FirmwareVersion, } m.IdentifyReplyCommandContract.(*_IdentifyReplyCommand)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandGAVPhysicalAddresses.go b/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandGAVPhysicalAddresses.go index 9800b5051b..3df13b7941 100644 --- a/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandGAVPhysicalAddresses.go +++ b/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandGAVPhysicalAddresses.go @@ -192,7 +192,7 @@ func (m *_IdentifyReplyCommandGAVPhysicalAddresses) deepCopy() *_IdentifyReplyCo return nil } _IdentifyReplyCommandGAVPhysicalAddressesCopy := &_IdentifyReplyCommandGAVPhysicalAddresses{ - m.IdentifyReplyCommandContract.DeepCopy().(IdentifyReplyCommandContract), + m.IdentifyReplyCommandContract.(*_IdentifyReplyCommand).deepCopy(), utils.DeepCopySlice[byte, byte](m.Values), } m.IdentifyReplyCommandContract.(*_IdentifyReplyCommand)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandGAVValuesCurrent.go b/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandGAVValuesCurrent.go index 4888025db3..61d499567b 100644 --- a/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandGAVValuesCurrent.go +++ b/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandGAVValuesCurrent.go @@ -192,7 +192,7 @@ func (m *_IdentifyReplyCommandGAVValuesCurrent) deepCopy() *_IdentifyReplyComman return nil } _IdentifyReplyCommandGAVValuesCurrentCopy := &_IdentifyReplyCommandGAVValuesCurrent{ - m.IdentifyReplyCommandContract.DeepCopy().(IdentifyReplyCommandContract), + m.IdentifyReplyCommandContract.(*_IdentifyReplyCommand).deepCopy(), utils.DeepCopySlice[byte, byte](m.Values), } m.IdentifyReplyCommandContract.(*_IdentifyReplyCommand)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandGAVValuesStored.go b/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandGAVValuesStored.go index fe36eb548d..8fb66d4439 100644 --- a/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandGAVValuesStored.go +++ b/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandGAVValuesStored.go @@ -192,7 +192,7 @@ func (m *_IdentifyReplyCommandGAVValuesStored) deepCopy() *_IdentifyReplyCommand return nil } _IdentifyReplyCommandGAVValuesStoredCopy := &_IdentifyReplyCommandGAVValuesStored{ - m.IdentifyReplyCommandContract.DeepCopy().(IdentifyReplyCommandContract), + m.IdentifyReplyCommandContract.(*_IdentifyReplyCommand).deepCopy(), utils.DeepCopySlice[byte, byte](m.Values), } m.IdentifyReplyCommandContract.(*_IdentifyReplyCommand)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandLogicalAssignment.go b/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandLogicalAssignment.go index 4b0db1e517..6be52bee95 100644 --- a/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandLogicalAssignment.go +++ b/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandLogicalAssignment.go @@ -197,7 +197,7 @@ func (m *_IdentifyReplyCommandLogicalAssignment) deepCopy() *_IdentifyReplyComma return nil } _IdentifyReplyCommandLogicalAssignmentCopy := &_IdentifyReplyCommandLogicalAssignment{ - m.IdentifyReplyCommandContract.DeepCopy().(IdentifyReplyCommandContract), + m.IdentifyReplyCommandContract.(*_IdentifyReplyCommand).deepCopy(), utils.DeepCopySlice[LogicAssignment, LogicAssignment](m.LogicAssigment), } m.IdentifyReplyCommandContract.(*_IdentifyReplyCommand)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandManufacturer.go b/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandManufacturer.go index 10a57811ac..9c98edb422 100644 --- a/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandManufacturer.go +++ b/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandManufacturer.go @@ -190,7 +190,7 @@ func (m *_IdentifyReplyCommandManufacturer) deepCopy() *_IdentifyReplyCommandMan return nil } _IdentifyReplyCommandManufacturerCopy := &_IdentifyReplyCommandManufacturer{ - m.IdentifyReplyCommandContract.DeepCopy().(IdentifyReplyCommandContract), + m.IdentifyReplyCommandContract.(*_IdentifyReplyCommand).deepCopy(), m.ManufacturerName, } m.IdentifyReplyCommandContract.(*_IdentifyReplyCommand)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandMaximumLevels.go b/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandMaximumLevels.go index 2d6b11669a..2ce81b37b7 100644 --- a/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandMaximumLevels.go +++ b/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandMaximumLevels.go @@ -192,7 +192,7 @@ func (m *_IdentifyReplyCommandMaximumLevels) deepCopy() *_IdentifyReplyCommandMa return nil } _IdentifyReplyCommandMaximumLevelsCopy := &_IdentifyReplyCommandMaximumLevels{ - m.IdentifyReplyCommandContract.DeepCopy().(IdentifyReplyCommandContract), + m.IdentifyReplyCommandContract.(*_IdentifyReplyCommand).deepCopy(), utils.DeepCopySlice[byte, byte](m.MaximumLevels), } m.IdentifyReplyCommandContract.(*_IdentifyReplyCommand)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandMinimumLevels.go b/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandMinimumLevels.go index 6319a0800f..6727822b5c 100644 --- a/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandMinimumLevels.go +++ b/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandMinimumLevels.go @@ -192,7 +192,7 @@ func (m *_IdentifyReplyCommandMinimumLevels) deepCopy() *_IdentifyReplyCommandMi return nil } _IdentifyReplyCommandMinimumLevelsCopy := &_IdentifyReplyCommandMinimumLevels{ - m.IdentifyReplyCommandContract.DeepCopy().(IdentifyReplyCommandContract), + m.IdentifyReplyCommandContract.(*_IdentifyReplyCommand).deepCopy(), utils.DeepCopySlice[byte, byte](m.MinimumLevels), } m.IdentifyReplyCommandContract.(*_IdentifyReplyCommand)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandNetworkTerminalLevels.go b/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandNetworkTerminalLevels.go index e31e650afc..5311447f6e 100644 --- a/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandNetworkTerminalLevels.go +++ b/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandNetworkTerminalLevels.go @@ -192,7 +192,7 @@ func (m *_IdentifyReplyCommandNetworkTerminalLevels) deepCopy() *_IdentifyReplyC return nil } _IdentifyReplyCommandNetworkTerminalLevelsCopy := &_IdentifyReplyCommandNetworkTerminalLevels{ - m.IdentifyReplyCommandContract.DeepCopy().(IdentifyReplyCommandContract), + m.IdentifyReplyCommandContract.(*_IdentifyReplyCommand).deepCopy(), utils.DeepCopySlice[byte, byte](m.NetworkTerminalLevels), } m.IdentifyReplyCommandContract.(*_IdentifyReplyCommand)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandNetworkVoltage.go b/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandNetworkVoltage.go index 32d6521f6e..7882b6f6d8 100644 --- a/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandNetworkVoltage.go +++ b/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandNetworkVoltage.go @@ -258,7 +258,7 @@ func (m *_IdentifyReplyCommandNetworkVoltage) deepCopy() *_IdentifyReplyCommandN return nil } _IdentifyReplyCommandNetworkVoltageCopy := &_IdentifyReplyCommandNetworkVoltage{ - m.IdentifyReplyCommandContract.DeepCopy().(IdentifyReplyCommandContract), + m.IdentifyReplyCommandContract.(*_IdentifyReplyCommand).deepCopy(), m.Volts, m.VoltsDecimalPlace, } diff --git a/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandOutputUnitSummary.go b/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandOutputUnitSummary.go index 7ee258655d..b3ca88183d 100644 --- a/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandOutputUnitSummary.go +++ b/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandOutputUnitSummary.go @@ -262,7 +262,7 @@ func (m *_IdentifyReplyCommandOutputUnitSummary) deepCopy() *_IdentifyReplyComma return nil } _IdentifyReplyCommandOutputUnitSummaryCopy := &_IdentifyReplyCommandOutputUnitSummary{ - m.IdentifyReplyCommandContract.DeepCopy().(IdentifyReplyCommandContract), + m.IdentifyReplyCommandContract.(*_IdentifyReplyCommand).deepCopy(), m.UnitFlags.DeepCopy().(IdentifyReplyCommandUnitSummary), utils.CopyPtr[byte](m.GavStoreEnabledByte1), utils.CopyPtr[byte](m.GavStoreEnabledByte2), diff --git a/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandSummary.go b/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandSummary.go index b05076d7ca..6924c89e8a 100644 --- a/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandSummary.go +++ b/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandSummary.go @@ -232,7 +232,7 @@ func (m *_IdentifyReplyCommandSummary) deepCopy() *_IdentifyReplyCommandSummary return nil } _IdentifyReplyCommandSummaryCopy := &_IdentifyReplyCommandSummary{ - m.IdentifyReplyCommandContract.DeepCopy().(IdentifyReplyCommandContract), + m.IdentifyReplyCommandContract.(*_IdentifyReplyCommand).deepCopy(), m.PartName, m.UnitServiceType, m.Version, diff --git a/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandTerminalLevels.go b/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandTerminalLevels.go index 67fa1713e1..9f5b6932b1 100644 --- a/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandTerminalLevels.go +++ b/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandTerminalLevels.go @@ -192,7 +192,7 @@ func (m *_IdentifyReplyCommandTerminalLevels) deepCopy() *_IdentifyReplyCommandT return nil } _IdentifyReplyCommandTerminalLevelsCopy := &_IdentifyReplyCommandTerminalLevels{ - m.IdentifyReplyCommandContract.DeepCopy().(IdentifyReplyCommandContract), + m.IdentifyReplyCommandContract.(*_IdentifyReplyCommand).deepCopy(), utils.DeepCopySlice[byte, byte](m.TerminalLevels), } m.IdentifyReplyCommandContract.(*_IdentifyReplyCommand)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandType.go b/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandType.go index 82d7c5c244..7771c8de57 100644 --- a/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandType.go +++ b/plc4go/protocols/cbus/readwrite/model/IdentifyReplyCommandType.go @@ -190,7 +190,7 @@ func (m *_IdentifyReplyCommandType) deepCopy() *_IdentifyReplyCommandType { return nil } _IdentifyReplyCommandTypeCopy := &_IdentifyReplyCommandType{ - m.IdentifyReplyCommandContract.DeepCopy().(IdentifyReplyCommandContract), + m.IdentifyReplyCommandContract.(*_IdentifyReplyCommand).deepCopy(), m.UnitType, } m.IdentifyReplyCommandContract.(*_IdentifyReplyCommand)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/LevelInformation.go b/plc4go/protocols/cbus/readwrite/model/LevelInformation.go index ff8fe54755..0e38f8e869 100644 --- a/plc4go/protocols/cbus/readwrite/model/LevelInformation.go +++ b/plc4go/protocols/cbus/readwrite/model/LevelInformation.go @@ -47,7 +47,6 @@ type LevelInformation interface { // LevelInformationContract provides a set of functions which can be overwritten by a sub struct type LevelInformationContract interface { - utils.Copyable // GetRaw returns Raw (property field) GetRaw() uint16 // GetNibble1 returns Nibble1 (virtual field) diff --git a/plc4go/protocols/cbus/readwrite/model/LevelInformationAbsent.go b/plc4go/protocols/cbus/readwrite/model/LevelInformationAbsent.go index 3dbbe32cc2..7c63335113 100644 --- a/plc4go/protocols/cbus/readwrite/model/LevelInformationAbsent.go +++ b/plc4go/protocols/cbus/readwrite/model/LevelInformationAbsent.go @@ -170,7 +170,7 @@ func (m *_LevelInformationAbsent) deepCopy() *_LevelInformationAbsent { return nil } _LevelInformationAbsentCopy := &_LevelInformationAbsent{ - m.LevelInformationContract.DeepCopy().(LevelInformationContract), + m.LevelInformationContract.(*_LevelInformation).deepCopy(), m.reservedField0, } m.LevelInformationContract.(*_LevelInformation)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/LevelInformationCorrupted.go b/plc4go/protocols/cbus/readwrite/model/LevelInformationCorrupted.go index 77aaddf298..dc96e30104 100644 --- a/plc4go/protocols/cbus/readwrite/model/LevelInformationCorrupted.go +++ b/plc4go/protocols/cbus/readwrite/model/LevelInformationCorrupted.go @@ -249,7 +249,7 @@ func (m *_LevelInformationCorrupted) deepCopy() *_LevelInformationCorrupted { return nil } _LevelInformationCorruptedCopy := &_LevelInformationCorrupted{ - m.LevelInformationContract.DeepCopy().(LevelInformationContract), + m.LevelInformationContract.(*_LevelInformation).deepCopy(), m.CorruptedNibble1, m.CorruptedNibble2, m.CorruptedNibble3, diff --git a/plc4go/protocols/cbus/readwrite/model/LevelInformationNormal.go b/plc4go/protocols/cbus/readwrite/model/LevelInformationNormal.go index 2417fe9b3e..8355b95964 100644 --- a/plc4go/protocols/cbus/readwrite/model/LevelInformationNormal.go +++ b/plc4go/protocols/cbus/readwrite/model/LevelInformationNormal.go @@ -260,7 +260,7 @@ func (m *_LevelInformationNormal) deepCopy() *_LevelInformationNormal { return nil } _LevelInformationNormalCopy := &_LevelInformationNormal{ - m.LevelInformationContract.DeepCopy().(LevelInformationContract), + m.LevelInformationContract.(*_LevelInformation).deepCopy(), m.Pair1, m.Pair2, } diff --git a/plc4go/protocols/cbus/readwrite/model/LightingData.go b/plc4go/protocols/cbus/readwrite/model/LightingData.go index 20cf09cd00..befb1c5085 100644 --- a/plc4go/protocols/cbus/readwrite/model/LightingData.go +++ b/plc4go/protocols/cbus/readwrite/model/LightingData.go @@ -47,7 +47,6 @@ type LightingData interface { // LightingDataContract provides a set of functions which can be overwritten by a sub struct type LightingDataContract interface { - utils.Copyable // GetCommandTypeContainer returns CommandTypeContainer (property field) GetCommandTypeContainer() LightingCommandTypeContainer // GetCommandType returns CommandType (virtual field) diff --git a/plc4go/protocols/cbus/readwrite/model/LightingDataLabel.go b/plc4go/protocols/cbus/readwrite/model/LightingDataLabel.go index 26c2d84ecd..0f56fd1fc3 100644 --- a/plc4go/protocols/cbus/readwrite/model/LightingDataLabel.go +++ b/plc4go/protocols/cbus/readwrite/model/LightingDataLabel.go @@ -257,7 +257,7 @@ func (m *_LightingDataLabel) deepCopy() *_LightingDataLabel { return nil } _LightingDataLabelCopy := &_LightingDataLabel{ - m.LightingDataContract.DeepCopy().(LightingDataContract), + m.LightingDataContract.(*_LightingData).deepCopy(), m.Group, m.LabelOptions.DeepCopy().(LightingLabelOptions), utils.CopyPtr[Language](m.Language), diff --git a/plc4go/protocols/cbus/readwrite/model/LightingDataOff.go b/plc4go/protocols/cbus/readwrite/model/LightingDataOff.go index 2f9f5b9d8a..4b10da41ba 100644 --- a/plc4go/protocols/cbus/readwrite/model/LightingDataOff.go +++ b/plc4go/protocols/cbus/readwrite/model/LightingDataOff.go @@ -186,7 +186,7 @@ func (m *_LightingDataOff) deepCopy() *_LightingDataOff { return nil } _LightingDataOffCopy := &_LightingDataOff{ - m.LightingDataContract.DeepCopy().(LightingDataContract), + m.LightingDataContract.(*_LightingData).deepCopy(), m.Group, } m.LightingDataContract.(*_LightingData)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/LightingDataOn.go b/plc4go/protocols/cbus/readwrite/model/LightingDataOn.go index 04aea6ac5e..8d89045d39 100644 --- a/plc4go/protocols/cbus/readwrite/model/LightingDataOn.go +++ b/plc4go/protocols/cbus/readwrite/model/LightingDataOn.go @@ -186,7 +186,7 @@ func (m *_LightingDataOn) deepCopy() *_LightingDataOn { return nil } _LightingDataOnCopy := &_LightingDataOn{ - m.LightingDataContract.DeepCopy().(LightingDataContract), + m.LightingDataContract.(*_LightingData).deepCopy(), m.Group, } m.LightingDataContract.(*_LightingData)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/LightingDataRampToLevel.go b/plc4go/protocols/cbus/readwrite/model/LightingDataRampToLevel.go index 66366c1763..ff677d05e6 100644 --- a/plc4go/protocols/cbus/readwrite/model/LightingDataRampToLevel.go +++ b/plc4go/protocols/cbus/readwrite/model/LightingDataRampToLevel.go @@ -207,7 +207,7 @@ func (m *_LightingDataRampToLevel) deepCopy() *_LightingDataRampToLevel { return nil } _LightingDataRampToLevelCopy := &_LightingDataRampToLevel{ - m.LightingDataContract.DeepCopy().(LightingDataContract), + m.LightingDataContract.(*_LightingData).deepCopy(), m.Group, m.Level, } diff --git a/plc4go/protocols/cbus/readwrite/model/LightingDataTerminateRamp.go b/plc4go/protocols/cbus/readwrite/model/LightingDataTerminateRamp.go index 45a7689a49..3eed411179 100644 --- a/plc4go/protocols/cbus/readwrite/model/LightingDataTerminateRamp.go +++ b/plc4go/protocols/cbus/readwrite/model/LightingDataTerminateRamp.go @@ -186,7 +186,7 @@ func (m *_LightingDataTerminateRamp) deepCopy() *_LightingDataTerminateRamp { return nil } _LightingDataTerminateRampCopy := &_LightingDataTerminateRamp{ - m.LightingDataContract.DeepCopy().(LightingDataContract), + m.LightingDataContract.(*_LightingData).deepCopy(), m.Group, } m.LightingDataContract.(*_LightingData)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/MeasurementData.go b/plc4go/protocols/cbus/readwrite/model/MeasurementData.go index 453ca1b662..384a14220d 100644 --- a/plc4go/protocols/cbus/readwrite/model/MeasurementData.go +++ b/plc4go/protocols/cbus/readwrite/model/MeasurementData.go @@ -47,7 +47,6 @@ type MeasurementData interface { // MeasurementDataContract provides a set of functions which can be overwritten by a sub struct type MeasurementDataContract interface { - utils.Copyable // GetCommandTypeContainer returns CommandTypeContainer (property field) GetCommandTypeContainer() MeasurementCommandTypeContainer // GetCommandType returns CommandType (virtual field) diff --git a/plc4go/protocols/cbus/readwrite/model/MeasurementDataChannelMeasurementData.go b/plc4go/protocols/cbus/readwrite/model/MeasurementDataChannelMeasurementData.go index da0c0ffdae..15c697cda2 100644 --- a/plc4go/protocols/cbus/readwrite/model/MeasurementDataChannelMeasurementData.go +++ b/plc4go/protocols/cbus/readwrite/model/MeasurementDataChannelMeasurementData.go @@ -344,7 +344,7 @@ func (m *_MeasurementDataChannelMeasurementData) deepCopy() *_MeasurementDataCha return nil } _MeasurementDataChannelMeasurementDataCopy := &_MeasurementDataChannelMeasurementData{ - m.MeasurementDataContract.DeepCopy().(MeasurementDataContract), + m.MeasurementDataContract.(*_MeasurementData).deepCopy(), m.DeviceId, m.Channel, m.Units, diff --git a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlData.go b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlData.go index 056d237b05..8c924a4333 100644 --- a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlData.go +++ b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlData.go @@ -47,7 +47,6 @@ type MediaTransportControlData interface { // MediaTransportControlDataContract provides a set of functions which can be overwritten by a sub struct type MediaTransportControlDataContract interface { - utils.Copyable // GetCommandTypeContainer returns CommandTypeContainer (property field) GetCommandTypeContainer() MediaTransportControlCommandTypeContainer // GetMediaLinkGroup returns MediaLinkGroup (property field) diff --git a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataCategoryName.go b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataCategoryName.go index d9f5c2031b..a351ad5d7e 100644 --- a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataCategoryName.go +++ b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataCategoryName.go @@ -186,7 +186,7 @@ func (m *_MediaTransportControlDataCategoryName) deepCopy() *_MediaTransportCont return nil } _MediaTransportControlDataCategoryNameCopy := &_MediaTransportControlDataCategoryName{ - m.MediaTransportControlDataContract.DeepCopy().(MediaTransportControlDataContract), + m.MediaTransportControlDataContract.(*_MediaTransportControlData).deepCopy(), m.CategoryName, } m.MediaTransportControlDataContract.(*_MediaTransportControlData)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataEnumerateCategoriesSelectionTracks.go b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataEnumerateCategoriesSelectionTracks.go index b87d5768b4..8dd1c9cf60 100644 --- a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataEnumerateCategoriesSelectionTracks.go +++ b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataEnumerateCategoriesSelectionTracks.go @@ -305,7 +305,7 @@ func (m *_MediaTransportControlDataEnumerateCategoriesSelectionTracks) deepCopy( return nil } _MediaTransportControlDataEnumerateCategoriesSelectionTracksCopy := &_MediaTransportControlDataEnumerateCategoriesSelectionTracks{ - m.MediaTransportControlDataContract.DeepCopy().(MediaTransportControlDataContract), + m.MediaTransportControlDataContract.(*_MediaTransportControlData).deepCopy(), m.EnumerateType, m.Start, } diff --git a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataEnumerationsSize.go b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataEnumerationsSize.go index 627df7aa9c..2f81b27a46 100644 --- a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataEnumerationsSize.go +++ b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataEnumerationsSize.go @@ -325,7 +325,7 @@ func (m *_MediaTransportControlDataEnumerationsSize) deepCopy() *_MediaTransport return nil } _MediaTransportControlDataEnumerationsSizeCopy := &_MediaTransportControlDataEnumerationsSize{ - m.MediaTransportControlDataContract.DeepCopy().(MediaTransportControlDataContract), + m.MediaTransportControlDataContract.(*_MediaTransportControlData).deepCopy(), m.SizeType, m.Start, m.Size, diff --git a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataFastForward.go b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataFastForward.go index 5698439dd2..1f402c46f0 100644 --- a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataFastForward.go +++ b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataFastForward.go @@ -371,7 +371,7 @@ func (m *_MediaTransportControlDataFastForward) deepCopy() *_MediaTransportContr return nil } _MediaTransportControlDataFastForwardCopy := &_MediaTransportControlDataFastForward{ - m.MediaTransportControlDataContract.DeepCopy().(MediaTransportControlDataContract), + m.MediaTransportControlDataContract.(*_MediaTransportControlData).deepCopy(), m.Operation, } m.MediaTransportControlDataContract.(*_MediaTransportControlData)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataNextPreviousCategory.go b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataNextPreviousCategory.go index 1dbe3c895d..646b04a710 100644 --- a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataNextPreviousCategory.go +++ b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataNextPreviousCategory.go @@ -240,7 +240,7 @@ func (m *_MediaTransportControlDataNextPreviousCategory) deepCopy() *_MediaTrans return nil } _MediaTransportControlDataNextPreviousCategoryCopy := &_MediaTransportControlDataNextPreviousCategory{ - m.MediaTransportControlDataContract.DeepCopy().(MediaTransportControlDataContract), + m.MediaTransportControlDataContract.(*_MediaTransportControlData).deepCopy(), m.Operation, } m.MediaTransportControlDataContract.(*_MediaTransportControlData)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataNextPreviousSelection.go b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataNextPreviousSelection.go index f636b6ac7f..a7c3753de2 100644 --- a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataNextPreviousSelection.go +++ b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataNextPreviousSelection.go @@ -240,7 +240,7 @@ func (m *_MediaTransportControlDataNextPreviousSelection) deepCopy() *_MediaTran return nil } _MediaTransportControlDataNextPreviousSelectionCopy := &_MediaTransportControlDataNextPreviousSelection{ - m.MediaTransportControlDataContract.DeepCopy().(MediaTransportControlDataContract), + m.MediaTransportControlDataContract.(*_MediaTransportControlData).deepCopy(), m.Operation, } m.MediaTransportControlDataContract.(*_MediaTransportControlData)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataNextPreviousTrack.go b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataNextPreviousTrack.go index d44734b589..9e30b7ca5c 100644 --- a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataNextPreviousTrack.go +++ b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataNextPreviousTrack.go @@ -240,7 +240,7 @@ func (m *_MediaTransportControlDataNextPreviousTrack) deepCopy() *_MediaTranspor return nil } _MediaTransportControlDataNextPreviousTrackCopy := &_MediaTransportControlDataNextPreviousTrack{ - m.MediaTransportControlDataContract.DeepCopy().(MediaTransportControlDataContract), + m.MediaTransportControlDataContract.(*_MediaTransportControlData).deepCopy(), m.Operation, } m.MediaTransportControlDataContract.(*_MediaTransportControlData)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataPauseResume.go b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataPauseResume.go index 301fcd46cf..464d5b9150 100644 --- a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataPauseResume.go +++ b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataPauseResume.go @@ -239,7 +239,7 @@ func (m *_MediaTransportControlDataPauseResume) deepCopy() *_MediaTransportContr return nil } _MediaTransportControlDataPauseResumeCopy := &_MediaTransportControlDataPauseResume{ - m.MediaTransportControlDataContract.DeepCopy().(MediaTransportControlDataContract), + m.MediaTransportControlDataContract.(*_MediaTransportControlData).deepCopy(), m.Operation, } m.MediaTransportControlDataContract.(*_MediaTransportControlData)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataPlay.go b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataPlay.go index cb6b9fd1df..508cc2d4ab 100644 --- a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataPlay.go +++ b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataPlay.go @@ -153,7 +153,7 @@ func (m *_MediaTransportControlDataPlay) deepCopy() *_MediaTransportControlDataP return nil } _MediaTransportControlDataPlayCopy := &_MediaTransportControlDataPlay{ - m.MediaTransportControlDataContract.DeepCopy().(MediaTransportControlDataContract), + m.MediaTransportControlDataContract.(*_MediaTransportControlData).deepCopy(), } m.MediaTransportControlDataContract.(*_MediaTransportControlData)._SubType = m return _MediaTransportControlDataPlayCopy diff --git a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataRepeatOnOff.go b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataRepeatOnOff.go index 72a89d1fb1..dc78b5af21 100644 --- a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataRepeatOnOff.go +++ b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataRepeatOnOff.go @@ -261,7 +261,7 @@ func (m *_MediaTransportControlDataRepeatOnOff) deepCopy() *_MediaTransportContr return nil } _MediaTransportControlDataRepeatOnOffCopy := &_MediaTransportControlDataRepeatOnOff{ - m.MediaTransportControlDataContract.DeepCopy().(MediaTransportControlDataContract), + m.MediaTransportControlDataContract.(*_MediaTransportControlData).deepCopy(), m.RepeatType, } m.MediaTransportControlDataContract.(*_MediaTransportControlData)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataRewind.go b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataRewind.go index 7d35a9f907..ba6ac917fb 100644 --- a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataRewind.go +++ b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataRewind.go @@ -371,7 +371,7 @@ func (m *_MediaTransportControlDataRewind) deepCopy() *_MediaTransportControlDat return nil } _MediaTransportControlDataRewindCopy := &_MediaTransportControlDataRewind{ - m.MediaTransportControlDataContract.DeepCopy().(MediaTransportControlDataContract), + m.MediaTransportControlDataContract.(*_MediaTransportControlData).deepCopy(), m.Operation, } m.MediaTransportControlDataContract.(*_MediaTransportControlData)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataSelectionName.go b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataSelectionName.go index 373f1ccc38..f75fe5efef 100644 --- a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataSelectionName.go +++ b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataSelectionName.go @@ -186,7 +186,7 @@ func (m *_MediaTransportControlDataSelectionName) deepCopy() *_MediaTransportCon return nil } _MediaTransportControlDataSelectionNameCopy := &_MediaTransportControlDataSelectionName{ - m.MediaTransportControlDataContract.DeepCopy().(MediaTransportControlDataContract), + m.MediaTransportControlDataContract.(*_MediaTransportControlData).deepCopy(), m.SelectionName, } m.MediaTransportControlDataContract.(*_MediaTransportControlData)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataSetCategory.go b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataSetCategory.go index cbf43f91a3..698da18234 100644 --- a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataSetCategory.go +++ b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataSetCategory.go @@ -186,7 +186,7 @@ func (m *_MediaTransportControlDataSetCategory) deepCopy() *_MediaTransportContr return nil } _MediaTransportControlDataSetCategoryCopy := &_MediaTransportControlDataSetCategory{ - m.MediaTransportControlDataContract.DeepCopy().(MediaTransportControlDataContract), + m.MediaTransportControlDataContract.(*_MediaTransportControlData).deepCopy(), m.CategoryNumber, } m.MediaTransportControlDataContract.(*_MediaTransportControlData)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataSetSelection.go b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataSetSelection.go index 568bb026a3..f0949f7e29 100644 --- a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataSetSelection.go +++ b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataSetSelection.go @@ -207,7 +207,7 @@ func (m *_MediaTransportControlDataSetSelection) deepCopy() *_MediaTransportCont return nil } _MediaTransportControlDataSetSelectionCopy := &_MediaTransportControlDataSetSelection{ - m.MediaTransportControlDataContract.DeepCopy().(MediaTransportControlDataContract), + m.MediaTransportControlDataContract.(*_MediaTransportControlData).deepCopy(), m.SelectionHi, m.SelectionLo, } diff --git a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataSetTrack.go b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataSetTrack.go index a52f7e352f..3a8f498f34 100644 --- a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataSetTrack.go +++ b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataSetTrack.go @@ -249,7 +249,7 @@ func (m *_MediaTransportControlDataSetTrack) deepCopy() *_MediaTransportControlD return nil } _MediaTransportControlDataSetTrackCopy := &_MediaTransportControlDataSetTrack{ - m.MediaTransportControlDataContract.DeepCopy().(MediaTransportControlDataContract), + m.MediaTransportControlDataContract.(*_MediaTransportControlData).deepCopy(), m.TrackMSB, m.TrackMMSB, m.TrackMLSB, diff --git a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataShuffleOnOff.go b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataShuffleOnOff.go index 2eef65f54c..672816f4d1 100644 --- a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataShuffleOnOff.go +++ b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataShuffleOnOff.go @@ -239,7 +239,7 @@ func (m *_MediaTransportControlDataShuffleOnOff) deepCopy() *_MediaTransportCont return nil } _MediaTransportControlDataShuffleOnOffCopy := &_MediaTransportControlDataShuffleOnOff{ - m.MediaTransportControlDataContract.DeepCopy().(MediaTransportControlDataContract), + m.MediaTransportControlDataContract.(*_MediaTransportControlData).deepCopy(), m.State, } m.MediaTransportControlDataContract.(*_MediaTransportControlData)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataSourcePowerControl.go b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataSourcePowerControl.go index ee4993915d..8ceb1af804 100644 --- a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataSourcePowerControl.go +++ b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataSourcePowerControl.go @@ -240,7 +240,7 @@ func (m *_MediaTransportControlDataSourcePowerControl) deepCopy() *_MediaTranspo return nil } _MediaTransportControlDataSourcePowerControlCopy := &_MediaTransportControlDataSourcePowerControl{ - m.MediaTransportControlDataContract.DeepCopy().(MediaTransportControlDataContract), + m.MediaTransportControlDataContract.(*_MediaTransportControlData).deepCopy(), m.State, } m.MediaTransportControlDataContract.(*_MediaTransportControlData)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataStatusRequest.go b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataStatusRequest.go index cc96fe3f6e..3e28903eb1 100644 --- a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataStatusRequest.go +++ b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataStatusRequest.go @@ -153,7 +153,7 @@ func (m *_MediaTransportControlDataStatusRequest) deepCopy() *_MediaTransportCon return nil } _MediaTransportControlDataStatusRequestCopy := &_MediaTransportControlDataStatusRequest{ - m.MediaTransportControlDataContract.DeepCopy().(MediaTransportControlDataContract), + m.MediaTransportControlDataContract.(*_MediaTransportControlData).deepCopy(), } m.MediaTransportControlDataContract.(*_MediaTransportControlData)._SubType = m return _MediaTransportControlDataStatusRequestCopy diff --git a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataStop.go b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataStop.go index 04f061a5c5..efc2a8c724 100644 --- a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataStop.go +++ b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataStop.go @@ -153,7 +153,7 @@ func (m *_MediaTransportControlDataStop) deepCopy() *_MediaTransportControlDataS return nil } _MediaTransportControlDataStopCopy := &_MediaTransportControlDataStop{ - m.MediaTransportControlDataContract.DeepCopy().(MediaTransportControlDataContract), + m.MediaTransportControlDataContract.(*_MediaTransportControlData).deepCopy(), } m.MediaTransportControlDataContract.(*_MediaTransportControlData)._SubType = m return _MediaTransportControlDataStopCopy diff --git a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataTotalTracks.go b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataTotalTracks.go index 15547557d8..a93d977092 100644 --- a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataTotalTracks.go +++ b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataTotalTracks.go @@ -249,7 +249,7 @@ func (m *_MediaTransportControlDataTotalTracks) deepCopy() *_MediaTransportContr return nil } _MediaTransportControlDataTotalTracksCopy := &_MediaTransportControlDataTotalTracks{ - m.MediaTransportControlDataContract.DeepCopy().(MediaTransportControlDataContract), + m.MediaTransportControlDataContract.(*_MediaTransportControlData).deepCopy(), m.TotalTracksMSB, m.TotalTracksMMSB, m.TotalTracksMLSB, diff --git a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataTrackName.go b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataTrackName.go index 9ea39e1edd..06f6689515 100644 --- a/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataTrackName.go +++ b/plc4go/protocols/cbus/readwrite/model/MediaTransportControlDataTrackName.go @@ -186,7 +186,7 @@ func (m *_MediaTransportControlDataTrackName) deepCopy() *_MediaTransportControl return nil } _MediaTransportControlDataTrackNameCopy := &_MediaTransportControlDataTrackName{ - m.MediaTransportControlDataContract.DeepCopy().(MediaTransportControlDataContract), + m.MediaTransportControlDataContract.(*_MediaTransportControlData).deepCopy(), m.TrackName, } m.MediaTransportControlDataContract.(*_MediaTransportControlData)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/MeteringData.go b/plc4go/protocols/cbus/readwrite/model/MeteringData.go index 8c0e8af802..d120125697 100644 --- a/plc4go/protocols/cbus/readwrite/model/MeteringData.go +++ b/plc4go/protocols/cbus/readwrite/model/MeteringData.go @@ -47,7 +47,6 @@ type MeteringData interface { // MeteringDataContract provides a set of functions which can be overwritten by a sub struct type MeteringDataContract interface { - utils.Copyable // GetCommandTypeContainer returns CommandTypeContainer (property field) GetCommandTypeContainer() MeteringCommandTypeContainer // GetArgument returns Argument (property field) diff --git a/plc4go/protocols/cbus/readwrite/model/MeteringDataDrinkingWaterConsumption.go b/plc4go/protocols/cbus/readwrite/model/MeteringDataDrinkingWaterConsumption.go index 7f4e803414..a73b95da6f 100644 --- a/plc4go/protocols/cbus/readwrite/model/MeteringDataDrinkingWaterConsumption.go +++ b/plc4go/protocols/cbus/readwrite/model/MeteringDataDrinkingWaterConsumption.go @@ -186,7 +186,7 @@ func (m *_MeteringDataDrinkingWaterConsumption) deepCopy() *_MeteringDataDrinkin return nil } _MeteringDataDrinkingWaterConsumptionCopy := &_MeteringDataDrinkingWaterConsumption{ - m.MeteringDataContract.DeepCopy().(MeteringDataContract), + m.MeteringDataContract.(*_MeteringData).deepCopy(), m.KL, } m.MeteringDataContract.(*_MeteringData)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/MeteringDataElectricityConsumption.go b/plc4go/protocols/cbus/readwrite/model/MeteringDataElectricityConsumption.go index e10f9d3678..ca10ebf68e 100644 --- a/plc4go/protocols/cbus/readwrite/model/MeteringDataElectricityConsumption.go +++ b/plc4go/protocols/cbus/readwrite/model/MeteringDataElectricityConsumption.go @@ -186,7 +186,7 @@ func (m *_MeteringDataElectricityConsumption) deepCopy() *_MeteringDataElectrici return nil } _MeteringDataElectricityConsumptionCopy := &_MeteringDataElectricityConsumption{ - m.MeteringDataContract.DeepCopy().(MeteringDataContract), + m.MeteringDataContract.(*_MeteringData).deepCopy(), m.KWhr, } m.MeteringDataContract.(*_MeteringData)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/MeteringDataGasConsumption.go b/plc4go/protocols/cbus/readwrite/model/MeteringDataGasConsumption.go index f65d35f4ba..53be1b5873 100644 --- a/plc4go/protocols/cbus/readwrite/model/MeteringDataGasConsumption.go +++ b/plc4go/protocols/cbus/readwrite/model/MeteringDataGasConsumption.go @@ -186,7 +186,7 @@ func (m *_MeteringDataGasConsumption) deepCopy() *_MeteringDataGasConsumption { return nil } _MeteringDataGasConsumptionCopy := &_MeteringDataGasConsumption{ - m.MeteringDataContract.DeepCopy().(MeteringDataContract), + m.MeteringDataContract.(*_MeteringData).deepCopy(), m.MJ, } m.MeteringDataContract.(*_MeteringData)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/MeteringDataMeasureDrinkingWater.go b/plc4go/protocols/cbus/readwrite/model/MeteringDataMeasureDrinkingWater.go index 6a625275ae..91f8e97c8b 100644 --- a/plc4go/protocols/cbus/readwrite/model/MeteringDataMeasureDrinkingWater.go +++ b/plc4go/protocols/cbus/readwrite/model/MeteringDataMeasureDrinkingWater.go @@ -153,7 +153,7 @@ func (m *_MeteringDataMeasureDrinkingWater) deepCopy() *_MeteringDataMeasureDrin return nil } _MeteringDataMeasureDrinkingWaterCopy := &_MeteringDataMeasureDrinkingWater{ - m.MeteringDataContract.DeepCopy().(MeteringDataContract), + m.MeteringDataContract.(*_MeteringData).deepCopy(), } m.MeteringDataContract.(*_MeteringData)._SubType = m return _MeteringDataMeasureDrinkingWaterCopy diff --git a/plc4go/protocols/cbus/readwrite/model/MeteringDataMeasureElectricity.go b/plc4go/protocols/cbus/readwrite/model/MeteringDataMeasureElectricity.go index 4b78874976..b1addbc4cc 100644 --- a/plc4go/protocols/cbus/readwrite/model/MeteringDataMeasureElectricity.go +++ b/plc4go/protocols/cbus/readwrite/model/MeteringDataMeasureElectricity.go @@ -153,7 +153,7 @@ func (m *_MeteringDataMeasureElectricity) deepCopy() *_MeteringDataMeasureElectr return nil } _MeteringDataMeasureElectricityCopy := &_MeteringDataMeasureElectricity{ - m.MeteringDataContract.DeepCopy().(MeteringDataContract), + m.MeteringDataContract.(*_MeteringData).deepCopy(), } m.MeteringDataContract.(*_MeteringData)._SubType = m return _MeteringDataMeasureElectricityCopy diff --git a/plc4go/protocols/cbus/readwrite/model/MeteringDataMeasureGas.go b/plc4go/protocols/cbus/readwrite/model/MeteringDataMeasureGas.go index 85b420197c..c4b350e925 100644 --- a/plc4go/protocols/cbus/readwrite/model/MeteringDataMeasureGas.go +++ b/plc4go/protocols/cbus/readwrite/model/MeteringDataMeasureGas.go @@ -153,7 +153,7 @@ func (m *_MeteringDataMeasureGas) deepCopy() *_MeteringDataMeasureGas { return nil } _MeteringDataMeasureGasCopy := &_MeteringDataMeasureGas{ - m.MeteringDataContract.DeepCopy().(MeteringDataContract), + m.MeteringDataContract.(*_MeteringData).deepCopy(), } m.MeteringDataContract.(*_MeteringData)._SubType = m return _MeteringDataMeasureGasCopy diff --git a/plc4go/protocols/cbus/readwrite/model/MeteringDataMeasureOil.go b/plc4go/protocols/cbus/readwrite/model/MeteringDataMeasureOil.go index 6df9374898..2cce0bf897 100644 --- a/plc4go/protocols/cbus/readwrite/model/MeteringDataMeasureOil.go +++ b/plc4go/protocols/cbus/readwrite/model/MeteringDataMeasureOil.go @@ -153,7 +153,7 @@ func (m *_MeteringDataMeasureOil) deepCopy() *_MeteringDataMeasureOil { return nil } _MeteringDataMeasureOilCopy := &_MeteringDataMeasureOil{ - m.MeteringDataContract.DeepCopy().(MeteringDataContract), + m.MeteringDataContract.(*_MeteringData).deepCopy(), } m.MeteringDataContract.(*_MeteringData)._SubType = m return _MeteringDataMeasureOilCopy diff --git a/plc4go/protocols/cbus/readwrite/model/MeteringDataMeasureOtherWater.go b/plc4go/protocols/cbus/readwrite/model/MeteringDataMeasureOtherWater.go index c1509dc05e..71b6e0778c 100644 --- a/plc4go/protocols/cbus/readwrite/model/MeteringDataMeasureOtherWater.go +++ b/plc4go/protocols/cbus/readwrite/model/MeteringDataMeasureOtherWater.go @@ -153,7 +153,7 @@ func (m *_MeteringDataMeasureOtherWater) deepCopy() *_MeteringDataMeasureOtherWa return nil } _MeteringDataMeasureOtherWaterCopy := &_MeteringDataMeasureOtherWater{ - m.MeteringDataContract.DeepCopy().(MeteringDataContract), + m.MeteringDataContract.(*_MeteringData).deepCopy(), } m.MeteringDataContract.(*_MeteringData)._SubType = m return _MeteringDataMeasureOtherWaterCopy diff --git a/plc4go/protocols/cbus/readwrite/model/MeteringDataOilConsumption.go b/plc4go/protocols/cbus/readwrite/model/MeteringDataOilConsumption.go index bab09bd1e2..e3118d9a2c 100644 --- a/plc4go/protocols/cbus/readwrite/model/MeteringDataOilConsumption.go +++ b/plc4go/protocols/cbus/readwrite/model/MeteringDataOilConsumption.go @@ -186,7 +186,7 @@ func (m *_MeteringDataOilConsumption) deepCopy() *_MeteringDataOilConsumption { return nil } _MeteringDataOilConsumptionCopy := &_MeteringDataOilConsumption{ - m.MeteringDataContract.DeepCopy().(MeteringDataContract), + m.MeteringDataContract.(*_MeteringData).deepCopy(), m.L, } m.MeteringDataContract.(*_MeteringData)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/MeteringDataOtherWaterConsumption.go b/plc4go/protocols/cbus/readwrite/model/MeteringDataOtherWaterConsumption.go index 8dcfce248a..4ee492ac57 100644 --- a/plc4go/protocols/cbus/readwrite/model/MeteringDataOtherWaterConsumption.go +++ b/plc4go/protocols/cbus/readwrite/model/MeteringDataOtherWaterConsumption.go @@ -186,7 +186,7 @@ func (m *_MeteringDataOtherWaterConsumption) deepCopy() *_MeteringDataOtherWater return nil } _MeteringDataOtherWaterConsumptionCopy := &_MeteringDataOtherWaterConsumption{ - m.MeteringDataContract.DeepCopy().(MeteringDataContract), + m.MeteringDataContract.(*_MeteringData).deepCopy(), m.KL, } m.MeteringDataContract.(*_MeteringData)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/MonitoredSAL.go b/plc4go/protocols/cbus/readwrite/model/MonitoredSAL.go index 9a4dff4ff6..444b3b7b6d 100644 --- a/plc4go/protocols/cbus/readwrite/model/MonitoredSAL.go +++ b/plc4go/protocols/cbus/readwrite/model/MonitoredSAL.go @@ -47,7 +47,6 @@ type MonitoredSAL interface { // MonitoredSALContract provides a set of functions which can be overwritten by a sub struct type MonitoredSALContract interface { - utils.Copyable // GetSalType returns SalType (property field) GetSalType() byte // GetCBusOptions() returns a parser argument diff --git a/plc4go/protocols/cbus/readwrite/model/MonitoredSALLongFormSmartMode.go b/plc4go/protocols/cbus/readwrite/model/MonitoredSALLongFormSmartMode.go index d7e17888c4..bd11ba01aa 100644 --- a/plc4go/protocols/cbus/readwrite/model/MonitoredSALLongFormSmartMode.go +++ b/plc4go/protocols/cbus/readwrite/model/MonitoredSALLongFormSmartMode.go @@ -393,7 +393,7 @@ func (m *_MonitoredSALLongFormSmartMode) deepCopy() *_MonitoredSALLongFormSmartM return nil } _MonitoredSALLongFormSmartModeCopy := &_MonitoredSALLongFormSmartMode{ - m.MonitoredSALContract.DeepCopy().(MonitoredSALContract), + m.MonitoredSALContract.(*_MonitoredSAL).deepCopy(), m.TerminatingByte, m.UnitAddress.DeepCopy().(UnitAddress), m.BridgeAddress.DeepCopy().(BridgeAddress), diff --git a/plc4go/protocols/cbus/readwrite/model/MonitoredSALReply.go b/plc4go/protocols/cbus/readwrite/model/MonitoredSALReply.go index 61e2bd360b..8d2c2c135c 100644 --- a/plc4go/protocols/cbus/readwrite/model/MonitoredSALReply.go +++ b/plc4go/protocols/cbus/readwrite/model/MonitoredSALReply.go @@ -189,7 +189,7 @@ func (m *_MonitoredSALReply) deepCopy() *_MonitoredSALReply { return nil } _MonitoredSALReplyCopy := &_MonitoredSALReply{ - m.EncodedReplyContract.DeepCopy().(EncodedReplyContract), + m.EncodedReplyContract.(*_EncodedReply).deepCopy(), m.MonitoredSAL.DeepCopy().(MonitoredSAL), } m.EncodedReplyContract.(*_EncodedReply)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/MonitoredSALShortFormBasicMode.go b/plc4go/protocols/cbus/readwrite/model/MonitoredSALShortFormBasicMode.go index 7d5f9f6336..37e49fa9a6 100644 --- a/plc4go/protocols/cbus/readwrite/model/MonitoredSALShortFormBasicMode.go +++ b/plc4go/protocols/cbus/readwrite/model/MonitoredSALShortFormBasicMode.go @@ -299,7 +299,7 @@ func (m *_MonitoredSALShortFormBasicMode) deepCopy() *_MonitoredSALShortFormBasi return nil } _MonitoredSALShortFormBasicModeCopy := &_MonitoredSALShortFormBasicMode{ - m.MonitoredSALContract.DeepCopy().(MonitoredSALContract), + m.MonitoredSALContract.(*_MonitoredSAL).deepCopy(), m.Counts, utils.CopyPtr[uint8](m.BridgeCount), utils.CopyPtr[uint8](m.NetworkNumber), diff --git a/plc4go/protocols/cbus/readwrite/model/ParameterChangeReply.go b/plc4go/protocols/cbus/readwrite/model/ParameterChangeReply.go index 2ec35a6f16..35e921d0b5 100644 --- a/plc4go/protocols/cbus/readwrite/model/ParameterChangeReply.go +++ b/plc4go/protocols/cbus/readwrite/model/ParameterChangeReply.go @@ -189,7 +189,7 @@ func (m *_ParameterChangeReply) deepCopy() *_ParameterChangeReply { return nil } _ParameterChangeReplyCopy := &_ParameterChangeReply{ - m.ReplyContract.DeepCopy().(ReplyContract), + m.ReplyContract.(*_Reply).deepCopy(), m.ParameterChange.DeepCopy().(ParameterChange), } m.ReplyContract.(*_Reply)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/ParameterValue.go b/plc4go/protocols/cbus/readwrite/model/ParameterValue.go index 70e339b1b1..61b2f03880 100644 --- a/plc4go/protocols/cbus/readwrite/model/ParameterValue.go +++ b/plc4go/protocols/cbus/readwrite/model/ParameterValue.go @@ -45,7 +45,6 @@ type ParameterValue interface { // ParameterValueContract provides a set of functions which can be overwritten by a sub struct type ParameterValueContract interface { - utils.Copyable // GetNumBytes() returns a parser argument GetNumBytes() uint8 // IsParameterValue is a marker method to prevent unintentional type checks (interfaces of same signature) diff --git a/plc4go/protocols/cbus/readwrite/model/ParameterValueApplicationAddress1.go b/plc4go/protocols/cbus/readwrite/model/ParameterValueApplicationAddress1.go index a621a8c49d..75bc73a743 100644 --- a/plc4go/protocols/cbus/readwrite/model/ParameterValueApplicationAddress1.go +++ b/plc4go/protocols/cbus/readwrite/model/ParameterValueApplicationAddress1.go @@ -221,7 +221,7 @@ func (m *_ParameterValueApplicationAddress1) deepCopy() *_ParameterValueApplicat return nil } _ParameterValueApplicationAddress1Copy := &_ParameterValueApplicationAddress1{ - m.ParameterValueContract.DeepCopy().(ParameterValueContract), + m.ParameterValueContract.(*_ParameterValue).deepCopy(), m.Value.DeepCopy().(ApplicationAddress1), utils.DeepCopySlice[byte, byte](m.Data), } diff --git a/plc4go/protocols/cbus/readwrite/model/ParameterValueApplicationAddress2.go b/plc4go/protocols/cbus/readwrite/model/ParameterValueApplicationAddress2.go index e6b63e6b13..3fbdc0bbcb 100644 --- a/plc4go/protocols/cbus/readwrite/model/ParameterValueApplicationAddress2.go +++ b/plc4go/protocols/cbus/readwrite/model/ParameterValueApplicationAddress2.go @@ -221,7 +221,7 @@ func (m *_ParameterValueApplicationAddress2) deepCopy() *_ParameterValueApplicat return nil } _ParameterValueApplicationAddress2Copy := &_ParameterValueApplicationAddress2{ - m.ParameterValueContract.DeepCopy().(ParameterValueContract), + m.ParameterValueContract.(*_ParameterValue).deepCopy(), m.Value.DeepCopy().(ApplicationAddress2), utils.DeepCopySlice[byte, byte](m.Data), } diff --git a/plc4go/protocols/cbus/readwrite/model/ParameterValueBaudRateSelector.go b/plc4go/protocols/cbus/readwrite/model/ParameterValueBaudRateSelector.go index 95a6499fef..0d4c542fcc 100644 --- a/plc4go/protocols/cbus/readwrite/model/ParameterValueBaudRateSelector.go +++ b/plc4go/protocols/cbus/readwrite/model/ParameterValueBaudRateSelector.go @@ -218,7 +218,7 @@ func (m *_ParameterValueBaudRateSelector) deepCopy() *_ParameterValueBaudRateSel return nil } _ParameterValueBaudRateSelectorCopy := &_ParameterValueBaudRateSelector{ - m.ParameterValueContract.DeepCopy().(ParameterValueContract), + m.ParameterValueContract.(*_ParameterValue).deepCopy(), m.Value, utils.DeepCopySlice[byte, byte](m.Data), } diff --git a/plc4go/protocols/cbus/readwrite/model/ParameterValueCustomManufacturer.go b/plc4go/protocols/cbus/readwrite/model/ParameterValueCustomManufacturer.go index 911d24b90f..abee663897 100644 --- a/plc4go/protocols/cbus/readwrite/model/ParameterValueCustomManufacturer.go +++ b/plc4go/protocols/cbus/readwrite/model/ParameterValueCustomManufacturer.go @@ -193,7 +193,7 @@ func (m *_ParameterValueCustomManufacturer) deepCopy() *_ParameterValueCustomMan return nil } _ParameterValueCustomManufacturerCopy := &_ParameterValueCustomManufacturer{ - m.ParameterValueContract.DeepCopy().(ParameterValueContract), + m.ParameterValueContract.(*_ParameterValue).deepCopy(), m.Value.DeepCopy().(CustomManufacturer), } m.ParameterValueContract.(*_ParameterValue)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/ParameterValueCustomTypes.go b/plc4go/protocols/cbus/readwrite/model/ParameterValueCustomTypes.go index e80d8d76f7..2f7f6533b2 100644 --- a/plc4go/protocols/cbus/readwrite/model/ParameterValueCustomTypes.go +++ b/plc4go/protocols/cbus/readwrite/model/ParameterValueCustomTypes.go @@ -193,7 +193,7 @@ func (m *_ParameterValueCustomTypes) deepCopy() *_ParameterValueCustomTypes { return nil } _ParameterValueCustomTypesCopy := &_ParameterValueCustomTypes{ - m.ParameterValueContract.DeepCopy().(ParameterValueContract), + m.ParameterValueContract.(*_ParameterValue).deepCopy(), m.Value.DeepCopy().(CustomTypes), } m.ParameterValueContract.(*_ParameterValue)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/ParameterValueInterfaceOptions1.go b/plc4go/protocols/cbus/readwrite/model/ParameterValueInterfaceOptions1.go index 1ae991a697..7ed0cff496 100644 --- a/plc4go/protocols/cbus/readwrite/model/ParameterValueInterfaceOptions1.go +++ b/plc4go/protocols/cbus/readwrite/model/ParameterValueInterfaceOptions1.go @@ -221,7 +221,7 @@ func (m *_ParameterValueInterfaceOptions1) deepCopy() *_ParameterValueInterfaceO return nil } _ParameterValueInterfaceOptions1Copy := &_ParameterValueInterfaceOptions1{ - m.ParameterValueContract.DeepCopy().(ParameterValueContract), + m.ParameterValueContract.(*_ParameterValue).deepCopy(), m.Value.DeepCopy().(InterfaceOptions1), utils.DeepCopySlice[byte, byte](m.Data), } diff --git a/plc4go/protocols/cbus/readwrite/model/ParameterValueInterfaceOptions1PowerUpSettings.go b/plc4go/protocols/cbus/readwrite/model/ParameterValueInterfaceOptions1PowerUpSettings.go index af0eeb20bd..b9c2d36f67 100644 --- a/plc4go/protocols/cbus/readwrite/model/ParameterValueInterfaceOptions1PowerUpSettings.go +++ b/plc4go/protocols/cbus/readwrite/model/ParameterValueInterfaceOptions1PowerUpSettings.go @@ -199,7 +199,7 @@ func (m *_ParameterValueInterfaceOptions1PowerUpSettings) deepCopy() *_Parameter return nil } _ParameterValueInterfaceOptions1PowerUpSettingsCopy := &_ParameterValueInterfaceOptions1PowerUpSettings{ - m.ParameterValueContract.DeepCopy().(ParameterValueContract), + m.ParameterValueContract.(*_ParameterValue).deepCopy(), m.Value.DeepCopy().(InterfaceOptions1PowerUpSettings), } m.ParameterValueContract.(*_ParameterValue)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/ParameterValueInterfaceOptions2.go b/plc4go/protocols/cbus/readwrite/model/ParameterValueInterfaceOptions2.go index 1863afa5db..cc0ded20d0 100644 --- a/plc4go/protocols/cbus/readwrite/model/ParameterValueInterfaceOptions2.go +++ b/plc4go/protocols/cbus/readwrite/model/ParameterValueInterfaceOptions2.go @@ -221,7 +221,7 @@ func (m *_ParameterValueInterfaceOptions2) deepCopy() *_ParameterValueInterfaceO return nil } _ParameterValueInterfaceOptions2Copy := &_ParameterValueInterfaceOptions2{ - m.ParameterValueContract.DeepCopy().(ParameterValueContract), + m.ParameterValueContract.(*_ParameterValue).deepCopy(), m.Value.DeepCopy().(InterfaceOptions2), utils.DeepCopySlice[byte, byte](m.Data), } diff --git a/plc4go/protocols/cbus/readwrite/model/ParameterValueInterfaceOptions3.go b/plc4go/protocols/cbus/readwrite/model/ParameterValueInterfaceOptions3.go index 11ce72a73d..c88d177825 100644 --- a/plc4go/protocols/cbus/readwrite/model/ParameterValueInterfaceOptions3.go +++ b/plc4go/protocols/cbus/readwrite/model/ParameterValueInterfaceOptions3.go @@ -221,7 +221,7 @@ func (m *_ParameterValueInterfaceOptions3) deepCopy() *_ParameterValueInterfaceO return nil } _ParameterValueInterfaceOptions3Copy := &_ParameterValueInterfaceOptions3{ - m.ParameterValueContract.DeepCopy().(ParameterValueContract), + m.ParameterValueContract.(*_ParameterValue).deepCopy(), m.Value.DeepCopy().(InterfaceOptions3), utils.DeepCopySlice[byte, byte](m.Data), } diff --git a/plc4go/protocols/cbus/readwrite/model/ParameterValueRaw.go b/plc4go/protocols/cbus/readwrite/model/ParameterValueRaw.go index d4325034a8..523835226c 100644 --- a/plc4go/protocols/cbus/readwrite/model/ParameterValueRaw.go +++ b/plc4go/protocols/cbus/readwrite/model/ParameterValueRaw.go @@ -192,7 +192,7 @@ func (m *_ParameterValueRaw) deepCopy() *_ParameterValueRaw { return nil } _ParameterValueRawCopy := &_ParameterValueRaw{ - m.ParameterValueContract.DeepCopy().(ParameterValueContract), + m.ParameterValueContract.(*_ParameterValue).deepCopy(), utils.DeepCopySlice[byte, byte](m.Data), } m.ParameterValueContract.(*_ParameterValue)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/ParameterValueSerialNumber.go b/plc4go/protocols/cbus/readwrite/model/ParameterValueSerialNumber.go index 4fbda4fbcc..8968044020 100644 --- a/plc4go/protocols/cbus/readwrite/model/ParameterValueSerialNumber.go +++ b/plc4go/protocols/cbus/readwrite/model/ParameterValueSerialNumber.go @@ -221,7 +221,7 @@ func (m *_ParameterValueSerialNumber) deepCopy() *_ParameterValueSerialNumber { return nil } _ParameterValueSerialNumberCopy := &_ParameterValueSerialNumber{ - m.ParameterValueContract.DeepCopy().(ParameterValueContract), + m.ParameterValueContract.(*_ParameterValue).deepCopy(), m.Value.DeepCopy().(SerialNumber), utils.DeepCopySlice[byte, byte](m.Data), } diff --git a/plc4go/protocols/cbus/readwrite/model/PowerUpReply.go b/plc4go/protocols/cbus/readwrite/model/PowerUpReply.go index 04ebbfe597..5e95c7167d 100644 --- a/plc4go/protocols/cbus/readwrite/model/PowerUpReply.go +++ b/plc4go/protocols/cbus/readwrite/model/PowerUpReply.go @@ -189,7 +189,7 @@ func (m *_PowerUpReply) deepCopy() *_PowerUpReply { return nil } _PowerUpReplyCopy := &_PowerUpReply{ - m.ReplyContract.DeepCopy().(ReplyContract), + m.ReplyContract.(*_Reply).deepCopy(), m.PowerUpIndicator.DeepCopy().(PowerUp), } m.ReplyContract.(*_Reply)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/Reply.go b/plc4go/protocols/cbus/readwrite/model/Reply.go index e48efb976d..b7b1049e33 100644 --- a/plc4go/protocols/cbus/readwrite/model/Reply.go +++ b/plc4go/protocols/cbus/readwrite/model/Reply.go @@ -47,7 +47,6 @@ type Reply interface { // ReplyContract provides a set of functions which can be overwritten by a sub struct type ReplyContract interface { - utils.Copyable // GetPeekedByte returns PeekedByte (property field) GetPeekedByte() byte // GetCBusOptions() returns a parser argument diff --git a/plc4go/protocols/cbus/readwrite/model/ReplyEncodedReply.go b/plc4go/protocols/cbus/readwrite/model/ReplyEncodedReply.go index e80b61c7c0..a3fb967b83 100644 --- a/plc4go/protocols/cbus/readwrite/model/ReplyEncodedReply.go +++ b/plc4go/protocols/cbus/readwrite/model/ReplyEncodedReply.go @@ -261,7 +261,7 @@ func (m *_ReplyEncodedReply) deepCopy() *_ReplyEncodedReply { return nil } _ReplyEncodedReplyCopy := &_ReplyEncodedReply{ - m.ReplyContract.DeepCopy().(ReplyContract), + m.ReplyContract.(*_Reply).deepCopy(), m.EncodedReply.DeepCopy().(EncodedReply), m.Chksum.DeepCopy().(Checksum), } diff --git a/plc4go/protocols/cbus/readwrite/model/ReplyOrConfirmation.go b/plc4go/protocols/cbus/readwrite/model/ReplyOrConfirmation.go index 0d96b99545..dfca9b8c27 100644 --- a/plc4go/protocols/cbus/readwrite/model/ReplyOrConfirmation.go +++ b/plc4go/protocols/cbus/readwrite/model/ReplyOrConfirmation.go @@ -47,7 +47,6 @@ type ReplyOrConfirmation interface { // ReplyOrConfirmationContract provides a set of functions which can be overwritten by a sub struct type ReplyOrConfirmationContract interface { - utils.Copyable // GetPeekedByte returns PeekedByte (property field) GetPeekedByte() byte // GetIsAlpha returns IsAlpha (virtual field) diff --git a/plc4go/protocols/cbus/readwrite/model/ReplyOrConfirmationConfirmation.go b/plc4go/protocols/cbus/readwrite/model/ReplyOrConfirmationConfirmation.go index 8fe7f5f954..aae0732f1b 100644 --- a/plc4go/protocols/cbus/readwrite/model/ReplyOrConfirmationConfirmation.go +++ b/plc4go/protocols/cbus/readwrite/model/ReplyOrConfirmationConfirmation.go @@ -216,7 +216,7 @@ func (m *_ReplyOrConfirmationConfirmation) deepCopy() *_ReplyOrConfirmationConfi return nil } _ReplyOrConfirmationConfirmationCopy := &_ReplyOrConfirmationConfirmation{ - m.ReplyOrConfirmationContract.DeepCopy().(ReplyOrConfirmationContract), + m.ReplyOrConfirmationContract.(*_ReplyOrConfirmation).deepCopy(), m.Confirmation.DeepCopy().(Confirmation), m.EmbeddedReply.DeepCopy().(ReplyOrConfirmation), } diff --git a/plc4go/protocols/cbus/readwrite/model/ReplyOrConfirmationReply.go b/plc4go/protocols/cbus/readwrite/model/ReplyOrConfirmationReply.go index b744fe26e3..d4b3125fa1 100644 --- a/plc4go/protocols/cbus/readwrite/model/ReplyOrConfirmationReply.go +++ b/plc4go/protocols/cbus/readwrite/model/ReplyOrConfirmationReply.go @@ -213,7 +213,7 @@ func (m *_ReplyOrConfirmationReply) deepCopy() *_ReplyOrConfirmationReply { return nil } _ReplyOrConfirmationReplyCopy := &_ReplyOrConfirmationReply{ - m.ReplyOrConfirmationContract.DeepCopy().(ReplyOrConfirmationContract), + m.ReplyOrConfirmationContract.(*_ReplyOrConfirmation).deepCopy(), m.Reply.DeepCopy().(Reply), m.Termination.DeepCopy().(ResponseTermination), } diff --git a/plc4go/protocols/cbus/readwrite/model/Request.go b/plc4go/protocols/cbus/readwrite/model/Request.go index ba4b71a404..eeaf1ab2dd 100644 --- a/plc4go/protocols/cbus/readwrite/model/Request.go +++ b/plc4go/protocols/cbus/readwrite/model/Request.go @@ -47,7 +47,6 @@ type Request interface { // RequestContract provides a set of functions which can be overwritten by a sub struct type RequestContract interface { - utils.Copyable // GetPeekedByte returns PeekedByte (property field) GetPeekedByte() RequestType // GetStartingCR returns StartingCR (property field) diff --git a/plc4go/protocols/cbus/readwrite/model/RequestCommand.go b/plc4go/protocols/cbus/readwrite/model/RequestCommand.go index 9d7872aa7b..959f22e2f2 100644 --- a/plc4go/protocols/cbus/readwrite/model/RequestCommand.go +++ b/plc4go/protocols/cbus/readwrite/model/RequestCommand.go @@ -322,7 +322,7 @@ func (m *_RequestCommand) deepCopy() *_RequestCommand { return nil } _RequestCommandCopy := &_RequestCommand{ - m.RequestContract.DeepCopy().(RequestContract), + m.RequestContract.(*_Request).deepCopy(), m.CbusCommand.DeepCopy().(CBusCommand), m.Chksum.DeepCopy().(Checksum), m.Alpha.DeepCopy().(Alpha), diff --git a/plc4go/protocols/cbus/readwrite/model/RequestDirectCommandAccess.go b/plc4go/protocols/cbus/readwrite/model/RequestDirectCommandAccess.go index 7fdd1a3dbd..e3e0cb9c61 100644 --- a/plc4go/protocols/cbus/readwrite/model/RequestDirectCommandAccess.go +++ b/plc4go/protocols/cbus/readwrite/model/RequestDirectCommandAccess.go @@ -275,7 +275,7 @@ func (m *_RequestDirectCommandAccess) deepCopy() *_RequestDirectCommandAccess { return nil } _RequestDirectCommandAccessCopy := &_RequestDirectCommandAccess{ - m.RequestContract.DeepCopy().(RequestContract), + m.RequestContract.(*_Request).deepCopy(), m.CalData.DeepCopy().(CALData), m.Alpha.DeepCopy().(Alpha), } diff --git a/plc4go/protocols/cbus/readwrite/model/RequestEmpty.go b/plc4go/protocols/cbus/readwrite/model/RequestEmpty.go index 0a67e81cbc..dbb0f9a111 100644 --- a/plc4go/protocols/cbus/readwrite/model/RequestEmpty.go +++ b/plc4go/protocols/cbus/readwrite/model/RequestEmpty.go @@ -153,7 +153,7 @@ func (m *_RequestEmpty) deepCopy() *_RequestEmpty { return nil } _RequestEmptyCopy := &_RequestEmpty{ - m.RequestContract.DeepCopy().(RequestContract), + m.RequestContract.(*_Request).deepCopy(), } m.RequestContract.(*_Request)._SubType = m return _RequestEmptyCopy diff --git a/plc4go/protocols/cbus/readwrite/model/RequestNull.go b/plc4go/protocols/cbus/readwrite/model/RequestNull.go index dcd07486a9..13cabd44ae 100644 --- a/plc4go/protocols/cbus/readwrite/model/RequestNull.go +++ b/plc4go/protocols/cbus/readwrite/model/RequestNull.go @@ -185,7 +185,7 @@ func (m *_RequestNull) deepCopy() *_RequestNull { return nil } _RequestNullCopy := &_RequestNull{ - m.RequestContract.DeepCopy().(RequestContract), + m.RequestContract.(*_Request).deepCopy(), } m.RequestContract.(*_Request)._SubType = m return _RequestNullCopy diff --git a/plc4go/protocols/cbus/readwrite/model/RequestObsolete.go b/plc4go/protocols/cbus/readwrite/model/RequestObsolete.go index c7ae01818f..84e9d00391 100644 --- a/plc4go/protocols/cbus/readwrite/model/RequestObsolete.go +++ b/plc4go/protocols/cbus/readwrite/model/RequestObsolete.go @@ -246,7 +246,7 @@ func (m *_RequestObsolete) deepCopy() *_RequestObsolete { return nil } _RequestObsoleteCopy := &_RequestObsolete{ - m.RequestContract.DeepCopy().(RequestContract), + m.RequestContract.(*_Request).deepCopy(), m.CalData.DeepCopy().(CALData), m.Alpha.DeepCopy().(Alpha), } diff --git a/plc4go/protocols/cbus/readwrite/model/RequestReset.go b/plc4go/protocols/cbus/readwrite/model/RequestReset.go index a7a52e8945..9d4d5ea697 100644 --- a/plc4go/protocols/cbus/readwrite/model/RequestReset.go +++ b/plc4go/protocols/cbus/readwrite/model/RequestReset.go @@ -241,7 +241,7 @@ func (m *_RequestReset) deepCopy() *_RequestReset { return nil } _RequestResetCopy := &_RequestReset{ - m.RequestContract.DeepCopy().(RequestContract), + m.RequestContract.(*_Request).deepCopy(), m.TildePeek, utils.CopyPtr[RequestType](m.SecondTilde), m.TildePeek2, diff --git a/plc4go/protocols/cbus/readwrite/model/RequestSmartConnectShortcut.go b/plc4go/protocols/cbus/readwrite/model/RequestSmartConnectShortcut.go index 58fcfa56a0..305ad8d2a4 100644 --- a/plc4go/protocols/cbus/readwrite/model/RequestSmartConnectShortcut.go +++ b/plc4go/protocols/cbus/readwrite/model/RequestSmartConnectShortcut.go @@ -232,7 +232,7 @@ func (m *_RequestSmartConnectShortcut) deepCopy() *_RequestSmartConnectShortcut return nil } _RequestSmartConnectShortcutCopy := &_RequestSmartConnectShortcut{ - m.RequestContract.DeepCopy().(RequestContract), + m.RequestContract.(*_Request).deepCopy(), m.PipePeek, utils.CopyPtr[byte](m.SecondPipe), } diff --git a/plc4go/protocols/cbus/readwrite/model/SALData.go b/plc4go/protocols/cbus/readwrite/model/SALData.go index 5f318df33a..9c8b24f35b 100644 --- a/plc4go/protocols/cbus/readwrite/model/SALData.go +++ b/plc4go/protocols/cbus/readwrite/model/SALData.go @@ -47,7 +47,6 @@ type SALData interface { // SALDataContract provides a set of functions which can be overwritten by a sub struct type SALDataContract interface { - utils.Copyable // GetSalData returns SalData (property field) GetSalData() SALData // IsSALData is a marker method to prevent unintentional type checks (interfaces of same signature) diff --git a/plc4go/protocols/cbus/readwrite/model/SALDataAccessControl.go b/plc4go/protocols/cbus/readwrite/model/SALDataAccessControl.go index 89f54b55b7..022b26b05b 100644 --- a/plc4go/protocols/cbus/readwrite/model/SALDataAccessControl.go +++ b/plc4go/protocols/cbus/readwrite/model/SALDataAccessControl.go @@ -193,7 +193,7 @@ func (m *_SALDataAccessControl) deepCopy() *_SALDataAccessControl { return nil } _SALDataAccessControlCopy := &_SALDataAccessControl{ - m.SALDataContract.DeepCopy().(SALDataContract), + m.SALDataContract.(*_SALData).deepCopy(), m.AccessControlData.DeepCopy().(AccessControlData), } m.SALDataContract.(*_SALData)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/SALDataAirConditioning.go b/plc4go/protocols/cbus/readwrite/model/SALDataAirConditioning.go index 74ec0f4a35..4391fdf5f7 100644 --- a/plc4go/protocols/cbus/readwrite/model/SALDataAirConditioning.go +++ b/plc4go/protocols/cbus/readwrite/model/SALDataAirConditioning.go @@ -193,7 +193,7 @@ func (m *_SALDataAirConditioning) deepCopy() *_SALDataAirConditioning { return nil } _SALDataAirConditioningCopy := &_SALDataAirConditioning{ - m.SALDataContract.DeepCopy().(SALDataContract), + m.SALDataContract.(*_SALData).deepCopy(), m.AirConditioningData.DeepCopy().(AirConditioningData), } m.SALDataContract.(*_SALData)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/SALDataAudioAndVideo.go b/plc4go/protocols/cbus/readwrite/model/SALDataAudioAndVideo.go index 031e13b82d..2b3b746b94 100644 --- a/plc4go/protocols/cbus/readwrite/model/SALDataAudioAndVideo.go +++ b/plc4go/protocols/cbus/readwrite/model/SALDataAudioAndVideo.go @@ -193,7 +193,7 @@ func (m *_SALDataAudioAndVideo) deepCopy() *_SALDataAudioAndVideo { return nil } _SALDataAudioAndVideoCopy := &_SALDataAudioAndVideo{ - m.SALDataContract.DeepCopy().(SALDataContract), + m.SALDataContract.(*_SALData).deepCopy(), m.AudioVideoData.DeepCopy().(LightingData), } m.SALDataContract.(*_SALData)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/SALDataClockAndTimekeeping.go b/plc4go/protocols/cbus/readwrite/model/SALDataClockAndTimekeeping.go index 6add05cb2b..784a077099 100644 --- a/plc4go/protocols/cbus/readwrite/model/SALDataClockAndTimekeeping.go +++ b/plc4go/protocols/cbus/readwrite/model/SALDataClockAndTimekeeping.go @@ -193,7 +193,7 @@ func (m *_SALDataClockAndTimekeeping) deepCopy() *_SALDataClockAndTimekeeping { return nil } _SALDataClockAndTimekeepingCopy := &_SALDataClockAndTimekeeping{ - m.SALDataContract.DeepCopy().(SALDataContract), + m.SALDataContract.(*_SALData).deepCopy(), m.ClockAndTimekeepingData.DeepCopy().(ClockAndTimekeepingData), } m.SALDataContract.(*_SALData)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/SALDataEnableControl.go b/plc4go/protocols/cbus/readwrite/model/SALDataEnableControl.go index 8faabdb0f0..f8676e918a 100644 --- a/plc4go/protocols/cbus/readwrite/model/SALDataEnableControl.go +++ b/plc4go/protocols/cbus/readwrite/model/SALDataEnableControl.go @@ -193,7 +193,7 @@ func (m *_SALDataEnableControl) deepCopy() *_SALDataEnableControl { return nil } _SALDataEnableControlCopy := &_SALDataEnableControl{ - m.SALDataContract.DeepCopy().(SALDataContract), + m.SALDataContract.(*_SALData).deepCopy(), m.EnableControlData.DeepCopy().(EnableControlData), } m.SALDataContract.(*_SALData)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/SALDataErrorReporting.go b/plc4go/protocols/cbus/readwrite/model/SALDataErrorReporting.go index 8c9cede79a..7dde4c1f02 100644 --- a/plc4go/protocols/cbus/readwrite/model/SALDataErrorReporting.go +++ b/plc4go/protocols/cbus/readwrite/model/SALDataErrorReporting.go @@ -193,7 +193,7 @@ func (m *_SALDataErrorReporting) deepCopy() *_SALDataErrorReporting { return nil } _SALDataErrorReportingCopy := &_SALDataErrorReporting{ - m.SALDataContract.DeepCopy().(SALDataContract), + m.SALDataContract.(*_SALData).deepCopy(), m.ErrorReportingData.DeepCopy().(ErrorReportingData), } m.SALDataContract.(*_SALData)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/SALDataFreeUsage.go b/plc4go/protocols/cbus/readwrite/model/SALDataFreeUsage.go index 4aa1e9d1ef..7ae0161eb4 100644 --- a/plc4go/protocols/cbus/readwrite/model/SALDataFreeUsage.go +++ b/plc4go/protocols/cbus/readwrite/model/SALDataFreeUsage.go @@ -162,7 +162,7 @@ func (m *_SALDataFreeUsage) deepCopy() *_SALDataFreeUsage { return nil } _SALDataFreeUsageCopy := &_SALDataFreeUsage{ - m.SALDataContract.DeepCopy().(SALDataContract), + m.SALDataContract.(*_SALData).deepCopy(), } m.SALDataContract.(*_SALData)._SubType = m return _SALDataFreeUsageCopy diff --git a/plc4go/protocols/cbus/readwrite/model/SALDataHeating.go b/plc4go/protocols/cbus/readwrite/model/SALDataHeating.go index 6f5bd8b6e7..c9821f833f 100644 --- a/plc4go/protocols/cbus/readwrite/model/SALDataHeating.go +++ b/plc4go/protocols/cbus/readwrite/model/SALDataHeating.go @@ -193,7 +193,7 @@ func (m *_SALDataHeating) deepCopy() *_SALDataHeating { return nil } _SALDataHeatingCopy := &_SALDataHeating{ - m.SALDataContract.DeepCopy().(SALDataContract), + m.SALDataContract.(*_SALData).deepCopy(), m.HeatingData.DeepCopy().(LightingData), } m.SALDataContract.(*_SALData)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/SALDataHvacActuator.go b/plc4go/protocols/cbus/readwrite/model/SALDataHvacActuator.go index f87d81844d..ffd889de99 100644 --- a/plc4go/protocols/cbus/readwrite/model/SALDataHvacActuator.go +++ b/plc4go/protocols/cbus/readwrite/model/SALDataHvacActuator.go @@ -193,7 +193,7 @@ func (m *_SALDataHvacActuator) deepCopy() *_SALDataHvacActuator { return nil } _SALDataHvacActuatorCopy := &_SALDataHvacActuator{ - m.SALDataContract.DeepCopy().(SALDataContract), + m.SALDataContract.(*_SALData).deepCopy(), m.HvacActuatorData.DeepCopy().(LightingData), } m.SALDataContract.(*_SALData)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/SALDataIrrigationControl.go b/plc4go/protocols/cbus/readwrite/model/SALDataIrrigationControl.go index 45531c9ad9..ef5e97ab9c 100644 --- a/plc4go/protocols/cbus/readwrite/model/SALDataIrrigationControl.go +++ b/plc4go/protocols/cbus/readwrite/model/SALDataIrrigationControl.go @@ -193,7 +193,7 @@ func (m *_SALDataIrrigationControl) deepCopy() *_SALDataIrrigationControl { return nil } _SALDataIrrigationControlCopy := &_SALDataIrrigationControl{ - m.SALDataContract.DeepCopy().(SALDataContract), + m.SALDataContract.(*_SALData).deepCopy(), m.IrrigationControlData.DeepCopy().(LightingData), } m.SALDataContract.(*_SALData)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/SALDataLighting.go b/plc4go/protocols/cbus/readwrite/model/SALDataLighting.go index 8536ce523d..719ee9c487 100644 --- a/plc4go/protocols/cbus/readwrite/model/SALDataLighting.go +++ b/plc4go/protocols/cbus/readwrite/model/SALDataLighting.go @@ -193,7 +193,7 @@ func (m *_SALDataLighting) deepCopy() *_SALDataLighting { return nil } _SALDataLightingCopy := &_SALDataLighting{ - m.SALDataContract.DeepCopy().(SALDataContract), + m.SALDataContract.(*_SALData).deepCopy(), m.LightingData.DeepCopy().(LightingData), } m.SALDataContract.(*_SALData)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/SALDataMeasurement.go b/plc4go/protocols/cbus/readwrite/model/SALDataMeasurement.go index 32eb5d2d1b..d59a5a9111 100644 --- a/plc4go/protocols/cbus/readwrite/model/SALDataMeasurement.go +++ b/plc4go/protocols/cbus/readwrite/model/SALDataMeasurement.go @@ -193,7 +193,7 @@ func (m *_SALDataMeasurement) deepCopy() *_SALDataMeasurement { return nil } _SALDataMeasurementCopy := &_SALDataMeasurement{ - m.SALDataContract.DeepCopy().(SALDataContract), + m.SALDataContract.(*_SALData).deepCopy(), m.MeasurementData.DeepCopy().(MeasurementData), } m.SALDataContract.(*_SALData)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/SALDataMediaTransport.go b/plc4go/protocols/cbus/readwrite/model/SALDataMediaTransport.go index 0517870d9a..c6a64aa401 100644 --- a/plc4go/protocols/cbus/readwrite/model/SALDataMediaTransport.go +++ b/plc4go/protocols/cbus/readwrite/model/SALDataMediaTransport.go @@ -193,7 +193,7 @@ func (m *_SALDataMediaTransport) deepCopy() *_SALDataMediaTransport { return nil } _SALDataMediaTransportCopy := &_SALDataMediaTransport{ - m.SALDataContract.DeepCopy().(SALDataContract), + m.SALDataContract.(*_SALData).deepCopy(), m.MediaTransportControlData.DeepCopy().(MediaTransportControlData), } m.SALDataContract.(*_SALData)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/SALDataMetering.go b/plc4go/protocols/cbus/readwrite/model/SALDataMetering.go index 97c952d38b..0c58e3983a 100644 --- a/plc4go/protocols/cbus/readwrite/model/SALDataMetering.go +++ b/plc4go/protocols/cbus/readwrite/model/SALDataMetering.go @@ -193,7 +193,7 @@ func (m *_SALDataMetering) deepCopy() *_SALDataMetering { return nil } _SALDataMeteringCopy := &_SALDataMetering{ - m.SALDataContract.DeepCopy().(SALDataContract), + m.SALDataContract.(*_SALData).deepCopy(), m.MeteringData.DeepCopy().(MeteringData), } m.SALDataContract.(*_SALData)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/SALDataPoolsSpasPondsFountainsControl.go b/plc4go/protocols/cbus/readwrite/model/SALDataPoolsSpasPondsFountainsControl.go index 526e39fba4..f481d2e2fc 100644 --- a/plc4go/protocols/cbus/readwrite/model/SALDataPoolsSpasPondsFountainsControl.go +++ b/plc4go/protocols/cbus/readwrite/model/SALDataPoolsSpasPondsFountainsControl.go @@ -193,7 +193,7 @@ func (m *_SALDataPoolsSpasPondsFountainsControl) deepCopy() *_SALDataPoolsSpasPo return nil } _SALDataPoolsSpasPondsFountainsControlCopy := &_SALDataPoolsSpasPondsFountainsControl{ - m.SALDataContract.DeepCopy().(SALDataContract), + m.SALDataContract.(*_SALData).deepCopy(), m.PoolsSpaPondsFountainsData.DeepCopy().(LightingData), } m.SALDataContract.(*_SALData)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/SALDataReserved.go b/plc4go/protocols/cbus/readwrite/model/SALDataReserved.go index 78db876a46..c3a590dacb 100644 --- a/plc4go/protocols/cbus/readwrite/model/SALDataReserved.go +++ b/plc4go/protocols/cbus/readwrite/model/SALDataReserved.go @@ -162,7 +162,7 @@ func (m *_SALDataReserved) deepCopy() *_SALDataReserved { return nil } _SALDataReservedCopy := &_SALDataReserved{ - m.SALDataContract.DeepCopy().(SALDataContract), + m.SALDataContract.(*_SALData).deepCopy(), } m.SALDataContract.(*_SALData)._SubType = m return _SALDataReservedCopy diff --git a/plc4go/protocols/cbus/readwrite/model/SALDataRoomControlSystem.go b/plc4go/protocols/cbus/readwrite/model/SALDataRoomControlSystem.go index 2a805b3d0d..27fc642fe9 100644 --- a/plc4go/protocols/cbus/readwrite/model/SALDataRoomControlSystem.go +++ b/plc4go/protocols/cbus/readwrite/model/SALDataRoomControlSystem.go @@ -162,7 +162,7 @@ func (m *_SALDataRoomControlSystem) deepCopy() *_SALDataRoomControlSystem { return nil } _SALDataRoomControlSystemCopy := &_SALDataRoomControlSystem{ - m.SALDataContract.DeepCopy().(SALDataContract), + m.SALDataContract.(*_SALData).deepCopy(), } m.SALDataContract.(*_SALData)._SubType = m return _SALDataRoomControlSystemCopy diff --git a/plc4go/protocols/cbus/readwrite/model/SALDataSecurity.go b/plc4go/protocols/cbus/readwrite/model/SALDataSecurity.go index 59af9e7587..f5f0a5a579 100644 --- a/plc4go/protocols/cbus/readwrite/model/SALDataSecurity.go +++ b/plc4go/protocols/cbus/readwrite/model/SALDataSecurity.go @@ -193,7 +193,7 @@ func (m *_SALDataSecurity) deepCopy() *_SALDataSecurity { return nil } _SALDataSecurityCopy := &_SALDataSecurity{ - m.SALDataContract.DeepCopy().(SALDataContract), + m.SALDataContract.(*_SALData).deepCopy(), m.SecurityData.DeepCopy().(SecurityData), } m.SALDataContract.(*_SALData)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/SALDataTelephonyStatusAndControl.go b/plc4go/protocols/cbus/readwrite/model/SALDataTelephonyStatusAndControl.go index f1cb780501..e2f68722c4 100644 --- a/plc4go/protocols/cbus/readwrite/model/SALDataTelephonyStatusAndControl.go +++ b/plc4go/protocols/cbus/readwrite/model/SALDataTelephonyStatusAndControl.go @@ -193,7 +193,7 @@ func (m *_SALDataTelephonyStatusAndControl) deepCopy() *_SALDataTelephonyStatusA return nil } _SALDataTelephonyStatusAndControlCopy := &_SALDataTelephonyStatusAndControl{ - m.SALDataContract.DeepCopy().(SALDataContract), + m.SALDataContract.(*_SALData).deepCopy(), m.TelephonyData.DeepCopy().(TelephonyData), } m.SALDataContract.(*_SALData)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/SALDataTemperatureBroadcast.go b/plc4go/protocols/cbus/readwrite/model/SALDataTemperatureBroadcast.go index 4bb6a2a2ef..89f9bdcef0 100644 --- a/plc4go/protocols/cbus/readwrite/model/SALDataTemperatureBroadcast.go +++ b/plc4go/protocols/cbus/readwrite/model/SALDataTemperatureBroadcast.go @@ -193,7 +193,7 @@ func (m *_SALDataTemperatureBroadcast) deepCopy() *_SALDataTemperatureBroadcast return nil } _SALDataTemperatureBroadcastCopy := &_SALDataTemperatureBroadcast{ - m.SALDataContract.DeepCopy().(SALDataContract), + m.SALDataContract.(*_SALData).deepCopy(), m.TemperatureBroadcastData.DeepCopy().(TemperatureBroadcastData), } m.SALDataContract.(*_SALData)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/SALDataTesting.go b/plc4go/protocols/cbus/readwrite/model/SALDataTesting.go index b0e0cf5e8a..aa752b4a40 100644 --- a/plc4go/protocols/cbus/readwrite/model/SALDataTesting.go +++ b/plc4go/protocols/cbus/readwrite/model/SALDataTesting.go @@ -162,7 +162,7 @@ func (m *_SALDataTesting) deepCopy() *_SALDataTesting { return nil } _SALDataTestingCopy := &_SALDataTesting{ - m.SALDataContract.DeepCopy().(SALDataContract), + m.SALDataContract.(*_SALData).deepCopy(), } m.SALDataContract.(*_SALData)._SubType = m return _SALDataTestingCopy diff --git a/plc4go/protocols/cbus/readwrite/model/SALDataTriggerControl.go b/plc4go/protocols/cbus/readwrite/model/SALDataTriggerControl.go index fc61af1bd5..aad66cb81a 100644 --- a/plc4go/protocols/cbus/readwrite/model/SALDataTriggerControl.go +++ b/plc4go/protocols/cbus/readwrite/model/SALDataTriggerControl.go @@ -193,7 +193,7 @@ func (m *_SALDataTriggerControl) deepCopy() *_SALDataTriggerControl { return nil } _SALDataTriggerControlCopy := &_SALDataTriggerControl{ - m.SALDataContract.DeepCopy().(SALDataContract), + m.SALDataContract.(*_SALData).deepCopy(), m.TriggerControlData.DeepCopy().(TriggerControlData), } m.SALDataContract.(*_SALData)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/SALDataVentilation.go b/plc4go/protocols/cbus/readwrite/model/SALDataVentilation.go index 4754d1e149..7bda28dfb3 100644 --- a/plc4go/protocols/cbus/readwrite/model/SALDataVentilation.go +++ b/plc4go/protocols/cbus/readwrite/model/SALDataVentilation.go @@ -193,7 +193,7 @@ func (m *_SALDataVentilation) deepCopy() *_SALDataVentilation { return nil } _SALDataVentilationCopy := &_SALDataVentilation{ - m.SALDataContract.DeepCopy().(SALDataContract), + m.SALDataContract.(*_SALData).deepCopy(), m.VentilationData.DeepCopy().(LightingData), } m.SALDataContract.(*_SALData)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityData.go b/plc4go/protocols/cbus/readwrite/model/SecurityData.go index 2407765f24..39ba94d431 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityData.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityData.go @@ -47,7 +47,6 @@ type SecurityData interface { // SecurityDataContract provides a set of functions which can be overwritten by a sub struct type SecurityDataContract interface { - utils.Copyable // GetCommandTypeContainer returns CommandTypeContainer (property field) GetCommandTypeContainer() SecurityCommandTypeContainer // GetArgument returns Argument (property field) diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataAlarmOff.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataAlarmOff.go index 50dd0a52b5..74069fc89c 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataAlarmOff.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataAlarmOff.go @@ -153,7 +153,7 @@ func (m *_SecurityDataAlarmOff) deepCopy() *_SecurityDataAlarmOff { return nil } _SecurityDataAlarmOffCopy := &_SecurityDataAlarmOff{ - m.SecurityDataContract.DeepCopy().(SecurityDataContract), + m.SecurityDataContract.(*_SecurityData).deepCopy(), } m.SecurityDataContract.(*_SecurityData)._SubType = m return _SecurityDataAlarmOffCopy diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataAlarmOn.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataAlarmOn.go index 4d15fedc47..c17e795e85 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataAlarmOn.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataAlarmOn.go @@ -153,7 +153,7 @@ func (m *_SecurityDataAlarmOn) deepCopy() *_SecurityDataAlarmOn { return nil } _SecurityDataAlarmOnCopy := &_SecurityDataAlarmOn{ - m.SecurityDataContract.DeepCopy().(SecurityDataContract), + m.SecurityDataContract.(*_SecurityData).deepCopy(), } m.SecurityDataContract.(*_SecurityData)._SubType = m return _SecurityDataAlarmOnCopy diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataArmFailedCleared.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataArmFailedCleared.go index c0e972056e..51525beea2 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataArmFailedCleared.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataArmFailedCleared.go @@ -153,7 +153,7 @@ func (m *_SecurityDataArmFailedCleared) deepCopy() *_SecurityDataArmFailedCleare return nil } _SecurityDataArmFailedClearedCopy := &_SecurityDataArmFailedCleared{ - m.SecurityDataContract.DeepCopy().(SecurityDataContract), + m.SecurityDataContract.(*_SecurityData).deepCopy(), } m.SecurityDataContract.(*_SecurityData)._SubType = m return _SecurityDataArmFailedClearedCopy diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataArmFailedRaised.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataArmFailedRaised.go index eef762cf4e..98f184ab98 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataArmFailedRaised.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataArmFailedRaised.go @@ -153,7 +153,7 @@ func (m *_SecurityDataArmFailedRaised) deepCopy() *_SecurityDataArmFailedRaised return nil } _SecurityDataArmFailedRaisedCopy := &_SecurityDataArmFailedRaised{ - m.SecurityDataContract.DeepCopy().(SecurityDataContract), + m.SecurityDataContract.(*_SecurityData).deepCopy(), } m.SecurityDataContract.(*_SecurityData)._SubType = m return _SecurityDataArmFailedRaisedCopy diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataArmReadyNotReady.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataArmReadyNotReady.go index 1136913c19..2453a42193 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataArmReadyNotReady.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataArmReadyNotReady.go @@ -186,7 +186,7 @@ func (m *_SecurityDataArmReadyNotReady) deepCopy() *_SecurityDataArmReadyNotRead return nil } _SecurityDataArmReadyNotReadyCopy := &_SecurityDataArmReadyNotReady{ - m.SecurityDataContract.DeepCopy().(SecurityDataContract), + m.SecurityDataContract.(*_SecurityData).deepCopy(), m.ZoneNumber, } m.SecurityDataContract.(*_SecurityData)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataArmSystem.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataArmSystem.go index 3ee7f35087..1028005806 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataArmSystem.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataArmSystem.go @@ -327,7 +327,7 @@ func (m *_SecurityDataArmSystem) deepCopy() *_SecurityDataArmSystem { return nil } _SecurityDataArmSystemCopy := &_SecurityDataArmSystem{ - m.SecurityDataContract.DeepCopy().(SecurityDataContract), + m.SecurityDataContract.(*_SecurityData).deepCopy(), m.ArmMode, } m.SecurityDataContract.(*_SecurityData)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataCurrentAlarmType.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataCurrentAlarmType.go index c98d2adaf4..8d68b7690b 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataCurrentAlarmType.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataCurrentAlarmType.go @@ -153,7 +153,7 @@ func (m *_SecurityDataCurrentAlarmType) deepCopy() *_SecurityDataCurrentAlarmTyp return nil } _SecurityDataCurrentAlarmTypeCopy := &_SecurityDataCurrentAlarmType{ - m.SecurityDataContract.DeepCopy().(SecurityDataContract), + m.SecurityDataContract.(*_SecurityData).deepCopy(), } m.SecurityDataContract.(*_SecurityData)._SubType = m return _SecurityDataCurrentAlarmTypeCopy diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataDisplayMessage.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataDisplayMessage.go index da79aec95d..ebf8b8af49 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataDisplayMessage.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataDisplayMessage.go @@ -186,7 +186,7 @@ func (m *_SecurityDataDisplayMessage) deepCopy() *_SecurityDataDisplayMessage { return nil } _SecurityDataDisplayMessageCopy := &_SecurityDataDisplayMessage{ - m.SecurityDataContract.DeepCopy().(SecurityDataContract), + m.SecurityDataContract.(*_SecurityData).deepCopy(), m.Message, } m.SecurityDataContract.(*_SecurityData)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataDropTamper.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataDropTamper.go index 0216e374a2..4bd21a05f7 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataDropTamper.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataDropTamper.go @@ -153,7 +153,7 @@ func (m *_SecurityDataDropTamper) deepCopy() *_SecurityDataDropTamper { return nil } _SecurityDataDropTamperCopy := &_SecurityDataDropTamper{ - m.SecurityDataContract.DeepCopy().(SecurityDataContract), + m.SecurityDataContract.(*_SecurityData).deepCopy(), } m.SecurityDataContract.(*_SecurityData)._SubType = m return _SecurityDataDropTamperCopy diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataEmulatedKeypad.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataEmulatedKeypad.go index 2f63d26c9e..d92e001705 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataEmulatedKeypad.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataEmulatedKeypad.go @@ -437,7 +437,7 @@ func (m *_SecurityDataEmulatedKeypad) deepCopy() *_SecurityDataEmulatedKeypad { return nil } _SecurityDataEmulatedKeypadCopy := &_SecurityDataEmulatedKeypad{ - m.SecurityDataContract.DeepCopy().(SecurityDataContract), + m.SecurityDataContract.(*_SecurityData).deepCopy(), m.Key, } m.SecurityDataContract.(*_SecurityData)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataEntryDelayStarted.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataEntryDelayStarted.go index b7736be6c4..af41504312 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataEntryDelayStarted.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataEntryDelayStarted.go @@ -153,7 +153,7 @@ func (m *_SecurityDataEntryDelayStarted) deepCopy() *_SecurityDataEntryDelayStar return nil } _SecurityDataEntryDelayStartedCopy := &_SecurityDataEntryDelayStarted{ - m.SecurityDataContract.DeepCopy().(SecurityDataContract), + m.SecurityDataContract.(*_SecurityData).deepCopy(), } m.SecurityDataContract.(*_SecurityData)._SubType = m return _SecurityDataEntryDelayStartedCopy diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataEvent.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataEvent.go index 658a67c2dd..8cd4b8da4c 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataEvent.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataEvent.go @@ -188,7 +188,7 @@ func (m *_SecurityDataEvent) deepCopy() *_SecurityDataEvent { return nil } _SecurityDataEventCopy := &_SecurityDataEvent{ - m.SecurityDataContract.DeepCopy().(SecurityDataContract), + m.SecurityDataContract.(*_SecurityData).deepCopy(), utils.DeepCopySlice[byte, byte](m.Data), } m.SecurityDataContract.(*_SecurityData)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataExitDelayStarted.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataExitDelayStarted.go index bc9b1252a2..2fb7690feb 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataExitDelayStarted.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataExitDelayStarted.go @@ -153,7 +153,7 @@ func (m *_SecurityDataExitDelayStarted) deepCopy() *_SecurityDataExitDelayStarte return nil } _SecurityDataExitDelayStartedCopy := &_SecurityDataExitDelayStarted{ - m.SecurityDataContract.DeepCopy().(SecurityDataContract), + m.SecurityDataContract.(*_SecurityData).deepCopy(), } m.SecurityDataContract.(*_SecurityData)._SubType = m return _SecurityDataExitDelayStartedCopy diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataFireAlarmCleared.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataFireAlarmCleared.go index 92c1fa6ec1..0105096329 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataFireAlarmCleared.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataFireAlarmCleared.go @@ -153,7 +153,7 @@ func (m *_SecurityDataFireAlarmCleared) deepCopy() *_SecurityDataFireAlarmCleare return nil } _SecurityDataFireAlarmClearedCopy := &_SecurityDataFireAlarmCleared{ - m.SecurityDataContract.DeepCopy().(SecurityDataContract), + m.SecurityDataContract.(*_SecurityData).deepCopy(), } m.SecurityDataContract.(*_SecurityData)._SubType = m return _SecurityDataFireAlarmClearedCopy diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataFireAlarmRaised.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataFireAlarmRaised.go index 964e07e78d..2cf6c91b29 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataFireAlarmRaised.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataFireAlarmRaised.go @@ -153,7 +153,7 @@ func (m *_SecurityDataFireAlarmRaised) deepCopy() *_SecurityDataFireAlarmRaised return nil } _SecurityDataFireAlarmRaisedCopy := &_SecurityDataFireAlarmRaised{ - m.SecurityDataContract.DeepCopy().(SecurityDataContract), + m.SecurityDataContract.(*_SecurityData).deepCopy(), } m.SecurityDataContract.(*_SecurityData)._SubType = m return _SecurityDataFireAlarmRaisedCopy diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataGasAlarmCleared.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataGasAlarmCleared.go index 5b54402ee7..7a34964c82 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataGasAlarmCleared.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataGasAlarmCleared.go @@ -153,7 +153,7 @@ func (m *_SecurityDataGasAlarmCleared) deepCopy() *_SecurityDataGasAlarmCleared return nil } _SecurityDataGasAlarmClearedCopy := &_SecurityDataGasAlarmCleared{ - m.SecurityDataContract.DeepCopy().(SecurityDataContract), + m.SecurityDataContract.(*_SecurityData).deepCopy(), } m.SecurityDataContract.(*_SecurityData)._SubType = m return _SecurityDataGasAlarmClearedCopy diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataGasAlarmRaised.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataGasAlarmRaised.go index 73fc7990cd..263f40cecd 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataGasAlarmRaised.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataGasAlarmRaised.go @@ -153,7 +153,7 @@ func (m *_SecurityDataGasAlarmRaised) deepCopy() *_SecurityDataGasAlarmRaised { return nil } _SecurityDataGasAlarmRaisedCopy := &_SecurityDataGasAlarmRaised{ - m.SecurityDataContract.DeepCopy().(SecurityDataContract), + m.SecurityDataContract.(*_SecurityData).deepCopy(), } m.SecurityDataContract.(*_SecurityData)._SubType = m return _SecurityDataGasAlarmRaisedCopy diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataLineCutAlarmCleared.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataLineCutAlarmCleared.go index 859ed12e73..ee21d16e39 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataLineCutAlarmCleared.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataLineCutAlarmCleared.go @@ -153,7 +153,7 @@ func (m *_SecurityDataLineCutAlarmCleared) deepCopy() *_SecurityDataLineCutAlarm return nil } _SecurityDataLineCutAlarmClearedCopy := &_SecurityDataLineCutAlarmCleared{ - m.SecurityDataContract.DeepCopy().(SecurityDataContract), + m.SecurityDataContract.(*_SecurityData).deepCopy(), } m.SecurityDataContract.(*_SecurityData)._SubType = m return _SecurityDataLineCutAlarmClearedCopy diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataLineCutAlarmRaised.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataLineCutAlarmRaised.go index 77d087704a..a96d6344fb 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataLineCutAlarmRaised.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataLineCutAlarmRaised.go @@ -153,7 +153,7 @@ func (m *_SecurityDataLineCutAlarmRaised) deepCopy() *_SecurityDataLineCutAlarmR return nil } _SecurityDataLineCutAlarmRaisedCopy := &_SecurityDataLineCutAlarmRaised{ - m.SecurityDataContract.DeepCopy().(SecurityDataContract), + m.SecurityDataContract.(*_SecurityData).deepCopy(), } m.SecurityDataContract.(*_SecurityData)._SubType = m return _SecurityDataLineCutAlarmRaisedCopy diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataLowBatteryCharging.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataLowBatteryCharging.go index 190c90821f..45b4b3a8a0 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataLowBatteryCharging.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataLowBatteryCharging.go @@ -239,7 +239,7 @@ func (m *_SecurityDataLowBatteryCharging) deepCopy() *_SecurityDataLowBatteryCha return nil } _SecurityDataLowBatteryChargingCopy := &_SecurityDataLowBatteryCharging{ - m.SecurityDataContract.DeepCopy().(SecurityDataContract), + m.SecurityDataContract.(*_SecurityData).deepCopy(), m.StartStop, } m.SecurityDataContract.(*_SecurityData)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataLowBatteryCorrected.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataLowBatteryCorrected.go index 79e4bd550e..3b38aabe63 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataLowBatteryCorrected.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataLowBatteryCorrected.go @@ -153,7 +153,7 @@ func (m *_SecurityDataLowBatteryCorrected) deepCopy() *_SecurityDataLowBatteryCo return nil } _SecurityDataLowBatteryCorrectedCopy := &_SecurityDataLowBatteryCorrected{ - m.SecurityDataContract.DeepCopy().(SecurityDataContract), + m.SecurityDataContract.(*_SecurityData).deepCopy(), } m.SecurityDataContract.(*_SecurityData)._SubType = m return _SecurityDataLowBatteryCorrectedCopy diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataLowBatteryDetected.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataLowBatteryDetected.go index 1799e6b6b4..3407875438 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataLowBatteryDetected.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataLowBatteryDetected.go @@ -153,7 +153,7 @@ func (m *_SecurityDataLowBatteryDetected) deepCopy() *_SecurityDataLowBatteryDet return nil } _SecurityDataLowBatteryDetectedCopy := &_SecurityDataLowBatteryDetected{ - m.SecurityDataContract.DeepCopy().(SecurityDataContract), + m.SecurityDataContract.(*_SecurityData).deepCopy(), } m.SecurityDataContract.(*_SecurityData)._SubType = m return _SecurityDataLowBatteryDetectedCopy diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataMainsFailure.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataMainsFailure.go index 905fbb838f..cd5e27027f 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataMainsFailure.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataMainsFailure.go @@ -153,7 +153,7 @@ func (m *_SecurityDataMainsFailure) deepCopy() *_SecurityDataMainsFailure { return nil } _SecurityDataMainsFailureCopy := &_SecurityDataMainsFailure{ - m.SecurityDataContract.DeepCopy().(SecurityDataContract), + m.SecurityDataContract.(*_SecurityData).deepCopy(), } m.SecurityDataContract.(*_SecurityData)._SubType = m return _SecurityDataMainsFailureCopy diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataMainsRestoredOrApplied.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataMainsRestoredOrApplied.go index 096ea75a5e..5c3cc5e851 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataMainsRestoredOrApplied.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataMainsRestoredOrApplied.go @@ -153,7 +153,7 @@ func (m *_SecurityDataMainsRestoredOrApplied) deepCopy() *_SecurityDataMainsRest return nil } _SecurityDataMainsRestoredOrAppliedCopy := &_SecurityDataMainsRestoredOrApplied{ - m.SecurityDataContract.DeepCopy().(SecurityDataContract), + m.SecurityDataContract.(*_SecurityData).deepCopy(), } m.SecurityDataContract.(*_SecurityData)._SubType = m return _SecurityDataMainsRestoredOrAppliedCopy diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataOff.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataOff.go index 21aad3254c..6a31386de3 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataOff.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataOff.go @@ -188,7 +188,7 @@ func (m *_SecurityDataOff) deepCopy() *_SecurityDataOff { return nil } _SecurityDataOffCopy := &_SecurityDataOff{ - m.SecurityDataContract.DeepCopy().(SecurityDataContract), + m.SecurityDataContract.(*_SecurityData).deepCopy(), utils.DeepCopySlice[byte, byte](m.Data), } m.SecurityDataContract.(*_SecurityData)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataOn.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataOn.go index 107fd8c283..25b94e3acf 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataOn.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataOn.go @@ -188,7 +188,7 @@ func (m *_SecurityDataOn) deepCopy() *_SecurityDataOn { return nil } _SecurityDataOnCopy := &_SecurityDataOn{ - m.SecurityDataContract.DeepCopy().(SecurityDataContract), + m.SecurityDataContract.(*_SecurityData).deepCopy(), utils.DeepCopySlice[byte, byte](m.Data), } m.SecurityDataContract.(*_SecurityData)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataOtherAlarmCleared.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataOtherAlarmCleared.go index b040733991..6f292fa095 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataOtherAlarmCleared.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataOtherAlarmCleared.go @@ -153,7 +153,7 @@ func (m *_SecurityDataOtherAlarmCleared) deepCopy() *_SecurityDataOtherAlarmClea return nil } _SecurityDataOtherAlarmClearedCopy := &_SecurityDataOtherAlarmCleared{ - m.SecurityDataContract.DeepCopy().(SecurityDataContract), + m.SecurityDataContract.(*_SecurityData).deepCopy(), } m.SecurityDataContract.(*_SecurityData)._SubType = m return _SecurityDataOtherAlarmClearedCopy diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataOtherAlarmRaised.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataOtherAlarmRaised.go index 5460ebb59e..d93328eba5 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataOtherAlarmRaised.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataOtherAlarmRaised.go @@ -153,7 +153,7 @@ func (m *_SecurityDataOtherAlarmRaised) deepCopy() *_SecurityDataOtherAlarmRaise return nil } _SecurityDataOtherAlarmRaisedCopy := &_SecurityDataOtherAlarmRaised{ - m.SecurityDataContract.DeepCopy().(SecurityDataContract), + m.SecurityDataContract.(*_SecurityData).deepCopy(), } m.SecurityDataContract.(*_SecurityData)._SubType = m return _SecurityDataOtherAlarmRaisedCopy diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataPanicActivated.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataPanicActivated.go index fffe5c0819..bb2aaf8580 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataPanicActivated.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataPanicActivated.go @@ -153,7 +153,7 @@ func (m *_SecurityDataPanicActivated) deepCopy() *_SecurityDataPanicActivated { return nil } _SecurityDataPanicActivatedCopy := &_SecurityDataPanicActivated{ - m.SecurityDataContract.DeepCopy().(SecurityDataContract), + m.SecurityDataContract.(*_SecurityData).deepCopy(), } m.SecurityDataContract.(*_SecurityData)._SubType = m return _SecurityDataPanicActivatedCopy diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataPanicCleared.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataPanicCleared.go index 0181f515cb..203ce34801 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataPanicCleared.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataPanicCleared.go @@ -153,7 +153,7 @@ func (m *_SecurityDataPanicCleared) deepCopy() *_SecurityDataPanicCleared { return nil } _SecurityDataPanicClearedCopy := &_SecurityDataPanicCleared{ - m.SecurityDataContract.DeepCopy().(SecurityDataContract), + m.SecurityDataContract.(*_SecurityData).deepCopy(), } m.SecurityDataContract.(*_SecurityData)._SubType = m return _SecurityDataPanicClearedCopy diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataPasswordEntryStatus.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataPasswordEntryStatus.go index 50999be7d2..1c2b183989 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataPasswordEntryStatus.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataPasswordEntryStatus.go @@ -305,7 +305,7 @@ func (m *_SecurityDataPasswordEntryStatus) deepCopy() *_SecurityDataPasswordEntr return nil } _SecurityDataPasswordEntryStatusCopy := &_SecurityDataPasswordEntryStatus{ - m.SecurityDataContract.DeepCopy().(SecurityDataContract), + m.SecurityDataContract.(*_SecurityData).deepCopy(), m.Code, } m.SecurityDataContract.(*_SecurityData)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataRaiseAlarm.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataRaiseAlarm.go index b26118089f..3b95b92027 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataRaiseAlarm.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataRaiseAlarm.go @@ -153,7 +153,7 @@ func (m *_SecurityDataRaiseAlarm) deepCopy() *_SecurityDataRaiseAlarm { return nil } _SecurityDataRaiseAlarmCopy := &_SecurityDataRaiseAlarm{ - m.SecurityDataContract.DeepCopy().(SecurityDataContract), + m.SecurityDataContract.(*_SecurityData).deepCopy(), } m.SecurityDataContract.(*_SecurityData)._SubType = m return _SecurityDataRaiseAlarmCopy diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataRaiseTamper.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataRaiseTamper.go index e4fc85fed9..50759524d2 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataRaiseTamper.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataRaiseTamper.go @@ -153,7 +153,7 @@ func (m *_SecurityDataRaiseTamper) deepCopy() *_SecurityDataRaiseTamper { return nil } _SecurityDataRaiseTamperCopy := &_SecurityDataRaiseTamper{ - m.SecurityDataContract.DeepCopy().(SecurityDataContract), + m.SecurityDataContract.(*_SecurityData).deepCopy(), } m.SecurityDataContract.(*_SecurityData)._SubType = m return _SecurityDataRaiseTamperCopy diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataRequestZoneName.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataRequestZoneName.go index e59e32736b..413b212f2b 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataRequestZoneName.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataRequestZoneName.go @@ -186,7 +186,7 @@ func (m *_SecurityDataRequestZoneName) deepCopy() *_SecurityDataRequestZoneName return nil } _SecurityDataRequestZoneNameCopy := &_SecurityDataRequestZoneName{ - m.SecurityDataContract.DeepCopy().(SecurityDataContract), + m.SecurityDataContract.(*_SecurityData).deepCopy(), m.ZoneNumber, } m.SecurityDataContract.(*_SecurityData)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataStatus1Request.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataStatus1Request.go index 2275a0e0c4..79f9e09092 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataStatus1Request.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataStatus1Request.go @@ -153,7 +153,7 @@ func (m *_SecurityDataStatus1Request) deepCopy() *_SecurityDataStatus1Request { return nil } _SecurityDataStatus1RequestCopy := &_SecurityDataStatus1Request{ - m.SecurityDataContract.DeepCopy().(SecurityDataContract), + m.SecurityDataContract.(*_SecurityData).deepCopy(), } m.SecurityDataContract.(*_SecurityData)._SubType = m return _SecurityDataStatus1RequestCopy diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataStatus2Request.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataStatus2Request.go index e97cc72f79..630416cae0 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataStatus2Request.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataStatus2Request.go @@ -153,7 +153,7 @@ func (m *_SecurityDataStatus2Request) deepCopy() *_SecurityDataStatus2Request { return nil } _SecurityDataStatus2RequestCopy := &_SecurityDataStatus2Request{ - m.SecurityDataContract.DeepCopy().(SecurityDataContract), + m.SecurityDataContract.(*_SecurityData).deepCopy(), } m.SecurityDataContract.(*_SecurityData)._SubType = m return _SecurityDataStatus2RequestCopy diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataStatusReport1.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataStatusReport1.go index 0c4a45ccbb..6cc36c33a0 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataStatusReport1.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataStatusReport1.go @@ -265,7 +265,7 @@ func (m *_SecurityDataStatusReport1) deepCopy() *_SecurityDataStatusReport1 { return nil } _SecurityDataStatusReport1Copy := &_SecurityDataStatusReport1{ - m.SecurityDataContract.DeepCopy().(SecurityDataContract), + m.SecurityDataContract.(*_SecurityData).deepCopy(), m.ArmCodeType.DeepCopy().(SecurityArmCode), m.TamperStatus.DeepCopy().(TamperStatus), m.PanicStatus.DeepCopy().(PanicStatus), diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataStatusReport2.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataStatusReport2.go index e05904bc1d..e905aeeede 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataStatusReport2.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataStatusReport2.go @@ -193,7 +193,7 @@ func (m *_SecurityDataStatusReport2) deepCopy() *_SecurityDataStatusReport2 { return nil } _SecurityDataStatusReport2Copy := &_SecurityDataStatusReport2{ - m.SecurityDataContract.DeepCopy().(SecurityDataContract), + m.SecurityDataContract.(*_SecurityData).deepCopy(), utils.DeepCopySlice[ZoneStatus, ZoneStatus](m.ZoneStatus), } m.SecurityDataContract.(*_SecurityData)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataSystemArmedDisarmed.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataSystemArmedDisarmed.go index eea910a42a..1bec55c330 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataSystemArmedDisarmed.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataSystemArmedDisarmed.go @@ -189,7 +189,7 @@ func (m *_SecurityDataSystemArmedDisarmed) deepCopy() *_SecurityDataSystemArmedD return nil } _SecurityDataSystemArmedDisarmedCopy := &_SecurityDataSystemArmedDisarmed{ - m.SecurityDataContract.DeepCopy().(SecurityDataContract), + m.SecurityDataContract.(*_SecurityData).deepCopy(), m.ArmCodeType.DeepCopy().(SecurityArmCode), } m.SecurityDataContract.(*_SecurityData)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataSystemDisarmed.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataSystemDisarmed.go index 7f6d60712a..5af972dbb1 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataSystemDisarmed.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataSystemDisarmed.go @@ -153,7 +153,7 @@ func (m *_SecurityDataSystemDisarmed) deepCopy() *_SecurityDataSystemDisarmed { return nil } _SecurityDataSystemDisarmedCopy := &_SecurityDataSystemDisarmed{ - m.SecurityDataContract.DeepCopy().(SecurityDataContract), + m.SecurityDataContract.(*_SecurityData).deepCopy(), } m.SecurityDataContract.(*_SecurityData)._SubType = m return _SecurityDataSystemDisarmedCopy diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataTamperOff.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataTamperOff.go index dc4060ae05..46380280bd 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataTamperOff.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataTamperOff.go @@ -153,7 +153,7 @@ func (m *_SecurityDataTamperOff) deepCopy() *_SecurityDataTamperOff { return nil } _SecurityDataTamperOffCopy := &_SecurityDataTamperOff{ - m.SecurityDataContract.DeepCopy().(SecurityDataContract), + m.SecurityDataContract.(*_SecurityData).deepCopy(), } m.SecurityDataContract.(*_SecurityData)._SubType = m return _SecurityDataTamperOffCopy diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataTamperOn.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataTamperOn.go index 7c2697994d..383ce1366f 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataTamperOn.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataTamperOn.go @@ -153,7 +153,7 @@ func (m *_SecurityDataTamperOn) deepCopy() *_SecurityDataTamperOn { return nil } _SecurityDataTamperOnCopy := &_SecurityDataTamperOn{ - m.SecurityDataContract.DeepCopy().(SecurityDataContract), + m.SecurityDataContract.(*_SecurityData).deepCopy(), } m.SecurityDataContract.(*_SecurityData)._SubType = m return _SecurityDataTamperOnCopy diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataZoneIsolated.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataZoneIsolated.go index 23f26764c4..f61a886836 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataZoneIsolated.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataZoneIsolated.go @@ -186,7 +186,7 @@ func (m *_SecurityDataZoneIsolated) deepCopy() *_SecurityDataZoneIsolated { return nil } _SecurityDataZoneIsolatedCopy := &_SecurityDataZoneIsolated{ - m.SecurityDataContract.DeepCopy().(SecurityDataContract), + m.SecurityDataContract.(*_SecurityData).deepCopy(), m.ZoneNumber, } m.SecurityDataContract.(*_SecurityData)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataZoneName.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataZoneName.go index a736d9e705..75151b7a85 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataZoneName.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataZoneName.go @@ -207,7 +207,7 @@ func (m *_SecurityDataZoneName) deepCopy() *_SecurityDataZoneName { return nil } _SecurityDataZoneNameCopy := &_SecurityDataZoneName{ - m.SecurityDataContract.DeepCopy().(SecurityDataContract), + m.SecurityDataContract.(*_SecurityData).deepCopy(), m.ZoneNumber, m.ZoneName, } diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataZoneOpen.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataZoneOpen.go index d7026b49c0..da4e075fa1 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataZoneOpen.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataZoneOpen.go @@ -186,7 +186,7 @@ func (m *_SecurityDataZoneOpen) deepCopy() *_SecurityDataZoneOpen { return nil } _SecurityDataZoneOpenCopy := &_SecurityDataZoneOpen{ - m.SecurityDataContract.DeepCopy().(SecurityDataContract), + m.SecurityDataContract.(*_SecurityData).deepCopy(), m.ZoneNumber, } m.SecurityDataContract.(*_SecurityData)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataZoneSealed.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataZoneSealed.go index fc0d58d587..93de3ee708 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataZoneSealed.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataZoneSealed.go @@ -186,7 +186,7 @@ func (m *_SecurityDataZoneSealed) deepCopy() *_SecurityDataZoneSealed { return nil } _SecurityDataZoneSealedCopy := &_SecurityDataZoneSealed{ - m.SecurityDataContract.DeepCopy().(SecurityDataContract), + m.SecurityDataContract.(*_SecurityData).deepCopy(), m.ZoneNumber, } m.SecurityDataContract.(*_SecurityData)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataZoneShort.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataZoneShort.go index d75599cd58..251d64c3bd 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataZoneShort.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataZoneShort.go @@ -186,7 +186,7 @@ func (m *_SecurityDataZoneShort) deepCopy() *_SecurityDataZoneShort { return nil } _SecurityDataZoneShortCopy := &_SecurityDataZoneShort{ - m.SecurityDataContract.DeepCopy().(SecurityDataContract), + m.SecurityDataContract.(*_SecurityData).deepCopy(), m.ZoneNumber, } m.SecurityDataContract.(*_SecurityData)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/SecurityDataZoneUnsealed.go b/plc4go/protocols/cbus/readwrite/model/SecurityDataZoneUnsealed.go index 57321f5a3e..746dd2c679 100644 --- a/plc4go/protocols/cbus/readwrite/model/SecurityDataZoneUnsealed.go +++ b/plc4go/protocols/cbus/readwrite/model/SecurityDataZoneUnsealed.go @@ -186,7 +186,7 @@ func (m *_SecurityDataZoneUnsealed) deepCopy() *_SecurityDataZoneUnsealed { return nil } _SecurityDataZoneUnsealedCopy := &_SecurityDataZoneUnsealed{ - m.SecurityDataContract.DeepCopy().(SecurityDataContract), + m.SecurityDataContract.(*_SecurityData).deepCopy(), m.ZoneNumber, } m.SecurityDataContract.(*_SecurityData)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/ServerErrorReply.go b/plc4go/protocols/cbus/readwrite/model/ServerErrorReply.go index 25fe58b498..e7c2df6e3a 100644 --- a/plc4go/protocols/cbus/readwrite/model/ServerErrorReply.go +++ b/plc4go/protocols/cbus/readwrite/model/ServerErrorReply.go @@ -185,7 +185,7 @@ func (m *_ServerErrorReply) deepCopy() *_ServerErrorReply { return nil } _ServerErrorReplyCopy := &_ServerErrorReply{ - m.ReplyOrConfirmationContract.DeepCopy().(ReplyOrConfirmationContract), + m.ReplyOrConfirmationContract.(*_ReplyOrConfirmation).deepCopy(), } m.ReplyOrConfirmationContract.(*_ReplyOrConfirmation)._SubType = m return _ServerErrorReplyCopy diff --git a/plc4go/protocols/cbus/readwrite/model/StatusRequest.go b/plc4go/protocols/cbus/readwrite/model/StatusRequest.go index 146505e1c9..c3f2898d5f 100644 --- a/plc4go/protocols/cbus/readwrite/model/StatusRequest.go +++ b/plc4go/protocols/cbus/readwrite/model/StatusRequest.go @@ -47,7 +47,6 @@ type StatusRequest interface { // StatusRequestContract provides a set of functions which can be overwritten by a sub struct type StatusRequestContract interface { - utils.Copyable // GetStatusType returns StatusType (property field) GetStatusType() byte // IsStatusRequest is a marker method to prevent unintentional type checks (interfaces of same signature) diff --git a/plc4go/protocols/cbus/readwrite/model/StatusRequestBinaryState.go b/plc4go/protocols/cbus/readwrite/model/StatusRequestBinaryState.go index 3f552b2104..84c7e44d49 100644 --- a/plc4go/protocols/cbus/readwrite/model/StatusRequestBinaryState.go +++ b/plc4go/protocols/cbus/readwrite/model/StatusRequestBinaryState.go @@ -215,7 +215,7 @@ func (m *_StatusRequestBinaryState) deepCopy() *_StatusRequestBinaryState { return nil } _StatusRequestBinaryStateCopy := &_StatusRequestBinaryState{ - m.StatusRequestContract.DeepCopy().(StatusRequestContract), + m.StatusRequestContract.(*_StatusRequest).deepCopy(), m.Application, m.reservedField0, m.reservedField1, diff --git a/plc4go/protocols/cbus/readwrite/model/StatusRequestBinaryStateDeprecated.go b/plc4go/protocols/cbus/readwrite/model/StatusRequestBinaryStateDeprecated.go index 7ae13f46b2..5f1be29b9f 100644 --- a/plc4go/protocols/cbus/readwrite/model/StatusRequestBinaryStateDeprecated.go +++ b/plc4go/protocols/cbus/readwrite/model/StatusRequestBinaryStateDeprecated.go @@ -215,7 +215,7 @@ func (m *_StatusRequestBinaryStateDeprecated) deepCopy() *_StatusRequestBinarySt return nil } _StatusRequestBinaryStateDeprecatedCopy := &_StatusRequestBinaryStateDeprecated{ - m.StatusRequestContract.DeepCopy().(StatusRequestContract), + m.StatusRequestContract.(*_StatusRequest).deepCopy(), m.Application, m.reservedField0, m.reservedField1, diff --git a/plc4go/protocols/cbus/readwrite/model/StatusRequestLevel.go b/plc4go/protocols/cbus/readwrite/model/StatusRequestLevel.go index 122b60be34..d2d6c24116 100644 --- a/plc4go/protocols/cbus/readwrite/model/StatusRequestLevel.go +++ b/plc4go/protocols/cbus/readwrite/model/StatusRequestLevel.go @@ -241,7 +241,7 @@ func (m *_StatusRequestLevel) deepCopy() *_StatusRequestLevel { return nil } _StatusRequestLevelCopy := &_StatusRequestLevel{ - m.StatusRequestContract.DeepCopy().(StatusRequestContract), + m.StatusRequestContract.(*_StatusRequest).deepCopy(), m.Application, m.StartingGroupAddressLabel, m.reservedField0, diff --git a/plc4go/protocols/cbus/readwrite/model/TelephonyData.go b/plc4go/protocols/cbus/readwrite/model/TelephonyData.go index fd03275454..bdfbbef68c 100644 --- a/plc4go/protocols/cbus/readwrite/model/TelephonyData.go +++ b/plc4go/protocols/cbus/readwrite/model/TelephonyData.go @@ -47,7 +47,6 @@ type TelephonyData interface { // TelephonyDataContract provides a set of functions which can be overwritten by a sub struct type TelephonyDataContract interface { - utils.Copyable // GetCommandTypeContainer returns CommandTypeContainer (property field) GetCommandTypeContainer() TelephonyCommandTypeContainer // GetArgument returns Argument (property field) diff --git a/plc4go/protocols/cbus/readwrite/model/TelephonyDataClearDiversion.go b/plc4go/protocols/cbus/readwrite/model/TelephonyDataClearDiversion.go index 579a09b8c1..06390a36cd 100644 --- a/plc4go/protocols/cbus/readwrite/model/TelephonyDataClearDiversion.go +++ b/plc4go/protocols/cbus/readwrite/model/TelephonyDataClearDiversion.go @@ -153,7 +153,7 @@ func (m *_TelephonyDataClearDiversion) deepCopy() *_TelephonyDataClearDiversion return nil } _TelephonyDataClearDiversionCopy := &_TelephonyDataClearDiversion{ - m.TelephonyDataContract.DeepCopy().(TelephonyDataContract), + m.TelephonyDataContract.(*_TelephonyData).deepCopy(), } m.TelephonyDataContract.(*_TelephonyData)._SubType = m return _TelephonyDataClearDiversionCopy diff --git a/plc4go/protocols/cbus/readwrite/model/TelephonyDataDialInFailure.go b/plc4go/protocols/cbus/readwrite/model/TelephonyDataDialInFailure.go index 5bc5ebcdaf..7831a93e1a 100644 --- a/plc4go/protocols/cbus/readwrite/model/TelephonyDataDialInFailure.go +++ b/plc4go/protocols/cbus/readwrite/model/TelephonyDataDialInFailure.go @@ -186,7 +186,7 @@ func (m *_TelephonyDataDialInFailure) deepCopy() *_TelephonyDataDialInFailure { return nil } _TelephonyDataDialInFailureCopy := &_TelephonyDataDialInFailure{ - m.TelephonyDataContract.DeepCopy().(TelephonyDataContract), + m.TelephonyDataContract.(*_TelephonyData).deepCopy(), m.Reason, } m.TelephonyDataContract.(*_TelephonyData)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/TelephonyDataDialOutFailure.go b/plc4go/protocols/cbus/readwrite/model/TelephonyDataDialOutFailure.go index 483524a96a..e7808fece8 100644 --- a/plc4go/protocols/cbus/readwrite/model/TelephonyDataDialOutFailure.go +++ b/plc4go/protocols/cbus/readwrite/model/TelephonyDataDialOutFailure.go @@ -186,7 +186,7 @@ func (m *_TelephonyDataDialOutFailure) deepCopy() *_TelephonyDataDialOutFailure return nil } _TelephonyDataDialOutFailureCopy := &_TelephonyDataDialOutFailure{ - m.TelephonyDataContract.DeepCopy().(TelephonyDataContract), + m.TelephonyDataContract.(*_TelephonyData).deepCopy(), m.Reason, } m.TelephonyDataContract.(*_TelephonyData)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/TelephonyDataDivert.go b/plc4go/protocols/cbus/readwrite/model/TelephonyDataDivert.go index 8975087123..1c679fd4ca 100644 --- a/plc4go/protocols/cbus/readwrite/model/TelephonyDataDivert.go +++ b/plc4go/protocols/cbus/readwrite/model/TelephonyDataDivert.go @@ -186,7 +186,7 @@ func (m *_TelephonyDataDivert) deepCopy() *_TelephonyDataDivert { return nil } _TelephonyDataDivertCopy := &_TelephonyDataDivert{ - m.TelephonyDataContract.DeepCopy().(TelephonyDataContract), + m.TelephonyDataContract.(*_TelephonyData).deepCopy(), m.Number, } m.TelephonyDataContract.(*_TelephonyData)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/TelephonyDataInternetConnectionRequestMade.go b/plc4go/protocols/cbus/readwrite/model/TelephonyDataInternetConnectionRequestMade.go index a52f9e1da0..16250f8f09 100644 --- a/plc4go/protocols/cbus/readwrite/model/TelephonyDataInternetConnectionRequestMade.go +++ b/plc4go/protocols/cbus/readwrite/model/TelephonyDataInternetConnectionRequestMade.go @@ -154,7 +154,7 @@ func (m *_TelephonyDataInternetConnectionRequestMade) deepCopy() *_TelephonyData return nil } _TelephonyDataInternetConnectionRequestMadeCopy := &_TelephonyDataInternetConnectionRequestMade{ - m.TelephonyDataContract.DeepCopy().(TelephonyDataContract), + m.TelephonyDataContract.(*_TelephonyData).deepCopy(), } m.TelephonyDataContract.(*_TelephonyData)._SubType = m return _TelephonyDataInternetConnectionRequestMadeCopy diff --git a/plc4go/protocols/cbus/readwrite/model/TelephonyDataIsolateSecondaryOutlet.go b/plc4go/protocols/cbus/readwrite/model/TelephonyDataIsolateSecondaryOutlet.go index d796d08317..1e79d3eade 100644 --- a/plc4go/protocols/cbus/readwrite/model/TelephonyDataIsolateSecondaryOutlet.go +++ b/plc4go/protocols/cbus/readwrite/model/TelephonyDataIsolateSecondaryOutlet.go @@ -239,7 +239,7 @@ func (m *_TelephonyDataIsolateSecondaryOutlet) deepCopy() *_TelephonyDataIsolate return nil } _TelephonyDataIsolateSecondaryOutletCopy := &_TelephonyDataIsolateSecondaryOutlet{ - m.TelephonyDataContract.DeepCopy().(TelephonyDataContract), + m.TelephonyDataContract.(*_TelephonyData).deepCopy(), m.IsolateStatus, } m.TelephonyDataContract.(*_TelephonyData)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/TelephonyDataLineOffHook.go b/plc4go/protocols/cbus/readwrite/model/TelephonyDataLineOffHook.go index 9f1e0f7036..3afcd28b71 100644 --- a/plc4go/protocols/cbus/readwrite/model/TelephonyDataLineOffHook.go +++ b/plc4go/protocols/cbus/readwrite/model/TelephonyDataLineOffHook.go @@ -207,7 +207,7 @@ func (m *_TelephonyDataLineOffHook) deepCopy() *_TelephonyDataLineOffHook { return nil } _TelephonyDataLineOffHookCopy := &_TelephonyDataLineOffHook{ - m.TelephonyDataContract.DeepCopy().(TelephonyDataContract), + m.TelephonyDataContract.(*_TelephonyData).deepCopy(), m.Reason, m.Number, } diff --git a/plc4go/protocols/cbus/readwrite/model/TelephonyDataLineOnHook.go b/plc4go/protocols/cbus/readwrite/model/TelephonyDataLineOnHook.go index da7a01e8b9..55ff58625b 100644 --- a/plc4go/protocols/cbus/readwrite/model/TelephonyDataLineOnHook.go +++ b/plc4go/protocols/cbus/readwrite/model/TelephonyDataLineOnHook.go @@ -153,7 +153,7 @@ func (m *_TelephonyDataLineOnHook) deepCopy() *_TelephonyDataLineOnHook { return nil } _TelephonyDataLineOnHookCopy := &_TelephonyDataLineOnHook{ - m.TelephonyDataContract.DeepCopy().(TelephonyDataContract), + m.TelephonyDataContract.(*_TelephonyData).deepCopy(), } m.TelephonyDataContract.(*_TelephonyData)._SubType = m return _TelephonyDataLineOnHookCopy diff --git a/plc4go/protocols/cbus/readwrite/model/TelephonyDataRecallLastNumber.go b/plc4go/protocols/cbus/readwrite/model/TelephonyDataRecallLastNumber.go index d2abd8fdd7..8ab8c970d9 100644 --- a/plc4go/protocols/cbus/readwrite/model/TelephonyDataRecallLastNumber.go +++ b/plc4go/protocols/cbus/readwrite/model/TelephonyDataRecallLastNumber.go @@ -260,7 +260,7 @@ func (m *_TelephonyDataRecallLastNumber) deepCopy() *_TelephonyDataRecallLastNum return nil } _TelephonyDataRecallLastNumberCopy := &_TelephonyDataRecallLastNumber{ - m.TelephonyDataContract.DeepCopy().(TelephonyDataContract), + m.TelephonyDataContract.(*_TelephonyData).deepCopy(), m.RecallLastNumberType, m.Number, } diff --git a/plc4go/protocols/cbus/readwrite/model/TelephonyDataRecallLastNumberRequest.go b/plc4go/protocols/cbus/readwrite/model/TelephonyDataRecallLastNumberRequest.go index 98ea132039..b75c4f9b22 100644 --- a/plc4go/protocols/cbus/readwrite/model/TelephonyDataRecallLastNumberRequest.go +++ b/plc4go/protocols/cbus/readwrite/model/TelephonyDataRecallLastNumberRequest.go @@ -239,7 +239,7 @@ func (m *_TelephonyDataRecallLastNumberRequest) deepCopy() *_TelephonyDataRecall return nil } _TelephonyDataRecallLastNumberRequestCopy := &_TelephonyDataRecallLastNumberRequest{ - m.TelephonyDataContract.DeepCopy().(TelephonyDataContract), + m.TelephonyDataContract.(*_TelephonyData).deepCopy(), m.RecallLastNumberType, } m.TelephonyDataContract.(*_TelephonyData)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/TelephonyDataRejectIncomingCall.go b/plc4go/protocols/cbus/readwrite/model/TelephonyDataRejectIncomingCall.go index 6b41729762..4dc90fb9ec 100644 --- a/plc4go/protocols/cbus/readwrite/model/TelephonyDataRejectIncomingCall.go +++ b/plc4go/protocols/cbus/readwrite/model/TelephonyDataRejectIncomingCall.go @@ -153,7 +153,7 @@ func (m *_TelephonyDataRejectIncomingCall) deepCopy() *_TelephonyDataRejectIncom return nil } _TelephonyDataRejectIncomingCallCopy := &_TelephonyDataRejectIncomingCall{ - m.TelephonyDataContract.DeepCopy().(TelephonyDataContract), + m.TelephonyDataContract.(*_TelephonyData).deepCopy(), } m.TelephonyDataContract.(*_TelephonyData)._SubType = m return _TelephonyDataRejectIncomingCallCopy diff --git a/plc4go/protocols/cbus/readwrite/model/TelephonyDataRinging.go b/plc4go/protocols/cbus/readwrite/model/TelephonyDataRinging.go index 158cd8c7cf..c103ff3625 100644 --- a/plc4go/protocols/cbus/readwrite/model/TelephonyDataRinging.go +++ b/plc4go/protocols/cbus/readwrite/model/TelephonyDataRinging.go @@ -201,7 +201,7 @@ func (m *_TelephonyDataRinging) deepCopy() *_TelephonyDataRinging { return nil } _TelephonyDataRingingCopy := &_TelephonyDataRinging{ - m.TelephonyDataContract.DeepCopy().(TelephonyDataContract), + m.TelephonyDataContract.(*_TelephonyData).deepCopy(), m.Number, m.reservedField0, } diff --git a/plc4go/protocols/cbus/readwrite/model/TriggerControlData.go b/plc4go/protocols/cbus/readwrite/model/TriggerControlData.go index 35e61ed0e2..f38ee48e7e 100644 --- a/plc4go/protocols/cbus/readwrite/model/TriggerControlData.go +++ b/plc4go/protocols/cbus/readwrite/model/TriggerControlData.go @@ -47,7 +47,6 @@ type TriggerControlData interface { // TriggerControlDataContract provides a set of functions which can be overwritten by a sub struct type TriggerControlDataContract interface { - utils.Copyable // GetCommandTypeContainer returns CommandTypeContainer (property field) GetCommandTypeContainer() TriggerControlCommandTypeContainer // GetTriggerGroup returns TriggerGroup (property field) diff --git a/plc4go/protocols/cbus/readwrite/model/TriggerControlDataIndicatorKill.go b/plc4go/protocols/cbus/readwrite/model/TriggerControlDataIndicatorKill.go index c6d043728f..554221ca42 100644 --- a/plc4go/protocols/cbus/readwrite/model/TriggerControlDataIndicatorKill.go +++ b/plc4go/protocols/cbus/readwrite/model/TriggerControlDataIndicatorKill.go @@ -153,7 +153,7 @@ func (m *_TriggerControlDataIndicatorKill) deepCopy() *_TriggerControlDataIndica return nil } _TriggerControlDataIndicatorKillCopy := &_TriggerControlDataIndicatorKill{ - m.TriggerControlDataContract.DeepCopy().(TriggerControlDataContract), + m.TriggerControlDataContract.(*_TriggerControlData).deepCopy(), } m.TriggerControlDataContract.(*_TriggerControlData)._SubType = m return _TriggerControlDataIndicatorKillCopy diff --git a/plc4go/protocols/cbus/readwrite/model/TriggerControlDataLabel.go b/plc4go/protocols/cbus/readwrite/model/TriggerControlDataLabel.go index 560005b089..aa5e0f376f 100644 --- a/plc4go/protocols/cbus/readwrite/model/TriggerControlDataLabel.go +++ b/plc4go/protocols/cbus/readwrite/model/TriggerControlDataLabel.go @@ -257,7 +257,7 @@ func (m *_TriggerControlDataLabel) deepCopy() *_TriggerControlDataLabel { return nil } _TriggerControlDataLabelCopy := &_TriggerControlDataLabel{ - m.TriggerControlDataContract.DeepCopy().(TriggerControlDataContract), + m.TriggerControlDataContract.(*_TriggerControlData).deepCopy(), m.TriggerControlOptions.DeepCopy().(TriggerControlLabelOptions), m.ActionSelector, utils.CopyPtr[Language](m.Language), diff --git a/plc4go/protocols/cbus/readwrite/model/TriggerControlDataTriggerEvent.go b/plc4go/protocols/cbus/readwrite/model/TriggerControlDataTriggerEvent.go index b439635a07..490e25ee04 100644 --- a/plc4go/protocols/cbus/readwrite/model/TriggerControlDataTriggerEvent.go +++ b/plc4go/protocols/cbus/readwrite/model/TriggerControlDataTriggerEvent.go @@ -186,7 +186,7 @@ func (m *_TriggerControlDataTriggerEvent) deepCopy() *_TriggerControlDataTrigger return nil } _TriggerControlDataTriggerEventCopy := &_TriggerControlDataTriggerEvent{ - m.TriggerControlDataContract.DeepCopy().(TriggerControlDataContract), + m.TriggerControlDataContract.(*_TriggerControlData).deepCopy(), m.ActionSelector, } m.TriggerControlDataContract.(*_TriggerControlData)._SubType = m diff --git a/plc4go/protocols/cbus/readwrite/model/TriggerControlDataTriggerMax.go b/plc4go/protocols/cbus/readwrite/model/TriggerControlDataTriggerMax.go index c3bcd0fa7e..0833b07a85 100644 --- a/plc4go/protocols/cbus/readwrite/model/TriggerControlDataTriggerMax.go +++ b/plc4go/protocols/cbus/readwrite/model/TriggerControlDataTriggerMax.go @@ -153,7 +153,7 @@ func (m *_TriggerControlDataTriggerMax) deepCopy() *_TriggerControlDataTriggerMa return nil } _TriggerControlDataTriggerMaxCopy := &_TriggerControlDataTriggerMax{ - m.TriggerControlDataContract.DeepCopy().(TriggerControlDataContract), + m.TriggerControlDataContract.(*_TriggerControlData).deepCopy(), } m.TriggerControlDataContract.(*_TriggerControlData)._SubType = m return _TriggerControlDataTriggerMaxCopy diff --git a/plc4go/protocols/cbus/readwrite/model/TriggerControlDataTriggerMin.go b/plc4go/protocols/cbus/readwrite/model/TriggerControlDataTriggerMin.go index 9ebbd00d67..c1eb13cc2f 100644 --- a/plc4go/protocols/cbus/readwrite/model/TriggerControlDataTriggerMin.go +++ b/plc4go/protocols/cbus/readwrite/model/TriggerControlDataTriggerMin.go @@ -153,7 +153,7 @@ func (m *_TriggerControlDataTriggerMin) deepCopy() *_TriggerControlDataTriggerMi return nil } _TriggerControlDataTriggerMinCopy := &_TriggerControlDataTriggerMin{ - m.TriggerControlDataContract.DeepCopy().(TriggerControlDataContract), + m.TriggerControlDataContract.(*_TriggerControlData).deepCopy(), } m.TriggerControlDataContract.(*_TriggerControlData)._SubType = m return _TriggerControlDataTriggerMinCopy diff --git a/plc4go/protocols/df1/readwrite/model/DF1Command.go b/plc4go/protocols/df1/readwrite/model/DF1Command.go index 1eccc364ca..469bd9c55b 100644 --- a/plc4go/protocols/df1/readwrite/model/DF1Command.go +++ b/plc4go/protocols/df1/readwrite/model/DF1Command.go @@ -47,7 +47,6 @@ type DF1Command interface { // DF1CommandContract provides a set of functions which can be overwritten by a sub struct type DF1CommandContract interface { - utils.Copyable // GetStatus returns Status (property field) GetStatus() uint8 // GetTransactionCounter returns TransactionCounter (property field) diff --git a/plc4go/protocols/df1/readwrite/model/DF1Symbol.go b/plc4go/protocols/df1/readwrite/model/DF1Symbol.go index 2ac65053ba..741ef35b5d 100644 --- a/plc4go/protocols/df1/readwrite/model/DF1Symbol.go +++ b/plc4go/protocols/df1/readwrite/model/DF1Symbol.go @@ -52,7 +52,6 @@ type DF1Symbol interface { // DF1SymbolContract provides a set of functions which can be overwritten by a sub struct type DF1SymbolContract interface { - utils.Copyable // IsDF1Symbol is a marker method to prevent unintentional type checks (interfaces of same signature) IsDF1Symbol() } diff --git a/plc4go/protocols/df1/readwrite/model/DF1SymbolMessageFrame.go b/plc4go/protocols/df1/readwrite/model/DF1SymbolMessageFrame.go index 2614037e39..a8213ddaed 100644 --- a/plc4go/protocols/df1/readwrite/model/DF1SymbolMessageFrame.go +++ b/plc4go/protocols/df1/readwrite/model/DF1SymbolMessageFrame.go @@ -297,7 +297,7 @@ func (m *_DF1SymbolMessageFrame) deepCopy() *_DF1SymbolMessageFrame { return nil } _DF1SymbolMessageFrameCopy := &_DF1SymbolMessageFrame{ - m.DF1SymbolContract.DeepCopy().(DF1SymbolContract), + m.DF1SymbolContract.(*_DF1Symbol).deepCopy(), m.DestinationAddress, m.SourceAddress, m.Command.DeepCopy().(DF1Command), diff --git a/plc4go/protocols/df1/readwrite/model/DF1SymbolMessageFrameACK.go b/plc4go/protocols/df1/readwrite/model/DF1SymbolMessageFrameACK.go index c70006dc85..dda82c6358 100644 --- a/plc4go/protocols/df1/readwrite/model/DF1SymbolMessageFrameACK.go +++ b/plc4go/protocols/df1/readwrite/model/DF1SymbolMessageFrameACK.go @@ -158,7 +158,7 @@ func (m *_DF1SymbolMessageFrameACK) deepCopy() *_DF1SymbolMessageFrameACK { return nil } _DF1SymbolMessageFrameACKCopy := &_DF1SymbolMessageFrameACK{ - m.DF1SymbolContract.DeepCopy().(DF1SymbolContract), + m.DF1SymbolContract.(*_DF1Symbol).deepCopy(), } m.DF1SymbolContract.(*_DF1Symbol)._SubType = m return _DF1SymbolMessageFrameACKCopy diff --git a/plc4go/protocols/df1/readwrite/model/DF1SymbolMessageFrameNAK.go b/plc4go/protocols/df1/readwrite/model/DF1SymbolMessageFrameNAK.go index d10bfea8b7..24c9efeb4a 100644 --- a/plc4go/protocols/df1/readwrite/model/DF1SymbolMessageFrameNAK.go +++ b/plc4go/protocols/df1/readwrite/model/DF1SymbolMessageFrameNAK.go @@ -158,7 +158,7 @@ func (m *_DF1SymbolMessageFrameNAK) deepCopy() *_DF1SymbolMessageFrameNAK { return nil } _DF1SymbolMessageFrameNAKCopy := &_DF1SymbolMessageFrameNAK{ - m.DF1SymbolContract.DeepCopy().(DF1SymbolContract), + m.DF1SymbolContract.(*_DF1Symbol).deepCopy(), } m.DF1SymbolContract.(*_DF1Symbol)._SubType = m return _DF1SymbolMessageFrameNAKCopy diff --git a/plc4go/protocols/df1/readwrite/model/DF1UnprotectedReadRequest.go b/plc4go/protocols/df1/readwrite/model/DF1UnprotectedReadRequest.go index 3007ac867a..6761167cc8 100644 --- a/plc4go/protocols/df1/readwrite/model/DF1UnprotectedReadRequest.go +++ b/plc4go/protocols/df1/readwrite/model/DF1UnprotectedReadRequest.go @@ -211,7 +211,7 @@ func (m *_DF1UnprotectedReadRequest) deepCopy() *_DF1UnprotectedReadRequest { return nil } _DF1UnprotectedReadRequestCopy := &_DF1UnprotectedReadRequest{ - m.DF1CommandContract.DeepCopy().(DF1CommandContract), + m.DF1CommandContract.(*_DF1Command).deepCopy(), m.Address, m.Size, } diff --git a/plc4go/protocols/df1/readwrite/model/DF1UnprotectedReadResponse.go b/plc4go/protocols/df1/readwrite/model/DF1UnprotectedReadResponse.go index 89a2e8c872..23634b2252 100644 --- a/plc4go/protocols/df1/readwrite/model/DF1UnprotectedReadResponse.go +++ b/plc4go/protocols/df1/readwrite/model/DF1UnprotectedReadResponse.go @@ -191,7 +191,7 @@ func (m *_DF1UnprotectedReadResponse) deepCopy() *_DF1UnprotectedReadResponse { return nil } _DF1UnprotectedReadResponseCopy := &_DF1UnprotectedReadResponse{ - m.DF1CommandContract.DeepCopy().(DF1CommandContract), + m.DF1CommandContract.(*_DF1Command).deepCopy(), utils.DeepCopySlice[byte, byte](m.Data), } m.DF1CommandContract.(*_DF1Command)._SubType = m diff --git a/plc4go/protocols/eip/readwrite/model/AnsiExtendedSymbolSegment.go b/plc4go/protocols/eip/readwrite/model/AnsiExtendedSymbolSegment.go index 0b8835ad67..5870069cd5 100644 --- a/plc4go/protocols/eip/readwrite/model/AnsiExtendedSymbolSegment.go +++ b/plc4go/protocols/eip/readwrite/model/AnsiExtendedSymbolSegment.go @@ -227,7 +227,7 @@ func (m *_AnsiExtendedSymbolSegment) deepCopy() *_AnsiExtendedSymbolSegment { return nil } _AnsiExtendedSymbolSegmentCopy := &_AnsiExtendedSymbolSegment{ - m.DataSegmentTypeContract.DeepCopy().(DataSegmentTypeContract), + m.DataSegmentTypeContract.(*_DataSegmentType).deepCopy(), m.Symbol, utils.CopyPtr[uint8](m.Pad), } diff --git a/plc4go/protocols/eip/readwrite/model/CipConnectedRequest.go b/plc4go/protocols/eip/readwrite/model/CipConnectedRequest.go index 82e87025b7..69f04f9c6d 100644 --- a/plc4go/protocols/eip/readwrite/model/CipConnectedRequest.go +++ b/plc4go/protocols/eip/readwrite/model/CipConnectedRequest.go @@ -242,7 +242,7 @@ func (m *_CipConnectedRequest) deepCopy() *_CipConnectedRequest { return nil } _CipConnectedRequestCopy := &_CipConnectedRequest{ - m.CipServiceContract.DeepCopy().(CipServiceContract), + m.CipServiceContract.(*_CipService).deepCopy(), utils.DeepCopySlice[byte, byte](m.PathSegments), m.reservedField0, m.reservedField1, diff --git a/plc4go/protocols/eip/readwrite/model/CipConnectedResponse.go b/plc4go/protocols/eip/readwrite/model/CipConnectedResponse.go index ba49a2e3b8..b36f697c03 100644 --- a/plc4go/protocols/eip/readwrite/model/CipConnectedResponse.go +++ b/plc4go/protocols/eip/readwrite/model/CipConnectedResponse.go @@ -261,7 +261,7 @@ func (m *_CipConnectedResponse) deepCopy() *_CipConnectedResponse { return nil } _CipConnectedResponseCopy := &_CipConnectedResponse{ - m.CipServiceContract.DeepCopy().(CipServiceContract), + m.CipServiceContract.(*_CipService).deepCopy(), m.Status, m.AdditionalStatusWords, m.Data.DeepCopy().(CIPDataConnected), diff --git a/plc4go/protocols/eip/readwrite/model/CipConnectionManagerCloseRequest.go b/plc4go/protocols/eip/readwrite/model/CipConnectionManagerCloseRequest.go index 0a12a34467..247866c239 100644 --- a/plc4go/protocols/eip/readwrite/model/CipConnectionManagerCloseRequest.go +++ b/plc4go/protocols/eip/readwrite/model/CipConnectionManagerCloseRequest.go @@ -433,7 +433,7 @@ func (m *_CipConnectionManagerCloseRequest) deepCopy() *_CipConnectionManagerClo return nil } _CipConnectionManagerCloseRequestCopy := &_CipConnectionManagerCloseRequest{ - m.CipServiceContract.DeepCopy().(CipServiceContract), + m.CipServiceContract.(*_CipService).deepCopy(), m.RequestPathSize, m.ClassSegment.DeepCopy().(PathSegment), m.InstanceSegment.DeepCopy().(PathSegment), diff --git a/plc4go/protocols/eip/readwrite/model/CipConnectionManagerCloseResponse.go b/plc4go/protocols/eip/readwrite/model/CipConnectionManagerCloseResponse.go index 1b78d183ec..5161b29fee 100644 --- a/plc4go/protocols/eip/readwrite/model/CipConnectionManagerCloseResponse.go +++ b/plc4go/protocols/eip/readwrite/model/CipConnectionManagerCloseResponse.go @@ -332,7 +332,7 @@ func (m *_CipConnectionManagerCloseResponse) deepCopy() *_CipConnectionManagerCl return nil } _CipConnectionManagerCloseResponseCopy := &_CipConnectionManagerCloseResponse{ - m.CipServiceContract.DeepCopy().(CipServiceContract), + m.CipServiceContract.(*_CipService).deepCopy(), m.Status, m.AdditionalStatusWords, m.ConnectionSerialNumber, diff --git a/plc4go/protocols/eip/readwrite/model/CipConnectionManagerRequest.go b/plc4go/protocols/eip/readwrite/model/CipConnectionManagerRequest.go index 9956ff61dc..1573d99ee9 100644 --- a/plc4go/protocols/eip/readwrite/model/CipConnectionManagerRequest.go +++ b/plc4go/protocols/eip/readwrite/model/CipConnectionManagerRequest.go @@ -602,7 +602,7 @@ func (m *_CipConnectionManagerRequest) deepCopy() *_CipConnectionManagerRequest return nil } _CipConnectionManagerRequestCopy := &_CipConnectionManagerRequest{ - m.CipServiceContract.DeepCopy().(CipServiceContract), + m.CipServiceContract.(*_CipService).deepCopy(), m.ClassSegment.DeepCopy().(PathSegment), m.InstanceSegment.DeepCopy().(PathSegment), m.Priority, diff --git a/plc4go/protocols/eip/readwrite/model/CipConnectionManagerResponse.go b/plc4go/protocols/eip/readwrite/model/CipConnectionManagerResponse.go index 7df57e5af7..1e45bc5905 100644 --- a/plc4go/protocols/eip/readwrite/model/CipConnectionManagerResponse.go +++ b/plc4go/protocols/eip/readwrite/model/CipConnectionManagerResponse.go @@ -366,7 +366,7 @@ func (m *_CipConnectionManagerResponse) deepCopy() *_CipConnectionManagerRespons return nil } _CipConnectionManagerResponseCopy := &_CipConnectionManagerResponse{ - m.CipServiceContract.DeepCopy().(CipServiceContract), + m.CipServiceContract.(*_CipService).deepCopy(), m.OtConnectionId, m.ToConnectionId, m.ConnectionSerialNumber, diff --git a/plc4go/protocols/eip/readwrite/model/CipIdentity.go b/plc4go/protocols/eip/readwrite/model/CipIdentity.go index f39dd58599..f702736f84 100644 --- a/plc4go/protocols/eip/readwrite/model/CipIdentity.go +++ b/plc4go/protocols/eip/readwrite/model/CipIdentity.go @@ -519,7 +519,7 @@ func (m *_CipIdentity) deepCopy() *_CipIdentity { return nil } _CipIdentityCopy := &_CipIdentity{ - m.CommandSpecificDataItemContract.DeepCopy().(CommandSpecificDataItemContract), + m.CommandSpecificDataItemContract.(*_CommandSpecificDataItem).deepCopy(), m.EncapsulationProtocolVersion, m.SocketAddressFamily, m.SocketAddressPort, diff --git a/plc4go/protocols/eip/readwrite/model/CipRRData.go b/plc4go/protocols/eip/readwrite/model/CipRRData.go index 3b277d67ff..01bbd33328 100644 --- a/plc4go/protocols/eip/readwrite/model/CipRRData.go +++ b/plc4go/protocols/eip/readwrite/model/CipRRData.go @@ -260,7 +260,7 @@ func (m *_CipRRData) deepCopy() *_CipRRData { return nil } _CipRRDataCopy := &_CipRRData{ - m.EipPacketContract.DeepCopy().(EipPacketContract), + m.EipPacketContract.(*_EipPacket).deepCopy(), m.InterfaceHandle, m.Timeout, utils.DeepCopySlice[TypeId, TypeId](m.TypeIds), diff --git a/plc4go/protocols/eip/readwrite/model/CipReadRequest.go b/plc4go/protocols/eip/readwrite/model/CipReadRequest.go index 5bc0884363..241b62da21 100644 --- a/plc4go/protocols/eip/readwrite/model/CipReadRequest.go +++ b/plc4go/protocols/eip/readwrite/model/CipReadRequest.go @@ -234,7 +234,7 @@ func (m *_CipReadRequest) deepCopy() *_CipReadRequest { return nil } _CipReadRequestCopy := &_CipReadRequest{ - m.CipServiceContract.DeepCopy().(CipServiceContract), + m.CipServiceContract.(*_CipService).deepCopy(), utils.DeepCopySlice[byte, byte](m.Tag), m.ElementNb, } diff --git a/plc4go/protocols/eip/readwrite/model/CipReadResponse.go b/plc4go/protocols/eip/readwrite/model/CipReadResponse.go index 0206c93a8d..c514d1fb2e 100644 --- a/plc4go/protocols/eip/readwrite/model/CipReadResponse.go +++ b/plc4go/protocols/eip/readwrite/model/CipReadResponse.go @@ -261,7 +261,7 @@ func (m *_CipReadResponse) deepCopy() *_CipReadResponse { return nil } _CipReadResponseCopy := &_CipReadResponse{ - m.CipServiceContract.DeepCopy().(CipServiceContract), + m.CipServiceContract.(*_CipService).deepCopy(), m.Status, m.ExtStatus, m.Data.DeepCopy().(CIPData), diff --git a/plc4go/protocols/eip/readwrite/model/CipSecurityInformation.go b/plc4go/protocols/eip/readwrite/model/CipSecurityInformation.go index 83ac12f453..989738a2cd 100644 --- a/plc4go/protocols/eip/readwrite/model/CipSecurityInformation.go +++ b/plc4go/protocols/eip/readwrite/model/CipSecurityInformation.go @@ -205,7 +205,7 @@ func (m *_CipSecurityInformation) deepCopy() *_CipSecurityInformation { return nil } _CipSecurityInformationCopy := &_CipSecurityInformation{ - m.CommandSpecificDataItemContract.DeepCopy().(CommandSpecificDataItemContract), + m.CommandSpecificDataItemContract.(*_CommandSpecificDataItem).deepCopy(), utils.DeepCopySlice[uint8, uint8](m.TodoImplement), } m.CommandSpecificDataItemContract.(*_CommandSpecificDataItem)._SubType = m diff --git a/plc4go/protocols/eip/readwrite/model/CipService.go b/plc4go/protocols/eip/readwrite/model/CipService.go index d4493957f1..2e40167f03 100644 --- a/plc4go/protocols/eip/readwrite/model/CipService.go +++ b/plc4go/protocols/eip/readwrite/model/CipService.go @@ -47,7 +47,6 @@ type CipService interface { // CipServiceContract provides a set of functions which can be overwritten by a sub struct type CipServiceContract interface { - utils.Copyable // GetServiceLen() returns a parser argument GetServiceLen() uint16 // IsCipService is a marker method to prevent unintentional type checks (interfaces of same signature) diff --git a/plc4go/protocols/eip/readwrite/model/CipUnconnectedRequest.go b/plc4go/protocols/eip/readwrite/model/CipUnconnectedRequest.go index e3d99a254b..bf9bafadae 100644 --- a/plc4go/protocols/eip/readwrite/model/CipUnconnectedRequest.go +++ b/plc4go/protocols/eip/readwrite/model/CipUnconnectedRequest.go @@ -361,7 +361,7 @@ func (m *_CipUnconnectedRequest) deepCopy() *_CipUnconnectedRequest { return nil } _CipUnconnectedRequestCopy := &_CipUnconnectedRequest{ - m.CipServiceContract.DeepCopy().(CipServiceContract), + m.CipServiceContract.(*_CipService).deepCopy(), m.ClassSegment.DeepCopy().(PathSegment), m.InstanceSegment.DeepCopy().(PathSegment), m.UnconnectedService.DeepCopy().(CipService), diff --git a/plc4go/protocols/eip/readwrite/model/CipWriteRequest.go b/plc4go/protocols/eip/readwrite/model/CipWriteRequest.go index 1b86510c66..d3c1221fe6 100644 --- a/plc4go/protocols/eip/readwrite/model/CipWriteRequest.go +++ b/plc4go/protocols/eip/readwrite/model/CipWriteRequest.go @@ -278,7 +278,7 @@ func (m *_CipWriteRequest) deepCopy() *_CipWriteRequest { return nil } _CipWriteRequestCopy := &_CipWriteRequest{ - m.CipServiceContract.DeepCopy().(CipServiceContract), + m.CipServiceContract.(*_CipService).deepCopy(), utils.DeepCopySlice[byte, byte](m.Tag), m.DataType, m.ElementNb, diff --git a/plc4go/protocols/eip/readwrite/model/CipWriteResponse.go b/plc4go/protocols/eip/readwrite/model/CipWriteResponse.go index d322289160..b8ce24faf8 100644 --- a/plc4go/protocols/eip/readwrite/model/CipWriteResponse.go +++ b/plc4go/protocols/eip/readwrite/model/CipWriteResponse.go @@ -234,7 +234,7 @@ func (m *_CipWriteResponse) deepCopy() *_CipWriteResponse { return nil } _CipWriteResponseCopy := &_CipWriteResponse{ - m.CipServiceContract.DeepCopy().(CipServiceContract), + m.CipServiceContract.(*_CipService).deepCopy(), m.Status, m.ExtStatus, m.reservedField0, diff --git a/plc4go/protocols/eip/readwrite/model/ClassID.go b/plc4go/protocols/eip/readwrite/model/ClassID.go index 9e59a3a577..b40def6487 100644 --- a/plc4go/protocols/eip/readwrite/model/ClassID.go +++ b/plc4go/protocols/eip/readwrite/model/ClassID.go @@ -211,7 +211,7 @@ func (m *_ClassID) deepCopy() *_ClassID { return nil } _ClassIDCopy := &_ClassID{ - m.LogicalSegmentTypeContract.DeepCopy().(LogicalSegmentTypeContract), + m.LogicalSegmentTypeContract.(*_LogicalSegmentType).deepCopy(), m.Format, m.SegmentClass, } diff --git a/plc4go/protocols/eip/readwrite/model/CommandSpecificDataItem.go b/plc4go/protocols/eip/readwrite/model/CommandSpecificDataItem.go index 5569aaa857..8ca6708839 100644 --- a/plc4go/protocols/eip/readwrite/model/CommandSpecificDataItem.go +++ b/plc4go/protocols/eip/readwrite/model/CommandSpecificDataItem.go @@ -47,7 +47,6 @@ type CommandSpecificDataItem interface { // CommandSpecificDataItemContract provides a set of functions which can be overwritten by a sub struct type CommandSpecificDataItemContract interface { - utils.Copyable // IsCommandSpecificDataItem is a marker method to prevent unintentional type checks (interfaces of same signature) IsCommandSpecificDataItem() } diff --git a/plc4go/protocols/eip/readwrite/model/ConnectedAddressItem.go b/plc4go/protocols/eip/readwrite/model/ConnectedAddressItem.go index 62ee2eaf9d..5981146e6a 100644 --- a/plc4go/protocols/eip/readwrite/model/ConnectedAddressItem.go +++ b/plc4go/protocols/eip/readwrite/model/ConnectedAddressItem.go @@ -205,7 +205,7 @@ func (m *_ConnectedAddressItem) deepCopy() *_ConnectedAddressItem { return nil } _ConnectedAddressItemCopy := &_ConnectedAddressItem{ - m.TypeIdContract.DeepCopy().(TypeIdContract), + m.TypeIdContract.(*_TypeId).deepCopy(), m.ConnectionId, m.reservedField0, } diff --git a/plc4go/protocols/eip/readwrite/model/ConnectedDataItem.go b/plc4go/protocols/eip/readwrite/model/ConnectedDataItem.go index f24426dbd4..3ae65bf3a9 100644 --- a/plc4go/protocols/eip/readwrite/model/ConnectedDataItem.go +++ b/plc4go/protocols/eip/readwrite/model/ConnectedDataItem.go @@ -227,7 +227,7 @@ func (m *_ConnectedDataItem) deepCopy() *_ConnectedDataItem { return nil } _ConnectedDataItemCopy := &_ConnectedDataItem{ - m.TypeIdContract.DeepCopy().(TypeIdContract), + m.TypeIdContract.(*_TypeId).deepCopy(), m.SequenceCount, m.Service.DeepCopy().(CipService), } diff --git a/plc4go/protocols/eip/readwrite/model/DataSegment.go b/plc4go/protocols/eip/readwrite/model/DataSegment.go index 1843a70b38..dd388f7c3a 100644 --- a/plc4go/protocols/eip/readwrite/model/DataSegment.go +++ b/plc4go/protocols/eip/readwrite/model/DataSegment.go @@ -193,7 +193,7 @@ func (m *_DataSegment) deepCopy() *_DataSegment { return nil } _DataSegmentCopy := &_DataSegment{ - m.PathSegmentContract.DeepCopy().(PathSegmentContract), + m.PathSegmentContract.(*_PathSegment).deepCopy(), m.SegmentType.DeepCopy().(DataSegmentType), } m.PathSegmentContract.(*_PathSegment)._SubType = m diff --git a/plc4go/protocols/eip/readwrite/model/DataSegmentType.go b/plc4go/protocols/eip/readwrite/model/DataSegmentType.go index f2c1723671..7bd7973475 100644 --- a/plc4go/protocols/eip/readwrite/model/DataSegmentType.go +++ b/plc4go/protocols/eip/readwrite/model/DataSegmentType.go @@ -47,7 +47,6 @@ type DataSegmentType interface { // DataSegmentTypeContract provides a set of functions which can be overwritten by a sub struct type DataSegmentTypeContract interface { - utils.Copyable // IsDataSegmentType is a marker method to prevent unintentional type checks (interfaces of same signature) IsDataSegmentType() } diff --git a/plc4go/protocols/eip/readwrite/model/EipConnectionRequest.go b/plc4go/protocols/eip/readwrite/model/EipConnectionRequest.go index 5f04d0448a..c734cfbe69 100644 --- a/plc4go/protocols/eip/readwrite/model/EipConnectionRequest.go +++ b/plc4go/protocols/eip/readwrite/model/EipConnectionRequest.go @@ -215,7 +215,7 @@ func (m *_EipConnectionRequest) deepCopy() *_EipConnectionRequest { return nil } _EipConnectionRequestCopy := &_EipConnectionRequest{ - m.EipPacketContract.DeepCopy().(EipPacketContract), + m.EipPacketContract.(*_EipPacket).deepCopy(), } m.EipPacketContract.(*_EipPacket)._SubType = m return _EipConnectionRequestCopy diff --git a/plc4go/protocols/eip/readwrite/model/EipConnectionResponse.go b/plc4go/protocols/eip/readwrite/model/EipConnectionResponse.go index f8fbfc0d33..e4e6877d2f 100644 --- a/plc4go/protocols/eip/readwrite/model/EipConnectionResponse.go +++ b/plc4go/protocols/eip/readwrite/model/EipConnectionResponse.go @@ -215,7 +215,7 @@ func (m *_EipConnectionResponse) deepCopy() *_EipConnectionResponse { return nil } _EipConnectionResponseCopy := &_EipConnectionResponse{ - m.EipPacketContract.DeepCopy().(EipPacketContract), + m.EipPacketContract.(*_EipPacket).deepCopy(), } m.EipPacketContract.(*_EipPacket)._SubType = m return _EipConnectionResponseCopy diff --git a/plc4go/protocols/eip/readwrite/model/EipDisconnectRequest.go b/plc4go/protocols/eip/readwrite/model/EipDisconnectRequest.go index b02f24d809..87e4db212b 100644 --- a/plc4go/protocols/eip/readwrite/model/EipDisconnectRequest.go +++ b/plc4go/protocols/eip/readwrite/model/EipDisconnectRequest.go @@ -165,7 +165,7 @@ func (m *_EipDisconnectRequest) deepCopy() *_EipDisconnectRequest { return nil } _EipDisconnectRequestCopy := &_EipDisconnectRequest{ - m.EipPacketContract.DeepCopy().(EipPacketContract), + m.EipPacketContract.(*_EipPacket).deepCopy(), } m.EipPacketContract.(*_EipPacket)._SubType = m return _EipDisconnectRequestCopy diff --git a/plc4go/protocols/eip/readwrite/model/EipListIdentityRequest.go b/plc4go/protocols/eip/readwrite/model/EipListIdentityRequest.go index 275ba2379c..2ced3bc875 100644 --- a/plc4go/protocols/eip/readwrite/model/EipListIdentityRequest.go +++ b/plc4go/protocols/eip/readwrite/model/EipListIdentityRequest.go @@ -165,7 +165,7 @@ func (m *_EipListIdentityRequest) deepCopy() *_EipListIdentityRequest { return nil } _EipListIdentityRequestCopy := &_EipListIdentityRequest{ - m.EipPacketContract.DeepCopy().(EipPacketContract), + m.EipPacketContract.(*_EipPacket).deepCopy(), } m.EipPacketContract.(*_EipPacket)._SubType = m return _EipListIdentityRequestCopy diff --git a/plc4go/protocols/eip/readwrite/model/EipListIdentityResponse.go b/plc4go/protocols/eip/readwrite/model/EipListIdentityResponse.go index c7c7b42543..b858598764 100644 --- a/plc4go/protocols/eip/readwrite/model/EipListIdentityResponse.go +++ b/plc4go/protocols/eip/readwrite/model/EipListIdentityResponse.go @@ -218,7 +218,7 @@ func (m *_EipListIdentityResponse) deepCopy() *_EipListIdentityResponse { return nil } _EipListIdentityResponseCopy := &_EipListIdentityResponse{ - m.EipPacketContract.DeepCopy().(EipPacketContract), + m.EipPacketContract.(*_EipPacket).deepCopy(), utils.DeepCopySlice[CommandSpecificDataItem, CommandSpecificDataItem](m.Items), } m.EipPacketContract.(*_EipPacket)._SubType = m diff --git a/plc4go/protocols/eip/readwrite/model/EipPacket.go b/plc4go/protocols/eip/readwrite/model/EipPacket.go index f66e05d9b8..928acb7aa1 100644 --- a/plc4go/protocols/eip/readwrite/model/EipPacket.go +++ b/plc4go/protocols/eip/readwrite/model/EipPacket.go @@ -47,7 +47,6 @@ type EipPacket interface { // EipPacketContract provides a set of functions which can be overwritten by a sub struct type EipPacketContract interface { - utils.Copyable // GetSessionHandle returns SessionHandle (property field) GetSessionHandle() uint32 // GetStatus returns Status (property field) diff --git a/plc4go/protocols/eip/readwrite/model/GetAttributeAllRequest.go b/plc4go/protocols/eip/readwrite/model/GetAttributeAllRequest.go index be53bea9d5..e05922ef8e 100644 --- a/plc4go/protocols/eip/readwrite/model/GetAttributeAllRequest.go +++ b/plc4go/protocols/eip/readwrite/model/GetAttributeAllRequest.go @@ -238,7 +238,7 @@ func (m *_GetAttributeAllRequest) deepCopy() *_GetAttributeAllRequest { return nil } _GetAttributeAllRequestCopy := &_GetAttributeAllRequest{ - m.CipServiceContract.DeepCopy().(CipServiceContract), + m.CipServiceContract.(*_CipService).deepCopy(), m.ClassSegment.DeepCopy().(PathSegment), m.InstanceSegment.DeepCopy().(PathSegment), } diff --git a/plc4go/protocols/eip/readwrite/model/GetAttributeAllResponse.go b/plc4go/protocols/eip/readwrite/model/GetAttributeAllResponse.go index 8165936855..2e61db0fa5 100644 --- a/plc4go/protocols/eip/readwrite/model/GetAttributeAllResponse.go +++ b/plc4go/protocols/eip/readwrite/model/GetAttributeAllResponse.go @@ -261,7 +261,7 @@ func (m *_GetAttributeAllResponse) deepCopy() *_GetAttributeAllResponse { return nil } _GetAttributeAllResponseCopy := &_GetAttributeAllResponse{ - m.CipServiceContract.DeepCopy().(CipServiceContract), + m.CipServiceContract.(*_CipService).deepCopy(), m.Status, m.ExtStatus, m.Attributes.DeepCopy().(CIPAttributes), diff --git a/plc4go/protocols/eip/readwrite/model/GetAttributeListRequest.go b/plc4go/protocols/eip/readwrite/model/GetAttributeListRequest.go index d6805d0e9e..7e6e11512f 100644 --- a/plc4go/protocols/eip/readwrite/model/GetAttributeListRequest.go +++ b/plc4go/protocols/eip/readwrite/model/GetAttributeListRequest.go @@ -165,7 +165,7 @@ func (m *_GetAttributeListRequest) deepCopy() *_GetAttributeListRequest { return nil } _GetAttributeListRequestCopy := &_GetAttributeListRequest{ - m.CipServiceContract.DeepCopy().(CipServiceContract), + m.CipServiceContract.(*_CipService).deepCopy(), } m.CipServiceContract.(*_CipService)._SubType = m return _GetAttributeListRequestCopy diff --git a/plc4go/protocols/eip/readwrite/model/GetAttributeListResponse.go b/plc4go/protocols/eip/readwrite/model/GetAttributeListResponse.go index 26d9e67fbe..7c851bf448 100644 --- a/plc4go/protocols/eip/readwrite/model/GetAttributeListResponse.go +++ b/plc4go/protocols/eip/readwrite/model/GetAttributeListResponse.go @@ -165,7 +165,7 @@ func (m *_GetAttributeListResponse) deepCopy() *_GetAttributeListResponse { return nil } _GetAttributeListResponseCopy := &_GetAttributeListResponse{ - m.CipServiceContract.DeepCopy().(CipServiceContract), + m.CipServiceContract.(*_CipService).deepCopy(), } m.CipServiceContract.(*_CipService)._SubType = m return _GetAttributeListResponseCopy diff --git a/plc4go/protocols/eip/readwrite/model/GetAttributeSingleRequest.go b/plc4go/protocols/eip/readwrite/model/GetAttributeSingleRequest.go index 7c237cca49..15ffaac90a 100644 --- a/plc4go/protocols/eip/readwrite/model/GetAttributeSingleRequest.go +++ b/plc4go/protocols/eip/readwrite/model/GetAttributeSingleRequest.go @@ -165,7 +165,7 @@ func (m *_GetAttributeSingleRequest) deepCopy() *_GetAttributeSingleRequest { return nil } _GetAttributeSingleRequestCopy := &_GetAttributeSingleRequest{ - m.CipServiceContract.DeepCopy().(CipServiceContract), + m.CipServiceContract.(*_CipService).deepCopy(), } m.CipServiceContract.(*_CipService)._SubType = m return _GetAttributeSingleRequestCopy diff --git a/plc4go/protocols/eip/readwrite/model/GetAttributeSingleResponse.go b/plc4go/protocols/eip/readwrite/model/GetAttributeSingleResponse.go index b474685d03..6cd121afe8 100644 --- a/plc4go/protocols/eip/readwrite/model/GetAttributeSingleResponse.go +++ b/plc4go/protocols/eip/readwrite/model/GetAttributeSingleResponse.go @@ -165,7 +165,7 @@ func (m *_GetAttributeSingleResponse) deepCopy() *_GetAttributeSingleResponse { return nil } _GetAttributeSingleResponseCopy := &_GetAttributeSingleResponse{ - m.CipServiceContract.DeepCopy().(CipServiceContract), + m.CipServiceContract.(*_CipService).deepCopy(), } m.CipServiceContract.(*_CipService)._SubType = m return _GetAttributeSingleResponseCopy diff --git a/plc4go/protocols/eip/readwrite/model/InstanceID.go b/plc4go/protocols/eip/readwrite/model/InstanceID.go index 675424651e..c0f05441d4 100644 --- a/plc4go/protocols/eip/readwrite/model/InstanceID.go +++ b/plc4go/protocols/eip/readwrite/model/InstanceID.go @@ -211,7 +211,7 @@ func (m *_InstanceID) deepCopy() *_InstanceID { return nil } _InstanceIDCopy := &_InstanceID{ - m.LogicalSegmentTypeContract.DeepCopy().(LogicalSegmentTypeContract), + m.LogicalSegmentTypeContract.(*_LogicalSegmentType).deepCopy(), m.Format, m.Instance, } diff --git a/plc4go/protocols/eip/readwrite/model/ListServicesRequest.go b/plc4go/protocols/eip/readwrite/model/ListServicesRequest.go index e75f24caae..9650a002f9 100644 --- a/plc4go/protocols/eip/readwrite/model/ListServicesRequest.go +++ b/plc4go/protocols/eip/readwrite/model/ListServicesRequest.go @@ -165,7 +165,7 @@ func (m *_ListServicesRequest) deepCopy() *_ListServicesRequest { return nil } _ListServicesRequestCopy := &_ListServicesRequest{ - m.EipPacketContract.DeepCopy().(EipPacketContract), + m.EipPacketContract.(*_EipPacket).deepCopy(), } m.EipPacketContract.(*_EipPacket)._SubType = m return _ListServicesRequestCopy diff --git a/plc4go/protocols/eip/readwrite/model/ListServicesResponse.go b/plc4go/protocols/eip/readwrite/model/ListServicesResponse.go index bf4447acd5..db54cfdbfa 100644 --- a/plc4go/protocols/eip/readwrite/model/ListServicesResponse.go +++ b/plc4go/protocols/eip/readwrite/model/ListServicesResponse.go @@ -218,7 +218,7 @@ func (m *_ListServicesResponse) deepCopy() *_ListServicesResponse { return nil } _ListServicesResponseCopy := &_ListServicesResponse{ - m.EipPacketContract.DeepCopy().(EipPacketContract), + m.EipPacketContract.(*_EipPacket).deepCopy(), utils.DeepCopySlice[TypeId, TypeId](m.TypeIds), } m.EipPacketContract.(*_EipPacket)._SubType = m diff --git a/plc4go/protocols/eip/readwrite/model/LogicalSegment.go b/plc4go/protocols/eip/readwrite/model/LogicalSegment.go index 0e06768e93..c8129dfd89 100644 --- a/plc4go/protocols/eip/readwrite/model/LogicalSegment.go +++ b/plc4go/protocols/eip/readwrite/model/LogicalSegment.go @@ -193,7 +193,7 @@ func (m *_LogicalSegment) deepCopy() *_LogicalSegment { return nil } _LogicalSegmentCopy := &_LogicalSegment{ - m.PathSegmentContract.DeepCopy().(PathSegmentContract), + m.PathSegmentContract.(*_PathSegment).deepCopy(), m.SegmentType.DeepCopy().(LogicalSegmentType), } m.PathSegmentContract.(*_PathSegment)._SubType = m diff --git a/plc4go/protocols/eip/readwrite/model/LogicalSegmentType.go b/plc4go/protocols/eip/readwrite/model/LogicalSegmentType.go index bf5e2ea4ae..f141000cd3 100644 --- a/plc4go/protocols/eip/readwrite/model/LogicalSegmentType.go +++ b/plc4go/protocols/eip/readwrite/model/LogicalSegmentType.go @@ -47,7 +47,6 @@ type LogicalSegmentType interface { // LogicalSegmentTypeContract provides a set of functions which can be overwritten by a sub struct type LogicalSegmentTypeContract interface { - utils.Copyable // IsLogicalSegmentType is a marker method to prevent unintentional type checks (interfaces of same signature) IsLogicalSegmentType() } diff --git a/plc4go/protocols/eip/readwrite/model/MemberID.go b/plc4go/protocols/eip/readwrite/model/MemberID.go index 0f3a82f9e5..d619dec780 100644 --- a/plc4go/protocols/eip/readwrite/model/MemberID.go +++ b/plc4go/protocols/eip/readwrite/model/MemberID.go @@ -211,7 +211,7 @@ func (m *_MemberID) deepCopy() *_MemberID { return nil } _MemberIDCopy := &_MemberID{ - m.LogicalSegmentTypeContract.DeepCopy().(LogicalSegmentTypeContract), + m.LogicalSegmentTypeContract.(*_LogicalSegmentType).deepCopy(), m.Format, m.Instance, } diff --git a/plc4go/protocols/eip/readwrite/model/MultipleServiceRequest.go b/plc4go/protocols/eip/readwrite/model/MultipleServiceRequest.go index a5ebdf740e..c98fde396e 100644 --- a/plc4go/protocols/eip/readwrite/model/MultipleServiceRequest.go +++ b/plc4go/protocols/eip/readwrite/model/MultipleServiceRequest.go @@ -248,7 +248,7 @@ func (m *_MultipleServiceRequest) deepCopy() *_MultipleServiceRequest { return nil } _MultipleServiceRequestCopy := &_MultipleServiceRequest{ - m.CipServiceContract.DeepCopy().(CipServiceContract), + m.CipServiceContract.(*_CipService).deepCopy(), m.Data.DeepCopy().(Services), } m.CipServiceContract.(*_CipService)._SubType = m diff --git a/plc4go/protocols/eip/readwrite/model/MultipleServiceResponse.go b/plc4go/protocols/eip/readwrite/model/MultipleServiceResponse.go index d69b654ebf..704e7da0b4 100644 --- a/plc4go/protocols/eip/readwrite/model/MultipleServiceResponse.go +++ b/plc4go/protocols/eip/readwrite/model/MultipleServiceResponse.go @@ -301,7 +301,7 @@ func (m *_MultipleServiceResponse) deepCopy() *_MultipleServiceResponse { return nil } _MultipleServiceResponseCopy := &_MultipleServiceResponse{ - m.CipServiceContract.DeepCopy().(CipServiceContract), + m.CipServiceContract.(*_CipService).deepCopy(), m.Status, m.ExtStatus, m.ServiceNb, diff --git a/plc4go/protocols/eip/readwrite/model/NullAddressItem.go b/plc4go/protocols/eip/readwrite/model/NullAddressItem.go index 2736581bd5..f4e932ea58 100644 --- a/plc4go/protocols/eip/readwrite/model/NullAddressItem.go +++ b/plc4go/protocols/eip/readwrite/model/NullAddressItem.go @@ -174,7 +174,7 @@ func (m *_NullAddressItem) deepCopy() *_NullAddressItem { return nil } _NullAddressItemCopy := &_NullAddressItem{ - m.TypeIdContract.DeepCopy().(TypeIdContract), + m.TypeIdContract.(*_TypeId).deepCopy(), m.reservedField0, } m.TypeIdContract.(*_TypeId)._SubType = m diff --git a/plc4go/protocols/eip/readwrite/model/NullCommandRequest.go b/plc4go/protocols/eip/readwrite/model/NullCommandRequest.go index c5341ee37d..0c54774c55 100644 --- a/plc4go/protocols/eip/readwrite/model/NullCommandRequest.go +++ b/plc4go/protocols/eip/readwrite/model/NullCommandRequest.go @@ -165,7 +165,7 @@ func (m *_NullCommandRequest) deepCopy() *_NullCommandRequest { return nil } _NullCommandRequestCopy := &_NullCommandRequest{ - m.EipPacketContract.DeepCopy().(EipPacketContract), + m.EipPacketContract.(*_EipPacket).deepCopy(), } m.EipPacketContract.(*_EipPacket)._SubType = m return _NullCommandRequestCopy diff --git a/plc4go/protocols/eip/readwrite/model/NullCommandResponse.go b/plc4go/protocols/eip/readwrite/model/NullCommandResponse.go index 3c035e77f6..7a5687fb8c 100644 --- a/plc4go/protocols/eip/readwrite/model/NullCommandResponse.go +++ b/plc4go/protocols/eip/readwrite/model/NullCommandResponse.go @@ -165,7 +165,7 @@ func (m *_NullCommandResponse) deepCopy() *_NullCommandResponse { return nil } _NullCommandResponseCopy := &_NullCommandResponse{ - m.EipPacketContract.DeepCopy().(EipPacketContract), + m.EipPacketContract.(*_EipPacket).deepCopy(), } m.EipPacketContract.(*_EipPacket)._SubType = m return _NullCommandResponseCopy diff --git a/plc4go/protocols/eip/readwrite/model/NullEipConnectionResponse.go b/plc4go/protocols/eip/readwrite/model/NullEipConnectionResponse.go index d88d8b0472..e9f49ebef0 100644 --- a/plc4go/protocols/eip/readwrite/model/NullEipConnectionResponse.go +++ b/plc4go/protocols/eip/readwrite/model/NullEipConnectionResponse.go @@ -165,7 +165,7 @@ func (m *_NullEipConnectionResponse) deepCopy() *_NullEipConnectionResponse { return nil } _NullEipConnectionResponseCopy := &_NullEipConnectionResponse{ - m.EipPacketContract.DeepCopy().(EipPacketContract), + m.EipPacketContract.(*_EipPacket).deepCopy(), } m.EipPacketContract.(*_EipPacket)._SubType = m return _NullEipConnectionResponseCopy diff --git a/plc4go/protocols/eip/readwrite/model/NullListServicesResponse.go b/plc4go/protocols/eip/readwrite/model/NullListServicesResponse.go index 6334683598..f67c065154 100644 --- a/plc4go/protocols/eip/readwrite/model/NullListServicesResponse.go +++ b/plc4go/protocols/eip/readwrite/model/NullListServicesResponse.go @@ -165,7 +165,7 @@ func (m *_NullListServicesResponse) deepCopy() *_NullListServicesResponse { return nil } _NullListServicesResponseCopy := &_NullListServicesResponse{ - m.EipPacketContract.DeepCopy().(EipPacketContract), + m.EipPacketContract.(*_EipPacket).deepCopy(), } m.EipPacketContract.(*_EipPacket)._SubType = m return _NullListServicesResponseCopy diff --git a/plc4go/protocols/eip/readwrite/model/PathSegment.go b/plc4go/protocols/eip/readwrite/model/PathSegment.go index ecefe466ce..43a0b57309 100644 --- a/plc4go/protocols/eip/readwrite/model/PathSegment.go +++ b/plc4go/protocols/eip/readwrite/model/PathSegment.go @@ -47,7 +47,6 @@ type PathSegment interface { // PathSegmentContract provides a set of functions which can be overwritten by a sub struct type PathSegmentContract interface { - utils.Copyable // IsPathSegment is a marker method to prevent unintentional type checks (interfaces of same signature) IsPathSegment() } diff --git a/plc4go/protocols/eip/readwrite/model/PortSegment.go b/plc4go/protocols/eip/readwrite/model/PortSegment.go index 81cd0f627d..3c7d84af9c 100644 --- a/plc4go/protocols/eip/readwrite/model/PortSegment.go +++ b/plc4go/protocols/eip/readwrite/model/PortSegment.go @@ -193,7 +193,7 @@ func (m *_PortSegment) deepCopy() *_PortSegment { return nil } _PortSegmentCopy := &_PortSegment{ - m.PathSegmentContract.DeepCopy().(PathSegmentContract), + m.PathSegmentContract.(*_PathSegment).deepCopy(), m.SegmentType.DeepCopy().(PortSegmentType), } m.PathSegmentContract.(*_PathSegment)._SubType = m diff --git a/plc4go/protocols/eip/readwrite/model/PortSegmentExtended.go b/plc4go/protocols/eip/readwrite/model/PortSegmentExtended.go index 3f73b23796..99afa3ee6c 100644 --- a/plc4go/protocols/eip/readwrite/model/PortSegmentExtended.go +++ b/plc4go/protocols/eip/readwrite/model/PortSegmentExtended.go @@ -263,7 +263,7 @@ func (m *_PortSegmentExtended) deepCopy() *_PortSegmentExtended { return nil } _PortSegmentExtendedCopy := &_PortSegmentExtended{ - m.PortSegmentTypeContract.DeepCopy().(PortSegmentTypeContract), + m.PortSegmentTypeContract.(*_PortSegmentType).deepCopy(), m.Port, m.LinkAddressSize, m.Address, diff --git a/plc4go/protocols/eip/readwrite/model/PortSegmentNormal.go b/plc4go/protocols/eip/readwrite/model/PortSegmentNormal.go index fae21ae6f0..c6dc02053f 100644 --- a/plc4go/protocols/eip/readwrite/model/PortSegmentNormal.go +++ b/plc4go/protocols/eip/readwrite/model/PortSegmentNormal.go @@ -211,7 +211,7 @@ func (m *_PortSegmentNormal) deepCopy() *_PortSegmentNormal { return nil } _PortSegmentNormalCopy := &_PortSegmentNormal{ - m.PortSegmentTypeContract.DeepCopy().(PortSegmentTypeContract), + m.PortSegmentTypeContract.(*_PortSegmentType).deepCopy(), m.Port, m.LinkAddress, } diff --git a/plc4go/protocols/eip/readwrite/model/PortSegmentType.go b/plc4go/protocols/eip/readwrite/model/PortSegmentType.go index c4faa2d200..026492e86d 100644 --- a/plc4go/protocols/eip/readwrite/model/PortSegmentType.go +++ b/plc4go/protocols/eip/readwrite/model/PortSegmentType.go @@ -47,7 +47,6 @@ type PortSegmentType interface { // PortSegmentTypeContract provides a set of functions which can be overwritten by a sub struct type PortSegmentTypeContract interface { - utils.Copyable // IsPortSegmentType is a marker method to prevent unintentional type checks (interfaces of same signature) IsPortSegmentType() } diff --git a/plc4go/protocols/eip/readwrite/model/SendUnitData.go b/plc4go/protocols/eip/readwrite/model/SendUnitData.go index 6c831ff2ee..7f5b493e89 100644 --- a/plc4go/protocols/eip/readwrite/model/SendUnitData.go +++ b/plc4go/protocols/eip/readwrite/model/SendUnitData.go @@ -268,7 +268,7 @@ func (m *_SendUnitData) deepCopy() *_SendUnitData { return nil } _SendUnitDataCopy := &_SendUnitData{ - m.EipPacketContract.DeepCopy().(EipPacketContract), + m.EipPacketContract.(*_EipPacket).deepCopy(), m.Timeout, utils.DeepCopySlice[TypeId, TypeId](m.TypeIds), } diff --git a/plc4go/protocols/eip/readwrite/model/ServicesResponse.go b/plc4go/protocols/eip/readwrite/model/ServicesResponse.go index 019941e298..727d7d0e6d 100644 --- a/plc4go/protocols/eip/readwrite/model/ServicesResponse.go +++ b/plc4go/protocols/eip/readwrite/model/ServicesResponse.go @@ -297,7 +297,7 @@ func (m *_ServicesResponse) deepCopy() *_ServicesResponse { return nil } _ServicesResponseCopy := &_ServicesResponse{ - m.TypeIdContract.DeepCopy().(TypeIdContract), + m.TypeIdContract.(*_TypeId).deepCopy(), m.EncapsulationProtocol, m.SupportsCIPEncapsulation, m.SupportsUDP, diff --git a/plc4go/protocols/eip/readwrite/model/SetAttributeAllRequest.go b/plc4go/protocols/eip/readwrite/model/SetAttributeAllRequest.go index 3dafee9a75..8749f94c13 100644 --- a/plc4go/protocols/eip/readwrite/model/SetAttributeAllRequest.go +++ b/plc4go/protocols/eip/readwrite/model/SetAttributeAllRequest.go @@ -165,7 +165,7 @@ func (m *_SetAttributeAllRequest) deepCopy() *_SetAttributeAllRequest { return nil } _SetAttributeAllRequestCopy := &_SetAttributeAllRequest{ - m.CipServiceContract.DeepCopy().(CipServiceContract), + m.CipServiceContract.(*_CipService).deepCopy(), } m.CipServiceContract.(*_CipService)._SubType = m return _SetAttributeAllRequestCopy diff --git a/plc4go/protocols/eip/readwrite/model/SetAttributeAllResponse.go b/plc4go/protocols/eip/readwrite/model/SetAttributeAllResponse.go index cb167d1b54..0b03dbc765 100644 --- a/plc4go/protocols/eip/readwrite/model/SetAttributeAllResponse.go +++ b/plc4go/protocols/eip/readwrite/model/SetAttributeAllResponse.go @@ -165,7 +165,7 @@ func (m *_SetAttributeAllResponse) deepCopy() *_SetAttributeAllResponse { return nil } _SetAttributeAllResponseCopy := &_SetAttributeAllResponse{ - m.CipServiceContract.DeepCopy().(CipServiceContract), + m.CipServiceContract.(*_CipService).deepCopy(), } m.CipServiceContract.(*_CipService)._SubType = m return _SetAttributeAllResponseCopy diff --git a/plc4go/protocols/eip/readwrite/model/SetAttributeListRequest.go b/plc4go/protocols/eip/readwrite/model/SetAttributeListRequest.go index 4dc4b18136..bba0e9ba1e 100644 --- a/plc4go/protocols/eip/readwrite/model/SetAttributeListRequest.go +++ b/plc4go/protocols/eip/readwrite/model/SetAttributeListRequest.go @@ -165,7 +165,7 @@ func (m *_SetAttributeListRequest) deepCopy() *_SetAttributeListRequest { return nil } _SetAttributeListRequestCopy := &_SetAttributeListRequest{ - m.CipServiceContract.DeepCopy().(CipServiceContract), + m.CipServiceContract.(*_CipService).deepCopy(), } m.CipServiceContract.(*_CipService)._SubType = m return _SetAttributeListRequestCopy diff --git a/plc4go/protocols/eip/readwrite/model/SetAttributeListResponse.go b/plc4go/protocols/eip/readwrite/model/SetAttributeListResponse.go index c87798ae6f..bbbcbe36f9 100644 --- a/plc4go/protocols/eip/readwrite/model/SetAttributeListResponse.go +++ b/plc4go/protocols/eip/readwrite/model/SetAttributeListResponse.go @@ -165,7 +165,7 @@ func (m *_SetAttributeListResponse) deepCopy() *_SetAttributeListResponse { return nil } _SetAttributeListResponseCopy := &_SetAttributeListResponse{ - m.CipServiceContract.DeepCopy().(CipServiceContract), + m.CipServiceContract.(*_CipService).deepCopy(), } m.CipServiceContract.(*_CipService)._SubType = m return _SetAttributeListResponseCopy diff --git a/plc4go/protocols/eip/readwrite/model/SetAttributeSingleRequest.go b/plc4go/protocols/eip/readwrite/model/SetAttributeSingleRequest.go index bfeed4c64a..594acd6a38 100644 --- a/plc4go/protocols/eip/readwrite/model/SetAttributeSingleRequest.go +++ b/plc4go/protocols/eip/readwrite/model/SetAttributeSingleRequest.go @@ -165,7 +165,7 @@ func (m *_SetAttributeSingleRequest) deepCopy() *_SetAttributeSingleRequest { return nil } _SetAttributeSingleRequestCopy := &_SetAttributeSingleRequest{ - m.CipServiceContract.DeepCopy().(CipServiceContract), + m.CipServiceContract.(*_CipService).deepCopy(), } m.CipServiceContract.(*_CipService)._SubType = m return _SetAttributeSingleRequestCopy diff --git a/plc4go/protocols/eip/readwrite/model/SetAttributeSingleResponse.go b/plc4go/protocols/eip/readwrite/model/SetAttributeSingleResponse.go index 92336d49e5..73cc9ffda4 100644 --- a/plc4go/protocols/eip/readwrite/model/SetAttributeSingleResponse.go +++ b/plc4go/protocols/eip/readwrite/model/SetAttributeSingleResponse.go @@ -165,7 +165,7 @@ func (m *_SetAttributeSingleResponse) deepCopy() *_SetAttributeSingleResponse { return nil } _SetAttributeSingleResponseCopy := &_SetAttributeSingleResponse{ - m.CipServiceContract.DeepCopy().(CipServiceContract), + m.CipServiceContract.(*_CipService).deepCopy(), } m.CipServiceContract.(*_CipService)._SubType = m return _SetAttributeSingleResponseCopy diff --git a/plc4go/protocols/eip/readwrite/model/TypeId.go b/plc4go/protocols/eip/readwrite/model/TypeId.go index c5b5a171e8..bd7bdd7de5 100644 --- a/plc4go/protocols/eip/readwrite/model/TypeId.go +++ b/plc4go/protocols/eip/readwrite/model/TypeId.go @@ -47,7 +47,6 @@ type TypeId interface { // TypeIdContract provides a set of functions which can be overwritten by a sub struct type TypeIdContract interface { - utils.Copyable // IsTypeId is a marker method to prevent unintentional type checks (interfaces of same signature) IsTypeId() } diff --git a/plc4go/protocols/eip/readwrite/model/UnConnectedDataItem.go b/plc4go/protocols/eip/readwrite/model/UnConnectedDataItem.go index 9533c228e7..410f9f0801 100644 --- a/plc4go/protocols/eip/readwrite/model/UnConnectedDataItem.go +++ b/plc4go/protocols/eip/readwrite/model/UnConnectedDataItem.go @@ -206,7 +206,7 @@ func (m *_UnConnectedDataItem) deepCopy() *_UnConnectedDataItem { return nil } _UnConnectedDataItemCopy := &_UnConnectedDataItem{ - m.TypeIdContract.DeepCopy().(TypeIdContract), + m.TypeIdContract.(*_TypeId).deepCopy(), m.Service.DeepCopy().(CipService), } m.TypeIdContract.(*_TypeId)._SubType = m diff --git a/plc4go/protocols/firmata/readwrite/model/FirmataCommand.go b/plc4go/protocols/firmata/readwrite/model/FirmataCommand.go index 2122b9caab..d54a4c7b67 100644 --- a/plc4go/protocols/firmata/readwrite/model/FirmataCommand.go +++ b/plc4go/protocols/firmata/readwrite/model/FirmataCommand.go @@ -47,7 +47,6 @@ type FirmataCommand interface { // FirmataCommandContract provides a set of functions which can be overwritten by a sub struct type FirmataCommandContract interface { - utils.Copyable // GetResponse() returns a parser argument GetResponse() bool // IsFirmataCommand is a marker method to prevent unintentional type checks (interfaces of same signature) diff --git a/plc4go/protocols/firmata/readwrite/model/FirmataCommandProtocolVersion.go b/plc4go/protocols/firmata/readwrite/model/FirmataCommandProtocolVersion.go index 57a253091f..71b20705fd 100644 --- a/plc4go/protocols/firmata/readwrite/model/FirmataCommandProtocolVersion.go +++ b/plc4go/protocols/firmata/readwrite/model/FirmataCommandProtocolVersion.go @@ -211,7 +211,7 @@ func (m *_FirmataCommandProtocolVersion) deepCopy() *_FirmataCommandProtocolVers return nil } _FirmataCommandProtocolVersionCopy := &_FirmataCommandProtocolVersion{ - m.FirmataCommandContract.DeepCopy().(FirmataCommandContract), + m.FirmataCommandContract.(*_FirmataCommand).deepCopy(), m.MajorVersion, m.MinorVersion, } diff --git a/plc4go/protocols/firmata/readwrite/model/FirmataCommandSetDigitalPinValue.go b/plc4go/protocols/firmata/readwrite/model/FirmataCommandSetDigitalPinValue.go index 5d6f5a8ccb..5291bd41a5 100644 --- a/plc4go/protocols/firmata/readwrite/model/FirmataCommandSetDigitalPinValue.go +++ b/plc4go/protocols/firmata/readwrite/model/FirmataCommandSetDigitalPinValue.go @@ -226,7 +226,7 @@ func (m *_FirmataCommandSetDigitalPinValue) deepCopy() *_FirmataCommandSetDigita return nil } _FirmataCommandSetDigitalPinValueCopy := &_FirmataCommandSetDigitalPinValue{ - m.FirmataCommandContract.DeepCopy().(FirmataCommandContract), + m.FirmataCommandContract.(*_FirmataCommand).deepCopy(), m.Pin, m.On, m.reservedField0, diff --git a/plc4go/protocols/firmata/readwrite/model/FirmataCommandSetPinMode.go b/plc4go/protocols/firmata/readwrite/model/FirmataCommandSetPinMode.go index 834719972d..0ce65b4b0a 100644 --- a/plc4go/protocols/firmata/readwrite/model/FirmataCommandSetPinMode.go +++ b/plc4go/protocols/firmata/readwrite/model/FirmataCommandSetPinMode.go @@ -211,7 +211,7 @@ func (m *_FirmataCommandSetPinMode) deepCopy() *_FirmataCommandSetPinMode { return nil } _FirmataCommandSetPinModeCopy := &_FirmataCommandSetPinMode{ - m.FirmataCommandContract.DeepCopy().(FirmataCommandContract), + m.FirmataCommandContract.(*_FirmataCommand).deepCopy(), m.Pin, m.Mode, } diff --git a/plc4go/protocols/firmata/readwrite/model/FirmataCommandSysex.go b/plc4go/protocols/firmata/readwrite/model/FirmataCommandSysex.go index deabb96efb..7c6a5bdf16 100644 --- a/plc4go/protocols/firmata/readwrite/model/FirmataCommandSysex.go +++ b/plc4go/protocols/firmata/readwrite/model/FirmataCommandSysex.go @@ -208,7 +208,7 @@ func (m *_FirmataCommandSysex) deepCopy() *_FirmataCommandSysex { return nil } _FirmataCommandSysexCopy := &_FirmataCommandSysex{ - m.FirmataCommandContract.DeepCopy().(FirmataCommandContract), + m.FirmataCommandContract.(*_FirmataCommand).deepCopy(), m.Command.DeepCopy().(SysexCommand), m.reservedField0, } diff --git a/plc4go/protocols/firmata/readwrite/model/FirmataCommandSystemReset.go b/plc4go/protocols/firmata/readwrite/model/FirmataCommandSystemReset.go index 934bdb4671..9e3ea0b276 100644 --- a/plc4go/protocols/firmata/readwrite/model/FirmataCommandSystemReset.go +++ b/plc4go/protocols/firmata/readwrite/model/FirmataCommandSystemReset.go @@ -157,7 +157,7 @@ func (m *_FirmataCommandSystemReset) deepCopy() *_FirmataCommandSystemReset { return nil } _FirmataCommandSystemResetCopy := &_FirmataCommandSystemReset{ - m.FirmataCommandContract.DeepCopy().(FirmataCommandContract), + m.FirmataCommandContract.(*_FirmataCommand).deepCopy(), } m.FirmataCommandContract.(*_FirmataCommand)._SubType = m return _FirmataCommandSystemResetCopy diff --git a/plc4go/protocols/firmata/readwrite/model/FirmataMessage.go b/plc4go/protocols/firmata/readwrite/model/FirmataMessage.go index f5e5a0e4a3..16c5fbfd74 100644 --- a/plc4go/protocols/firmata/readwrite/model/FirmataMessage.go +++ b/plc4go/protocols/firmata/readwrite/model/FirmataMessage.go @@ -49,7 +49,6 @@ type FirmataMessage interface { // FirmataMessageContract provides a set of functions which can be overwritten by a sub struct type FirmataMessageContract interface { - utils.Copyable // GetResponse() returns a parser argument GetResponse() bool // IsFirmataMessage is a marker method to prevent unintentional type checks (interfaces of same signature) diff --git a/plc4go/protocols/firmata/readwrite/model/FirmataMessageAnalogIO.go b/plc4go/protocols/firmata/readwrite/model/FirmataMessageAnalogIO.go index 75f47479d2..aeae6fff42 100644 --- a/plc4go/protocols/firmata/readwrite/model/FirmataMessageAnalogIO.go +++ b/plc4go/protocols/firmata/readwrite/model/FirmataMessageAnalogIO.go @@ -215,7 +215,7 @@ func (m *_FirmataMessageAnalogIO) deepCopy() *_FirmataMessageAnalogIO { return nil } _FirmataMessageAnalogIOCopy := &_FirmataMessageAnalogIO{ - m.FirmataMessageContract.DeepCopy().(FirmataMessageContract), + m.FirmataMessageContract.(*_FirmataMessage).deepCopy(), m.Pin, utils.DeepCopySlice[int8, int8](m.Data), } diff --git a/plc4go/protocols/firmata/readwrite/model/FirmataMessageCommand.go b/plc4go/protocols/firmata/readwrite/model/FirmataMessageCommand.go index eabc9a57b5..d55ad5c727 100644 --- a/plc4go/protocols/firmata/readwrite/model/FirmataMessageCommand.go +++ b/plc4go/protocols/firmata/readwrite/model/FirmataMessageCommand.go @@ -195,7 +195,7 @@ func (m *_FirmataMessageCommand) deepCopy() *_FirmataMessageCommand { return nil } _FirmataMessageCommandCopy := &_FirmataMessageCommand{ - m.FirmataMessageContract.DeepCopy().(FirmataMessageContract), + m.FirmataMessageContract.(*_FirmataMessage).deepCopy(), m.Command.DeepCopy().(FirmataCommand), } m.FirmataMessageContract.(*_FirmataMessage)._SubType = m diff --git a/plc4go/protocols/firmata/readwrite/model/FirmataMessageDigitalIO.go b/plc4go/protocols/firmata/readwrite/model/FirmataMessageDigitalIO.go index fd4e924c76..6cc9977b07 100644 --- a/plc4go/protocols/firmata/readwrite/model/FirmataMessageDigitalIO.go +++ b/plc4go/protocols/firmata/readwrite/model/FirmataMessageDigitalIO.go @@ -215,7 +215,7 @@ func (m *_FirmataMessageDigitalIO) deepCopy() *_FirmataMessageDigitalIO { return nil } _FirmataMessageDigitalIOCopy := &_FirmataMessageDigitalIO{ - m.FirmataMessageContract.DeepCopy().(FirmataMessageContract), + m.FirmataMessageContract.(*_FirmataMessage).deepCopy(), m.PinBlock, utils.DeepCopySlice[int8, int8](m.Data), } diff --git a/plc4go/protocols/firmata/readwrite/model/FirmataMessageSubscribeAnalogPinValue.go b/plc4go/protocols/firmata/readwrite/model/FirmataMessageSubscribeAnalogPinValue.go index b10160c4bb..2b765691f7 100644 --- a/plc4go/protocols/firmata/readwrite/model/FirmataMessageSubscribeAnalogPinValue.go +++ b/plc4go/protocols/firmata/readwrite/model/FirmataMessageSubscribeAnalogPinValue.go @@ -228,7 +228,7 @@ func (m *_FirmataMessageSubscribeAnalogPinValue) deepCopy() *_FirmataMessageSubs return nil } _FirmataMessageSubscribeAnalogPinValueCopy := &_FirmataMessageSubscribeAnalogPinValue{ - m.FirmataMessageContract.DeepCopy().(FirmataMessageContract), + m.FirmataMessageContract.(*_FirmataMessage).deepCopy(), m.Pin, m.Enable, m.reservedField0, diff --git a/plc4go/protocols/firmata/readwrite/model/FirmataMessageSubscribeDigitalPinValue.go b/plc4go/protocols/firmata/readwrite/model/FirmataMessageSubscribeDigitalPinValue.go index 529cf2a5ce..3f29c6bb57 100644 --- a/plc4go/protocols/firmata/readwrite/model/FirmataMessageSubscribeDigitalPinValue.go +++ b/plc4go/protocols/firmata/readwrite/model/FirmataMessageSubscribeDigitalPinValue.go @@ -228,7 +228,7 @@ func (m *_FirmataMessageSubscribeDigitalPinValue) deepCopy() *_FirmataMessageSub return nil } _FirmataMessageSubscribeDigitalPinValueCopy := &_FirmataMessageSubscribeDigitalPinValue{ - m.FirmataMessageContract.DeepCopy().(FirmataMessageContract), + m.FirmataMessageContract.(*_FirmataMessage).deepCopy(), m.Pin, m.Enable, m.reservedField0, diff --git a/plc4go/protocols/firmata/readwrite/model/SysexCommand.go b/plc4go/protocols/firmata/readwrite/model/SysexCommand.go index d5ed2ad6b0..e33ddb3450 100644 --- a/plc4go/protocols/firmata/readwrite/model/SysexCommand.go +++ b/plc4go/protocols/firmata/readwrite/model/SysexCommand.go @@ -47,7 +47,6 @@ type SysexCommand interface { // SysexCommandContract provides a set of functions which can be overwritten by a sub struct type SysexCommandContract interface { - utils.Copyable // IsSysexCommand is a marker method to prevent unintentional type checks (interfaces of same signature) IsSysexCommand() } diff --git a/plc4go/protocols/firmata/readwrite/model/SysexCommandAnalogMappingQueryRequest.go b/plc4go/protocols/firmata/readwrite/model/SysexCommandAnalogMappingQueryRequest.go index 404872b5ca..a780144e51 100644 --- a/plc4go/protocols/firmata/readwrite/model/SysexCommandAnalogMappingQueryRequest.go +++ b/plc4go/protocols/firmata/readwrite/model/SysexCommandAnalogMappingQueryRequest.go @@ -161,7 +161,7 @@ func (m *_SysexCommandAnalogMappingQueryRequest) deepCopy() *_SysexCommandAnalog return nil } _SysexCommandAnalogMappingQueryRequestCopy := &_SysexCommandAnalogMappingQueryRequest{ - m.SysexCommandContract.DeepCopy().(SysexCommandContract), + m.SysexCommandContract.(*_SysexCommand).deepCopy(), } m.SysexCommandContract.(*_SysexCommand)._SubType = m return _SysexCommandAnalogMappingQueryRequestCopy diff --git a/plc4go/protocols/firmata/readwrite/model/SysexCommandAnalogMappingQueryResponse.go b/plc4go/protocols/firmata/readwrite/model/SysexCommandAnalogMappingQueryResponse.go index b5f746a58d..746026ac5e 100644 --- a/plc4go/protocols/firmata/readwrite/model/SysexCommandAnalogMappingQueryResponse.go +++ b/plc4go/protocols/firmata/readwrite/model/SysexCommandAnalogMappingQueryResponse.go @@ -194,7 +194,7 @@ func (m *_SysexCommandAnalogMappingQueryResponse) deepCopy() *_SysexCommandAnalo return nil } _SysexCommandAnalogMappingQueryResponseCopy := &_SysexCommandAnalogMappingQueryResponse{ - m.SysexCommandContract.DeepCopy().(SysexCommandContract), + m.SysexCommandContract.(*_SysexCommand).deepCopy(), m.Pin, } m.SysexCommandContract.(*_SysexCommand)._SubType = m diff --git a/plc4go/protocols/firmata/readwrite/model/SysexCommandAnalogMappingResponse.go b/plc4go/protocols/firmata/readwrite/model/SysexCommandAnalogMappingResponse.go index 1a53de4b60..7ab4be3919 100644 --- a/plc4go/protocols/firmata/readwrite/model/SysexCommandAnalogMappingResponse.go +++ b/plc4go/protocols/firmata/readwrite/model/SysexCommandAnalogMappingResponse.go @@ -161,7 +161,7 @@ func (m *_SysexCommandAnalogMappingResponse) deepCopy() *_SysexCommandAnalogMapp return nil } _SysexCommandAnalogMappingResponseCopy := &_SysexCommandAnalogMappingResponse{ - m.SysexCommandContract.DeepCopy().(SysexCommandContract), + m.SysexCommandContract.(*_SysexCommand).deepCopy(), } m.SysexCommandContract.(*_SysexCommand)._SubType = m return _SysexCommandAnalogMappingResponseCopy diff --git a/plc4go/protocols/firmata/readwrite/model/SysexCommandCapabilityQuery.go b/plc4go/protocols/firmata/readwrite/model/SysexCommandCapabilityQuery.go index 02ec2fd246..70bf68fe3a 100644 --- a/plc4go/protocols/firmata/readwrite/model/SysexCommandCapabilityQuery.go +++ b/plc4go/protocols/firmata/readwrite/model/SysexCommandCapabilityQuery.go @@ -161,7 +161,7 @@ func (m *_SysexCommandCapabilityQuery) deepCopy() *_SysexCommandCapabilityQuery return nil } _SysexCommandCapabilityQueryCopy := &_SysexCommandCapabilityQuery{ - m.SysexCommandContract.DeepCopy().(SysexCommandContract), + m.SysexCommandContract.(*_SysexCommand).deepCopy(), } m.SysexCommandContract.(*_SysexCommand)._SubType = m return _SysexCommandCapabilityQueryCopy diff --git a/plc4go/protocols/firmata/readwrite/model/SysexCommandCapabilityResponse.go b/plc4go/protocols/firmata/readwrite/model/SysexCommandCapabilityResponse.go index d54b429eec..4f3413e783 100644 --- a/plc4go/protocols/firmata/readwrite/model/SysexCommandCapabilityResponse.go +++ b/plc4go/protocols/firmata/readwrite/model/SysexCommandCapabilityResponse.go @@ -161,7 +161,7 @@ func (m *_SysexCommandCapabilityResponse) deepCopy() *_SysexCommandCapabilityRes return nil } _SysexCommandCapabilityResponseCopy := &_SysexCommandCapabilityResponse{ - m.SysexCommandContract.DeepCopy().(SysexCommandContract), + m.SysexCommandContract.(*_SysexCommand).deepCopy(), } m.SysexCommandContract.(*_SysexCommand)._SubType = m return _SysexCommandCapabilityResponseCopy diff --git a/plc4go/protocols/firmata/readwrite/model/SysexCommandExtendedAnalog.go b/plc4go/protocols/firmata/readwrite/model/SysexCommandExtendedAnalog.go index c37c4849da..df0bde6b9e 100644 --- a/plc4go/protocols/firmata/readwrite/model/SysexCommandExtendedAnalog.go +++ b/plc4go/protocols/firmata/readwrite/model/SysexCommandExtendedAnalog.go @@ -161,7 +161,7 @@ func (m *_SysexCommandExtendedAnalog) deepCopy() *_SysexCommandExtendedAnalog { return nil } _SysexCommandExtendedAnalogCopy := &_SysexCommandExtendedAnalog{ - m.SysexCommandContract.DeepCopy().(SysexCommandContract), + m.SysexCommandContract.(*_SysexCommand).deepCopy(), } m.SysexCommandContract.(*_SysexCommand)._SubType = m return _SysexCommandExtendedAnalogCopy diff --git a/plc4go/protocols/firmata/readwrite/model/SysexCommandExtendedId.go b/plc4go/protocols/firmata/readwrite/model/SysexCommandExtendedId.go index b281c3c8bd..82a5047859 100644 --- a/plc4go/protocols/firmata/readwrite/model/SysexCommandExtendedId.go +++ b/plc4go/protocols/firmata/readwrite/model/SysexCommandExtendedId.go @@ -196,7 +196,7 @@ func (m *_SysexCommandExtendedId) deepCopy() *_SysexCommandExtendedId { return nil } _SysexCommandExtendedIdCopy := &_SysexCommandExtendedId{ - m.SysexCommandContract.DeepCopy().(SysexCommandContract), + m.SysexCommandContract.(*_SysexCommand).deepCopy(), utils.DeepCopySlice[int8, int8](m.Id), } m.SysexCommandContract.(*_SysexCommand)._SubType = m diff --git a/plc4go/protocols/firmata/readwrite/model/SysexCommandPinStateQuery.go b/plc4go/protocols/firmata/readwrite/model/SysexCommandPinStateQuery.go index 1486c7223a..4aee493583 100644 --- a/plc4go/protocols/firmata/readwrite/model/SysexCommandPinStateQuery.go +++ b/plc4go/protocols/firmata/readwrite/model/SysexCommandPinStateQuery.go @@ -194,7 +194,7 @@ func (m *_SysexCommandPinStateQuery) deepCopy() *_SysexCommandPinStateQuery { return nil } _SysexCommandPinStateQueryCopy := &_SysexCommandPinStateQuery{ - m.SysexCommandContract.DeepCopy().(SysexCommandContract), + m.SysexCommandContract.(*_SysexCommand).deepCopy(), m.Pin, } m.SysexCommandContract.(*_SysexCommand)._SubType = m diff --git a/plc4go/protocols/firmata/readwrite/model/SysexCommandPinStateResponse.go b/plc4go/protocols/firmata/readwrite/model/SysexCommandPinStateResponse.go index 0a5206a2a7..6f9c0d3935 100644 --- a/plc4go/protocols/firmata/readwrite/model/SysexCommandPinStateResponse.go +++ b/plc4go/protocols/firmata/readwrite/model/SysexCommandPinStateResponse.go @@ -236,7 +236,7 @@ func (m *_SysexCommandPinStateResponse) deepCopy() *_SysexCommandPinStateRespons return nil } _SysexCommandPinStateResponseCopy := &_SysexCommandPinStateResponse{ - m.SysexCommandContract.DeepCopy().(SysexCommandContract), + m.SysexCommandContract.(*_SysexCommand).deepCopy(), m.Pin, m.PinMode, m.PinState, diff --git a/plc4go/protocols/firmata/readwrite/model/SysexCommandReportFirmwareRequest.go b/plc4go/protocols/firmata/readwrite/model/SysexCommandReportFirmwareRequest.go index a5e44e3eb5..01cb809775 100644 --- a/plc4go/protocols/firmata/readwrite/model/SysexCommandReportFirmwareRequest.go +++ b/plc4go/protocols/firmata/readwrite/model/SysexCommandReportFirmwareRequest.go @@ -161,7 +161,7 @@ func (m *_SysexCommandReportFirmwareRequest) deepCopy() *_SysexCommandReportFirm return nil } _SysexCommandReportFirmwareRequestCopy := &_SysexCommandReportFirmwareRequest{ - m.SysexCommandContract.DeepCopy().(SysexCommandContract), + m.SysexCommandContract.(*_SysexCommand).deepCopy(), } m.SysexCommandContract.(*_SysexCommand)._SubType = m return _SysexCommandReportFirmwareRequestCopy diff --git a/plc4go/protocols/firmata/readwrite/model/SysexCommandReportFirmwareResponse.go b/plc4go/protocols/firmata/readwrite/model/SysexCommandReportFirmwareResponse.go index fc469ef147..e97462fccc 100644 --- a/plc4go/protocols/firmata/readwrite/model/SysexCommandReportFirmwareResponse.go +++ b/plc4go/protocols/firmata/readwrite/model/SysexCommandReportFirmwareResponse.go @@ -238,7 +238,7 @@ func (m *_SysexCommandReportFirmwareResponse) deepCopy() *_SysexCommandReportFir return nil } _SysexCommandReportFirmwareResponseCopy := &_SysexCommandReportFirmwareResponse{ - m.SysexCommandContract.DeepCopy().(SysexCommandContract), + m.SysexCommandContract.(*_SysexCommand).deepCopy(), m.MajorVersion, m.MinorVersion, utils.DeepCopySlice[byte, byte](m.FileName), diff --git a/plc4go/protocols/firmata/readwrite/model/SysexCommandSamplingInterval.go b/plc4go/protocols/firmata/readwrite/model/SysexCommandSamplingInterval.go index 9876922f6f..269b4f56cb 100644 --- a/plc4go/protocols/firmata/readwrite/model/SysexCommandSamplingInterval.go +++ b/plc4go/protocols/firmata/readwrite/model/SysexCommandSamplingInterval.go @@ -161,7 +161,7 @@ func (m *_SysexCommandSamplingInterval) deepCopy() *_SysexCommandSamplingInterva return nil } _SysexCommandSamplingIntervalCopy := &_SysexCommandSamplingInterval{ - m.SysexCommandContract.DeepCopy().(SysexCommandContract), + m.SysexCommandContract.(*_SysexCommand).deepCopy(), } m.SysexCommandContract.(*_SysexCommand)._SubType = m return _SysexCommandSamplingIntervalCopy diff --git a/plc4go/protocols/firmata/readwrite/model/SysexCommandStringData.go b/plc4go/protocols/firmata/readwrite/model/SysexCommandStringData.go index aaa7a4b9fb..3557e61010 100644 --- a/plc4go/protocols/firmata/readwrite/model/SysexCommandStringData.go +++ b/plc4go/protocols/firmata/readwrite/model/SysexCommandStringData.go @@ -161,7 +161,7 @@ func (m *_SysexCommandStringData) deepCopy() *_SysexCommandStringData { return nil } _SysexCommandStringDataCopy := &_SysexCommandStringData{ - m.SysexCommandContract.DeepCopy().(SysexCommandContract), + m.SysexCommandContract.(*_SysexCommand).deepCopy(), } m.SysexCommandContract.(*_SysexCommand)._SubType = m return _SysexCommandStringDataCopy diff --git a/plc4go/protocols/firmata/readwrite/model/SysexCommandSysexNonRealtime.go b/plc4go/protocols/firmata/readwrite/model/SysexCommandSysexNonRealtime.go index 446b71f333..f5774f29e4 100644 --- a/plc4go/protocols/firmata/readwrite/model/SysexCommandSysexNonRealtime.go +++ b/plc4go/protocols/firmata/readwrite/model/SysexCommandSysexNonRealtime.go @@ -161,7 +161,7 @@ func (m *_SysexCommandSysexNonRealtime) deepCopy() *_SysexCommandSysexNonRealtim return nil } _SysexCommandSysexNonRealtimeCopy := &_SysexCommandSysexNonRealtime{ - m.SysexCommandContract.DeepCopy().(SysexCommandContract), + m.SysexCommandContract.(*_SysexCommand).deepCopy(), } m.SysexCommandContract.(*_SysexCommand)._SubType = m return _SysexCommandSysexNonRealtimeCopy diff --git a/plc4go/protocols/firmata/readwrite/model/SysexCommandSysexRealtime.go b/plc4go/protocols/firmata/readwrite/model/SysexCommandSysexRealtime.go index 71ac1707fe..1b41ef0831 100644 --- a/plc4go/protocols/firmata/readwrite/model/SysexCommandSysexRealtime.go +++ b/plc4go/protocols/firmata/readwrite/model/SysexCommandSysexRealtime.go @@ -161,7 +161,7 @@ func (m *_SysexCommandSysexRealtime) deepCopy() *_SysexCommandSysexRealtime { return nil } _SysexCommandSysexRealtimeCopy := &_SysexCommandSysexRealtime{ - m.SysexCommandContract.DeepCopy().(SysexCommandContract), + m.SysexCommandContract.(*_SysexCommand).deepCopy(), } m.SysexCommandContract.(*_SysexCommand)._SubType = m return _SysexCommandSysexRealtimeCopy diff --git a/plc4go/protocols/knxnetip/readwrite/model/Apdu.go b/plc4go/protocols/knxnetip/readwrite/model/Apdu.go index 76cbf38bc8..bbe87b38bc 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/Apdu.go +++ b/plc4go/protocols/knxnetip/readwrite/model/Apdu.go @@ -47,7 +47,6 @@ type Apdu interface { // ApduContract provides a set of functions which can be overwritten by a sub struct type ApduContract interface { - utils.Copyable // GetNumbered returns Numbered (property field) GetNumbered() bool // GetCounter returns Counter (property field) diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduControl.go b/plc4go/protocols/knxnetip/readwrite/model/ApduControl.go index ba8598a84f..c2339a5dde 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduControl.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduControl.go @@ -47,7 +47,6 @@ type ApduControl interface { // ApduControlContract provides a set of functions which can be overwritten by a sub struct type ApduControlContract interface { - utils.Copyable // IsApduControl is a marker method to prevent unintentional type checks (interfaces of same signature) IsApduControl() } diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduControlAck.go b/plc4go/protocols/knxnetip/readwrite/model/ApduControlAck.go index d7cf9911f8..23b9e63824 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduControlAck.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduControlAck.go @@ -157,7 +157,7 @@ func (m *_ApduControlAck) deepCopy() *_ApduControlAck { return nil } _ApduControlAckCopy := &_ApduControlAck{ - m.ApduControlContract.DeepCopy().(ApduControlContract), + m.ApduControlContract.(*_ApduControl).deepCopy(), } m.ApduControlContract.(*_ApduControl)._SubType = m return _ApduControlAckCopy diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduControlConnect.go b/plc4go/protocols/knxnetip/readwrite/model/ApduControlConnect.go index 07d6e21936..aa35c60857 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduControlConnect.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduControlConnect.go @@ -157,7 +157,7 @@ func (m *_ApduControlConnect) deepCopy() *_ApduControlConnect { return nil } _ApduControlConnectCopy := &_ApduControlConnect{ - m.ApduControlContract.DeepCopy().(ApduControlContract), + m.ApduControlContract.(*_ApduControl).deepCopy(), } m.ApduControlContract.(*_ApduControl)._SubType = m return _ApduControlConnectCopy diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduControlContainer.go b/plc4go/protocols/knxnetip/readwrite/model/ApduControlContainer.go index 0b31be283e..ff96346cd9 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduControlContainer.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduControlContainer.go @@ -193,7 +193,7 @@ func (m *_ApduControlContainer) deepCopy() *_ApduControlContainer { return nil } _ApduControlContainerCopy := &_ApduControlContainer{ - m.ApduContract.DeepCopy().(ApduContract), + m.ApduContract.(*_Apdu).deepCopy(), m.ControlApdu.DeepCopy().(ApduControl), } m.ApduContract.(*_Apdu)._SubType = m diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduControlDisconnect.go b/plc4go/protocols/knxnetip/readwrite/model/ApduControlDisconnect.go index f6c7d1b585..ab29c2463d 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduControlDisconnect.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduControlDisconnect.go @@ -157,7 +157,7 @@ func (m *_ApduControlDisconnect) deepCopy() *_ApduControlDisconnect { return nil } _ApduControlDisconnectCopy := &_ApduControlDisconnect{ - m.ApduControlContract.DeepCopy().(ApduControlContract), + m.ApduControlContract.(*_ApduControl).deepCopy(), } m.ApduControlContract.(*_ApduControl)._SubType = m return _ApduControlDisconnectCopy diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduControlNack.go b/plc4go/protocols/knxnetip/readwrite/model/ApduControlNack.go index f06ea11874..0628280542 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduControlNack.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduControlNack.go @@ -157,7 +157,7 @@ func (m *_ApduControlNack) deepCopy() *_ApduControlNack { return nil } _ApduControlNackCopy := &_ApduControlNack{ - m.ApduControlContract.DeepCopy().(ApduControlContract), + m.ApduControlContract.(*_ApduControl).deepCopy(), } m.ApduControlContract.(*_ApduControl)._SubType = m return _ApduControlNackCopy diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduData.go b/plc4go/protocols/knxnetip/readwrite/model/ApduData.go index dcb0e5c934..5e90af8087 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduData.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduData.go @@ -47,7 +47,6 @@ type ApduData interface { // ApduDataContract provides a set of functions which can be overwritten by a sub struct type ApduDataContract interface { - utils.Copyable // GetDataLength() returns a parser argument GetDataLength() uint8 // IsApduData is a marker method to prevent unintentional type checks (interfaces of same signature) diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataAdcRead.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataAdcRead.go index 8e86b4a94a..8f533fa7e9 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataAdcRead.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataAdcRead.go @@ -157,7 +157,7 @@ func (m *_ApduDataAdcRead) deepCopy() *_ApduDataAdcRead { return nil } _ApduDataAdcReadCopy := &_ApduDataAdcRead{ - m.ApduDataContract.DeepCopy().(ApduDataContract), + m.ApduDataContract.(*_ApduData).deepCopy(), } m.ApduDataContract.(*_ApduData)._SubType = m return _ApduDataAdcReadCopy diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataAdcResponse.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataAdcResponse.go index e01654b54f..d2469d3850 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataAdcResponse.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataAdcResponse.go @@ -157,7 +157,7 @@ func (m *_ApduDataAdcResponse) deepCopy() *_ApduDataAdcResponse { return nil } _ApduDataAdcResponseCopy := &_ApduDataAdcResponse{ - m.ApduDataContract.DeepCopy().(ApduDataContract), + m.ApduDataContract.(*_ApduData).deepCopy(), } m.ApduDataContract.(*_ApduData)._SubType = m return _ApduDataAdcResponseCopy diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataContainer.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataContainer.go index d9d5411a5d..0e1f2cae4b 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataContainer.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataContainer.go @@ -193,7 +193,7 @@ func (m *_ApduDataContainer) deepCopy() *_ApduDataContainer { return nil } _ApduDataContainerCopy := &_ApduDataContainer{ - m.ApduContract.DeepCopy().(ApduContract), + m.ApduContract.(*_Apdu).deepCopy(), m.DataApdu.DeepCopy().(ApduData), } m.ApduContract.(*_Apdu)._SubType = m diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataDeviceDescriptorRead.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataDeviceDescriptorRead.go index 36c19c5a89..d5ee197406 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataDeviceDescriptorRead.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataDeviceDescriptorRead.go @@ -190,7 +190,7 @@ func (m *_ApduDataDeviceDescriptorRead) deepCopy() *_ApduDataDeviceDescriptorRea return nil } _ApduDataDeviceDescriptorReadCopy := &_ApduDataDeviceDescriptorRead{ - m.ApduDataContract.DeepCopy().(ApduDataContract), + m.ApduDataContract.(*_ApduData).deepCopy(), m.DescriptorType, } m.ApduDataContract.(*_ApduData)._SubType = m diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataDeviceDescriptorResponse.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataDeviceDescriptorResponse.go index fc507f1b36..6f870f5954 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataDeviceDescriptorResponse.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataDeviceDescriptorResponse.go @@ -213,7 +213,7 @@ func (m *_ApduDataDeviceDescriptorResponse) deepCopy() *_ApduDataDeviceDescripto return nil } _ApduDataDeviceDescriptorResponseCopy := &_ApduDataDeviceDescriptorResponse{ - m.ApduDataContract.DeepCopy().(ApduDataContract), + m.ApduDataContract.(*_ApduData).deepCopy(), m.DescriptorType, utils.DeepCopySlice[byte, byte](m.Data), } diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExt.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExt.go index d75a31f415..b6433b9972 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExt.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExt.go @@ -47,7 +47,6 @@ type ApduDataExt interface { // ApduDataExtContract provides a set of functions which can be overwritten by a sub struct type ApduDataExtContract interface { - utils.Copyable // GetLength() returns a parser argument GetLength() uint8 // IsApduDataExt is a marker method to prevent unintentional type checks (interfaces of same signature) diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtAuthorizeRequest.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtAuthorizeRequest.go index 9ab8a1490c..a8ce79e7a0 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtAuthorizeRequest.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtAuthorizeRequest.go @@ -213,7 +213,7 @@ func (m *_ApduDataExtAuthorizeRequest) deepCopy() *_ApduDataExtAuthorizeRequest return nil } _ApduDataExtAuthorizeRequestCopy := &_ApduDataExtAuthorizeRequest{ - m.ApduDataExtContract.DeepCopy().(ApduDataExtContract), + m.ApduDataExtContract.(*_ApduDataExt).deepCopy(), m.Level, utils.DeepCopySlice[byte, byte](m.Data), } diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtAuthorizeResponse.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtAuthorizeResponse.go index a348ccf6e5..bc93445450 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtAuthorizeResponse.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtAuthorizeResponse.go @@ -190,7 +190,7 @@ func (m *_ApduDataExtAuthorizeResponse) deepCopy() *_ApduDataExtAuthorizeRespons return nil } _ApduDataExtAuthorizeResponseCopy := &_ApduDataExtAuthorizeResponse{ - m.ApduDataExtContract.DeepCopy().(ApduDataExtContract), + m.ApduDataExtContract.(*_ApduDataExt).deepCopy(), m.Level, } m.ApduDataExtContract.(*_ApduDataExt)._SubType = m diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtDomainAddressRead.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtDomainAddressRead.go index 7ca7f75a18..abe77b072c 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtDomainAddressRead.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtDomainAddressRead.go @@ -157,7 +157,7 @@ func (m *_ApduDataExtDomainAddressRead) deepCopy() *_ApduDataExtDomainAddressRea return nil } _ApduDataExtDomainAddressReadCopy := &_ApduDataExtDomainAddressRead{ - m.ApduDataExtContract.DeepCopy().(ApduDataExtContract), + m.ApduDataExtContract.(*_ApduDataExt).deepCopy(), } m.ApduDataExtContract.(*_ApduDataExt)._SubType = m return _ApduDataExtDomainAddressReadCopy diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtDomainAddressResponse.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtDomainAddressResponse.go index 0f47ae0995..5b9aedc2b9 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtDomainAddressResponse.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtDomainAddressResponse.go @@ -157,7 +157,7 @@ func (m *_ApduDataExtDomainAddressResponse) deepCopy() *_ApduDataExtDomainAddres return nil } _ApduDataExtDomainAddressResponseCopy := &_ApduDataExtDomainAddressResponse{ - m.ApduDataExtContract.DeepCopy().(ApduDataExtContract), + m.ApduDataExtContract.(*_ApduDataExt).deepCopy(), } m.ApduDataExtContract.(*_ApduDataExt)._SubType = m return _ApduDataExtDomainAddressResponseCopy diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtDomainAddressSelectiveRead.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtDomainAddressSelectiveRead.go index ab670f39a8..e3f16a0fea 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtDomainAddressSelectiveRead.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtDomainAddressSelectiveRead.go @@ -157,7 +157,7 @@ func (m *_ApduDataExtDomainAddressSelectiveRead) deepCopy() *_ApduDataExtDomainA return nil } _ApduDataExtDomainAddressSelectiveReadCopy := &_ApduDataExtDomainAddressSelectiveRead{ - m.ApduDataExtContract.DeepCopy().(ApduDataExtContract), + m.ApduDataExtContract.(*_ApduDataExt).deepCopy(), } m.ApduDataExtContract.(*_ApduDataExt)._SubType = m return _ApduDataExtDomainAddressSelectiveReadCopy diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtDomainAddressSerialNumberRead.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtDomainAddressSerialNumberRead.go index 363e9f4646..146f4a4944 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtDomainAddressSerialNumberRead.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtDomainAddressSerialNumberRead.go @@ -157,7 +157,7 @@ func (m *_ApduDataExtDomainAddressSerialNumberRead) deepCopy() *_ApduDataExtDoma return nil } _ApduDataExtDomainAddressSerialNumberReadCopy := &_ApduDataExtDomainAddressSerialNumberRead{ - m.ApduDataExtContract.DeepCopy().(ApduDataExtContract), + m.ApduDataExtContract.(*_ApduDataExt).deepCopy(), } m.ApduDataExtContract.(*_ApduDataExt)._SubType = m return _ApduDataExtDomainAddressSerialNumberReadCopy diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtDomainAddressSerialNumberResponse.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtDomainAddressSerialNumberResponse.go index 17ae9eeee5..317744e709 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtDomainAddressSerialNumberResponse.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtDomainAddressSerialNumberResponse.go @@ -158,7 +158,7 @@ func (m *_ApduDataExtDomainAddressSerialNumberResponse) deepCopy() *_ApduDataExt return nil } _ApduDataExtDomainAddressSerialNumberResponseCopy := &_ApduDataExtDomainAddressSerialNumberResponse{ - m.ApduDataExtContract.DeepCopy().(ApduDataExtContract), + m.ApduDataExtContract.(*_ApduDataExt).deepCopy(), } m.ApduDataExtContract.(*_ApduDataExt)._SubType = m return _ApduDataExtDomainAddressSerialNumberResponseCopy diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtDomainAddressSerialNumberWrite.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtDomainAddressSerialNumberWrite.go index a9c928f82d..60ed90d62d 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtDomainAddressSerialNumberWrite.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtDomainAddressSerialNumberWrite.go @@ -157,7 +157,7 @@ func (m *_ApduDataExtDomainAddressSerialNumberWrite) deepCopy() *_ApduDataExtDom return nil } _ApduDataExtDomainAddressSerialNumberWriteCopy := &_ApduDataExtDomainAddressSerialNumberWrite{ - m.ApduDataExtContract.DeepCopy().(ApduDataExtContract), + m.ApduDataExtContract.(*_ApduDataExt).deepCopy(), } m.ApduDataExtContract.(*_ApduDataExt)._SubType = m return _ApduDataExtDomainAddressSerialNumberWriteCopy diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtDomainAddressWrite.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtDomainAddressWrite.go index a511569e5b..437845c008 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtDomainAddressWrite.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtDomainAddressWrite.go @@ -157,7 +157,7 @@ func (m *_ApduDataExtDomainAddressWrite) deepCopy() *_ApduDataExtDomainAddressWr return nil } _ApduDataExtDomainAddressWriteCopy := &_ApduDataExtDomainAddressWrite{ - m.ApduDataExtContract.DeepCopy().(ApduDataExtContract), + m.ApduDataExtContract.(*_ApduDataExt).deepCopy(), } m.ApduDataExtContract.(*_ApduDataExt)._SubType = m return _ApduDataExtDomainAddressWriteCopy diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtFileStreamInfoReport.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtFileStreamInfoReport.go index 05c20869f9..40178e1f5e 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtFileStreamInfoReport.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtFileStreamInfoReport.go @@ -157,7 +157,7 @@ func (m *_ApduDataExtFileStreamInfoReport) deepCopy() *_ApduDataExtFileStreamInf return nil } _ApduDataExtFileStreamInfoReportCopy := &_ApduDataExtFileStreamInfoReport{ - m.ApduDataExtContract.DeepCopy().(ApduDataExtContract), + m.ApduDataExtContract.(*_ApduDataExt).deepCopy(), } m.ApduDataExtContract.(*_ApduDataExt)._SubType = m return _ApduDataExtFileStreamInfoReportCopy diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtGroupPropertyValueInfoReport.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtGroupPropertyValueInfoReport.go index fd5eb81836..469b6fa6fe 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtGroupPropertyValueInfoReport.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtGroupPropertyValueInfoReport.go @@ -157,7 +157,7 @@ func (m *_ApduDataExtGroupPropertyValueInfoReport) deepCopy() *_ApduDataExtGroup return nil } _ApduDataExtGroupPropertyValueInfoReportCopy := &_ApduDataExtGroupPropertyValueInfoReport{ - m.ApduDataExtContract.DeepCopy().(ApduDataExtContract), + m.ApduDataExtContract.(*_ApduDataExt).deepCopy(), } m.ApduDataExtContract.(*_ApduDataExt)._SubType = m return _ApduDataExtGroupPropertyValueInfoReportCopy diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtGroupPropertyValueRead.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtGroupPropertyValueRead.go index 6c2ca1c38b..093ffc1839 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtGroupPropertyValueRead.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtGroupPropertyValueRead.go @@ -157,7 +157,7 @@ func (m *_ApduDataExtGroupPropertyValueRead) deepCopy() *_ApduDataExtGroupProper return nil } _ApduDataExtGroupPropertyValueReadCopy := &_ApduDataExtGroupPropertyValueRead{ - m.ApduDataExtContract.DeepCopy().(ApduDataExtContract), + m.ApduDataExtContract.(*_ApduDataExt).deepCopy(), } m.ApduDataExtContract.(*_ApduDataExt)._SubType = m return _ApduDataExtGroupPropertyValueReadCopy diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtGroupPropertyValueResponse.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtGroupPropertyValueResponse.go index 23765716c2..12bd5e05ff 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtGroupPropertyValueResponse.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtGroupPropertyValueResponse.go @@ -157,7 +157,7 @@ func (m *_ApduDataExtGroupPropertyValueResponse) deepCopy() *_ApduDataExtGroupPr return nil } _ApduDataExtGroupPropertyValueResponseCopy := &_ApduDataExtGroupPropertyValueResponse{ - m.ApduDataExtContract.DeepCopy().(ApduDataExtContract), + m.ApduDataExtContract.(*_ApduDataExt).deepCopy(), } m.ApduDataExtContract.(*_ApduDataExt)._SubType = m return _ApduDataExtGroupPropertyValueResponseCopy diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtGroupPropertyValueWrite.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtGroupPropertyValueWrite.go index 1b96f3d390..d4abfa7f36 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtGroupPropertyValueWrite.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtGroupPropertyValueWrite.go @@ -157,7 +157,7 @@ func (m *_ApduDataExtGroupPropertyValueWrite) deepCopy() *_ApduDataExtGroupPrope return nil } _ApduDataExtGroupPropertyValueWriteCopy := &_ApduDataExtGroupPropertyValueWrite{ - m.ApduDataExtContract.DeepCopy().(ApduDataExtContract), + m.ApduDataExtContract.(*_ApduDataExt).deepCopy(), } m.ApduDataExtContract.(*_ApduDataExt)._SubType = m return _ApduDataExtGroupPropertyValueWriteCopy diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtIndividualAddressSerialNumberRead.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtIndividualAddressSerialNumberRead.go index 8fb512d4fd..0189a861b7 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtIndividualAddressSerialNumberRead.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtIndividualAddressSerialNumberRead.go @@ -158,7 +158,7 @@ func (m *_ApduDataExtIndividualAddressSerialNumberRead) deepCopy() *_ApduDataExt return nil } _ApduDataExtIndividualAddressSerialNumberReadCopy := &_ApduDataExtIndividualAddressSerialNumberRead{ - m.ApduDataExtContract.DeepCopy().(ApduDataExtContract), + m.ApduDataExtContract.(*_ApduDataExt).deepCopy(), } m.ApduDataExtContract.(*_ApduDataExt)._SubType = m return _ApduDataExtIndividualAddressSerialNumberReadCopy diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtIndividualAddressSerialNumberResponse.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtIndividualAddressSerialNumberResponse.go index 366ff8b827..8d3a05fbb2 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtIndividualAddressSerialNumberResponse.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtIndividualAddressSerialNumberResponse.go @@ -158,7 +158,7 @@ func (m *_ApduDataExtIndividualAddressSerialNumberResponse) deepCopy() *_ApduDat return nil } _ApduDataExtIndividualAddressSerialNumberResponseCopy := &_ApduDataExtIndividualAddressSerialNumberResponse{ - m.ApduDataExtContract.DeepCopy().(ApduDataExtContract), + m.ApduDataExtContract.(*_ApduDataExt).deepCopy(), } m.ApduDataExtContract.(*_ApduDataExt)._SubType = m return _ApduDataExtIndividualAddressSerialNumberResponseCopy diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtIndividualAddressSerialNumberWrite.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtIndividualAddressSerialNumberWrite.go index 218aa48c44..53068d240e 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtIndividualAddressSerialNumberWrite.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtIndividualAddressSerialNumberWrite.go @@ -158,7 +158,7 @@ func (m *_ApduDataExtIndividualAddressSerialNumberWrite) deepCopy() *_ApduDataEx return nil } _ApduDataExtIndividualAddressSerialNumberWriteCopy := &_ApduDataExtIndividualAddressSerialNumberWrite{ - m.ApduDataExtContract.DeepCopy().(ApduDataExtContract), + m.ApduDataExtContract.(*_ApduDataExt).deepCopy(), } m.ApduDataExtContract.(*_ApduDataExt)._SubType = m return _ApduDataExtIndividualAddressSerialNumberWriteCopy diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtKeyResponse.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtKeyResponse.go index 3a458e3fc9..ae1e39018b 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtKeyResponse.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtKeyResponse.go @@ -157,7 +157,7 @@ func (m *_ApduDataExtKeyResponse) deepCopy() *_ApduDataExtKeyResponse { return nil } _ApduDataExtKeyResponseCopy := &_ApduDataExtKeyResponse{ - m.ApduDataExtContract.DeepCopy().(ApduDataExtContract), + m.ApduDataExtContract.(*_ApduDataExt).deepCopy(), } m.ApduDataExtContract.(*_ApduDataExt)._SubType = m return _ApduDataExtKeyResponseCopy diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtKeyWrite.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtKeyWrite.go index e98c01209d..0cc05f1fcf 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtKeyWrite.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtKeyWrite.go @@ -157,7 +157,7 @@ func (m *_ApduDataExtKeyWrite) deepCopy() *_ApduDataExtKeyWrite { return nil } _ApduDataExtKeyWriteCopy := &_ApduDataExtKeyWrite{ - m.ApduDataExtContract.DeepCopy().(ApduDataExtContract), + m.ApduDataExtContract.(*_ApduDataExt).deepCopy(), } m.ApduDataExtContract.(*_ApduDataExt)._SubType = m return _ApduDataExtKeyWriteCopy diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtLinkRead.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtLinkRead.go index d3f182104a..771426ec88 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtLinkRead.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtLinkRead.go @@ -157,7 +157,7 @@ func (m *_ApduDataExtLinkRead) deepCopy() *_ApduDataExtLinkRead { return nil } _ApduDataExtLinkReadCopy := &_ApduDataExtLinkRead{ - m.ApduDataExtContract.DeepCopy().(ApduDataExtContract), + m.ApduDataExtContract.(*_ApduDataExt).deepCopy(), } m.ApduDataExtContract.(*_ApduDataExt)._SubType = m return _ApduDataExtLinkReadCopy diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtLinkResponse.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtLinkResponse.go index 0315b06d5d..af8cdbbb85 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtLinkResponse.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtLinkResponse.go @@ -157,7 +157,7 @@ func (m *_ApduDataExtLinkResponse) deepCopy() *_ApduDataExtLinkResponse { return nil } _ApduDataExtLinkResponseCopy := &_ApduDataExtLinkResponse{ - m.ApduDataExtContract.DeepCopy().(ApduDataExtContract), + m.ApduDataExtContract.(*_ApduDataExt).deepCopy(), } m.ApduDataExtContract.(*_ApduDataExt)._SubType = m return _ApduDataExtLinkResponseCopy diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtLinkWrite.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtLinkWrite.go index 9f420077b6..befe691819 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtLinkWrite.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtLinkWrite.go @@ -157,7 +157,7 @@ func (m *_ApduDataExtLinkWrite) deepCopy() *_ApduDataExtLinkWrite { return nil } _ApduDataExtLinkWriteCopy := &_ApduDataExtLinkWrite{ - m.ApduDataExtContract.DeepCopy().(ApduDataExtContract), + m.ApduDataExtContract.(*_ApduDataExt).deepCopy(), } m.ApduDataExtContract.(*_ApduDataExt)._SubType = m return _ApduDataExtLinkWriteCopy diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtMemoryBitWrite.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtMemoryBitWrite.go index a641aec28e..03fd2d156e 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtMemoryBitWrite.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtMemoryBitWrite.go @@ -157,7 +157,7 @@ func (m *_ApduDataExtMemoryBitWrite) deepCopy() *_ApduDataExtMemoryBitWrite { return nil } _ApduDataExtMemoryBitWriteCopy := &_ApduDataExtMemoryBitWrite{ - m.ApduDataExtContract.DeepCopy().(ApduDataExtContract), + m.ApduDataExtContract.(*_ApduDataExt).deepCopy(), } m.ApduDataExtContract.(*_ApduDataExt)._SubType = m return _ApduDataExtMemoryBitWriteCopy diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtNetworkParameterRead.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtNetworkParameterRead.go index 656fa8b25d..5ca14c17b6 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtNetworkParameterRead.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtNetworkParameterRead.go @@ -157,7 +157,7 @@ func (m *_ApduDataExtNetworkParameterRead) deepCopy() *_ApduDataExtNetworkParame return nil } _ApduDataExtNetworkParameterReadCopy := &_ApduDataExtNetworkParameterRead{ - m.ApduDataExtContract.DeepCopy().(ApduDataExtContract), + m.ApduDataExtContract.(*_ApduDataExt).deepCopy(), } m.ApduDataExtContract.(*_ApduDataExt)._SubType = m return _ApduDataExtNetworkParameterReadCopy diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtNetworkParameterResponse.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtNetworkParameterResponse.go index 44187142fc..765066f3ef 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtNetworkParameterResponse.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtNetworkParameterResponse.go @@ -157,7 +157,7 @@ func (m *_ApduDataExtNetworkParameterResponse) deepCopy() *_ApduDataExtNetworkPa return nil } _ApduDataExtNetworkParameterResponseCopy := &_ApduDataExtNetworkParameterResponse{ - m.ApduDataExtContract.DeepCopy().(ApduDataExtContract), + m.ApduDataExtContract.(*_ApduDataExt).deepCopy(), } m.ApduDataExtContract.(*_ApduDataExt)._SubType = m return _ApduDataExtNetworkParameterResponseCopy diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtNetworkParameterWrite.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtNetworkParameterWrite.go index d3ef214bf7..5dce3f5163 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtNetworkParameterWrite.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtNetworkParameterWrite.go @@ -157,7 +157,7 @@ func (m *_ApduDataExtNetworkParameterWrite) deepCopy() *_ApduDataExtNetworkParam return nil } _ApduDataExtNetworkParameterWriteCopy := &_ApduDataExtNetworkParameterWrite{ - m.ApduDataExtContract.DeepCopy().(ApduDataExtContract), + m.ApduDataExtContract.(*_ApduDataExt).deepCopy(), } m.ApduDataExtContract.(*_ApduDataExt)._SubType = m return _ApduDataExtNetworkParameterWriteCopy diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtOpenRoutingTableRequest.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtOpenRoutingTableRequest.go index d8fcf37bd2..d9e9b244b6 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtOpenRoutingTableRequest.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtOpenRoutingTableRequest.go @@ -157,7 +157,7 @@ func (m *_ApduDataExtOpenRoutingTableRequest) deepCopy() *_ApduDataExtOpenRoutin return nil } _ApduDataExtOpenRoutingTableRequestCopy := &_ApduDataExtOpenRoutingTableRequest{ - m.ApduDataExtContract.DeepCopy().(ApduDataExtContract), + m.ApduDataExtContract.(*_ApduDataExt).deepCopy(), } m.ApduDataExtContract.(*_ApduDataExt)._SubType = m return _ApduDataExtOpenRoutingTableRequestCopy diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtPropertyDescriptionRead.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtPropertyDescriptionRead.go index e98037a3d1..5b2c0da101 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtPropertyDescriptionRead.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtPropertyDescriptionRead.go @@ -232,7 +232,7 @@ func (m *_ApduDataExtPropertyDescriptionRead) deepCopy() *_ApduDataExtPropertyDe return nil } _ApduDataExtPropertyDescriptionReadCopy := &_ApduDataExtPropertyDescriptionRead{ - m.ApduDataExtContract.DeepCopy().(ApduDataExtContract), + m.ApduDataExtContract.(*_ApduDataExt).deepCopy(), m.ObjectIndex, m.PropertyId, m.Index, diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtPropertyDescriptionResponse.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtPropertyDescriptionResponse.go index c6ae30a824..51b46d336a 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtPropertyDescriptionResponse.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtPropertyDescriptionResponse.go @@ -366,7 +366,7 @@ func (m *_ApduDataExtPropertyDescriptionResponse) deepCopy() *_ApduDataExtProper return nil } _ApduDataExtPropertyDescriptionResponseCopy := &_ApduDataExtPropertyDescriptionResponse{ - m.ApduDataExtContract.DeepCopy().(ApduDataExtContract), + m.ApduDataExtContract.(*_ApduDataExt).deepCopy(), m.ObjectIndex, m.PropertyId, m.Index, diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtPropertyValueRead.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtPropertyValueRead.go index 400a490053..164649d93d 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtPropertyValueRead.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtPropertyValueRead.go @@ -253,7 +253,7 @@ func (m *_ApduDataExtPropertyValueRead) deepCopy() *_ApduDataExtPropertyValueRea return nil } _ApduDataExtPropertyValueReadCopy := &_ApduDataExtPropertyValueRead{ - m.ApduDataExtContract.DeepCopy().(ApduDataExtContract), + m.ApduDataExtContract.(*_ApduDataExt).deepCopy(), m.ObjectIndex, m.PropertyId, m.Count, diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtPropertyValueResponse.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtPropertyValueResponse.go index 4c975d1425..967f3f528d 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtPropertyValueResponse.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtPropertyValueResponse.go @@ -276,7 +276,7 @@ func (m *_ApduDataExtPropertyValueResponse) deepCopy() *_ApduDataExtPropertyValu return nil } _ApduDataExtPropertyValueResponseCopy := &_ApduDataExtPropertyValueResponse{ - m.ApduDataExtContract.DeepCopy().(ApduDataExtContract), + m.ApduDataExtContract.(*_ApduDataExt).deepCopy(), m.ObjectIndex, m.PropertyId, m.Count, diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtPropertyValueWrite.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtPropertyValueWrite.go index 2fd0ee3477..7f5b3f7104 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtPropertyValueWrite.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtPropertyValueWrite.go @@ -276,7 +276,7 @@ func (m *_ApduDataExtPropertyValueWrite) deepCopy() *_ApduDataExtPropertyValueWr return nil } _ApduDataExtPropertyValueWriteCopy := &_ApduDataExtPropertyValueWrite{ - m.ApduDataExtContract.DeepCopy().(ApduDataExtContract), + m.ApduDataExtContract.(*_ApduDataExt).deepCopy(), m.ObjectIndex, m.PropertyId, m.Count, diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtReadRouterMemoryRequest.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtReadRouterMemoryRequest.go index 9ce25d9474..eb9f03ac63 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtReadRouterMemoryRequest.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtReadRouterMemoryRequest.go @@ -157,7 +157,7 @@ func (m *_ApduDataExtReadRouterMemoryRequest) deepCopy() *_ApduDataExtReadRouter return nil } _ApduDataExtReadRouterMemoryRequestCopy := &_ApduDataExtReadRouterMemoryRequest{ - m.ApduDataExtContract.DeepCopy().(ApduDataExtContract), + m.ApduDataExtContract.(*_ApduDataExt).deepCopy(), } m.ApduDataExtContract.(*_ApduDataExt)._SubType = m return _ApduDataExtReadRouterMemoryRequestCopy diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtReadRouterMemoryResponse.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtReadRouterMemoryResponse.go index 6870214e6b..a0d7733414 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtReadRouterMemoryResponse.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtReadRouterMemoryResponse.go @@ -157,7 +157,7 @@ func (m *_ApduDataExtReadRouterMemoryResponse) deepCopy() *_ApduDataExtReadRoute return nil } _ApduDataExtReadRouterMemoryResponseCopy := &_ApduDataExtReadRouterMemoryResponse{ - m.ApduDataExtContract.DeepCopy().(ApduDataExtContract), + m.ApduDataExtContract.(*_ApduDataExt).deepCopy(), } m.ApduDataExtContract.(*_ApduDataExt)._SubType = m return _ApduDataExtReadRouterMemoryResponseCopy diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtReadRouterStatusRequest.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtReadRouterStatusRequest.go index cf5b37c60d..a4a3ce1290 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtReadRouterStatusRequest.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtReadRouterStatusRequest.go @@ -157,7 +157,7 @@ func (m *_ApduDataExtReadRouterStatusRequest) deepCopy() *_ApduDataExtReadRouter return nil } _ApduDataExtReadRouterStatusRequestCopy := &_ApduDataExtReadRouterStatusRequest{ - m.ApduDataExtContract.DeepCopy().(ApduDataExtContract), + m.ApduDataExtContract.(*_ApduDataExt).deepCopy(), } m.ApduDataExtContract.(*_ApduDataExt)._SubType = m return _ApduDataExtReadRouterStatusRequestCopy diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtReadRouterStatusResponse.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtReadRouterStatusResponse.go index 4a39ea0993..e381aa12c0 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtReadRouterStatusResponse.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtReadRouterStatusResponse.go @@ -157,7 +157,7 @@ func (m *_ApduDataExtReadRouterStatusResponse) deepCopy() *_ApduDataExtReadRoute return nil } _ApduDataExtReadRouterStatusResponseCopy := &_ApduDataExtReadRouterStatusResponse{ - m.ApduDataExtContract.DeepCopy().(ApduDataExtContract), + m.ApduDataExtContract.(*_ApduDataExt).deepCopy(), } m.ApduDataExtContract.(*_ApduDataExt)._SubType = m return _ApduDataExtReadRouterStatusResponseCopy diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtReadRoutingTableRequest.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtReadRoutingTableRequest.go index 73df7c3f15..afceac869f 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtReadRoutingTableRequest.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtReadRoutingTableRequest.go @@ -157,7 +157,7 @@ func (m *_ApduDataExtReadRoutingTableRequest) deepCopy() *_ApduDataExtReadRoutin return nil } _ApduDataExtReadRoutingTableRequestCopy := &_ApduDataExtReadRoutingTableRequest{ - m.ApduDataExtContract.DeepCopy().(ApduDataExtContract), + m.ApduDataExtContract.(*_ApduDataExt).deepCopy(), } m.ApduDataExtContract.(*_ApduDataExt)._SubType = m return _ApduDataExtReadRoutingTableRequestCopy diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtReadRoutingTableResponse.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtReadRoutingTableResponse.go index 2612e895b5..e405f1a90b 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtReadRoutingTableResponse.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtReadRoutingTableResponse.go @@ -157,7 +157,7 @@ func (m *_ApduDataExtReadRoutingTableResponse) deepCopy() *_ApduDataExtReadRouti return nil } _ApduDataExtReadRoutingTableResponseCopy := &_ApduDataExtReadRoutingTableResponse{ - m.ApduDataExtContract.DeepCopy().(ApduDataExtContract), + m.ApduDataExtContract.(*_ApduDataExt).deepCopy(), } m.ApduDataExtContract.(*_ApduDataExt)._SubType = m return _ApduDataExtReadRoutingTableResponseCopy diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtWriteRouterMemoryRequest.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtWriteRouterMemoryRequest.go index f5c795b76b..4e14f3f6ee 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtWriteRouterMemoryRequest.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtWriteRouterMemoryRequest.go @@ -157,7 +157,7 @@ func (m *_ApduDataExtWriteRouterMemoryRequest) deepCopy() *_ApduDataExtWriteRout return nil } _ApduDataExtWriteRouterMemoryRequestCopy := &_ApduDataExtWriteRouterMemoryRequest{ - m.ApduDataExtContract.DeepCopy().(ApduDataExtContract), + m.ApduDataExtContract.(*_ApduDataExt).deepCopy(), } m.ApduDataExtContract.(*_ApduDataExt)._SubType = m return _ApduDataExtWriteRouterMemoryRequestCopy diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtWriteRouterStatusRequest.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtWriteRouterStatusRequest.go index d843a3a541..f8f888fdf6 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtWriteRouterStatusRequest.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtWriteRouterStatusRequest.go @@ -157,7 +157,7 @@ func (m *_ApduDataExtWriteRouterStatusRequest) deepCopy() *_ApduDataExtWriteRout return nil } _ApduDataExtWriteRouterStatusRequestCopy := &_ApduDataExtWriteRouterStatusRequest{ - m.ApduDataExtContract.DeepCopy().(ApduDataExtContract), + m.ApduDataExtContract.(*_ApduDataExt).deepCopy(), } m.ApduDataExtContract.(*_ApduDataExt)._SubType = m return _ApduDataExtWriteRouterStatusRequestCopy diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtWriteRoutingTableRequest.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtWriteRoutingTableRequest.go index 8efe545d93..b13d9c66c8 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtWriteRoutingTableRequest.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataExtWriteRoutingTableRequest.go @@ -157,7 +157,7 @@ func (m *_ApduDataExtWriteRoutingTableRequest) deepCopy() *_ApduDataExtWriteRout return nil } _ApduDataExtWriteRoutingTableRequestCopy := &_ApduDataExtWriteRoutingTableRequest{ - m.ApduDataExtContract.DeepCopy().(ApduDataExtContract), + m.ApduDataExtContract.(*_ApduDataExt).deepCopy(), } m.ApduDataExtContract.(*_ApduDataExt)._SubType = m return _ApduDataExtWriteRoutingTableRequestCopy diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataGroupValueRead.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataGroupValueRead.go index 83746abda8..94713b142c 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataGroupValueRead.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataGroupValueRead.go @@ -174,7 +174,7 @@ func (m *_ApduDataGroupValueRead) deepCopy() *_ApduDataGroupValueRead { return nil } _ApduDataGroupValueReadCopy := &_ApduDataGroupValueRead{ - m.ApduDataContract.DeepCopy().(ApduDataContract), + m.ApduDataContract.(*_ApduData).deepCopy(), m.reservedField0, } m.ApduDataContract.(*_ApduData)._SubType = m diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataGroupValueResponse.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataGroupValueResponse.go index 520f1eaadc..3a6d2d3c25 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataGroupValueResponse.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataGroupValueResponse.go @@ -213,7 +213,7 @@ func (m *_ApduDataGroupValueResponse) deepCopy() *_ApduDataGroupValueResponse { return nil } _ApduDataGroupValueResponseCopy := &_ApduDataGroupValueResponse{ - m.ApduDataContract.DeepCopy().(ApduDataContract), + m.ApduDataContract.(*_ApduData).deepCopy(), m.DataFirstByte, utils.DeepCopySlice[byte, byte](m.Data), } diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataGroupValueWrite.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataGroupValueWrite.go index c57b9c7ec4..b9a5cb8f5b 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataGroupValueWrite.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataGroupValueWrite.go @@ -213,7 +213,7 @@ func (m *_ApduDataGroupValueWrite) deepCopy() *_ApduDataGroupValueWrite { return nil } _ApduDataGroupValueWriteCopy := &_ApduDataGroupValueWrite{ - m.ApduDataContract.DeepCopy().(ApduDataContract), + m.ApduDataContract.(*_ApduData).deepCopy(), m.DataFirstByte, utils.DeepCopySlice[byte, byte](m.Data), } diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataIndividualAddressRead.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataIndividualAddressRead.go index 1596bf2f5b..5867947f92 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataIndividualAddressRead.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataIndividualAddressRead.go @@ -157,7 +157,7 @@ func (m *_ApduDataIndividualAddressRead) deepCopy() *_ApduDataIndividualAddressR return nil } _ApduDataIndividualAddressReadCopy := &_ApduDataIndividualAddressRead{ - m.ApduDataContract.DeepCopy().(ApduDataContract), + m.ApduDataContract.(*_ApduData).deepCopy(), } m.ApduDataContract.(*_ApduData)._SubType = m return _ApduDataIndividualAddressReadCopy diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataIndividualAddressResponse.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataIndividualAddressResponse.go index 8b266b4c27..4ee182be81 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataIndividualAddressResponse.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataIndividualAddressResponse.go @@ -157,7 +157,7 @@ func (m *_ApduDataIndividualAddressResponse) deepCopy() *_ApduDataIndividualAddr return nil } _ApduDataIndividualAddressResponseCopy := &_ApduDataIndividualAddressResponse{ - m.ApduDataContract.DeepCopy().(ApduDataContract), + m.ApduDataContract.(*_ApduData).deepCopy(), } m.ApduDataContract.(*_ApduData)._SubType = m return _ApduDataIndividualAddressResponseCopy diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataIndividualAddressWrite.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataIndividualAddressWrite.go index 78b622be17..fbb7e4dce1 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataIndividualAddressWrite.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataIndividualAddressWrite.go @@ -157,7 +157,7 @@ func (m *_ApduDataIndividualAddressWrite) deepCopy() *_ApduDataIndividualAddress return nil } _ApduDataIndividualAddressWriteCopy := &_ApduDataIndividualAddressWrite{ - m.ApduDataContract.DeepCopy().(ApduDataContract), + m.ApduDataContract.(*_ApduData).deepCopy(), } m.ApduDataContract.(*_ApduData)._SubType = m return _ApduDataIndividualAddressWriteCopy diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataMemoryRead.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataMemoryRead.go index 84c1b6a7fe..12c33948cb 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataMemoryRead.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataMemoryRead.go @@ -211,7 +211,7 @@ func (m *_ApduDataMemoryRead) deepCopy() *_ApduDataMemoryRead { return nil } _ApduDataMemoryReadCopy := &_ApduDataMemoryRead{ - m.ApduDataContract.DeepCopy().(ApduDataContract), + m.ApduDataContract.(*_ApduData).deepCopy(), m.NumBytes, m.Address, } diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataMemoryResponse.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataMemoryResponse.go index 05b0ec8167..54464c4643 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataMemoryResponse.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataMemoryResponse.go @@ -226,7 +226,7 @@ func (m *_ApduDataMemoryResponse) deepCopy() *_ApduDataMemoryResponse { return nil } _ApduDataMemoryResponseCopy := &_ApduDataMemoryResponse{ - m.ApduDataContract.DeepCopy().(ApduDataContract), + m.ApduDataContract.(*_ApduData).deepCopy(), m.Address, utils.DeepCopySlice[byte, byte](m.Data), } diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataMemoryWrite.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataMemoryWrite.go index 1c15b0f1c9..ba5722f448 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataMemoryWrite.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataMemoryWrite.go @@ -157,7 +157,7 @@ func (m *_ApduDataMemoryWrite) deepCopy() *_ApduDataMemoryWrite { return nil } _ApduDataMemoryWriteCopy := &_ApduDataMemoryWrite{ - m.ApduDataContract.DeepCopy().(ApduDataContract), + m.ApduDataContract.(*_ApduData).deepCopy(), } m.ApduDataContract.(*_ApduData)._SubType = m return _ApduDataMemoryWriteCopy diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataOther.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataOther.go index f2236ed9d5..3f1c68dae7 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataOther.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataOther.go @@ -193,7 +193,7 @@ func (m *_ApduDataOther) deepCopy() *_ApduDataOther { return nil } _ApduDataOtherCopy := &_ApduDataOther{ - m.ApduDataContract.DeepCopy().(ApduDataContract), + m.ApduDataContract.(*_ApduData).deepCopy(), m.ExtendedApdu.DeepCopy().(ApduDataExt), } m.ApduDataContract.(*_ApduData)._SubType = m diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataRestart.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataRestart.go index dd1bef84cf..a0e12854a6 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataRestart.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataRestart.go @@ -157,7 +157,7 @@ func (m *_ApduDataRestart) deepCopy() *_ApduDataRestart { return nil } _ApduDataRestartCopy := &_ApduDataRestart{ - m.ApduDataContract.DeepCopy().(ApduDataContract), + m.ApduDataContract.(*_ApduData).deepCopy(), } m.ApduDataContract.(*_ApduData)._SubType = m return _ApduDataRestartCopy diff --git a/plc4go/protocols/knxnetip/readwrite/model/ApduDataUserMessage.go b/plc4go/protocols/knxnetip/readwrite/model/ApduDataUserMessage.go index b0d8f30e1e..ff402dc346 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ApduDataUserMessage.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ApduDataUserMessage.go @@ -157,7 +157,7 @@ func (m *_ApduDataUserMessage) deepCopy() *_ApduDataUserMessage { return nil } _ApduDataUserMessageCopy := &_ApduDataUserMessage{ - m.ApduDataContract.DeepCopy().(ApduDataContract), + m.ApduDataContract.(*_ApduData).deepCopy(), } m.ApduDataContract.(*_ApduData)._SubType = m return _ApduDataUserMessageCopy diff --git a/plc4go/protocols/knxnetip/readwrite/model/CEMI.go b/plc4go/protocols/knxnetip/readwrite/model/CEMI.go index dcd25144f5..f70e73ae72 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/CEMI.go +++ b/plc4go/protocols/knxnetip/readwrite/model/CEMI.go @@ -47,7 +47,6 @@ type CEMI interface { // CEMIContract provides a set of functions which can be overwritten by a sub struct type CEMIContract interface { - utils.Copyable // GetSize() returns a parser argument GetSize() uint16 // IsCEMI is a marker method to prevent unintentional type checks (interfaces of same signature) diff --git a/plc4go/protocols/knxnetip/readwrite/model/CEMIAdditionalInformation.go b/plc4go/protocols/knxnetip/readwrite/model/CEMIAdditionalInformation.go index 90886d2821..37f44d8b8a 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/CEMIAdditionalInformation.go +++ b/plc4go/protocols/knxnetip/readwrite/model/CEMIAdditionalInformation.go @@ -47,7 +47,6 @@ type CEMIAdditionalInformation interface { // CEMIAdditionalInformationContract provides a set of functions which can be overwritten by a sub struct type CEMIAdditionalInformationContract interface { - utils.Copyable // IsCEMIAdditionalInformation is a marker method to prevent unintentional type checks (interfaces of same signature) IsCEMIAdditionalInformation() } diff --git a/plc4go/protocols/knxnetip/readwrite/model/CEMIAdditionalInformationBusmonitorInfo.go b/plc4go/protocols/knxnetip/readwrite/model/CEMIAdditionalInformationBusmonitorInfo.go index dfb2203bc1..d92f601e5b 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/CEMIAdditionalInformationBusmonitorInfo.go +++ b/plc4go/protocols/knxnetip/readwrite/model/CEMIAdditionalInformationBusmonitorInfo.go @@ -324,7 +324,7 @@ func (m *_CEMIAdditionalInformationBusmonitorInfo) deepCopy() *_CEMIAdditionalIn return nil } _CEMIAdditionalInformationBusmonitorInfoCopy := &_CEMIAdditionalInformationBusmonitorInfo{ - m.CEMIAdditionalInformationContract.DeepCopy().(CEMIAdditionalInformationContract), + m.CEMIAdditionalInformationContract.(*_CEMIAdditionalInformation).deepCopy(), m.FrameErrorFlag, m.BitErrorFlag, m.ParityErrorFlag, diff --git a/plc4go/protocols/knxnetip/readwrite/model/CEMIAdditionalInformationRelativeTimestamp.go b/plc4go/protocols/knxnetip/readwrite/model/CEMIAdditionalInformationRelativeTimestamp.go index a7d38dbf31..75ff9c2449 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/CEMIAdditionalInformationRelativeTimestamp.go +++ b/plc4go/protocols/knxnetip/readwrite/model/CEMIAdditionalInformationRelativeTimestamp.go @@ -223,7 +223,7 @@ func (m *_CEMIAdditionalInformationRelativeTimestamp) deepCopy() *_CEMIAdditiona return nil } _CEMIAdditionalInformationRelativeTimestampCopy := &_CEMIAdditionalInformationRelativeTimestamp{ - m.CEMIAdditionalInformationContract.DeepCopy().(CEMIAdditionalInformationContract), + m.CEMIAdditionalInformationContract.(*_CEMIAdditionalInformation).deepCopy(), m.RelativeTimestamp.DeepCopy().(RelativeTimestamp), } m.CEMIAdditionalInformationContract.(*_CEMIAdditionalInformation)._SubType = m diff --git a/plc4go/protocols/knxnetip/readwrite/model/ComObjectTable.go b/plc4go/protocols/knxnetip/readwrite/model/ComObjectTable.go index 0d55c689a6..ab596be0cd 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ComObjectTable.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ComObjectTable.go @@ -45,7 +45,6 @@ type ComObjectTable interface { // ComObjectTableContract provides a set of functions which can be overwritten by a sub struct type ComObjectTableContract interface { - utils.Copyable // IsComObjectTable is a marker method to prevent unintentional type checks (interfaces of same signature) IsComObjectTable() } diff --git a/plc4go/protocols/knxnetip/readwrite/model/ComObjectTableRealisationType1.go b/plc4go/protocols/knxnetip/readwrite/model/ComObjectTableRealisationType1.go index 86419bfc50..07779501bf 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ComObjectTableRealisationType1.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ComObjectTableRealisationType1.go @@ -239,7 +239,7 @@ func (m *_ComObjectTableRealisationType1) deepCopy() *_ComObjectTableRealisation return nil } _ComObjectTableRealisationType1Copy := &_ComObjectTableRealisationType1{ - m.ComObjectTableContract.DeepCopy().(ComObjectTableContract), + m.ComObjectTableContract.(*_ComObjectTable).deepCopy(), m.NumEntries, m.RamFlagsTablePointer, utils.DeepCopySlice[GroupObjectDescriptorRealisationType1, GroupObjectDescriptorRealisationType1](m.ComObjectDescriptors), diff --git a/plc4go/protocols/knxnetip/readwrite/model/ComObjectTableRealisationType2.go b/plc4go/protocols/knxnetip/readwrite/model/ComObjectTableRealisationType2.go index 664556000f..6616898844 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ComObjectTableRealisationType2.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ComObjectTableRealisationType2.go @@ -239,7 +239,7 @@ func (m *_ComObjectTableRealisationType2) deepCopy() *_ComObjectTableRealisation return nil } _ComObjectTableRealisationType2Copy := &_ComObjectTableRealisationType2{ - m.ComObjectTableContract.DeepCopy().(ComObjectTableContract), + m.ComObjectTableContract.(*_ComObjectTable).deepCopy(), m.NumEntries, m.RamFlagsTablePointer, utils.DeepCopySlice[GroupObjectDescriptorRealisationType2, GroupObjectDescriptorRealisationType2](m.ComObjectDescriptors), diff --git a/plc4go/protocols/knxnetip/readwrite/model/ComObjectTableRealisationType6.go b/plc4go/protocols/knxnetip/readwrite/model/ComObjectTableRealisationType6.go index 80d1bc9c45..48736ecb7b 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ComObjectTableRealisationType6.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ComObjectTableRealisationType6.go @@ -193,7 +193,7 @@ func (m *_ComObjectTableRealisationType6) deepCopy() *_ComObjectTableRealisation return nil } _ComObjectTableRealisationType6Copy := &_ComObjectTableRealisationType6{ - m.ComObjectTableContract.DeepCopy().(ComObjectTableContract), + m.ComObjectTableContract.(*_ComObjectTable).deepCopy(), m.ComObjectDescriptors.DeepCopy().(GroupObjectDescriptorRealisationType6), } m.ComObjectTableContract.(*_ComObjectTable)._SubType = m diff --git a/plc4go/protocols/knxnetip/readwrite/model/ConnectionRequest.go b/plc4go/protocols/knxnetip/readwrite/model/ConnectionRequest.go index 7506341b83..3baa6773af 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ConnectionRequest.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ConnectionRequest.go @@ -243,7 +243,7 @@ func (m *_ConnectionRequest) deepCopy() *_ConnectionRequest { return nil } _ConnectionRequestCopy := &_ConnectionRequest{ - m.KnxNetIpMessageContract.DeepCopy().(KnxNetIpMessageContract), + m.KnxNetIpMessageContract.(*_KnxNetIpMessage).deepCopy(), m.HpaiDiscoveryEndpoint.DeepCopy().(HPAIDiscoveryEndpoint), m.HpaiDataEndpoint.DeepCopy().(HPAIDataEndpoint), m.ConnectionRequestInformation.DeepCopy().(ConnectionRequestInformation), diff --git a/plc4go/protocols/knxnetip/readwrite/model/ConnectionRequestInformation.go b/plc4go/protocols/knxnetip/readwrite/model/ConnectionRequestInformation.go index c2d879883c..cc1f5379d6 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ConnectionRequestInformation.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ConnectionRequestInformation.go @@ -47,7 +47,6 @@ type ConnectionRequestInformation interface { // ConnectionRequestInformationContract provides a set of functions which can be overwritten by a sub struct type ConnectionRequestInformationContract interface { - utils.Copyable // IsConnectionRequestInformation is a marker method to prevent unintentional type checks (interfaces of same signature) IsConnectionRequestInformation() } diff --git a/plc4go/protocols/knxnetip/readwrite/model/ConnectionRequestInformationDeviceManagement.go b/plc4go/protocols/knxnetip/readwrite/model/ConnectionRequestInformationDeviceManagement.go index d1cbd40b44..8ef35ff395 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ConnectionRequestInformationDeviceManagement.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ConnectionRequestInformationDeviceManagement.go @@ -158,7 +158,7 @@ func (m *_ConnectionRequestInformationDeviceManagement) deepCopy() *_ConnectionR return nil } _ConnectionRequestInformationDeviceManagementCopy := &_ConnectionRequestInformationDeviceManagement{ - m.ConnectionRequestInformationContract.DeepCopy().(ConnectionRequestInformationContract), + m.ConnectionRequestInformationContract.(*_ConnectionRequestInformation).deepCopy(), } m.ConnectionRequestInformationContract.(*_ConnectionRequestInformation)._SubType = m return _ConnectionRequestInformationDeviceManagementCopy diff --git a/plc4go/protocols/knxnetip/readwrite/model/ConnectionRequestInformationTunnelConnection.go b/plc4go/protocols/knxnetip/readwrite/model/ConnectionRequestInformationTunnelConnection.go index cc02ec045f..70a22e29da 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ConnectionRequestInformationTunnelConnection.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ConnectionRequestInformationTunnelConnection.go @@ -206,7 +206,7 @@ func (m *_ConnectionRequestInformationTunnelConnection) deepCopy() *_ConnectionR return nil } _ConnectionRequestInformationTunnelConnectionCopy := &_ConnectionRequestInformationTunnelConnection{ - m.ConnectionRequestInformationContract.DeepCopy().(ConnectionRequestInformationContract), + m.ConnectionRequestInformationContract.(*_ConnectionRequestInformation).deepCopy(), m.KnxLayer, m.reservedField0, } diff --git a/plc4go/protocols/knxnetip/readwrite/model/ConnectionResponse.go b/plc4go/protocols/knxnetip/readwrite/model/ConnectionResponse.go index eb2617545a..163da7830e 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ConnectionResponse.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ConnectionResponse.go @@ -267,7 +267,7 @@ func (m *_ConnectionResponse) deepCopy() *_ConnectionResponse { return nil } _ConnectionResponseCopy := &_ConnectionResponse{ - m.KnxNetIpMessageContract.DeepCopy().(KnxNetIpMessageContract), + m.KnxNetIpMessageContract.(*_KnxNetIpMessage).deepCopy(), m.CommunicationChannelId, m.Status, m.HpaiDataEndpoint.DeepCopy().(HPAIDataEndpoint), diff --git a/plc4go/protocols/knxnetip/readwrite/model/ConnectionResponseDataBlock.go b/plc4go/protocols/knxnetip/readwrite/model/ConnectionResponseDataBlock.go index 53b049c259..7f23df78e6 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ConnectionResponseDataBlock.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ConnectionResponseDataBlock.go @@ -47,7 +47,6 @@ type ConnectionResponseDataBlock interface { // ConnectionResponseDataBlockContract provides a set of functions which can be overwritten by a sub struct type ConnectionResponseDataBlockContract interface { - utils.Copyable // IsConnectionResponseDataBlock is a marker method to prevent unintentional type checks (interfaces of same signature) IsConnectionResponseDataBlock() } diff --git a/plc4go/protocols/knxnetip/readwrite/model/ConnectionResponseDataBlockDeviceManagement.go b/plc4go/protocols/knxnetip/readwrite/model/ConnectionResponseDataBlockDeviceManagement.go index ea5c2a86ef..75580e596a 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ConnectionResponseDataBlockDeviceManagement.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ConnectionResponseDataBlockDeviceManagement.go @@ -158,7 +158,7 @@ func (m *_ConnectionResponseDataBlockDeviceManagement) deepCopy() *_ConnectionRe return nil } _ConnectionResponseDataBlockDeviceManagementCopy := &_ConnectionResponseDataBlockDeviceManagement{ - m.ConnectionResponseDataBlockContract.DeepCopy().(ConnectionResponseDataBlockContract), + m.ConnectionResponseDataBlockContract.(*_ConnectionResponseDataBlock).deepCopy(), } m.ConnectionResponseDataBlockContract.(*_ConnectionResponseDataBlock)._SubType = m return _ConnectionResponseDataBlockDeviceManagementCopy diff --git a/plc4go/protocols/knxnetip/readwrite/model/ConnectionResponseDataBlockTunnelConnection.go b/plc4go/protocols/knxnetip/readwrite/model/ConnectionResponseDataBlockTunnelConnection.go index 73c4a2ab82..f9b7c3a0c1 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ConnectionResponseDataBlockTunnelConnection.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ConnectionResponseDataBlockTunnelConnection.go @@ -194,7 +194,7 @@ func (m *_ConnectionResponseDataBlockTunnelConnection) deepCopy() *_ConnectionRe return nil } _ConnectionResponseDataBlockTunnelConnectionCopy := &_ConnectionResponseDataBlockTunnelConnection{ - m.ConnectionResponseDataBlockContract.DeepCopy().(ConnectionResponseDataBlockContract), + m.ConnectionResponseDataBlockContract.(*_ConnectionResponseDataBlock).deepCopy(), m.KnxAddress.DeepCopy().(KnxAddress), } m.ConnectionResponseDataBlockContract.(*_ConnectionResponseDataBlock)._SubType = m diff --git a/plc4go/protocols/knxnetip/readwrite/model/ConnectionStateRequest.go b/plc4go/protocols/knxnetip/readwrite/model/ConnectionStateRequest.go index 6be54a1dab..2d9a65c078 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ConnectionStateRequest.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ConnectionStateRequest.go @@ -231,7 +231,7 @@ func (m *_ConnectionStateRequest) deepCopy() *_ConnectionStateRequest { return nil } _ConnectionStateRequestCopy := &_ConnectionStateRequest{ - m.KnxNetIpMessageContract.DeepCopy().(KnxNetIpMessageContract), + m.KnxNetIpMessageContract.(*_KnxNetIpMessage).deepCopy(), m.CommunicationChannelId, m.HpaiControlEndpoint.DeepCopy().(HPAIControlEndpoint), m.reservedField0, diff --git a/plc4go/protocols/knxnetip/readwrite/model/ConnectionStateResponse.go b/plc4go/protocols/knxnetip/readwrite/model/ConnectionStateResponse.go index fbad6d5fb1..b6622b312b 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ConnectionStateResponse.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ConnectionStateResponse.go @@ -213,7 +213,7 @@ func (m *_ConnectionStateResponse) deepCopy() *_ConnectionStateResponse { return nil } _ConnectionStateResponseCopy := &_ConnectionStateResponse{ - m.KnxNetIpMessageContract.DeepCopy().(KnxNetIpMessageContract), + m.KnxNetIpMessageContract.(*_KnxNetIpMessage).deepCopy(), m.CommunicationChannelId, m.Status, } diff --git a/plc4go/protocols/knxnetip/readwrite/model/DescriptionRequest.go b/plc4go/protocols/knxnetip/readwrite/model/DescriptionRequest.go index 8c16ff9638..22c2f206e7 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/DescriptionRequest.go +++ b/plc4go/protocols/knxnetip/readwrite/model/DescriptionRequest.go @@ -195,7 +195,7 @@ func (m *_DescriptionRequest) deepCopy() *_DescriptionRequest { return nil } _DescriptionRequestCopy := &_DescriptionRequest{ - m.KnxNetIpMessageContract.DeepCopy().(KnxNetIpMessageContract), + m.KnxNetIpMessageContract.(*_KnxNetIpMessage).deepCopy(), m.HpaiControlEndpoint.DeepCopy().(HPAIControlEndpoint), } m.KnxNetIpMessageContract.(*_KnxNetIpMessage)._SubType = m diff --git a/plc4go/protocols/knxnetip/readwrite/model/DescriptionResponse.go b/plc4go/protocols/knxnetip/readwrite/model/DescriptionResponse.go index 207686d111..240517a61e 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/DescriptionResponse.go +++ b/plc4go/protocols/knxnetip/readwrite/model/DescriptionResponse.go @@ -219,7 +219,7 @@ func (m *_DescriptionResponse) deepCopy() *_DescriptionResponse { return nil } _DescriptionResponseCopy := &_DescriptionResponse{ - m.KnxNetIpMessageContract.DeepCopy().(KnxNetIpMessageContract), + m.KnxNetIpMessageContract.(*_KnxNetIpMessage).deepCopy(), m.DibDeviceInfo.DeepCopy().(DIBDeviceInfo), m.DibSuppSvcFamilies.DeepCopy().(DIBSuppSvcFamilies), } diff --git a/plc4go/protocols/knxnetip/readwrite/model/DeviceConfigurationAck.go b/plc4go/protocols/knxnetip/readwrite/model/DeviceConfigurationAck.go index b42696a743..bc9c7c716b 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/DeviceConfigurationAck.go +++ b/plc4go/protocols/knxnetip/readwrite/model/DeviceConfigurationAck.go @@ -195,7 +195,7 @@ func (m *_DeviceConfigurationAck) deepCopy() *_DeviceConfigurationAck { return nil } _DeviceConfigurationAckCopy := &_DeviceConfigurationAck{ - m.KnxNetIpMessageContract.DeepCopy().(KnxNetIpMessageContract), + m.KnxNetIpMessageContract.(*_KnxNetIpMessage).deepCopy(), m.DeviceConfigurationAckDataBlock.DeepCopy().(DeviceConfigurationAckDataBlock), } m.KnxNetIpMessageContract.(*_KnxNetIpMessage)._SubType = m diff --git a/plc4go/protocols/knxnetip/readwrite/model/DeviceConfigurationRequest.go b/plc4go/protocols/knxnetip/readwrite/model/DeviceConfigurationRequest.go index 08d2adcece..56d47cf147 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/DeviceConfigurationRequest.go +++ b/plc4go/protocols/knxnetip/readwrite/model/DeviceConfigurationRequest.go @@ -232,7 +232,7 @@ func (m *_DeviceConfigurationRequest) deepCopy() *_DeviceConfigurationRequest { return nil } _DeviceConfigurationRequestCopy := &_DeviceConfigurationRequest{ - m.KnxNetIpMessageContract.DeepCopy().(KnxNetIpMessageContract), + m.KnxNetIpMessageContract.(*_KnxNetIpMessage).deepCopy(), m.DeviceConfigurationRequestDataBlock.DeepCopy().(DeviceConfigurationRequestDataBlock), m.Cemi.DeepCopy().(CEMI), m.TotalLength, diff --git a/plc4go/protocols/knxnetip/readwrite/model/DisconnectRequest.go b/plc4go/protocols/knxnetip/readwrite/model/DisconnectRequest.go index 8e5e53dd5f..0c5451d20e 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/DisconnectRequest.go +++ b/plc4go/protocols/knxnetip/readwrite/model/DisconnectRequest.go @@ -231,7 +231,7 @@ func (m *_DisconnectRequest) deepCopy() *_DisconnectRequest { return nil } _DisconnectRequestCopy := &_DisconnectRequest{ - m.KnxNetIpMessageContract.DeepCopy().(KnxNetIpMessageContract), + m.KnxNetIpMessageContract.(*_KnxNetIpMessage).deepCopy(), m.CommunicationChannelId, m.HpaiControlEndpoint.DeepCopy().(HPAIControlEndpoint), m.reservedField0, diff --git a/plc4go/protocols/knxnetip/readwrite/model/DisconnectResponse.go b/plc4go/protocols/knxnetip/readwrite/model/DisconnectResponse.go index 210b70e720..472da67478 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/DisconnectResponse.go +++ b/plc4go/protocols/knxnetip/readwrite/model/DisconnectResponse.go @@ -213,7 +213,7 @@ func (m *_DisconnectResponse) deepCopy() *_DisconnectResponse { return nil } _DisconnectResponseCopy := &_DisconnectResponse{ - m.KnxNetIpMessageContract.DeepCopy().(KnxNetIpMessageContract), + m.KnxNetIpMessageContract.(*_KnxNetIpMessage).deepCopy(), m.CommunicationChannelId, m.Status, } diff --git a/plc4go/protocols/knxnetip/readwrite/model/KnxGroupAddress.go b/plc4go/protocols/knxnetip/readwrite/model/KnxGroupAddress.go index 057e03ea55..0cb33fb14c 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/KnxGroupAddress.go +++ b/plc4go/protocols/knxnetip/readwrite/model/KnxGroupAddress.go @@ -45,7 +45,6 @@ type KnxGroupAddress interface { // KnxGroupAddressContract provides a set of functions which can be overwritten by a sub struct type KnxGroupAddressContract interface { - utils.Copyable // IsKnxGroupAddress is a marker method to prevent unintentional type checks (interfaces of same signature) IsKnxGroupAddress() } diff --git a/plc4go/protocols/knxnetip/readwrite/model/KnxGroupAddress2Level.go b/plc4go/protocols/knxnetip/readwrite/model/KnxGroupAddress2Level.go index 9db3b2f46a..9e349e7e14 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/KnxGroupAddress2Level.go +++ b/plc4go/protocols/knxnetip/readwrite/model/KnxGroupAddress2Level.go @@ -211,7 +211,7 @@ func (m *_KnxGroupAddress2Level) deepCopy() *_KnxGroupAddress2Level { return nil } _KnxGroupAddress2LevelCopy := &_KnxGroupAddress2Level{ - m.KnxGroupAddressContract.DeepCopy().(KnxGroupAddressContract), + m.KnxGroupAddressContract.(*_KnxGroupAddress).deepCopy(), m.MainGroup, m.SubGroup, } diff --git a/plc4go/protocols/knxnetip/readwrite/model/KnxGroupAddress3Level.go b/plc4go/protocols/knxnetip/readwrite/model/KnxGroupAddress3Level.go index 719b74d72f..3b1cd1b7cb 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/KnxGroupAddress3Level.go +++ b/plc4go/protocols/knxnetip/readwrite/model/KnxGroupAddress3Level.go @@ -232,7 +232,7 @@ func (m *_KnxGroupAddress3Level) deepCopy() *_KnxGroupAddress3Level { return nil } _KnxGroupAddress3LevelCopy := &_KnxGroupAddress3Level{ - m.KnxGroupAddressContract.DeepCopy().(KnxGroupAddressContract), + m.KnxGroupAddressContract.(*_KnxGroupAddress).deepCopy(), m.MainGroup, m.MiddleGroup, m.SubGroup, diff --git a/plc4go/protocols/knxnetip/readwrite/model/KnxGroupAddressFreeLevel.go b/plc4go/protocols/knxnetip/readwrite/model/KnxGroupAddressFreeLevel.go index 8976c25144..b0fe562c90 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/KnxGroupAddressFreeLevel.go +++ b/plc4go/protocols/knxnetip/readwrite/model/KnxGroupAddressFreeLevel.go @@ -190,7 +190,7 @@ func (m *_KnxGroupAddressFreeLevel) deepCopy() *_KnxGroupAddressFreeLevel { return nil } _KnxGroupAddressFreeLevelCopy := &_KnxGroupAddressFreeLevel{ - m.KnxGroupAddressContract.DeepCopy().(KnxGroupAddressContract), + m.KnxGroupAddressContract.(*_KnxGroupAddress).deepCopy(), m.SubGroup, } m.KnxGroupAddressContract.(*_KnxGroupAddress)._SubType = m diff --git a/plc4go/protocols/knxnetip/readwrite/model/KnxNetIpCore.go b/plc4go/protocols/knxnetip/readwrite/model/KnxNetIpCore.go index 0836b1ceea..93b7166747 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/KnxNetIpCore.go +++ b/plc4go/protocols/knxnetip/readwrite/model/KnxNetIpCore.go @@ -190,7 +190,7 @@ func (m *_KnxNetIpCore) deepCopy() *_KnxNetIpCore { return nil } _KnxNetIpCoreCopy := &_KnxNetIpCore{ - m.ServiceIdContract.DeepCopy().(ServiceIdContract), + m.ServiceIdContract.(*_ServiceId).deepCopy(), m.Version, } m.ServiceIdContract.(*_ServiceId)._SubType = m diff --git a/plc4go/protocols/knxnetip/readwrite/model/KnxNetIpDeviceManagement.go b/plc4go/protocols/knxnetip/readwrite/model/KnxNetIpDeviceManagement.go index 03e3eadbf3..2b953d89a0 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/KnxNetIpDeviceManagement.go +++ b/plc4go/protocols/knxnetip/readwrite/model/KnxNetIpDeviceManagement.go @@ -190,7 +190,7 @@ func (m *_KnxNetIpDeviceManagement) deepCopy() *_KnxNetIpDeviceManagement { return nil } _KnxNetIpDeviceManagementCopy := &_KnxNetIpDeviceManagement{ - m.ServiceIdContract.DeepCopy().(ServiceIdContract), + m.ServiceIdContract.(*_ServiceId).deepCopy(), m.Version, } m.ServiceIdContract.(*_ServiceId)._SubType = m diff --git a/plc4go/protocols/knxnetip/readwrite/model/KnxNetIpMessage.go b/plc4go/protocols/knxnetip/readwrite/model/KnxNetIpMessage.go index c94303d04d..c6510ee39c 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/KnxNetIpMessage.go +++ b/plc4go/protocols/knxnetip/readwrite/model/KnxNetIpMessage.go @@ -52,7 +52,6 @@ type KnxNetIpMessage interface { // KnxNetIpMessageContract provides a set of functions which can be overwritten by a sub struct type KnxNetIpMessageContract interface { - utils.Copyable // IsKnxNetIpMessage is a marker method to prevent unintentional type checks (interfaces of same signature) IsKnxNetIpMessage() } diff --git a/plc4go/protocols/knxnetip/readwrite/model/KnxNetIpRouting.go b/plc4go/protocols/knxnetip/readwrite/model/KnxNetIpRouting.go index 1ff1006bf9..4ad8b78339 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/KnxNetIpRouting.go +++ b/plc4go/protocols/knxnetip/readwrite/model/KnxNetIpRouting.go @@ -190,7 +190,7 @@ func (m *_KnxNetIpRouting) deepCopy() *_KnxNetIpRouting { return nil } _KnxNetIpRoutingCopy := &_KnxNetIpRouting{ - m.ServiceIdContract.DeepCopy().(ServiceIdContract), + m.ServiceIdContract.(*_ServiceId).deepCopy(), m.Version, } m.ServiceIdContract.(*_ServiceId)._SubType = m diff --git a/plc4go/protocols/knxnetip/readwrite/model/KnxNetIpTunneling.go b/plc4go/protocols/knxnetip/readwrite/model/KnxNetIpTunneling.go index 2af50416ad..836a5c80c4 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/KnxNetIpTunneling.go +++ b/plc4go/protocols/knxnetip/readwrite/model/KnxNetIpTunneling.go @@ -190,7 +190,7 @@ func (m *_KnxNetIpTunneling) deepCopy() *_KnxNetIpTunneling { return nil } _KnxNetIpTunnelingCopy := &_KnxNetIpTunneling{ - m.ServiceIdContract.DeepCopy().(ServiceIdContract), + m.ServiceIdContract.(*_ServiceId).deepCopy(), m.Version, } m.ServiceIdContract.(*_ServiceId)._SubType = m diff --git a/plc4go/protocols/knxnetip/readwrite/model/KnxNetObjectServer.go b/plc4go/protocols/knxnetip/readwrite/model/KnxNetObjectServer.go index c8c692f6e8..ed3e51d451 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/KnxNetObjectServer.go +++ b/plc4go/protocols/knxnetip/readwrite/model/KnxNetObjectServer.go @@ -190,7 +190,7 @@ func (m *_KnxNetObjectServer) deepCopy() *_KnxNetObjectServer { return nil } _KnxNetObjectServerCopy := &_KnxNetObjectServer{ - m.ServiceIdContract.DeepCopy().(ServiceIdContract), + m.ServiceIdContract.(*_ServiceId).deepCopy(), m.Version, } m.ServiceIdContract.(*_ServiceId)._SubType = m diff --git a/plc4go/protocols/knxnetip/readwrite/model/KnxNetRemoteConfigurationAndDiagnosis.go b/plc4go/protocols/knxnetip/readwrite/model/KnxNetRemoteConfigurationAndDiagnosis.go index 074ed9d81a..c83545e76d 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/KnxNetRemoteConfigurationAndDiagnosis.go +++ b/plc4go/protocols/knxnetip/readwrite/model/KnxNetRemoteConfigurationAndDiagnosis.go @@ -190,7 +190,7 @@ func (m *_KnxNetRemoteConfigurationAndDiagnosis) deepCopy() *_KnxNetRemoteConfig return nil } _KnxNetRemoteConfigurationAndDiagnosisCopy := &_KnxNetRemoteConfigurationAndDiagnosis{ - m.ServiceIdContract.DeepCopy().(ServiceIdContract), + m.ServiceIdContract.(*_ServiceId).deepCopy(), m.Version, } m.ServiceIdContract.(*_ServiceId)._SubType = m diff --git a/plc4go/protocols/knxnetip/readwrite/model/KnxNetRemoteLogging.go b/plc4go/protocols/knxnetip/readwrite/model/KnxNetRemoteLogging.go index 15d1ac3905..d436470d67 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/KnxNetRemoteLogging.go +++ b/plc4go/protocols/knxnetip/readwrite/model/KnxNetRemoteLogging.go @@ -190,7 +190,7 @@ func (m *_KnxNetRemoteLogging) deepCopy() *_KnxNetRemoteLogging { return nil } _KnxNetRemoteLoggingCopy := &_KnxNetRemoteLogging{ - m.ServiceIdContract.DeepCopy().(ServiceIdContract), + m.ServiceIdContract.(*_ServiceId).deepCopy(), m.Version, } m.ServiceIdContract.(*_ServiceId)._SubType = m diff --git a/plc4go/protocols/knxnetip/readwrite/model/LBusmonInd.go b/plc4go/protocols/knxnetip/readwrite/model/LBusmonInd.go index c0c6646306..3abd57c3e8 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/LBusmonInd.go +++ b/plc4go/protocols/knxnetip/readwrite/model/LBusmonInd.go @@ -263,7 +263,7 @@ func (m *_LBusmonInd) deepCopy() *_LBusmonInd { return nil } _LBusmonIndCopy := &_LBusmonInd{ - m.CEMIContract.DeepCopy().(CEMIContract), + m.CEMIContract.(*_CEMI).deepCopy(), m.AdditionalInformationLength, utils.DeepCopySlice[CEMIAdditionalInformation, CEMIAdditionalInformation](m.AdditionalInformation), m.DataFrame.DeepCopy().(LDataFrame), diff --git a/plc4go/protocols/knxnetip/readwrite/model/LDataCon.go b/plc4go/protocols/knxnetip/readwrite/model/LDataCon.go index 242fbdb050..ff2e89ce85 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/LDataCon.go +++ b/plc4go/protocols/knxnetip/readwrite/model/LDataCon.go @@ -239,7 +239,7 @@ func (m *_LDataCon) deepCopy() *_LDataCon { return nil } _LDataConCopy := &_LDataCon{ - m.CEMIContract.DeepCopy().(CEMIContract), + m.CEMIContract.(*_CEMI).deepCopy(), m.AdditionalInformationLength, utils.DeepCopySlice[CEMIAdditionalInformation, CEMIAdditionalInformation](m.AdditionalInformation), m.DataFrame.DeepCopy().(LDataFrame), diff --git a/plc4go/protocols/knxnetip/readwrite/model/LDataExtended.go b/plc4go/protocols/knxnetip/readwrite/model/LDataExtended.go index 4771ae8cad..48cc5dae7a 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/LDataExtended.go +++ b/plc4go/protocols/knxnetip/readwrite/model/LDataExtended.go @@ -320,7 +320,7 @@ func (m *_LDataExtended) deepCopy() *_LDataExtended { return nil } _LDataExtendedCopy := &_LDataExtended{ - m.LDataFrameContract.DeepCopy().(LDataFrameContract), + m.LDataFrameContract.(*_LDataFrame).deepCopy(), m.GroupAddress, m.HopCount, m.ExtendedFrameFormat, diff --git a/plc4go/protocols/knxnetip/readwrite/model/LDataFrame.go b/plc4go/protocols/knxnetip/readwrite/model/LDataFrame.go index cf268725d2..4dce44beb6 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/LDataFrame.go +++ b/plc4go/protocols/knxnetip/readwrite/model/LDataFrame.go @@ -47,7 +47,6 @@ type LDataFrame interface { // LDataFrameContract provides a set of functions which can be overwritten by a sub struct type LDataFrameContract interface { - utils.Copyable // GetFrameType returns FrameType (property field) GetFrameType() bool // GetNotRepeated returns NotRepeated (property field) diff --git a/plc4go/protocols/knxnetip/readwrite/model/LDataFrameACK.go b/plc4go/protocols/knxnetip/readwrite/model/LDataFrameACK.go index 53cee4ef91..fa9134f8f6 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/LDataFrameACK.go +++ b/plc4go/protocols/knxnetip/readwrite/model/LDataFrameACK.go @@ -161,7 +161,7 @@ func (m *_LDataFrameACK) deepCopy() *_LDataFrameACK { return nil } _LDataFrameACKCopy := &_LDataFrameACK{ - m.LDataFrameContract.DeepCopy().(LDataFrameContract), + m.LDataFrameContract.(*_LDataFrame).deepCopy(), } m.LDataFrameContract.(*_LDataFrame)._SubType = m return _LDataFrameACKCopy diff --git a/plc4go/protocols/knxnetip/readwrite/model/LDataInd.go b/plc4go/protocols/knxnetip/readwrite/model/LDataInd.go index 52894c6592..99bc72d72f 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/LDataInd.go +++ b/plc4go/protocols/knxnetip/readwrite/model/LDataInd.go @@ -239,7 +239,7 @@ func (m *_LDataInd) deepCopy() *_LDataInd { return nil } _LDataIndCopy := &_LDataInd{ - m.CEMIContract.DeepCopy().(CEMIContract), + m.CEMIContract.(*_CEMI).deepCopy(), m.AdditionalInformationLength, utils.DeepCopySlice[CEMIAdditionalInformation, CEMIAdditionalInformation](m.AdditionalInformation), m.DataFrame.DeepCopy().(LDataFrame), diff --git a/plc4go/protocols/knxnetip/readwrite/model/LDataReq.go b/plc4go/protocols/knxnetip/readwrite/model/LDataReq.go index 5a3c32131f..281f8e7cc7 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/LDataReq.go +++ b/plc4go/protocols/knxnetip/readwrite/model/LDataReq.go @@ -239,7 +239,7 @@ func (m *_LDataReq) deepCopy() *_LDataReq { return nil } _LDataReqCopy := &_LDataReq{ - m.CEMIContract.DeepCopy().(CEMIContract), + m.CEMIContract.(*_CEMI).deepCopy(), m.AdditionalInformationLength, utils.DeepCopySlice[CEMIAdditionalInformation, CEMIAdditionalInformation](m.AdditionalInformation), m.DataFrame.DeepCopy().(LDataFrame), diff --git a/plc4go/protocols/knxnetip/readwrite/model/LPollData.go b/plc4go/protocols/knxnetip/readwrite/model/LPollData.go index 5b9d4f921e..be0365600f 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/LPollData.go +++ b/plc4go/protocols/knxnetip/readwrite/model/LPollData.go @@ -256,7 +256,7 @@ func (m *_LPollData) deepCopy() *_LPollData { return nil } _LPollDataCopy := &_LPollData{ - m.LDataFrameContract.DeepCopy().(LDataFrameContract), + m.LDataFrameContract.(*_LDataFrame).deepCopy(), m.SourceAddress.DeepCopy().(KnxAddress), utils.DeepCopySlice[byte, byte](m.TargetAddress), m.NumberExpectedPollData, diff --git a/plc4go/protocols/knxnetip/readwrite/model/LPollDataCon.go b/plc4go/protocols/knxnetip/readwrite/model/LPollDataCon.go index 3e7b8c9ec9..f9e7997a60 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/LPollDataCon.go +++ b/plc4go/protocols/knxnetip/readwrite/model/LPollDataCon.go @@ -157,7 +157,7 @@ func (m *_LPollDataCon) deepCopy() *_LPollDataCon { return nil } _LPollDataConCopy := &_LPollDataCon{ - m.CEMIContract.DeepCopy().(CEMIContract), + m.CEMIContract.(*_CEMI).deepCopy(), } m.CEMIContract.(*_CEMI)._SubType = m return _LPollDataConCopy diff --git a/plc4go/protocols/knxnetip/readwrite/model/LPollDataReq.go b/plc4go/protocols/knxnetip/readwrite/model/LPollDataReq.go index 39208778f5..c355891cf0 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/LPollDataReq.go +++ b/plc4go/protocols/knxnetip/readwrite/model/LPollDataReq.go @@ -157,7 +157,7 @@ func (m *_LPollDataReq) deepCopy() *_LPollDataReq { return nil } _LPollDataReqCopy := &_LPollDataReq{ - m.CEMIContract.DeepCopy().(CEMIContract), + m.CEMIContract.(*_CEMI).deepCopy(), } m.CEMIContract.(*_CEMI)._SubType = m return _LPollDataReqCopy diff --git a/plc4go/protocols/knxnetip/readwrite/model/LRawCon.go b/plc4go/protocols/knxnetip/readwrite/model/LRawCon.go index 8257fa08e2..061680065e 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/LRawCon.go +++ b/plc4go/protocols/knxnetip/readwrite/model/LRawCon.go @@ -157,7 +157,7 @@ func (m *_LRawCon) deepCopy() *_LRawCon { return nil } _LRawConCopy := &_LRawCon{ - m.CEMIContract.DeepCopy().(CEMIContract), + m.CEMIContract.(*_CEMI).deepCopy(), } m.CEMIContract.(*_CEMI)._SubType = m return _LRawConCopy diff --git a/plc4go/protocols/knxnetip/readwrite/model/LRawInd.go b/plc4go/protocols/knxnetip/readwrite/model/LRawInd.go index 7c12dd2e60..fe127df5e7 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/LRawInd.go +++ b/plc4go/protocols/knxnetip/readwrite/model/LRawInd.go @@ -157,7 +157,7 @@ func (m *_LRawInd) deepCopy() *_LRawInd { return nil } _LRawIndCopy := &_LRawInd{ - m.CEMIContract.DeepCopy().(CEMIContract), + m.CEMIContract.(*_CEMI).deepCopy(), } m.CEMIContract.(*_CEMI)._SubType = m return _LRawIndCopy diff --git a/plc4go/protocols/knxnetip/readwrite/model/LRawReq.go b/plc4go/protocols/knxnetip/readwrite/model/LRawReq.go index 0fd66a3ee4..8c637bb4c3 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/LRawReq.go +++ b/plc4go/protocols/knxnetip/readwrite/model/LRawReq.go @@ -157,7 +157,7 @@ func (m *_LRawReq) deepCopy() *_LRawReq { return nil } _LRawReqCopy := &_LRawReq{ - m.CEMIContract.DeepCopy().(CEMIContract), + m.CEMIContract.(*_CEMI).deepCopy(), } m.CEMIContract.(*_CEMI)._SubType = m return _LRawReqCopy diff --git a/plc4go/protocols/knxnetip/readwrite/model/MFuncPropCommandReq.go b/plc4go/protocols/knxnetip/readwrite/model/MFuncPropCommandReq.go index 4bad27cf7c..5fda484d25 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/MFuncPropCommandReq.go +++ b/plc4go/protocols/knxnetip/readwrite/model/MFuncPropCommandReq.go @@ -157,7 +157,7 @@ func (m *_MFuncPropCommandReq) deepCopy() *_MFuncPropCommandReq { return nil } _MFuncPropCommandReqCopy := &_MFuncPropCommandReq{ - m.CEMIContract.DeepCopy().(CEMIContract), + m.CEMIContract.(*_CEMI).deepCopy(), } m.CEMIContract.(*_CEMI)._SubType = m return _MFuncPropCommandReqCopy diff --git a/plc4go/protocols/knxnetip/readwrite/model/MFuncPropCon.go b/plc4go/protocols/knxnetip/readwrite/model/MFuncPropCon.go index 53173470be..64ab40f3d6 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/MFuncPropCon.go +++ b/plc4go/protocols/knxnetip/readwrite/model/MFuncPropCon.go @@ -157,7 +157,7 @@ func (m *_MFuncPropCon) deepCopy() *_MFuncPropCon { return nil } _MFuncPropConCopy := &_MFuncPropCon{ - m.CEMIContract.DeepCopy().(CEMIContract), + m.CEMIContract.(*_CEMI).deepCopy(), } m.CEMIContract.(*_CEMI)._SubType = m return _MFuncPropConCopy diff --git a/plc4go/protocols/knxnetip/readwrite/model/MFuncPropStateReadReq.go b/plc4go/protocols/knxnetip/readwrite/model/MFuncPropStateReadReq.go index d9d62b43f2..5a22a22584 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/MFuncPropStateReadReq.go +++ b/plc4go/protocols/knxnetip/readwrite/model/MFuncPropStateReadReq.go @@ -157,7 +157,7 @@ func (m *_MFuncPropStateReadReq) deepCopy() *_MFuncPropStateReadReq { return nil } _MFuncPropStateReadReqCopy := &_MFuncPropStateReadReq{ - m.CEMIContract.DeepCopy().(CEMIContract), + m.CEMIContract.(*_CEMI).deepCopy(), } m.CEMIContract.(*_CEMI)._SubType = m return _MFuncPropStateReadReqCopy diff --git a/plc4go/protocols/knxnetip/readwrite/model/MPropInfoInd.go b/plc4go/protocols/knxnetip/readwrite/model/MPropInfoInd.go index 33f4440be2..91f4212d55 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/MPropInfoInd.go +++ b/plc4go/protocols/knxnetip/readwrite/model/MPropInfoInd.go @@ -157,7 +157,7 @@ func (m *_MPropInfoInd) deepCopy() *_MPropInfoInd { return nil } _MPropInfoIndCopy := &_MPropInfoInd{ - m.CEMIContract.DeepCopy().(CEMIContract), + m.CEMIContract.(*_CEMI).deepCopy(), } m.CEMIContract.(*_CEMI)._SubType = m return _MPropInfoIndCopy diff --git a/plc4go/protocols/knxnetip/readwrite/model/MPropReadCon.go b/plc4go/protocols/knxnetip/readwrite/model/MPropReadCon.go index 8f4addff99..7a39872c03 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/MPropReadCon.go +++ b/plc4go/protocols/knxnetip/readwrite/model/MPropReadCon.go @@ -295,7 +295,7 @@ func (m *_MPropReadCon) deepCopy() *_MPropReadCon { return nil } _MPropReadConCopy := &_MPropReadCon{ - m.CEMIContract.DeepCopy().(CEMIContract), + m.CEMIContract.(*_CEMI).deepCopy(), m.InterfaceObjectType, m.ObjectInstance, m.PropertyId, diff --git a/plc4go/protocols/knxnetip/readwrite/model/MPropReadReq.go b/plc4go/protocols/knxnetip/readwrite/model/MPropReadReq.go index 4b9e1d72a1..37c1080eb4 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/MPropReadReq.go +++ b/plc4go/protocols/knxnetip/readwrite/model/MPropReadReq.go @@ -274,7 +274,7 @@ func (m *_MPropReadReq) deepCopy() *_MPropReadReq { return nil } _MPropReadReqCopy := &_MPropReadReq{ - m.CEMIContract.DeepCopy().(CEMIContract), + m.CEMIContract.(*_CEMI).deepCopy(), m.InterfaceObjectType, m.ObjectInstance, m.PropertyId, diff --git a/plc4go/protocols/knxnetip/readwrite/model/MPropWriteCon.go b/plc4go/protocols/knxnetip/readwrite/model/MPropWriteCon.go index 5e075eb472..015d5bcd03 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/MPropWriteCon.go +++ b/plc4go/protocols/knxnetip/readwrite/model/MPropWriteCon.go @@ -157,7 +157,7 @@ func (m *_MPropWriteCon) deepCopy() *_MPropWriteCon { return nil } _MPropWriteConCopy := &_MPropWriteCon{ - m.CEMIContract.DeepCopy().(CEMIContract), + m.CEMIContract.(*_CEMI).deepCopy(), } m.CEMIContract.(*_CEMI)._SubType = m return _MPropWriteConCopy diff --git a/plc4go/protocols/knxnetip/readwrite/model/MPropWriteReq.go b/plc4go/protocols/knxnetip/readwrite/model/MPropWriteReq.go index 179629c808..da39b0b9f3 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/MPropWriteReq.go +++ b/plc4go/protocols/knxnetip/readwrite/model/MPropWriteReq.go @@ -157,7 +157,7 @@ func (m *_MPropWriteReq) deepCopy() *_MPropWriteReq { return nil } _MPropWriteReqCopy := &_MPropWriteReq{ - m.CEMIContract.DeepCopy().(CEMIContract), + m.CEMIContract.(*_CEMI).deepCopy(), } m.CEMIContract.(*_CEMI)._SubType = m return _MPropWriteReqCopy diff --git a/plc4go/protocols/knxnetip/readwrite/model/MResetInd.go b/plc4go/protocols/knxnetip/readwrite/model/MResetInd.go index 4a071d4ebd..70ceed4d1c 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/MResetInd.go +++ b/plc4go/protocols/knxnetip/readwrite/model/MResetInd.go @@ -157,7 +157,7 @@ func (m *_MResetInd) deepCopy() *_MResetInd { return nil } _MResetIndCopy := &_MResetInd{ - m.CEMIContract.DeepCopy().(CEMIContract), + m.CEMIContract.(*_CEMI).deepCopy(), } m.CEMIContract.(*_CEMI)._SubType = m return _MResetIndCopy diff --git a/plc4go/protocols/knxnetip/readwrite/model/MResetReq.go b/plc4go/protocols/knxnetip/readwrite/model/MResetReq.go index 60bae97b84..1e3c60d922 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/MResetReq.go +++ b/plc4go/protocols/knxnetip/readwrite/model/MResetReq.go @@ -157,7 +157,7 @@ func (m *_MResetReq) deepCopy() *_MResetReq { return nil } _MResetReqCopy := &_MResetReq{ - m.CEMIContract.DeepCopy().(CEMIContract), + m.CEMIContract.(*_CEMI).deepCopy(), } m.CEMIContract.(*_CEMI)._SubType = m return _MResetReqCopy diff --git a/plc4go/protocols/knxnetip/readwrite/model/RoutingIndication.go b/plc4go/protocols/knxnetip/readwrite/model/RoutingIndication.go index ea1da4339c..c512a7c5d0 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/RoutingIndication.go +++ b/plc4go/protocols/knxnetip/readwrite/model/RoutingIndication.go @@ -158,7 +158,7 @@ func (m *_RoutingIndication) deepCopy() *_RoutingIndication { return nil } _RoutingIndicationCopy := &_RoutingIndication{ - m.KnxNetIpMessageContract.DeepCopy().(KnxNetIpMessageContract), + m.KnxNetIpMessageContract.(*_KnxNetIpMessage).deepCopy(), } m.KnxNetIpMessageContract.(*_KnxNetIpMessage)._SubType = m return _RoutingIndicationCopy diff --git a/plc4go/protocols/knxnetip/readwrite/model/SearchRequest.go b/plc4go/protocols/knxnetip/readwrite/model/SearchRequest.go index 41788b892c..d3eb9a7988 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/SearchRequest.go +++ b/plc4go/protocols/knxnetip/readwrite/model/SearchRequest.go @@ -195,7 +195,7 @@ func (m *_SearchRequest) deepCopy() *_SearchRequest { return nil } _SearchRequestCopy := &_SearchRequest{ - m.KnxNetIpMessageContract.DeepCopy().(KnxNetIpMessageContract), + m.KnxNetIpMessageContract.(*_KnxNetIpMessage).deepCopy(), m.HpaiIDiscoveryEndpoint.DeepCopy().(HPAIDiscoveryEndpoint), } m.KnxNetIpMessageContract.(*_KnxNetIpMessage)._SubType = m diff --git a/plc4go/protocols/knxnetip/readwrite/model/SearchResponse.go b/plc4go/protocols/knxnetip/readwrite/model/SearchResponse.go index ec069df25e..fa675d8a19 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/SearchResponse.go +++ b/plc4go/protocols/knxnetip/readwrite/model/SearchResponse.go @@ -243,7 +243,7 @@ func (m *_SearchResponse) deepCopy() *_SearchResponse { return nil } _SearchResponseCopy := &_SearchResponse{ - m.KnxNetIpMessageContract.DeepCopy().(KnxNetIpMessageContract), + m.KnxNetIpMessageContract.(*_KnxNetIpMessage).deepCopy(), m.HpaiControlEndpoint.DeepCopy().(HPAIControlEndpoint), m.DibDeviceInfo.DeepCopy().(DIBDeviceInfo), m.DibSuppSvcFamilies.DeepCopy().(DIBSuppSvcFamilies), diff --git a/plc4go/protocols/knxnetip/readwrite/model/ServiceId.go b/plc4go/protocols/knxnetip/readwrite/model/ServiceId.go index ac060e6519..cfe6d6febe 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/ServiceId.go +++ b/plc4go/protocols/knxnetip/readwrite/model/ServiceId.go @@ -47,7 +47,6 @@ type ServiceId interface { // ServiceIdContract provides a set of functions which can be overwritten by a sub struct type ServiceIdContract interface { - utils.Copyable // IsServiceId is a marker method to prevent unintentional type checks (interfaces of same signature) IsServiceId() } diff --git a/plc4go/protocols/knxnetip/readwrite/model/TDataConnectedInd.go b/plc4go/protocols/knxnetip/readwrite/model/TDataConnectedInd.go index 6fd1be2db3..19856099dd 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/TDataConnectedInd.go +++ b/plc4go/protocols/knxnetip/readwrite/model/TDataConnectedInd.go @@ -157,7 +157,7 @@ func (m *_TDataConnectedInd) deepCopy() *_TDataConnectedInd { return nil } _TDataConnectedIndCopy := &_TDataConnectedInd{ - m.CEMIContract.DeepCopy().(CEMIContract), + m.CEMIContract.(*_CEMI).deepCopy(), } m.CEMIContract.(*_CEMI)._SubType = m return _TDataConnectedIndCopy diff --git a/plc4go/protocols/knxnetip/readwrite/model/TDataConnectedReq.go b/plc4go/protocols/knxnetip/readwrite/model/TDataConnectedReq.go index 5c45aa3262..48dbd5fceb 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/TDataConnectedReq.go +++ b/plc4go/protocols/knxnetip/readwrite/model/TDataConnectedReq.go @@ -157,7 +157,7 @@ func (m *_TDataConnectedReq) deepCopy() *_TDataConnectedReq { return nil } _TDataConnectedReqCopy := &_TDataConnectedReq{ - m.CEMIContract.DeepCopy().(CEMIContract), + m.CEMIContract.(*_CEMI).deepCopy(), } m.CEMIContract.(*_CEMI)._SubType = m return _TDataConnectedReqCopy diff --git a/plc4go/protocols/knxnetip/readwrite/model/TDataIndividualInd.go b/plc4go/protocols/knxnetip/readwrite/model/TDataIndividualInd.go index 13d2b44ebb..ed6dcb71c8 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/TDataIndividualInd.go +++ b/plc4go/protocols/knxnetip/readwrite/model/TDataIndividualInd.go @@ -157,7 +157,7 @@ func (m *_TDataIndividualInd) deepCopy() *_TDataIndividualInd { return nil } _TDataIndividualIndCopy := &_TDataIndividualInd{ - m.CEMIContract.DeepCopy().(CEMIContract), + m.CEMIContract.(*_CEMI).deepCopy(), } m.CEMIContract.(*_CEMI)._SubType = m return _TDataIndividualIndCopy diff --git a/plc4go/protocols/knxnetip/readwrite/model/TDataIndividualReq.go b/plc4go/protocols/knxnetip/readwrite/model/TDataIndividualReq.go index b0911d3a0e..7eca22ba44 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/TDataIndividualReq.go +++ b/plc4go/protocols/knxnetip/readwrite/model/TDataIndividualReq.go @@ -157,7 +157,7 @@ func (m *_TDataIndividualReq) deepCopy() *_TDataIndividualReq { return nil } _TDataIndividualReqCopy := &_TDataIndividualReq{ - m.CEMIContract.DeepCopy().(CEMIContract), + m.CEMIContract.(*_CEMI).deepCopy(), } m.CEMIContract.(*_CEMI)._SubType = m return _TDataIndividualReqCopy diff --git a/plc4go/protocols/knxnetip/readwrite/model/TunnelingRequest.go b/plc4go/protocols/knxnetip/readwrite/model/TunnelingRequest.go index 0f0d2e3bbb..83b281f1c9 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/TunnelingRequest.go +++ b/plc4go/protocols/knxnetip/readwrite/model/TunnelingRequest.go @@ -232,7 +232,7 @@ func (m *_TunnelingRequest) deepCopy() *_TunnelingRequest { return nil } _TunnelingRequestCopy := &_TunnelingRequest{ - m.KnxNetIpMessageContract.DeepCopy().(KnxNetIpMessageContract), + m.KnxNetIpMessageContract.(*_KnxNetIpMessage).deepCopy(), m.TunnelingRequestDataBlock.DeepCopy().(TunnelingRequestDataBlock), m.Cemi.DeepCopy().(CEMI), m.TotalLength, diff --git a/plc4go/protocols/knxnetip/readwrite/model/TunnelingResponse.go b/plc4go/protocols/knxnetip/readwrite/model/TunnelingResponse.go index 4598248477..7df1745681 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/TunnelingResponse.go +++ b/plc4go/protocols/knxnetip/readwrite/model/TunnelingResponse.go @@ -195,7 +195,7 @@ func (m *_TunnelingResponse) deepCopy() *_TunnelingResponse { return nil } _TunnelingResponseCopy := &_TunnelingResponse{ - m.KnxNetIpMessageContract.DeepCopy().(KnxNetIpMessageContract), + m.KnxNetIpMessageContract.(*_KnxNetIpMessage).deepCopy(), m.TunnelingResponseDataBlock.DeepCopy().(TunnelingResponseDataBlock), } m.KnxNetIpMessageContract.(*_KnxNetIpMessage)._SubType = m diff --git a/plc4go/protocols/knxnetip/readwrite/model/UnknownMessage.go b/plc4go/protocols/knxnetip/readwrite/model/UnknownMessage.go index 2b181f0c74..620e7e70de 100644 --- a/plc4go/protocols/knxnetip/readwrite/model/UnknownMessage.go +++ b/plc4go/protocols/knxnetip/readwrite/model/UnknownMessage.go @@ -207,7 +207,7 @@ func (m *_UnknownMessage) deepCopy() *_UnknownMessage { return nil } _UnknownMessageCopy := &_UnknownMessage{ - m.KnxNetIpMessageContract.DeepCopy().(KnxNetIpMessageContract), + m.KnxNetIpMessageContract.(*_KnxNetIpMessage).deepCopy(), utils.DeepCopySlice[byte, byte](m.UnknownData), m.TotalLength, } diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusADU.go b/plc4go/protocols/modbus/readwrite/model/ModbusADU.go index 7eb516426f..8b3f01d6a8 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusADU.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusADU.go @@ -46,7 +46,6 @@ type ModbusADU interface { // ModbusADUContract provides a set of functions which can be overwritten by a sub struct type ModbusADUContract interface { - utils.Copyable // GetResponse() returns a parser argument GetResponse() bool // IsModbusADU is a marker method to prevent unintentional type checks (interfaces of same signature) diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusAsciiADU.go b/plc4go/protocols/modbus/readwrite/model/ModbusAsciiADU.go index 7ab50ee8cc..e79d20a7f0 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusAsciiADU.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusAsciiADU.go @@ -229,7 +229,7 @@ func (m *_ModbusAsciiADU) deepCopy() *_ModbusAsciiADU { return nil } _ModbusAsciiADUCopy := &_ModbusAsciiADU{ - m.ModbusADUContract.DeepCopy().(ModbusADUContract), + m.ModbusADUContract.(*_ModbusADU).deepCopy(), m.Address, m.Pdu.DeepCopy().(ModbusPDU), } diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDU.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDU.go index a6bc41cfe7..c0c3dff226 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDU.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDU.go @@ -47,7 +47,6 @@ type ModbusPDU interface { // ModbusPDUContract provides a set of functions which can be overwritten by a sub struct type ModbusPDUContract interface { - utils.Copyable // IsModbusPDU is a marker method to prevent unintentional type checks (interfaces of same signature) IsModbusPDU() } diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUDiagnosticRequest.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUDiagnosticRequest.go index ed0557fdfa..062ba28dfa 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUDiagnosticRequest.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUDiagnosticRequest.go @@ -219,7 +219,7 @@ func (m *_ModbusPDUDiagnosticRequest) deepCopy() *_ModbusPDUDiagnosticRequest { return nil } _ModbusPDUDiagnosticRequestCopy := &_ModbusPDUDiagnosticRequest{ - m.ModbusPDUContract.DeepCopy().(ModbusPDUContract), + m.ModbusPDUContract.(*_ModbusPDU).deepCopy(), m.SubFunction, m.Data, } diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUDiagnosticResponse.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUDiagnosticResponse.go index ae0a1420a7..2fad129126 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUDiagnosticResponse.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUDiagnosticResponse.go @@ -219,7 +219,7 @@ func (m *_ModbusPDUDiagnosticResponse) deepCopy() *_ModbusPDUDiagnosticResponse return nil } _ModbusPDUDiagnosticResponseCopy := &_ModbusPDUDiagnosticResponse{ - m.ModbusPDUContract.DeepCopy().(ModbusPDUContract), + m.ModbusPDUContract.(*_ModbusPDU).deepCopy(), m.SubFunction, m.Data, } diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUError.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUError.go index ab1db673ff..f0a7a8a132 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUError.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUError.go @@ -198,7 +198,7 @@ func (m *_ModbusPDUError) deepCopy() *_ModbusPDUError { return nil } _ModbusPDUErrorCopy := &_ModbusPDUError{ - m.ModbusPDUContract.DeepCopy().(ModbusPDUContract), + m.ModbusPDUContract.(*_ModbusPDU).deepCopy(), m.ExceptionCode, } m.ModbusPDUContract.(*_ModbusPDU)._SubType = m diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUGetComEventCounterRequest.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUGetComEventCounterRequest.go index a9acd55bad..99a67a3de6 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUGetComEventCounterRequest.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUGetComEventCounterRequest.go @@ -165,7 +165,7 @@ func (m *_ModbusPDUGetComEventCounterRequest) deepCopy() *_ModbusPDUGetComEventC return nil } _ModbusPDUGetComEventCounterRequestCopy := &_ModbusPDUGetComEventCounterRequest{ - m.ModbusPDUContract.DeepCopy().(ModbusPDUContract), + m.ModbusPDUContract.(*_ModbusPDU).deepCopy(), } m.ModbusPDUContract.(*_ModbusPDU)._SubType = m return _ModbusPDUGetComEventCounterRequestCopy diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUGetComEventCounterResponse.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUGetComEventCounterResponse.go index 219fb083c2..2da3940ba7 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUGetComEventCounterResponse.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUGetComEventCounterResponse.go @@ -219,7 +219,7 @@ func (m *_ModbusPDUGetComEventCounterResponse) deepCopy() *_ModbusPDUGetComEvent return nil } _ModbusPDUGetComEventCounterResponseCopy := &_ModbusPDUGetComEventCounterResponse{ - m.ModbusPDUContract.DeepCopy().(ModbusPDUContract), + m.ModbusPDUContract.(*_ModbusPDU).deepCopy(), m.Status, m.EventCount, } diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUGetComEventLogRequest.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUGetComEventLogRequest.go index 58cfa8e9dd..e170c1d246 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUGetComEventLogRequest.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUGetComEventLogRequest.go @@ -165,7 +165,7 @@ func (m *_ModbusPDUGetComEventLogRequest) deepCopy() *_ModbusPDUGetComEventLogRe return nil } _ModbusPDUGetComEventLogRequestCopy := &_ModbusPDUGetComEventLogRequest{ - m.ModbusPDUContract.DeepCopy().(ModbusPDUContract), + m.ModbusPDUContract.(*_ModbusPDU).deepCopy(), } m.ModbusPDUContract.(*_ModbusPDU)._SubType = m return _ModbusPDUGetComEventLogRequestCopy diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUGetComEventLogResponse.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUGetComEventLogResponse.go index d2d1598612..25c6b13f21 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUGetComEventLogResponse.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUGetComEventLogResponse.go @@ -276,7 +276,7 @@ func (m *_ModbusPDUGetComEventLogResponse) deepCopy() *_ModbusPDUGetComEventLogR return nil } _ModbusPDUGetComEventLogResponseCopy := &_ModbusPDUGetComEventLogResponse{ - m.ModbusPDUContract.DeepCopy().(ModbusPDUContract), + m.ModbusPDUContract.(*_ModbusPDU).deepCopy(), m.Status, m.EventCount, m.MessageCount, diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUMaskWriteHoldingRegisterRequest.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUMaskWriteHoldingRegisterRequest.go index f903cb96db..9b61747676 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUMaskWriteHoldingRegisterRequest.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUMaskWriteHoldingRegisterRequest.go @@ -240,7 +240,7 @@ func (m *_ModbusPDUMaskWriteHoldingRegisterRequest) deepCopy() *_ModbusPDUMaskWr return nil } _ModbusPDUMaskWriteHoldingRegisterRequestCopy := &_ModbusPDUMaskWriteHoldingRegisterRequest{ - m.ModbusPDUContract.DeepCopy().(ModbusPDUContract), + m.ModbusPDUContract.(*_ModbusPDU).deepCopy(), m.ReferenceAddress, m.AndMask, m.OrMask, diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUMaskWriteHoldingRegisterResponse.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUMaskWriteHoldingRegisterResponse.go index f85c9e0616..8a748b8d4a 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUMaskWriteHoldingRegisterResponse.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUMaskWriteHoldingRegisterResponse.go @@ -240,7 +240,7 @@ func (m *_ModbusPDUMaskWriteHoldingRegisterResponse) deepCopy() *_ModbusPDUMaskW return nil } _ModbusPDUMaskWriteHoldingRegisterResponseCopy := &_ModbusPDUMaskWriteHoldingRegisterResponse{ - m.ModbusPDUContract.DeepCopy().(ModbusPDUContract), + m.ModbusPDUContract.(*_ModbusPDU).deepCopy(), m.ReferenceAddress, m.AndMask, m.OrMask, diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadCoilsRequest.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadCoilsRequest.go index ca606dd493..0f2d949aee 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadCoilsRequest.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadCoilsRequest.go @@ -219,7 +219,7 @@ func (m *_ModbusPDUReadCoilsRequest) deepCopy() *_ModbusPDUReadCoilsRequest { return nil } _ModbusPDUReadCoilsRequestCopy := &_ModbusPDUReadCoilsRequest{ - m.ModbusPDUContract.DeepCopy().(ModbusPDUContract), + m.ModbusPDUContract.(*_ModbusPDU).deepCopy(), m.StartingAddress, m.Quantity, } diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadCoilsResponse.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadCoilsResponse.go index 3f8678934b..880f703c78 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadCoilsResponse.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadCoilsResponse.go @@ -213,7 +213,7 @@ func (m *_ModbusPDUReadCoilsResponse) deepCopy() *_ModbusPDUReadCoilsResponse { return nil } _ModbusPDUReadCoilsResponseCopy := &_ModbusPDUReadCoilsResponse{ - m.ModbusPDUContract.DeepCopy().(ModbusPDUContract), + m.ModbusPDUContract.(*_ModbusPDU).deepCopy(), utils.DeepCopySlice[byte, byte](m.Value), } m.ModbusPDUContract.(*_ModbusPDU)._SubType = m diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadDeviceIdentificationRequest.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadDeviceIdentificationRequest.go index e80fa07a42..95a534db56 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadDeviceIdentificationRequest.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadDeviceIdentificationRequest.go @@ -248,7 +248,7 @@ func (m *_ModbusPDUReadDeviceIdentificationRequest) deepCopy() *_ModbusPDUReadDe return nil } _ModbusPDUReadDeviceIdentificationRequestCopy := &_ModbusPDUReadDeviceIdentificationRequest{ - m.ModbusPDUContract.DeepCopy().(ModbusPDUContract), + m.ModbusPDUContract.(*_ModbusPDU).deepCopy(), m.Level, m.ObjectId, } diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadDeviceIdentificationResponse.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadDeviceIdentificationResponse.go index 77ebf4dbc7..c0aafeebd6 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadDeviceIdentificationResponse.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadDeviceIdentificationResponse.go @@ -352,7 +352,7 @@ func (m *_ModbusPDUReadDeviceIdentificationResponse) deepCopy() *_ModbusPDUReadD return nil } _ModbusPDUReadDeviceIdentificationResponseCopy := &_ModbusPDUReadDeviceIdentificationResponse{ - m.ModbusPDUContract.DeepCopy().(ModbusPDUContract), + m.ModbusPDUContract.(*_ModbusPDU).deepCopy(), m.Level, m.IndividualAccess, m.ConformityLevel, diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadDiscreteInputsRequest.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadDiscreteInputsRequest.go index 75a0c63098..117291f219 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadDiscreteInputsRequest.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadDiscreteInputsRequest.go @@ -219,7 +219,7 @@ func (m *_ModbusPDUReadDiscreteInputsRequest) deepCopy() *_ModbusPDUReadDiscrete return nil } _ModbusPDUReadDiscreteInputsRequestCopy := &_ModbusPDUReadDiscreteInputsRequest{ - m.ModbusPDUContract.DeepCopy().(ModbusPDUContract), + m.ModbusPDUContract.(*_ModbusPDU).deepCopy(), m.StartingAddress, m.Quantity, } diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadDiscreteInputsResponse.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadDiscreteInputsResponse.go index d6736d39e6..c480e2c861 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadDiscreteInputsResponse.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadDiscreteInputsResponse.go @@ -213,7 +213,7 @@ func (m *_ModbusPDUReadDiscreteInputsResponse) deepCopy() *_ModbusPDUReadDiscret return nil } _ModbusPDUReadDiscreteInputsResponseCopy := &_ModbusPDUReadDiscreteInputsResponse{ - m.ModbusPDUContract.DeepCopy().(ModbusPDUContract), + m.ModbusPDUContract.(*_ModbusPDU).deepCopy(), utils.DeepCopySlice[byte, byte](m.Value), } m.ModbusPDUContract.(*_ModbusPDU)._SubType = m diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadExceptionStatusRequest.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadExceptionStatusRequest.go index a6345bac26..a5505242c0 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadExceptionStatusRequest.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadExceptionStatusRequest.go @@ -165,7 +165,7 @@ func (m *_ModbusPDUReadExceptionStatusRequest) deepCopy() *_ModbusPDUReadExcepti return nil } _ModbusPDUReadExceptionStatusRequestCopy := &_ModbusPDUReadExceptionStatusRequest{ - m.ModbusPDUContract.DeepCopy().(ModbusPDUContract), + m.ModbusPDUContract.(*_ModbusPDU).deepCopy(), } m.ModbusPDUContract.(*_ModbusPDU)._SubType = m return _ModbusPDUReadExceptionStatusRequestCopy diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadExceptionStatusResponse.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadExceptionStatusResponse.go index fb0abcc7bd..aeb40a94a5 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadExceptionStatusResponse.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadExceptionStatusResponse.go @@ -198,7 +198,7 @@ func (m *_ModbusPDUReadExceptionStatusResponse) deepCopy() *_ModbusPDUReadExcept return nil } _ModbusPDUReadExceptionStatusResponseCopy := &_ModbusPDUReadExceptionStatusResponse{ - m.ModbusPDUContract.DeepCopy().(ModbusPDUContract), + m.ModbusPDUContract.(*_ModbusPDU).deepCopy(), m.Value, } m.ModbusPDUContract.(*_ModbusPDU)._SubType = m diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadFifoQueueRequest.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadFifoQueueRequest.go index 983d0bbf1f..0201f53af9 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadFifoQueueRequest.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadFifoQueueRequest.go @@ -198,7 +198,7 @@ func (m *_ModbusPDUReadFifoQueueRequest) deepCopy() *_ModbusPDUReadFifoQueueRequ return nil } _ModbusPDUReadFifoQueueRequestCopy := &_ModbusPDUReadFifoQueueRequest{ - m.ModbusPDUContract.DeepCopy().(ModbusPDUContract), + m.ModbusPDUContract.(*_ModbusPDU).deepCopy(), m.FifoPointerAddress, } m.ModbusPDUContract.(*_ModbusPDU)._SubType = m diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadFifoQueueResponse.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadFifoQueueResponse.go index 34cc95f26d..e8df8bc299 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadFifoQueueResponse.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadFifoQueueResponse.go @@ -226,7 +226,7 @@ func (m *_ModbusPDUReadFifoQueueResponse) deepCopy() *_ModbusPDUReadFifoQueueRes return nil } _ModbusPDUReadFifoQueueResponseCopy := &_ModbusPDUReadFifoQueueResponse{ - m.ModbusPDUContract.DeepCopy().(ModbusPDUContract), + m.ModbusPDUContract.(*_ModbusPDU).deepCopy(), utils.DeepCopySlice[uint16, uint16](m.FifoValue), } m.ModbusPDUContract.(*_ModbusPDU)._SubType = m diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadFileRecordRequest.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadFileRecordRequest.go index 03c2101203..7c99ebcfc4 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadFileRecordRequest.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadFileRecordRequest.go @@ -222,7 +222,7 @@ func (m *_ModbusPDUReadFileRecordRequest) deepCopy() *_ModbusPDUReadFileRecordRe return nil } _ModbusPDUReadFileRecordRequestCopy := &_ModbusPDUReadFileRecordRequest{ - m.ModbusPDUContract.DeepCopy().(ModbusPDUContract), + m.ModbusPDUContract.(*_ModbusPDU).deepCopy(), utils.DeepCopySlice[ModbusPDUReadFileRecordRequestItem, ModbusPDUReadFileRecordRequestItem](m.Items), } m.ModbusPDUContract.(*_ModbusPDU)._SubType = m diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadFileRecordResponse.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadFileRecordResponse.go index ca7f0502dc..cce13d9383 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadFileRecordResponse.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadFileRecordResponse.go @@ -222,7 +222,7 @@ func (m *_ModbusPDUReadFileRecordResponse) deepCopy() *_ModbusPDUReadFileRecordR return nil } _ModbusPDUReadFileRecordResponseCopy := &_ModbusPDUReadFileRecordResponse{ - m.ModbusPDUContract.DeepCopy().(ModbusPDUContract), + m.ModbusPDUContract.(*_ModbusPDU).deepCopy(), utils.DeepCopySlice[ModbusPDUReadFileRecordResponseItem, ModbusPDUReadFileRecordResponseItem](m.Items), } m.ModbusPDUContract.(*_ModbusPDU)._SubType = m diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadHoldingRegistersRequest.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadHoldingRegistersRequest.go index d512479de3..ff0263410b 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadHoldingRegistersRequest.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadHoldingRegistersRequest.go @@ -219,7 +219,7 @@ func (m *_ModbusPDUReadHoldingRegistersRequest) deepCopy() *_ModbusPDUReadHoldin return nil } _ModbusPDUReadHoldingRegistersRequestCopy := &_ModbusPDUReadHoldingRegistersRequest{ - m.ModbusPDUContract.DeepCopy().(ModbusPDUContract), + m.ModbusPDUContract.(*_ModbusPDU).deepCopy(), m.StartingAddress, m.Quantity, } diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadHoldingRegistersResponse.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadHoldingRegistersResponse.go index 7de9b5d66c..0440d71bc6 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadHoldingRegistersResponse.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadHoldingRegistersResponse.go @@ -213,7 +213,7 @@ func (m *_ModbusPDUReadHoldingRegistersResponse) deepCopy() *_ModbusPDUReadHoldi return nil } _ModbusPDUReadHoldingRegistersResponseCopy := &_ModbusPDUReadHoldingRegistersResponse{ - m.ModbusPDUContract.DeepCopy().(ModbusPDUContract), + m.ModbusPDUContract.(*_ModbusPDU).deepCopy(), utils.DeepCopySlice[byte, byte](m.Value), } m.ModbusPDUContract.(*_ModbusPDU)._SubType = m diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadInputRegistersRequest.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadInputRegistersRequest.go index e1faa8fbe6..8f6dace057 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadInputRegistersRequest.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadInputRegistersRequest.go @@ -219,7 +219,7 @@ func (m *_ModbusPDUReadInputRegistersRequest) deepCopy() *_ModbusPDUReadInputReg return nil } _ModbusPDUReadInputRegistersRequestCopy := &_ModbusPDUReadInputRegistersRequest{ - m.ModbusPDUContract.DeepCopy().(ModbusPDUContract), + m.ModbusPDUContract.(*_ModbusPDU).deepCopy(), m.StartingAddress, m.Quantity, } diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadInputRegistersResponse.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadInputRegistersResponse.go index d31d2753ae..7a9e9fd6e8 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadInputRegistersResponse.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadInputRegistersResponse.go @@ -213,7 +213,7 @@ func (m *_ModbusPDUReadInputRegistersResponse) deepCopy() *_ModbusPDUReadInputRe return nil } _ModbusPDUReadInputRegistersResponseCopy := &_ModbusPDUReadInputRegistersResponse{ - m.ModbusPDUContract.DeepCopy().(ModbusPDUContract), + m.ModbusPDUContract.(*_ModbusPDU).deepCopy(), utils.DeepCopySlice[byte, byte](m.Value), } m.ModbusPDUContract.(*_ModbusPDU)._SubType = m diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadWriteMultipleHoldingRegistersRequest.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadWriteMultipleHoldingRegistersRequest.go index 49ba838065..0aaa5e926d 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadWriteMultipleHoldingRegistersRequest.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadWriteMultipleHoldingRegistersRequest.go @@ -298,7 +298,7 @@ func (m *_ModbusPDUReadWriteMultipleHoldingRegistersRequest) deepCopy() *_Modbus return nil } _ModbusPDUReadWriteMultipleHoldingRegistersRequestCopy := &_ModbusPDUReadWriteMultipleHoldingRegistersRequest{ - m.ModbusPDUContract.DeepCopy().(ModbusPDUContract), + m.ModbusPDUContract.(*_ModbusPDU).deepCopy(), m.ReadStartingAddress, m.ReadQuantity, m.WriteStartingAddress, diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadWriteMultipleHoldingRegistersResponse.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadWriteMultipleHoldingRegistersResponse.go index 906eaee5c3..528ba58933 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadWriteMultipleHoldingRegistersResponse.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReadWriteMultipleHoldingRegistersResponse.go @@ -214,7 +214,7 @@ func (m *_ModbusPDUReadWriteMultipleHoldingRegistersResponse) deepCopy() *_Modbu return nil } _ModbusPDUReadWriteMultipleHoldingRegistersResponseCopy := &_ModbusPDUReadWriteMultipleHoldingRegistersResponse{ - m.ModbusPDUContract.DeepCopy().(ModbusPDUContract), + m.ModbusPDUContract.(*_ModbusPDU).deepCopy(), utils.DeepCopySlice[byte, byte](m.Value), } m.ModbusPDUContract.(*_ModbusPDU)._SubType = m diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReportServerIdRequest.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReportServerIdRequest.go index b4b2ddaf3f..b4a9e03c04 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReportServerIdRequest.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReportServerIdRequest.go @@ -165,7 +165,7 @@ func (m *_ModbusPDUReportServerIdRequest) deepCopy() *_ModbusPDUReportServerIdRe return nil } _ModbusPDUReportServerIdRequestCopy := &_ModbusPDUReportServerIdRequest{ - m.ModbusPDUContract.DeepCopy().(ModbusPDUContract), + m.ModbusPDUContract.(*_ModbusPDU).deepCopy(), } m.ModbusPDUContract.(*_ModbusPDU)._SubType = m return _ModbusPDUReportServerIdRequestCopy diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReportServerIdResponse.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReportServerIdResponse.go index 5fdc458e91..af9f649fe4 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUReportServerIdResponse.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUReportServerIdResponse.go @@ -213,7 +213,7 @@ func (m *_ModbusPDUReportServerIdResponse) deepCopy() *_ModbusPDUReportServerIdR return nil } _ModbusPDUReportServerIdResponseCopy := &_ModbusPDUReportServerIdResponse{ - m.ModbusPDUContract.DeepCopy().(ModbusPDUContract), + m.ModbusPDUContract.(*_ModbusPDU).deepCopy(), utils.DeepCopySlice[byte, byte](m.Value), } m.ModbusPDUContract.(*_ModbusPDU)._SubType = m diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteFileRecordRequest.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteFileRecordRequest.go index e8ccecc1c6..a4f33e0b66 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteFileRecordRequest.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteFileRecordRequest.go @@ -222,7 +222,7 @@ func (m *_ModbusPDUWriteFileRecordRequest) deepCopy() *_ModbusPDUWriteFileRecord return nil } _ModbusPDUWriteFileRecordRequestCopy := &_ModbusPDUWriteFileRecordRequest{ - m.ModbusPDUContract.DeepCopy().(ModbusPDUContract), + m.ModbusPDUContract.(*_ModbusPDU).deepCopy(), utils.DeepCopySlice[ModbusPDUWriteFileRecordRequestItem, ModbusPDUWriteFileRecordRequestItem](m.Items), } m.ModbusPDUContract.(*_ModbusPDU)._SubType = m diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteFileRecordResponse.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteFileRecordResponse.go index c28fb554b5..998317585d 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteFileRecordResponse.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteFileRecordResponse.go @@ -222,7 +222,7 @@ func (m *_ModbusPDUWriteFileRecordResponse) deepCopy() *_ModbusPDUWriteFileRecor return nil } _ModbusPDUWriteFileRecordResponseCopy := &_ModbusPDUWriteFileRecordResponse{ - m.ModbusPDUContract.DeepCopy().(ModbusPDUContract), + m.ModbusPDUContract.(*_ModbusPDU).deepCopy(), utils.DeepCopySlice[ModbusPDUWriteFileRecordResponseItem, ModbusPDUWriteFileRecordResponseItem](m.Items), } m.ModbusPDUContract.(*_ModbusPDU)._SubType = m diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteMultipleCoilsRequest.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteMultipleCoilsRequest.go index 3c3d18405d..9063de7880 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteMultipleCoilsRequest.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteMultipleCoilsRequest.go @@ -255,7 +255,7 @@ func (m *_ModbusPDUWriteMultipleCoilsRequest) deepCopy() *_ModbusPDUWriteMultipl return nil } _ModbusPDUWriteMultipleCoilsRequestCopy := &_ModbusPDUWriteMultipleCoilsRequest{ - m.ModbusPDUContract.DeepCopy().(ModbusPDUContract), + m.ModbusPDUContract.(*_ModbusPDU).deepCopy(), m.StartingAddress, m.Quantity, utils.DeepCopySlice[byte, byte](m.Value), diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteMultipleCoilsResponse.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteMultipleCoilsResponse.go index 8af852d9ba..5272d5cc90 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteMultipleCoilsResponse.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteMultipleCoilsResponse.go @@ -219,7 +219,7 @@ func (m *_ModbusPDUWriteMultipleCoilsResponse) deepCopy() *_ModbusPDUWriteMultip return nil } _ModbusPDUWriteMultipleCoilsResponseCopy := &_ModbusPDUWriteMultipleCoilsResponse{ - m.ModbusPDUContract.DeepCopy().(ModbusPDUContract), + m.ModbusPDUContract.(*_ModbusPDU).deepCopy(), m.StartingAddress, m.Quantity, } diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteMultipleHoldingRegistersRequest.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteMultipleHoldingRegistersRequest.go index 32da2b3016..60361b4c04 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteMultipleHoldingRegistersRequest.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteMultipleHoldingRegistersRequest.go @@ -256,7 +256,7 @@ func (m *_ModbusPDUWriteMultipleHoldingRegistersRequest) deepCopy() *_ModbusPDUW return nil } _ModbusPDUWriteMultipleHoldingRegistersRequestCopy := &_ModbusPDUWriteMultipleHoldingRegistersRequest{ - m.ModbusPDUContract.DeepCopy().(ModbusPDUContract), + m.ModbusPDUContract.(*_ModbusPDU).deepCopy(), m.StartingAddress, m.Quantity, utils.DeepCopySlice[byte, byte](m.Value), diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteMultipleHoldingRegistersResponse.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteMultipleHoldingRegistersResponse.go index d02da7ca68..a40944e3d6 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteMultipleHoldingRegistersResponse.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteMultipleHoldingRegistersResponse.go @@ -220,7 +220,7 @@ func (m *_ModbusPDUWriteMultipleHoldingRegistersResponse) deepCopy() *_ModbusPDU return nil } _ModbusPDUWriteMultipleHoldingRegistersResponseCopy := &_ModbusPDUWriteMultipleHoldingRegistersResponse{ - m.ModbusPDUContract.DeepCopy().(ModbusPDUContract), + m.ModbusPDUContract.(*_ModbusPDU).deepCopy(), m.StartingAddress, m.Quantity, } diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteSingleCoilRequest.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteSingleCoilRequest.go index 5f5a9383ae..4c49193ec2 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteSingleCoilRequest.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteSingleCoilRequest.go @@ -219,7 +219,7 @@ func (m *_ModbusPDUWriteSingleCoilRequest) deepCopy() *_ModbusPDUWriteSingleCoil return nil } _ModbusPDUWriteSingleCoilRequestCopy := &_ModbusPDUWriteSingleCoilRequest{ - m.ModbusPDUContract.DeepCopy().(ModbusPDUContract), + m.ModbusPDUContract.(*_ModbusPDU).deepCopy(), m.Address, m.Value, } diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteSingleCoilResponse.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteSingleCoilResponse.go index 63ac61783f..185c19f70c 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteSingleCoilResponse.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteSingleCoilResponse.go @@ -219,7 +219,7 @@ func (m *_ModbusPDUWriteSingleCoilResponse) deepCopy() *_ModbusPDUWriteSingleCoi return nil } _ModbusPDUWriteSingleCoilResponseCopy := &_ModbusPDUWriteSingleCoilResponse{ - m.ModbusPDUContract.DeepCopy().(ModbusPDUContract), + m.ModbusPDUContract.(*_ModbusPDU).deepCopy(), m.Address, m.Value, } diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteSingleRegisterRequest.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteSingleRegisterRequest.go index 0d5af6ad7a..bad456b692 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteSingleRegisterRequest.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteSingleRegisterRequest.go @@ -219,7 +219,7 @@ func (m *_ModbusPDUWriteSingleRegisterRequest) deepCopy() *_ModbusPDUWriteSingle return nil } _ModbusPDUWriteSingleRegisterRequestCopy := &_ModbusPDUWriteSingleRegisterRequest{ - m.ModbusPDUContract.DeepCopy().(ModbusPDUContract), + m.ModbusPDUContract.(*_ModbusPDU).deepCopy(), m.Address, m.Value, } diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteSingleRegisterResponse.go b/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteSingleRegisterResponse.go index 185731165a..e87f802eec 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteSingleRegisterResponse.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusPDUWriteSingleRegisterResponse.go @@ -219,7 +219,7 @@ func (m *_ModbusPDUWriteSingleRegisterResponse) deepCopy() *_ModbusPDUWriteSingl return nil } _ModbusPDUWriteSingleRegisterResponseCopy := &_ModbusPDUWriteSingleRegisterResponse{ - m.ModbusPDUContract.DeepCopy().(ModbusPDUContract), + m.ModbusPDUContract.(*_ModbusPDU).deepCopy(), m.Address, m.Value, } diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusRtuADU.go b/plc4go/protocols/modbus/readwrite/model/ModbusRtuADU.go index 23acdedbfe..20940cca84 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusRtuADU.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusRtuADU.go @@ -229,7 +229,7 @@ func (m *_ModbusRtuADU) deepCopy() *_ModbusRtuADU { return nil } _ModbusRtuADUCopy := &_ModbusRtuADU{ - m.ModbusADUContract.DeepCopy().(ModbusADUContract), + m.ModbusADUContract.(*_ModbusADU).deepCopy(), m.Address, m.Pdu.DeepCopy().(ModbusPDU), } diff --git a/plc4go/protocols/modbus/readwrite/model/ModbusTcpADU.go b/plc4go/protocols/modbus/readwrite/model/ModbusTcpADU.go index 74ac60a55f..0d770223fc 100644 --- a/plc4go/protocols/modbus/readwrite/model/ModbusTcpADU.go +++ b/plc4go/protocols/modbus/readwrite/model/ModbusTcpADU.go @@ -279,7 +279,7 @@ func (m *_ModbusTcpADU) deepCopy() *_ModbusTcpADU { return nil } _ModbusTcpADUCopy := &_ModbusTcpADU{ - m.ModbusADUContract.DeepCopy().(ModbusADUContract), + m.ModbusADUContract.(*_ModbusADU).deepCopy(), m.TransactionIdentifier, m.UnitIdentifier, m.Pdu.DeepCopy().(ModbusPDU), diff --git a/plc4go/protocols/opcua/readwrite/model/ActivateSessionRequest.go b/plc4go/protocols/opcua/readwrite/model/ActivateSessionRequest.go index 23f8622e1f..fea71b97d3 100644 --- a/plc4go/protocols/opcua/readwrite/model/ActivateSessionRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/ActivateSessionRequest.go @@ -363,7 +363,7 @@ func (m *_ActivateSessionRequest) deepCopy() *_ActivateSessionRequest { return nil } _ActivateSessionRequestCopy := &_ActivateSessionRequest{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.RequestHeader.DeepCopy().(ExtensionObjectDefinition), m.ClientSignature.DeepCopy().(ExtensionObjectDefinition), m.NoOfClientSoftwareCertificates, diff --git a/plc4go/protocols/opcua/readwrite/model/ActivateSessionResponse.go b/plc4go/protocols/opcua/readwrite/model/ActivateSessionResponse.go index 2b4b0e28a6..c200959334 100644 --- a/plc4go/protocols/opcua/readwrite/model/ActivateSessionResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/ActivateSessionResponse.go @@ -315,7 +315,7 @@ func (m *_ActivateSessionResponse) deepCopy() *_ActivateSessionResponse { return nil } _ActivateSessionResponseCopy := &_ActivateSessionResponse{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.ResponseHeader.DeepCopy().(ExtensionObjectDefinition), m.ServerNonce.DeepCopy().(PascalByteString), m.NoOfResults, diff --git a/plc4go/protocols/opcua/readwrite/model/AddNodesItem.go b/plc4go/protocols/opcua/readwrite/model/AddNodesItem.go index 52925c3ef8..b68811d1c9 100644 --- a/plc4go/protocols/opcua/readwrite/model/AddNodesItem.go +++ b/plc4go/protocols/opcua/readwrite/model/AddNodesItem.go @@ -334,7 +334,7 @@ func (m *_AddNodesItem) deepCopy() *_AddNodesItem { return nil } _AddNodesItemCopy := &_AddNodesItem{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.ParentNodeId.DeepCopy().(ExpandedNodeId), m.ReferenceTypeId.DeepCopy().(NodeId), m.RequestedNewNodeId.DeepCopy().(ExpandedNodeId), diff --git a/plc4go/protocols/opcua/readwrite/model/AddNodesRequest.go b/plc4go/protocols/opcua/readwrite/model/AddNodesRequest.go index f4c3a5d53b..ca9154ab6a 100644 --- a/plc4go/protocols/opcua/readwrite/model/AddNodesRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/AddNodesRequest.go @@ -242,7 +242,7 @@ func (m *_AddNodesRequest) deepCopy() *_AddNodesRequest { return nil } _AddNodesRequestCopy := &_AddNodesRequest{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.RequestHeader.DeepCopy().(ExtensionObjectDefinition), m.NoOfNodesToAdd, utils.DeepCopySlice[ExtensionObjectDefinition, ExtensionObjectDefinition](m.NodesToAdd), diff --git a/plc4go/protocols/opcua/readwrite/model/AddNodesResponse.go b/plc4go/protocols/opcua/readwrite/model/AddNodesResponse.go index 1ca5942bf1..3358f1023e 100644 --- a/plc4go/protocols/opcua/readwrite/model/AddNodesResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/AddNodesResponse.go @@ -291,7 +291,7 @@ func (m *_AddNodesResponse) deepCopy() *_AddNodesResponse { return nil } _AddNodesResponseCopy := &_AddNodesResponse{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.ResponseHeader.DeepCopy().(ExtensionObjectDefinition), m.NoOfResults, utils.DeepCopySlice[ExtensionObjectDefinition, ExtensionObjectDefinition](m.Results), diff --git a/plc4go/protocols/opcua/readwrite/model/AddNodesResult.go b/plc4go/protocols/opcua/readwrite/model/AddNodesResult.go index 428c540ebd..3729968854 100644 --- a/plc4go/protocols/opcua/readwrite/model/AddNodesResult.go +++ b/plc4go/protocols/opcua/readwrite/model/AddNodesResult.go @@ -217,7 +217,7 @@ func (m *_AddNodesResult) deepCopy() *_AddNodesResult { return nil } _AddNodesResultCopy := &_AddNodesResult{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.StatusCode.DeepCopy().(StatusCode), m.AddedNodeId.DeepCopy().(NodeId), } diff --git a/plc4go/protocols/opcua/readwrite/model/AddReferencesItem.go b/plc4go/protocols/opcua/readwrite/model/AddReferencesItem.go index 9466216a1a..8ec608afb2 100644 --- a/plc4go/protocols/opcua/readwrite/model/AddReferencesItem.go +++ b/plc4go/protocols/opcua/readwrite/model/AddReferencesItem.go @@ -322,7 +322,7 @@ func (m *_AddReferencesItem) deepCopy() *_AddReferencesItem { return nil } _AddReferencesItemCopy := &_AddReferencesItem{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.SourceNodeId.DeepCopy().(NodeId), m.ReferenceTypeId.DeepCopy().(NodeId), m.IsForward, diff --git a/plc4go/protocols/opcua/readwrite/model/AddReferencesRequest.go b/plc4go/protocols/opcua/readwrite/model/AddReferencesRequest.go index 41021a0001..4e8a8a71af 100644 --- a/plc4go/protocols/opcua/readwrite/model/AddReferencesRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/AddReferencesRequest.go @@ -242,7 +242,7 @@ func (m *_AddReferencesRequest) deepCopy() *_AddReferencesRequest { return nil } _AddReferencesRequestCopy := &_AddReferencesRequest{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.RequestHeader.DeepCopy().(ExtensionObjectDefinition), m.NoOfReferencesToAdd, utils.DeepCopySlice[ExtensionObjectDefinition, ExtensionObjectDefinition](m.ReferencesToAdd), diff --git a/plc4go/protocols/opcua/readwrite/model/AddReferencesResponse.go b/plc4go/protocols/opcua/readwrite/model/AddReferencesResponse.go index c9c6d936fe..74796dfbce 100644 --- a/plc4go/protocols/opcua/readwrite/model/AddReferencesResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/AddReferencesResponse.go @@ -291,7 +291,7 @@ func (m *_AddReferencesResponse) deepCopy() *_AddReferencesResponse { return nil } _AddReferencesResponseCopy := &_AddReferencesResponse{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.ResponseHeader.DeepCopy().(ExtensionObjectDefinition), m.NoOfResults, utils.DeepCopySlice[StatusCode, StatusCode](m.Results), diff --git a/plc4go/protocols/opcua/readwrite/model/AdditionalParametersType.go b/plc4go/protocols/opcua/readwrite/model/AdditionalParametersType.go index d6e0d98a78..f90c13a0e6 100644 --- a/plc4go/protocols/opcua/readwrite/model/AdditionalParametersType.go +++ b/plc4go/protocols/opcua/readwrite/model/AdditionalParametersType.go @@ -218,7 +218,7 @@ func (m *_AdditionalParametersType) deepCopy() *_AdditionalParametersType { return nil } _AdditionalParametersTypeCopy := &_AdditionalParametersType{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.NoOfParameters, utils.DeepCopySlice[ExtensionObjectDefinition, ExtensionObjectDefinition](m.Parameters), } diff --git a/plc4go/protocols/opcua/readwrite/model/AggregateConfiguration.go b/plc4go/protocols/opcua/readwrite/model/AggregateConfiguration.go index 30ad5a3f6d..c7e790cb94 100644 --- a/plc4go/protocols/opcua/readwrite/model/AggregateConfiguration.go +++ b/plc4go/protocols/opcua/readwrite/model/AggregateConfiguration.go @@ -303,7 +303,7 @@ func (m *_AggregateConfiguration) deepCopy() *_AggregateConfiguration { return nil } _AggregateConfigurationCopy := &_AggregateConfiguration{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.TreatUncertainAsBad, m.UseServerCapabilitiesDefaults, m.PercentDataBad, diff --git a/plc4go/protocols/opcua/readwrite/model/AliasNameDataType.go b/plc4go/protocols/opcua/readwrite/model/AliasNameDataType.go index fb81dd0689..ae5de8606a 100644 --- a/plc4go/protocols/opcua/readwrite/model/AliasNameDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/AliasNameDataType.go @@ -242,7 +242,7 @@ func (m *_AliasNameDataType) deepCopy() *_AliasNameDataType { return nil } _AliasNameDataTypeCopy := &_AliasNameDataType{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.AliasName.DeepCopy().(QualifiedName), m.NoOfReferencedNodes, utils.DeepCopySlice[ExpandedNodeId, ExpandedNodeId](m.ReferencedNodes), diff --git a/plc4go/protocols/opcua/readwrite/model/Annotation.go b/plc4go/protocols/opcua/readwrite/model/Annotation.go index ac1a7536c8..b21c629b75 100644 --- a/plc4go/protocols/opcua/readwrite/model/Annotation.go +++ b/plc4go/protocols/opcua/readwrite/model/Annotation.go @@ -238,7 +238,7 @@ func (m *_Annotation) deepCopy() *_Annotation { return nil } _AnnotationCopy := &_Annotation{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.Message.DeepCopy().(PascalString), m.UserName.DeepCopy().(PascalString), m.AnnotationTime, diff --git a/plc4go/protocols/opcua/readwrite/model/AnnotationDataType.go b/plc4go/protocols/opcua/readwrite/model/AnnotationDataType.go index 3cae6a4f3c..ef6bb16661 100644 --- a/plc4go/protocols/opcua/readwrite/model/AnnotationDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/AnnotationDataType.go @@ -241,7 +241,7 @@ func (m *_AnnotationDataType) deepCopy() *_AnnotationDataType { return nil } _AnnotationDataTypeCopy := &_AnnotationDataType{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.Annotation.DeepCopy().(PascalString), m.Discipline.DeepCopy().(PascalString), m.Uri.DeepCopy().(PascalString), diff --git a/plc4go/protocols/opcua/readwrite/model/AnonymousIdentityToken.go b/plc4go/protocols/opcua/readwrite/model/AnonymousIdentityToken.go index 5536884f9a..f5b6178d3e 100644 --- a/plc4go/protocols/opcua/readwrite/model/AnonymousIdentityToken.go +++ b/plc4go/protocols/opcua/readwrite/model/AnonymousIdentityToken.go @@ -157,7 +157,7 @@ func (m *_AnonymousIdentityToken) deepCopy() *_AnonymousIdentityToken { return nil } _AnonymousIdentityTokenCopy := &_AnonymousIdentityToken{ - m.UserIdentityTokenDefinitionContract.DeepCopy().(UserIdentityTokenDefinitionContract), + m.UserIdentityTokenDefinitionContract.(*_UserIdentityTokenDefinition).deepCopy(), } m.UserIdentityTokenDefinitionContract.(*_UserIdentityTokenDefinition)._SubType = m return _AnonymousIdentityTokenCopy diff --git a/plc4go/protocols/opcua/readwrite/model/ApplicationDescription.go b/plc4go/protocols/opcua/readwrite/model/ApplicationDescription.go index 04d8222a72..72d64e3449 100644 --- a/plc4go/protocols/opcua/readwrite/model/ApplicationDescription.go +++ b/plc4go/protocols/opcua/readwrite/model/ApplicationDescription.go @@ -359,7 +359,7 @@ func (m *_ApplicationDescription) deepCopy() *_ApplicationDescription { return nil } _ApplicationDescriptionCopy := &_ApplicationDescription{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.ApplicationUri.DeepCopy().(PascalString), m.ProductUri.DeepCopy().(PascalString), m.ApplicationName.DeepCopy().(LocalizedText), diff --git a/plc4go/protocols/opcua/readwrite/model/Argument.go b/plc4go/protocols/opcua/readwrite/model/Argument.go index 0977a18de9..f52339b35b 100644 --- a/plc4go/protocols/opcua/readwrite/model/Argument.go +++ b/plc4go/protocols/opcua/readwrite/model/Argument.go @@ -306,7 +306,7 @@ func (m *_Argument) deepCopy() *_Argument { return nil } _ArgumentCopy := &_Argument{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.Name.DeepCopy().(PascalString), m.DataType.DeepCopy().(NodeId), m.ValueRank, diff --git a/plc4go/protocols/opcua/readwrite/model/AxisInformation.go b/plc4go/protocols/opcua/readwrite/model/AxisInformation.go index 2e93eb7c53..00f3dfdeba 100644 --- a/plc4go/protocols/opcua/readwrite/model/AxisInformation.go +++ b/plc4go/protocols/opcua/readwrite/model/AxisInformation.go @@ -306,7 +306,7 @@ func (m *_AxisInformation) deepCopy() *_AxisInformation { return nil } _AxisInformationCopy := &_AxisInformation{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.EngineeringUnits.DeepCopy().(ExtensionObjectDefinition), m.EURange.DeepCopy().(ExtensionObjectDefinition), m.Title.DeepCopy().(LocalizedText), diff --git a/plc4go/protocols/opcua/readwrite/model/BinaryPayload.go b/plc4go/protocols/opcua/readwrite/model/BinaryPayload.go index 89c34f5d3d..67d087d822 100644 --- a/plc4go/protocols/opcua/readwrite/model/BinaryPayload.go +++ b/plc4go/protocols/opcua/readwrite/model/BinaryPayload.go @@ -192,7 +192,7 @@ func (m *_BinaryPayload) deepCopy() *_BinaryPayload { return nil } _BinaryPayloadCopy := &_BinaryPayload{ - m.PayloadContract.DeepCopy().(PayloadContract), + m.PayloadContract.(*_Payload).deepCopy(), utils.DeepCopySlice[byte, byte](m.Payload), } m.PayloadContract.(*_Payload)._SubType = m diff --git a/plc4go/protocols/opcua/readwrite/model/BitFieldDefinition.go b/plc4go/protocols/opcua/readwrite/model/BitFieldDefinition.go index 7e57c799b3..d12dfa244d 100644 --- a/plc4go/protocols/opcua/readwrite/model/BitFieldDefinition.go +++ b/plc4go/protocols/opcua/readwrite/model/BitFieldDefinition.go @@ -288,7 +288,7 @@ func (m *_BitFieldDefinition) deepCopy() *_BitFieldDefinition { return nil } _BitFieldDefinitionCopy := &_BitFieldDefinition{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.Name.DeepCopy().(PascalString), m.Description.DeepCopy().(LocalizedText), m.StartingBitPosition, diff --git a/plc4go/protocols/opcua/readwrite/model/BrowseDescription.go b/plc4go/protocols/opcua/readwrite/model/BrowseDescription.go index 9a78284558..ca3e5b45ac 100644 --- a/plc4go/protocols/opcua/readwrite/model/BrowseDescription.go +++ b/plc4go/protocols/opcua/readwrite/model/BrowseDescription.go @@ -316,7 +316,7 @@ func (m *_BrowseDescription) deepCopy() *_BrowseDescription { return nil } _BrowseDescriptionCopy := &_BrowseDescription{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.NodeId.DeepCopy().(NodeId), m.BrowseDirection, m.ReferenceTypeId.DeepCopy().(NodeId), diff --git a/plc4go/protocols/opcua/readwrite/model/BrowseNextRequest.go b/plc4go/protocols/opcua/readwrite/model/BrowseNextRequest.go index 44baa45fa3..c3d2d1c2cc 100644 --- a/plc4go/protocols/opcua/readwrite/model/BrowseNextRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/BrowseNextRequest.go @@ -278,7 +278,7 @@ func (m *_BrowseNextRequest) deepCopy() *_BrowseNextRequest { return nil } _BrowseNextRequestCopy := &_BrowseNextRequest{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.RequestHeader.DeepCopy().(ExtensionObjectDefinition), m.ReleaseContinuationPoints, m.NoOfContinuationPoints, diff --git a/plc4go/protocols/opcua/readwrite/model/BrowseNextResponse.go b/plc4go/protocols/opcua/readwrite/model/BrowseNextResponse.go index 71d8edd8ad..af92d84352 100644 --- a/plc4go/protocols/opcua/readwrite/model/BrowseNextResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/BrowseNextResponse.go @@ -291,7 +291,7 @@ func (m *_BrowseNextResponse) deepCopy() *_BrowseNextResponse { return nil } _BrowseNextResponseCopy := &_BrowseNextResponse{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.ResponseHeader.DeepCopy().(ExtensionObjectDefinition), m.NoOfResults, utils.DeepCopySlice[ExtensionObjectDefinition, ExtensionObjectDefinition](m.Results), diff --git a/plc4go/protocols/opcua/readwrite/model/BrowsePath.go b/plc4go/protocols/opcua/readwrite/model/BrowsePath.go index 7e44d6a2cd..8886d75df7 100644 --- a/plc4go/protocols/opcua/readwrite/model/BrowsePath.go +++ b/plc4go/protocols/opcua/readwrite/model/BrowsePath.go @@ -217,7 +217,7 @@ func (m *_BrowsePath) deepCopy() *_BrowsePath { return nil } _BrowsePathCopy := &_BrowsePath{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.StartingNode.DeepCopy().(NodeId), m.RelativePath.DeepCopy().(ExtensionObjectDefinition), } diff --git a/plc4go/protocols/opcua/readwrite/model/BrowsePathResult.go b/plc4go/protocols/opcua/readwrite/model/BrowsePathResult.go index 606689869d..94633aaf8c 100644 --- a/plc4go/protocols/opcua/readwrite/model/BrowsePathResult.go +++ b/plc4go/protocols/opcua/readwrite/model/BrowsePathResult.go @@ -242,7 +242,7 @@ func (m *_BrowsePathResult) deepCopy() *_BrowsePathResult { return nil } _BrowsePathResultCopy := &_BrowsePathResult{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.StatusCode.DeepCopy().(StatusCode), m.NoOfTargets, utils.DeepCopySlice[ExtensionObjectDefinition, ExtensionObjectDefinition](m.Targets), diff --git a/plc4go/protocols/opcua/readwrite/model/BrowsePathTarget.go b/plc4go/protocols/opcua/readwrite/model/BrowsePathTarget.go index 14774f93cc..6e5c7b6a51 100644 --- a/plc4go/protocols/opcua/readwrite/model/BrowsePathTarget.go +++ b/plc4go/protocols/opcua/readwrite/model/BrowsePathTarget.go @@ -214,7 +214,7 @@ func (m *_BrowsePathTarget) deepCopy() *_BrowsePathTarget { return nil } _BrowsePathTargetCopy := &_BrowsePathTarget{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.TargetId.DeepCopy().(ExpandedNodeId), m.RemainingPathIndex, } diff --git a/plc4go/protocols/opcua/readwrite/model/BrowseRequest.go b/plc4go/protocols/opcua/readwrite/model/BrowseRequest.go index 27c4fa23c7..e17c7c5529 100644 --- a/plc4go/protocols/opcua/readwrite/model/BrowseRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/BrowseRequest.go @@ -287,7 +287,7 @@ func (m *_BrowseRequest) deepCopy() *_BrowseRequest { return nil } _BrowseRequestCopy := &_BrowseRequest{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.RequestHeader.DeepCopy().(ExtensionObjectDefinition), m.View.DeepCopy().(ExtensionObjectDefinition), m.RequestedMaxReferencesPerNode, diff --git a/plc4go/protocols/opcua/readwrite/model/BrowseResponse.go b/plc4go/protocols/opcua/readwrite/model/BrowseResponse.go index c097271142..641ddc3a8d 100644 --- a/plc4go/protocols/opcua/readwrite/model/BrowseResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/BrowseResponse.go @@ -291,7 +291,7 @@ func (m *_BrowseResponse) deepCopy() *_BrowseResponse { return nil } _BrowseResponseCopy := &_BrowseResponse{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.ResponseHeader.DeepCopy().(ExtensionObjectDefinition), m.NoOfResults, utils.DeepCopySlice[ExtensionObjectDefinition, ExtensionObjectDefinition](m.Results), diff --git a/plc4go/protocols/opcua/readwrite/model/BrowseResult.go b/plc4go/protocols/opcua/readwrite/model/BrowseResult.go index c61d272e15..4d1f62af28 100644 --- a/plc4go/protocols/opcua/readwrite/model/BrowseResult.go +++ b/plc4go/protocols/opcua/readwrite/model/BrowseResult.go @@ -266,7 +266,7 @@ func (m *_BrowseResult) deepCopy() *_BrowseResult { return nil } _BrowseResultCopy := &_BrowseResult{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.StatusCode.DeepCopy().(StatusCode), m.ContinuationPoint.DeepCopy().(PascalByteString), m.NoOfReferences, diff --git a/plc4go/protocols/opcua/readwrite/model/BuildInfo.go b/plc4go/protocols/opcua/readwrite/model/BuildInfo.go index ec1a2b03e0..eb0f7ee217 100644 --- a/plc4go/protocols/opcua/readwrite/model/BuildInfo.go +++ b/plc4go/protocols/opcua/readwrite/model/BuildInfo.go @@ -310,7 +310,7 @@ func (m *_BuildInfo) deepCopy() *_BuildInfo { return nil } _BuildInfoCopy := &_BuildInfo{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.ProductUri.DeepCopy().(PascalString), m.ManufacturerName.DeepCopy().(PascalString), m.ProductName.DeepCopy().(PascalString), diff --git a/plc4go/protocols/opcua/readwrite/model/CallMethodRequest.go b/plc4go/protocols/opcua/readwrite/model/CallMethodRequest.go index 0dbcd7a70c..99a469e25d 100644 --- a/plc4go/protocols/opcua/readwrite/model/CallMethodRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/CallMethodRequest.go @@ -266,7 +266,7 @@ func (m *_CallMethodRequest) deepCopy() *_CallMethodRequest { return nil } _CallMethodRequestCopy := &_CallMethodRequest{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.ObjectId.DeepCopy().(NodeId), m.MethodId.DeepCopy().(NodeId), m.NoOfInputArguments, diff --git a/plc4go/protocols/opcua/readwrite/model/CallMethodResult.go b/plc4go/protocols/opcua/readwrite/model/CallMethodResult.go index 201082716b..a2b131898c 100644 --- a/plc4go/protocols/opcua/readwrite/model/CallMethodResult.go +++ b/plc4go/protocols/opcua/readwrite/model/CallMethodResult.go @@ -340,7 +340,7 @@ func (m *_CallMethodResult) deepCopy() *_CallMethodResult { return nil } _CallMethodResultCopy := &_CallMethodResult{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.StatusCode.DeepCopy().(StatusCode), m.NoOfInputArgumentResults, utils.DeepCopySlice[StatusCode, StatusCode](m.InputArgumentResults), diff --git a/plc4go/protocols/opcua/readwrite/model/CallRequest.go b/plc4go/protocols/opcua/readwrite/model/CallRequest.go index 9bd988adc3..7a8bd0a80b 100644 --- a/plc4go/protocols/opcua/readwrite/model/CallRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/CallRequest.go @@ -242,7 +242,7 @@ func (m *_CallRequest) deepCopy() *_CallRequest { return nil } _CallRequestCopy := &_CallRequest{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.RequestHeader.DeepCopy().(ExtensionObjectDefinition), m.NoOfMethodsToCall, utils.DeepCopySlice[ExtensionObjectDefinition, ExtensionObjectDefinition](m.MethodsToCall), diff --git a/plc4go/protocols/opcua/readwrite/model/CallResponse.go b/plc4go/protocols/opcua/readwrite/model/CallResponse.go index c000a5f0cd..08a3d8a3bb 100644 --- a/plc4go/protocols/opcua/readwrite/model/CallResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/CallResponse.go @@ -291,7 +291,7 @@ func (m *_CallResponse) deepCopy() *_CallResponse { return nil } _CallResponseCopy := &_CallResponse{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.ResponseHeader.DeepCopy().(ExtensionObjectDefinition), m.NoOfResults, utils.DeepCopySlice[ExtensionObjectDefinition, ExtensionObjectDefinition](m.Results), diff --git a/plc4go/protocols/opcua/readwrite/model/CancelRequest.go b/plc4go/protocols/opcua/readwrite/model/CancelRequest.go index dd7560bc05..741c27b55d 100644 --- a/plc4go/protocols/opcua/readwrite/model/CancelRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/CancelRequest.go @@ -214,7 +214,7 @@ func (m *_CancelRequest) deepCopy() *_CancelRequest { return nil } _CancelRequestCopy := &_CancelRequest{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.RequestHeader.DeepCopy().(ExtensionObjectDefinition), m.RequestHandle, } diff --git a/plc4go/protocols/opcua/readwrite/model/CancelResponse.go b/plc4go/protocols/opcua/readwrite/model/CancelResponse.go index 8f2057e6f0..540c460b47 100644 --- a/plc4go/protocols/opcua/readwrite/model/CancelResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/CancelResponse.go @@ -214,7 +214,7 @@ func (m *_CancelResponse) deepCopy() *_CancelResponse { return nil } _CancelResponseCopy := &_CancelResponse{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.ResponseHeader.DeepCopy().(ExtensionObjectDefinition), m.CancelCount, } diff --git a/plc4go/protocols/opcua/readwrite/model/CartesianCoordinates.go b/plc4go/protocols/opcua/readwrite/model/CartesianCoordinates.go index 8480a926a7..2720af6106 100644 --- a/plc4go/protocols/opcua/readwrite/model/CartesianCoordinates.go +++ b/plc4go/protocols/opcua/readwrite/model/CartesianCoordinates.go @@ -157,7 +157,7 @@ func (m *_CartesianCoordinates) deepCopy() *_CartesianCoordinates { return nil } _CartesianCoordinatesCopy := &_CartesianCoordinates{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), } m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition)._SubType = m return _CartesianCoordinatesCopy diff --git a/plc4go/protocols/opcua/readwrite/model/ChannelSecurityToken.go b/plc4go/protocols/opcua/readwrite/model/ChannelSecurityToken.go index c41092c239..96536b66d2 100644 --- a/plc4go/protocols/opcua/readwrite/model/ChannelSecurityToken.go +++ b/plc4go/protocols/opcua/readwrite/model/ChannelSecurityToken.go @@ -253,7 +253,7 @@ func (m *_ChannelSecurityToken) deepCopy() *_ChannelSecurityToken { return nil } _ChannelSecurityTokenCopy := &_ChannelSecurityToken{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.ChannelId, m.TokenId, m.CreatedAt, diff --git a/plc4go/protocols/opcua/readwrite/model/CloseSecureChannelRequest.go b/plc4go/protocols/opcua/readwrite/model/CloseSecureChannelRequest.go index 61f202a7cf..f0216914ba 100644 --- a/plc4go/protocols/opcua/readwrite/model/CloseSecureChannelRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/CloseSecureChannelRequest.go @@ -193,7 +193,7 @@ func (m *_CloseSecureChannelRequest) deepCopy() *_CloseSecureChannelRequest { return nil } _CloseSecureChannelRequestCopy := &_CloseSecureChannelRequest{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.RequestHeader.DeepCopy().(ExtensionObjectDefinition), } m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition)._SubType = m diff --git a/plc4go/protocols/opcua/readwrite/model/CloseSecureChannelResponse.go b/plc4go/protocols/opcua/readwrite/model/CloseSecureChannelResponse.go index c00a31d7e2..10ae59b016 100644 --- a/plc4go/protocols/opcua/readwrite/model/CloseSecureChannelResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/CloseSecureChannelResponse.go @@ -193,7 +193,7 @@ func (m *_CloseSecureChannelResponse) deepCopy() *_CloseSecureChannelResponse { return nil } _CloseSecureChannelResponseCopy := &_CloseSecureChannelResponse{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.ResponseHeader.DeepCopy().(ExtensionObjectDefinition), } m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition)._SubType = m diff --git a/plc4go/protocols/opcua/readwrite/model/CloseSessionRequest.go b/plc4go/protocols/opcua/readwrite/model/CloseSessionRequest.go index 24fcef7ec6..2d78aa8131 100644 --- a/plc4go/protocols/opcua/readwrite/model/CloseSessionRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/CloseSessionRequest.go @@ -229,7 +229,7 @@ func (m *_CloseSessionRequest) deepCopy() *_CloseSessionRequest { return nil } _CloseSessionRequestCopy := &_CloseSessionRequest{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.RequestHeader.DeepCopy().(ExtensionObjectDefinition), m.DeleteSubscriptions, m.reservedField0, diff --git a/plc4go/protocols/opcua/readwrite/model/CloseSessionResponse.go b/plc4go/protocols/opcua/readwrite/model/CloseSessionResponse.go index c50d9caaa4..50d2b00ac8 100644 --- a/plc4go/protocols/opcua/readwrite/model/CloseSessionResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/CloseSessionResponse.go @@ -193,7 +193,7 @@ func (m *_CloseSessionResponse) deepCopy() *_CloseSessionResponse { return nil } _CloseSessionResponseCopy := &_CloseSessionResponse{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.ResponseHeader.DeepCopy().(ExtensionObjectDefinition), } m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition)._SubType = m diff --git a/plc4go/protocols/opcua/readwrite/model/ComplexNumberType.go b/plc4go/protocols/opcua/readwrite/model/ComplexNumberType.go index 05858d92c1..84e239844d 100644 --- a/plc4go/protocols/opcua/readwrite/model/ComplexNumberType.go +++ b/plc4go/protocols/opcua/readwrite/model/ComplexNumberType.go @@ -211,7 +211,7 @@ func (m *_ComplexNumberType) deepCopy() *_ComplexNumberType { return nil } _ComplexNumberTypeCopy := &_ComplexNumberType{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.Real, m.Imaginary, } diff --git a/plc4go/protocols/opcua/readwrite/model/ConfigurationVersionDataType.go b/plc4go/protocols/opcua/readwrite/model/ConfigurationVersionDataType.go index ff82d824ae..0c23648b96 100644 --- a/plc4go/protocols/opcua/readwrite/model/ConfigurationVersionDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/ConfigurationVersionDataType.go @@ -211,7 +211,7 @@ func (m *_ConfigurationVersionDataType) deepCopy() *_ConfigurationVersionDataTyp return nil } _ConfigurationVersionDataTypeCopy := &_ConfigurationVersionDataType{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.MajorVersion, m.MinorVersion, } diff --git a/plc4go/protocols/opcua/readwrite/model/ConnectionTransportDataType.go b/plc4go/protocols/opcua/readwrite/model/ConnectionTransportDataType.go index 7511b56a3f..ffb063d78f 100644 --- a/plc4go/protocols/opcua/readwrite/model/ConnectionTransportDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/ConnectionTransportDataType.go @@ -157,7 +157,7 @@ func (m *_ConnectionTransportDataType) deepCopy() *_ConnectionTransportDataType return nil } _ConnectionTransportDataTypeCopy := &_ConnectionTransportDataType{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), } m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition)._SubType = m return _ConnectionTransportDataTypeCopy diff --git a/plc4go/protocols/opcua/readwrite/model/ContentFilter.go b/plc4go/protocols/opcua/readwrite/model/ContentFilter.go index 64938f8630..767f48433a 100644 --- a/plc4go/protocols/opcua/readwrite/model/ContentFilter.go +++ b/plc4go/protocols/opcua/readwrite/model/ContentFilter.go @@ -218,7 +218,7 @@ func (m *_ContentFilter) deepCopy() *_ContentFilter { return nil } _ContentFilterCopy := &_ContentFilter{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.NoOfElements, utils.DeepCopySlice[ExtensionObjectDefinition, ExtensionObjectDefinition](m.Elements), } diff --git a/plc4go/protocols/opcua/readwrite/model/ContentFilterElement.go b/plc4go/protocols/opcua/readwrite/model/ContentFilterElement.go index 920c60da71..72dd104feb 100644 --- a/plc4go/protocols/opcua/readwrite/model/ContentFilterElement.go +++ b/plc4go/protocols/opcua/readwrite/model/ContentFilterElement.go @@ -239,7 +239,7 @@ func (m *_ContentFilterElement) deepCopy() *_ContentFilterElement { return nil } _ContentFilterElementCopy := &_ContentFilterElement{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.FilterOperator, m.NoOfFilterOperands, utils.DeepCopySlice[ExtensionObject, ExtensionObject](m.FilterOperands), diff --git a/plc4go/protocols/opcua/readwrite/model/ContentFilterElementResult.go b/plc4go/protocols/opcua/readwrite/model/ContentFilterElementResult.go index 93d8121284..3609d2e007 100644 --- a/plc4go/protocols/opcua/readwrite/model/ContentFilterElementResult.go +++ b/plc4go/protocols/opcua/readwrite/model/ContentFilterElementResult.go @@ -291,7 +291,7 @@ func (m *_ContentFilterElementResult) deepCopy() *_ContentFilterElementResult { return nil } _ContentFilterElementResultCopy := &_ContentFilterElementResult{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.StatusCode.DeepCopy().(StatusCode), m.NoOfOperandStatusCodes, utils.DeepCopySlice[StatusCode, StatusCode](m.OperandStatusCodes), diff --git a/plc4go/protocols/opcua/readwrite/model/ContentFilterResult.go b/plc4go/protocols/opcua/readwrite/model/ContentFilterResult.go index bb94bb12e0..ea6bbca550 100644 --- a/plc4go/protocols/opcua/readwrite/model/ContentFilterResult.go +++ b/plc4go/protocols/opcua/readwrite/model/ContentFilterResult.go @@ -267,7 +267,7 @@ func (m *_ContentFilterResult) deepCopy() *_ContentFilterResult { return nil } _ContentFilterResultCopy := &_ContentFilterResult{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.NoOfElementResults, utils.DeepCopySlice[ExtensionObjectDefinition, ExtensionObjectDefinition](m.ElementResults), m.NoOfElementDiagnosticInfos, diff --git a/plc4go/protocols/opcua/readwrite/model/CreateMonitoredItemsRequest.go b/plc4go/protocols/opcua/readwrite/model/CreateMonitoredItemsRequest.go index c4c5abaf9a..982a5e0391 100644 --- a/plc4go/protocols/opcua/readwrite/model/CreateMonitoredItemsRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/CreateMonitoredItemsRequest.go @@ -284,7 +284,7 @@ func (m *_CreateMonitoredItemsRequest) deepCopy() *_CreateMonitoredItemsRequest return nil } _CreateMonitoredItemsRequestCopy := &_CreateMonitoredItemsRequest{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.RequestHeader.DeepCopy().(ExtensionObjectDefinition), m.SubscriptionId, m.TimestampsToReturn, diff --git a/plc4go/protocols/opcua/readwrite/model/CreateMonitoredItemsResponse.go b/plc4go/protocols/opcua/readwrite/model/CreateMonitoredItemsResponse.go index de70bbdf74..6418febe64 100644 --- a/plc4go/protocols/opcua/readwrite/model/CreateMonitoredItemsResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/CreateMonitoredItemsResponse.go @@ -291,7 +291,7 @@ func (m *_CreateMonitoredItemsResponse) deepCopy() *_CreateMonitoredItemsRespons return nil } _CreateMonitoredItemsResponseCopy := &_CreateMonitoredItemsResponse{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.ResponseHeader.DeepCopy().(ExtensionObjectDefinition), m.NoOfResults, utils.DeepCopySlice[ExtensionObjectDefinition, ExtensionObjectDefinition](m.Results), diff --git a/plc4go/protocols/opcua/readwrite/model/CreateSessionRequest.go b/plc4go/protocols/opcua/readwrite/model/CreateSessionRequest.go index 77a3063d43..d365bb1947 100644 --- a/plc4go/protocols/opcua/readwrite/model/CreateSessionRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/CreateSessionRequest.go @@ -379,7 +379,7 @@ func (m *_CreateSessionRequest) deepCopy() *_CreateSessionRequest { return nil } _CreateSessionRequestCopy := &_CreateSessionRequest{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.RequestHeader.DeepCopy().(ExtensionObjectDefinition), m.ClientDescription.DeepCopy().(ExtensionObjectDefinition), m.ServerUri.DeepCopy().(PascalString), diff --git a/plc4go/protocols/opcua/readwrite/model/CreateSessionResponse.go b/plc4go/protocols/opcua/readwrite/model/CreateSessionResponse.go index 62d5b57f9c..d48093c28d 100644 --- a/plc4go/protocols/opcua/readwrite/model/CreateSessionResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/CreateSessionResponse.go @@ -453,7 +453,7 @@ func (m *_CreateSessionResponse) deepCopy() *_CreateSessionResponse { return nil } _CreateSessionResponseCopy := &_CreateSessionResponse{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.ResponseHeader.DeepCopy().(ExtensionObjectDefinition), m.SessionId.DeepCopy().(NodeId), m.AuthenticationToken.DeepCopy().(NodeId), diff --git a/plc4go/protocols/opcua/readwrite/model/CreateSubscriptionRequest.go b/plc4go/protocols/opcua/readwrite/model/CreateSubscriptionRequest.go index 11fd48cbd7..c03834632b 100644 --- a/plc4go/protocols/opcua/readwrite/model/CreateSubscriptionRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/CreateSubscriptionRequest.go @@ -334,7 +334,7 @@ func (m *_CreateSubscriptionRequest) deepCopy() *_CreateSubscriptionRequest { return nil } _CreateSubscriptionRequestCopy := &_CreateSubscriptionRequest{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.RequestHeader.DeepCopy().(ExtensionObjectDefinition), m.RequestedPublishingInterval, m.RequestedLifetimeCount, diff --git a/plc4go/protocols/opcua/readwrite/model/CreateSubscriptionResponse.go b/plc4go/protocols/opcua/readwrite/model/CreateSubscriptionResponse.go index 33dcdb08ef..fca3e411bb 100644 --- a/plc4go/protocols/opcua/readwrite/model/CreateSubscriptionResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/CreateSubscriptionResponse.go @@ -277,7 +277,7 @@ func (m *_CreateSubscriptionResponse) deepCopy() *_CreateSubscriptionResponse { return nil } _CreateSubscriptionResponseCopy := &_CreateSubscriptionResponse{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.ResponseHeader.DeepCopy().(ExtensionObjectDefinition), m.SubscriptionId, m.RevisedPublishingInterval, diff --git a/plc4go/protocols/opcua/readwrite/model/CurrencyUnitType.go b/plc4go/protocols/opcua/readwrite/model/CurrencyUnitType.go index e9c7f4b66d..5f2a31974c 100644 --- a/plc4go/protocols/opcua/readwrite/model/CurrencyUnitType.go +++ b/plc4go/protocols/opcua/readwrite/model/CurrencyUnitType.go @@ -259,7 +259,7 @@ func (m *_CurrencyUnitType) deepCopy() *_CurrencyUnitType { return nil } _CurrencyUnitTypeCopy := &_CurrencyUnitType{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.NumericCode, m.Exponent, m.AlphabeticCode.DeepCopy().(PascalString), diff --git a/plc4go/protocols/opcua/readwrite/model/DataChangeNotification.go b/plc4go/protocols/opcua/readwrite/model/DataChangeNotification.go index b7250914d1..078e85680e 100644 --- a/plc4go/protocols/opcua/readwrite/model/DataChangeNotification.go +++ b/plc4go/protocols/opcua/readwrite/model/DataChangeNotification.go @@ -280,7 +280,7 @@ func (m *_DataChangeNotification) deepCopy() *_DataChangeNotification { return nil } _DataChangeNotificationCopy := &_DataChangeNotification{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.NoOfMonitoredItems, utils.DeepCopySlice[ExtensionObjectDefinition, ExtensionObjectDefinition](m.MonitoredItems), m.NoOfDiagnosticInfos, diff --git a/plc4go/protocols/opcua/readwrite/model/DataSetReaderMessageDataType.go b/plc4go/protocols/opcua/readwrite/model/DataSetReaderMessageDataType.go index 98e5602208..3287df731f 100644 --- a/plc4go/protocols/opcua/readwrite/model/DataSetReaderMessageDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/DataSetReaderMessageDataType.go @@ -157,7 +157,7 @@ func (m *_DataSetReaderMessageDataType) deepCopy() *_DataSetReaderMessageDataTyp return nil } _DataSetReaderMessageDataTypeCopy := &_DataSetReaderMessageDataType{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), } m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition)._SubType = m return _DataSetReaderMessageDataTypeCopy diff --git a/plc4go/protocols/opcua/readwrite/model/DataSetReaderTransportDataType.go b/plc4go/protocols/opcua/readwrite/model/DataSetReaderTransportDataType.go index b5ec11ff76..2c754182fe 100644 --- a/plc4go/protocols/opcua/readwrite/model/DataSetReaderTransportDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/DataSetReaderTransportDataType.go @@ -157,7 +157,7 @@ func (m *_DataSetReaderTransportDataType) deepCopy() *_DataSetReaderTransportDat return nil } _DataSetReaderTransportDataTypeCopy := &_DataSetReaderTransportDataType{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), } m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition)._SubType = m return _DataSetReaderTransportDataTypeCopy diff --git a/plc4go/protocols/opcua/readwrite/model/DataSetWriterDataType.go b/plc4go/protocols/opcua/readwrite/model/DataSetWriterDataType.go index b0f30dad65..cb8ac8e420 100644 --- a/plc4go/protocols/opcua/readwrite/model/DataSetWriterDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/DataSetWriterDataType.go @@ -413,7 +413,7 @@ func (m *_DataSetWriterDataType) deepCopy() *_DataSetWriterDataType { return nil } _DataSetWriterDataTypeCopy := &_DataSetWriterDataType{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.Name.DeepCopy().(PascalString), m.Enabled, m.DataSetWriterId, diff --git a/plc4go/protocols/opcua/readwrite/model/DataSetWriterMessageDataType.go b/plc4go/protocols/opcua/readwrite/model/DataSetWriterMessageDataType.go index d8b180ed51..0f41903a76 100644 --- a/plc4go/protocols/opcua/readwrite/model/DataSetWriterMessageDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/DataSetWriterMessageDataType.go @@ -157,7 +157,7 @@ func (m *_DataSetWriterMessageDataType) deepCopy() *_DataSetWriterMessageDataTyp return nil } _DataSetWriterMessageDataTypeCopy := &_DataSetWriterMessageDataType{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), } m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition)._SubType = m return _DataSetWriterMessageDataTypeCopy diff --git a/plc4go/protocols/opcua/readwrite/model/DataSetWriterTransportDataType.go b/plc4go/protocols/opcua/readwrite/model/DataSetWriterTransportDataType.go index 65fd15489d..9ade75a662 100644 --- a/plc4go/protocols/opcua/readwrite/model/DataSetWriterTransportDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/DataSetWriterTransportDataType.go @@ -157,7 +157,7 @@ func (m *_DataSetWriterTransportDataType) deepCopy() *_DataSetWriterTransportDat return nil } _DataSetWriterTransportDataTypeCopy := &_DataSetWriterTransportDataType{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), } m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition)._SubType = m return _DataSetWriterTransportDataTypeCopy diff --git a/plc4go/protocols/opcua/readwrite/model/DataTypeDefinition.go b/plc4go/protocols/opcua/readwrite/model/DataTypeDefinition.go index 31f3a04dc4..b717270999 100644 --- a/plc4go/protocols/opcua/readwrite/model/DataTypeDefinition.go +++ b/plc4go/protocols/opcua/readwrite/model/DataTypeDefinition.go @@ -157,7 +157,7 @@ func (m *_DataTypeDefinition) deepCopy() *_DataTypeDefinition { return nil } _DataTypeDefinitionCopy := &_DataTypeDefinition{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), } m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition)._SubType = m return _DataTypeDefinitionCopy diff --git a/plc4go/protocols/opcua/readwrite/model/DataTypeDescription.go b/plc4go/protocols/opcua/readwrite/model/DataTypeDescription.go index 721d93c293..208300ce71 100644 --- a/plc4go/protocols/opcua/readwrite/model/DataTypeDescription.go +++ b/plc4go/protocols/opcua/readwrite/model/DataTypeDescription.go @@ -217,7 +217,7 @@ func (m *_DataTypeDescription) deepCopy() *_DataTypeDescription { return nil } _DataTypeDescriptionCopy := &_DataTypeDescription{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.DataTypeId.DeepCopy().(NodeId), m.Name.DeepCopy().(QualifiedName), } diff --git a/plc4go/protocols/opcua/readwrite/model/DataTypeSchemaHeader.go b/plc4go/protocols/opcua/readwrite/model/DataTypeSchemaHeader.go index ef77fca0e0..cc28b9f2e5 100644 --- a/plc4go/protocols/opcua/readwrite/model/DataTypeSchemaHeader.go +++ b/plc4go/protocols/opcua/readwrite/model/DataTypeSchemaHeader.go @@ -365,7 +365,7 @@ func (m *_DataTypeSchemaHeader) deepCopy() *_DataTypeSchemaHeader { return nil } _DataTypeSchemaHeaderCopy := &_DataTypeSchemaHeader{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.NoOfNamespaces, utils.DeepCopySlice[PascalString, PascalString](m.Namespaces), m.NoOfStructureDataTypes, diff --git a/plc4go/protocols/opcua/readwrite/model/DeleteMonitoredItemsRequest.go b/plc4go/protocols/opcua/readwrite/model/DeleteMonitoredItemsRequest.go index 42d31b8e9d..d22372ee89 100644 --- a/plc4go/protocols/opcua/readwrite/model/DeleteMonitoredItemsRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/DeleteMonitoredItemsRequest.go @@ -258,7 +258,7 @@ func (m *_DeleteMonitoredItemsRequest) deepCopy() *_DeleteMonitoredItemsRequest return nil } _DeleteMonitoredItemsRequestCopy := &_DeleteMonitoredItemsRequest{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.RequestHeader.DeepCopy().(ExtensionObjectDefinition), m.SubscriptionId, m.NoOfMonitoredItemIds, diff --git a/plc4go/protocols/opcua/readwrite/model/DeleteMonitoredItemsResponse.go b/plc4go/protocols/opcua/readwrite/model/DeleteMonitoredItemsResponse.go index 8f7c1986c5..619c024f58 100644 --- a/plc4go/protocols/opcua/readwrite/model/DeleteMonitoredItemsResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/DeleteMonitoredItemsResponse.go @@ -291,7 +291,7 @@ func (m *_DeleteMonitoredItemsResponse) deepCopy() *_DeleteMonitoredItemsRespons return nil } _DeleteMonitoredItemsResponseCopy := &_DeleteMonitoredItemsResponse{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.ResponseHeader.DeepCopy().(ExtensionObjectDefinition), m.NoOfResults, utils.DeepCopySlice[StatusCode, StatusCode](m.Results), diff --git a/plc4go/protocols/opcua/readwrite/model/DeleteNodesItem.go b/plc4go/protocols/opcua/readwrite/model/DeleteNodesItem.go index 4ae11f148f..bb2b83f691 100644 --- a/plc4go/protocols/opcua/readwrite/model/DeleteNodesItem.go +++ b/plc4go/protocols/opcua/readwrite/model/DeleteNodesItem.go @@ -229,7 +229,7 @@ func (m *_DeleteNodesItem) deepCopy() *_DeleteNodesItem { return nil } _DeleteNodesItemCopy := &_DeleteNodesItem{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.NodeId.DeepCopy().(NodeId), m.DeleteTargetReferences, m.reservedField0, diff --git a/plc4go/protocols/opcua/readwrite/model/DeleteNodesRequest.go b/plc4go/protocols/opcua/readwrite/model/DeleteNodesRequest.go index 35108f7d88..b73f9729dc 100644 --- a/plc4go/protocols/opcua/readwrite/model/DeleteNodesRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/DeleteNodesRequest.go @@ -242,7 +242,7 @@ func (m *_DeleteNodesRequest) deepCopy() *_DeleteNodesRequest { return nil } _DeleteNodesRequestCopy := &_DeleteNodesRequest{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.RequestHeader.DeepCopy().(ExtensionObjectDefinition), m.NoOfNodesToDelete, utils.DeepCopySlice[ExtensionObjectDefinition, ExtensionObjectDefinition](m.NodesToDelete), diff --git a/plc4go/protocols/opcua/readwrite/model/DeleteNodesResponse.go b/plc4go/protocols/opcua/readwrite/model/DeleteNodesResponse.go index 6bf56bc83e..9ef1268a22 100644 --- a/plc4go/protocols/opcua/readwrite/model/DeleteNodesResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/DeleteNodesResponse.go @@ -291,7 +291,7 @@ func (m *_DeleteNodesResponse) deepCopy() *_DeleteNodesResponse { return nil } _DeleteNodesResponseCopy := &_DeleteNodesResponse{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.ResponseHeader.DeepCopy().(ExtensionObjectDefinition), m.NoOfResults, utils.DeepCopySlice[StatusCode, StatusCode](m.Results), diff --git a/plc4go/protocols/opcua/readwrite/model/DeleteReferencesItem.go b/plc4go/protocols/opcua/readwrite/model/DeleteReferencesItem.go index a8f631352a..f81ec4a469 100644 --- a/plc4go/protocols/opcua/readwrite/model/DeleteReferencesItem.go +++ b/plc4go/protocols/opcua/readwrite/model/DeleteReferencesItem.go @@ -312,7 +312,7 @@ func (m *_DeleteReferencesItem) deepCopy() *_DeleteReferencesItem { return nil } _DeleteReferencesItemCopy := &_DeleteReferencesItem{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.SourceNodeId.DeepCopy().(NodeId), m.ReferenceTypeId.DeepCopy().(NodeId), m.IsForward, diff --git a/plc4go/protocols/opcua/readwrite/model/DeleteReferencesRequest.go b/plc4go/protocols/opcua/readwrite/model/DeleteReferencesRequest.go index 9f93e0c2de..4199f031e1 100644 --- a/plc4go/protocols/opcua/readwrite/model/DeleteReferencesRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/DeleteReferencesRequest.go @@ -242,7 +242,7 @@ func (m *_DeleteReferencesRequest) deepCopy() *_DeleteReferencesRequest { return nil } _DeleteReferencesRequestCopy := &_DeleteReferencesRequest{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.RequestHeader.DeepCopy().(ExtensionObjectDefinition), m.NoOfReferencesToDelete, utils.DeepCopySlice[ExtensionObjectDefinition, ExtensionObjectDefinition](m.ReferencesToDelete), diff --git a/plc4go/protocols/opcua/readwrite/model/DeleteReferencesResponse.go b/plc4go/protocols/opcua/readwrite/model/DeleteReferencesResponse.go index aecdf8ca15..d841fd5914 100644 --- a/plc4go/protocols/opcua/readwrite/model/DeleteReferencesResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/DeleteReferencesResponse.go @@ -291,7 +291,7 @@ func (m *_DeleteReferencesResponse) deepCopy() *_DeleteReferencesResponse { return nil } _DeleteReferencesResponseCopy := &_DeleteReferencesResponse{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.ResponseHeader.DeepCopy().(ExtensionObjectDefinition), m.NoOfResults, utils.DeepCopySlice[StatusCode, StatusCode](m.Results), diff --git a/plc4go/protocols/opcua/readwrite/model/DeleteSubscriptionsRequest.go b/plc4go/protocols/opcua/readwrite/model/DeleteSubscriptionsRequest.go index 4d012017a2..ebac741242 100644 --- a/plc4go/protocols/opcua/readwrite/model/DeleteSubscriptionsRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/DeleteSubscriptionsRequest.go @@ -237,7 +237,7 @@ func (m *_DeleteSubscriptionsRequest) deepCopy() *_DeleteSubscriptionsRequest { return nil } _DeleteSubscriptionsRequestCopy := &_DeleteSubscriptionsRequest{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.RequestHeader.DeepCopy().(ExtensionObjectDefinition), m.NoOfSubscriptionIds, utils.DeepCopySlice[uint32, uint32](m.SubscriptionIds), diff --git a/plc4go/protocols/opcua/readwrite/model/DeleteSubscriptionsResponse.go b/plc4go/protocols/opcua/readwrite/model/DeleteSubscriptionsResponse.go index 0c968e741d..1e5d4b01b4 100644 --- a/plc4go/protocols/opcua/readwrite/model/DeleteSubscriptionsResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/DeleteSubscriptionsResponse.go @@ -291,7 +291,7 @@ func (m *_DeleteSubscriptionsResponse) deepCopy() *_DeleteSubscriptionsResponse return nil } _DeleteSubscriptionsResponseCopy := &_DeleteSubscriptionsResponse{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.ResponseHeader.DeepCopy().(ExtensionObjectDefinition), m.NoOfResults, utils.DeepCopySlice[StatusCode, StatusCode](m.Results), diff --git a/plc4go/protocols/opcua/readwrite/model/DiscoveryConfiguration.go b/plc4go/protocols/opcua/readwrite/model/DiscoveryConfiguration.go index 9647755038..2b54c2e281 100644 --- a/plc4go/protocols/opcua/readwrite/model/DiscoveryConfiguration.go +++ b/plc4go/protocols/opcua/readwrite/model/DiscoveryConfiguration.go @@ -157,7 +157,7 @@ func (m *_DiscoveryConfiguration) deepCopy() *_DiscoveryConfiguration { return nil } _DiscoveryConfigurationCopy := &_DiscoveryConfiguration{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), } m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition)._SubType = m return _DiscoveryConfigurationCopy diff --git a/plc4go/protocols/opcua/readwrite/model/DoubleComplexNumberType.go b/plc4go/protocols/opcua/readwrite/model/DoubleComplexNumberType.go index 1ec4c9e96f..60feeecb91 100644 --- a/plc4go/protocols/opcua/readwrite/model/DoubleComplexNumberType.go +++ b/plc4go/protocols/opcua/readwrite/model/DoubleComplexNumberType.go @@ -211,7 +211,7 @@ func (m *_DoubleComplexNumberType) deepCopy() *_DoubleComplexNumberType { return nil } _DoubleComplexNumberTypeCopy := &_DoubleComplexNumberType{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.Real, m.Imaginary, } diff --git a/plc4go/protocols/opcua/readwrite/model/EUInformation.go b/plc4go/protocols/opcua/readwrite/model/EUInformation.go index 969753e2a4..20c92ac678 100644 --- a/plc4go/protocols/opcua/readwrite/model/EUInformation.go +++ b/plc4go/protocols/opcua/readwrite/model/EUInformation.go @@ -262,7 +262,7 @@ func (m *_EUInformation) deepCopy() *_EUInformation { return nil } _EUInformationCopy := &_EUInformation{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.NamespaceUri.DeepCopy().(PascalString), m.UnitId, m.DisplayName.DeepCopy().(LocalizedText), diff --git a/plc4go/protocols/opcua/readwrite/model/EndpointConfiguration.go b/plc4go/protocols/opcua/readwrite/model/EndpointConfiguration.go index dafedc5777..f18889e8ed 100644 --- a/plc4go/protocols/opcua/readwrite/model/EndpointConfiguration.go +++ b/plc4go/protocols/opcua/readwrite/model/EndpointConfiguration.go @@ -373,7 +373,7 @@ func (m *_EndpointConfiguration) deepCopy() *_EndpointConfiguration { return nil } _EndpointConfigurationCopy := &_EndpointConfiguration{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.OperationTimeout, m.UseBinaryEncoding, m.MaxStringLength, diff --git a/plc4go/protocols/opcua/readwrite/model/EndpointDescription.go b/plc4go/protocols/opcua/readwrite/model/EndpointDescription.go index 5969de9b19..c1c9db955c 100644 --- a/plc4go/protocols/opcua/readwrite/model/EndpointDescription.go +++ b/plc4go/protocols/opcua/readwrite/model/EndpointDescription.go @@ -380,7 +380,7 @@ func (m *_EndpointDescription) deepCopy() *_EndpointDescription { return nil } _EndpointDescriptionCopy := &_EndpointDescription{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.EndpointUrl.DeepCopy().(PascalString), m.Server.DeepCopy().(ExtensionObjectDefinition), m.ServerCertificate.DeepCopy().(PascalByteString), diff --git a/plc4go/protocols/opcua/readwrite/model/EndpointType.go b/plc4go/protocols/opcua/readwrite/model/EndpointType.go index 318494a11d..d787eb4edc 100644 --- a/plc4go/protocols/opcua/readwrite/model/EndpointType.go +++ b/plc4go/protocols/opcua/readwrite/model/EndpointType.go @@ -262,7 +262,7 @@ func (m *_EndpointType) deepCopy() *_EndpointType { return nil } _EndpointTypeCopy := &_EndpointType{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.EndpointUrl.DeepCopy().(PascalString), m.SecurityMode, m.SecurityPolicyUri.DeepCopy().(PascalString), diff --git a/plc4go/protocols/opcua/readwrite/model/EndpointUrlListDataType.go b/plc4go/protocols/opcua/readwrite/model/EndpointUrlListDataType.go index d2ad2d80a8..c32e894029 100644 --- a/plc4go/protocols/opcua/readwrite/model/EndpointUrlListDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/EndpointUrlListDataType.go @@ -218,7 +218,7 @@ func (m *_EndpointUrlListDataType) deepCopy() *_EndpointUrlListDataType { return nil } _EndpointUrlListDataTypeCopy := &_EndpointUrlListDataType{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.NoOfEndpointUrlList, utils.DeepCopySlice[PascalString, PascalString](m.EndpointUrlList), } diff --git a/plc4go/protocols/opcua/readwrite/model/EnumValueType.go b/plc4go/protocols/opcua/readwrite/model/EnumValueType.go index fe1d6b6de4..f1b8e118b6 100644 --- a/plc4go/protocols/opcua/readwrite/model/EnumValueType.go +++ b/plc4go/protocols/opcua/readwrite/model/EnumValueType.go @@ -238,7 +238,7 @@ func (m *_EnumValueType) deepCopy() *_EnumValueType { return nil } _EnumValueTypeCopy := &_EnumValueType{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.Value, m.DisplayName.DeepCopy().(LocalizedText), m.Description.DeepCopy().(LocalizedText), diff --git a/plc4go/protocols/opcua/readwrite/model/EphemeralKeyType.go b/plc4go/protocols/opcua/readwrite/model/EphemeralKeyType.go index bfd32e5112..5317ff840f 100644 --- a/plc4go/protocols/opcua/readwrite/model/EphemeralKeyType.go +++ b/plc4go/protocols/opcua/readwrite/model/EphemeralKeyType.go @@ -217,7 +217,7 @@ func (m *_EphemeralKeyType) deepCopy() *_EphemeralKeyType { return nil } _EphemeralKeyTypeCopy := &_EphemeralKeyType{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.PublicKey.DeepCopy().(PascalByteString), m.Signature.DeepCopy().(PascalByteString), } diff --git a/plc4go/protocols/opcua/readwrite/model/EventFieldList.go b/plc4go/protocols/opcua/readwrite/model/EventFieldList.go index 8f9d3db638..c905f4d60a 100644 --- a/plc4go/protocols/opcua/readwrite/model/EventFieldList.go +++ b/plc4go/protocols/opcua/readwrite/model/EventFieldList.go @@ -239,7 +239,7 @@ func (m *_EventFieldList) deepCopy() *_EventFieldList { return nil } _EventFieldListCopy := &_EventFieldList{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.ClientHandle, m.NoOfEventFields, utils.DeepCopySlice[Variant, Variant](m.EventFields), diff --git a/plc4go/protocols/opcua/readwrite/model/EventNotificationList.go b/plc4go/protocols/opcua/readwrite/model/EventNotificationList.go index 07b58597ca..67d91d3d1d 100644 --- a/plc4go/protocols/opcua/readwrite/model/EventNotificationList.go +++ b/plc4go/protocols/opcua/readwrite/model/EventNotificationList.go @@ -231,7 +231,7 @@ func (m *_EventNotificationList) deepCopy() *_EventNotificationList { return nil } _EventNotificationListCopy := &_EventNotificationList{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.NoOfEvents, utils.DeepCopySlice[ExtensionObjectDefinition, ExtensionObjectDefinition](m.Events), } diff --git a/plc4go/protocols/opcua/readwrite/model/ExtensiblePayload.go b/plc4go/protocols/opcua/readwrite/model/ExtensiblePayload.go index 89cb19d59c..11076b4fdc 100644 --- a/plc4go/protocols/opcua/readwrite/model/ExtensiblePayload.go +++ b/plc4go/protocols/opcua/readwrite/model/ExtensiblePayload.go @@ -193,7 +193,7 @@ func (m *_ExtensiblePayload) deepCopy() *_ExtensiblePayload { return nil } _ExtensiblePayloadCopy := &_ExtensiblePayload{ - m.PayloadContract.DeepCopy().(PayloadContract), + m.PayloadContract.(*_Payload).deepCopy(), m.Payload.DeepCopy().(ExtensionObject), } m.PayloadContract.(*_Payload)._SubType = m diff --git a/plc4go/protocols/opcua/readwrite/model/ExtensionObjectDefinition.go b/plc4go/protocols/opcua/readwrite/model/ExtensionObjectDefinition.go index 8128decdaa..7b50aecce5 100644 --- a/plc4go/protocols/opcua/readwrite/model/ExtensionObjectDefinition.go +++ b/plc4go/protocols/opcua/readwrite/model/ExtensionObjectDefinition.go @@ -45,7 +45,6 @@ type ExtensionObjectDefinition interface { // ExtensionObjectDefinitionContract provides a set of functions which can be overwritten by a sub struct type ExtensionObjectDefinitionContract interface { - utils.Copyable // IsExtensionObjectDefinition is a marker method to prevent unintentional type checks (interfaces of same signature) IsExtensionObjectDefinition() } diff --git a/plc4go/protocols/opcua/readwrite/model/FieldMetaData.go b/plc4go/protocols/opcua/readwrite/model/FieldMetaData.go index 19fc3a6e06..187b58e699 100644 --- a/plc4go/protocols/opcua/readwrite/model/FieldMetaData.go +++ b/plc4go/protocols/opcua/readwrite/model/FieldMetaData.go @@ -442,7 +442,7 @@ func (m *_FieldMetaData) deepCopy() *_FieldMetaData { return nil } _FieldMetaDataCopy := &_FieldMetaData{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.Name.DeepCopy().(PascalString), m.Description.DeepCopy().(LocalizedText), m.FieldFlags, diff --git a/plc4go/protocols/opcua/readwrite/model/FieldTargetDataType.go b/plc4go/protocols/opcua/readwrite/model/FieldTargetDataType.go index a02393415e..89aa186527 100644 --- a/plc4go/protocols/opcua/readwrite/model/FieldTargetDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/FieldTargetDataType.go @@ -331,7 +331,7 @@ func (m *_FieldTargetDataType) deepCopy() *_FieldTargetDataType { return nil } _FieldTargetDataTypeCopy := &_FieldTargetDataType{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.DataSetFieldId.DeepCopy().(GuidValue), m.ReceiverIndexRange.DeepCopy().(PascalString), m.TargetNodeId.DeepCopy().(NodeId), diff --git a/plc4go/protocols/opcua/readwrite/model/FilterOperand.go b/plc4go/protocols/opcua/readwrite/model/FilterOperand.go index 15064fda80..58f343e8bc 100644 --- a/plc4go/protocols/opcua/readwrite/model/FilterOperand.go +++ b/plc4go/protocols/opcua/readwrite/model/FilterOperand.go @@ -157,7 +157,7 @@ func (m *_FilterOperand) deepCopy() *_FilterOperand { return nil } _FilterOperandCopy := &_FilterOperand{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), } m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition)._SubType = m return _FilterOperandCopy diff --git a/plc4go/protocols/opcua/readwrite/model/FindServersOnNetworkRequest.go b/plc4go/protocols/opcua/readwrite/model/FindServersOnNetworkRequest.go index 4f9369db28..ed521ada20 100644 --- a/plc4go/protocols/opcua/readwrite/model/FindServersOnNetworkRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/FindServersOnNetworkRequest.go @@ -284,7 +284,7 @@ func (m *_FindServersOnNetworkRequest) deepCopy() *_FindServersOnNetworkRequest return nil } _FindServersOnNetworkRequestCopy := &_FindServersOnNetworkRequest{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.RequestHeader.DeepCopy().(ExtensionObjectDefinition), m.StartingRecordId, m.MaxRecordsToReturn, diff --git a/plc4go/protocols/opcua/readwrite/model/FindServersOnNetworkResponse.go b/plc4go/protocols/opcua/readwrite/model/FindServersOnNetworkResponse.go index 1cdf10900c..792355c025 100644 --- a/plc4go/protocols/opcua/readwrite/model/FindServersOnNetworkResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/FindServersOnNetworkResponse.go @@ -263,7 +263,7 @@ func (m *_FindServersOnNetworkResponse) deepCopy() *_FindServersOnNetworkRespons return nil } _FindServersOnNetworkResponseCopy := &_FindServersOnNetworkResponse{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.ResponseHeader.DeepCopy().(ExtensionObjectDefinition), m.LastCounterResetTime, m.NoOfServers, diff --git a/plc4go/protocols/opcua/readwrite/model/FindServersRequest.go b/plc4go/protocols/opcua/readwrite/model/FindServersRequest.go index ff60412a0c..80640e756a 100644 --- a/plc4go/protocols/opcua/readwrite/model/FindServersRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/FindServersRequest.go @@ -315,7 +315,7 @@ func (m *_FindServersRequest) deepCopy() *_FindServersRequest { return nil } _FindServersRequestCopy := &_FindServersRequest{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.RequestHeader.DeepCopy().(ExtensionObjectDefinition), m.EndpointUrl.DeepCopy().(PascalString), m.NoOfLocaleIds, diff --git a/plc4go/protocols/opcua/readwrite/model/FindServersResponse.go b/plc4go/protocols/opcua/readwrite/model/FindServersResponse.go index 8fded76216..b0faafa845 100644 --- a/plc4go/protocols/opcua/readwrite/model/FindServersResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/FindServersResponse.go @@ -242,7 +242,7 @@ func (m *_FindServersResponse) deepCopy() *_FindServersResponse { return nil } _FindServersResponseCopy := &_FindServersResponse{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.ResponseHeader.DeepCopy().(ExtensionObjectDefinition), m.NoOfServers, utils.DeepCopySlice[ExtensionObjectDefinition, ExtensionObjectDefinition](m.Servers), diff --git a/plc4go/protocols/opcua/readwrite/model/Frame.go b/plc4go/protocols/opcua/readwrite/model/Frame.go index 1b6e23331c..eb876d0032 100644 --- a/plc4go/protocols/opcua/readwrite/model/Frame.go +++ b/plc4go/protocols/opcua/readwrite/model/Frame.go @@ -157,7 +157,7 @@ func (m *_Frame) deepCopy() *_Frame { return nil } _FrameCopy := &_Frame{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), } m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition)._SubType = m return _FrameCopy diff --git a/plc4go/protocols/opcua/readwrite/model/GenericAttributeValue.go b/plc4go/protocols/opcua/readwrite/model/GenericAttributeValue.go index 2043edbfb6..5b5eee9e57 100644 --- a/plc4go/protocols/opcua/readwrite/model/GenericAttributeValue.go +++ b/plc4go/protocols/opcua/readwrite/model/GenericAttributeValue.go @@ -214,7 +214,7 @@ func (m *_GenericAttributeValue) deepCopy() *_GenericAttributeValue { return nil } _GenericAttributeValueCopy := &_GenericAttributeValue{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.AttributeId, m.Value.DeepCopy().(Variant), } diff --git a/plc4go/protocols/opcua/readwrite/model/GetEndpointsRequest.go b/plc4go/protocols/opcua/readwrite/model/GetEndpointsRequest.go index cd3c55091c..ee2fc62e51 100644 --- a/plc4go/protocols/opcua/readwrite/model/GetEndpointsRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/GetEndpointsRequest.go @@ -315,7 +315,7 @@ func (m *_GetEndpointsRequest) deepCopy() *_GetEndpointsRequest { return nil } _GetEndpointsRequestCopy := &_GetEndpointsRequest{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.RequestHeader.DeepCopy().(ExtensionObjectDefinition), m.EndpointUrl.DeepCopy().(PascalString), m.NoOfLocaleIds, diff --git a/plc4go/protocols/opcua/readwrite/model/GetEndpointsResponse.go b/plc4go/protocols/opcua/readwrite/model/GetEndpointsResponse.go index 28ec619f1c..99b3c23e5b 100644 --- a/plc4go/protocols/opcua/readwrite/model/GetEndpointsResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/GetEndpointsResponse.go @@ -242,7 +242,7 @@ func (m *_GetEndpointsResponse) deepCopy() *_GetEndpointsResponse { return nil } _GetEndpointsResponseCopy := &_GetEndpointsResponse{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.ResponseHeader.DeepCopy().(ExtensionObjectDefinition), m.NoOfEndpoints, utils.DeepCopySlice[ExtensionObjectDefinition, ExtensionObjectDefinition](m.Endpoints), diff --git a/plc4go/protocols/opcua/readwrite/model/HistoryData.go b/plc4go/protocols/opcua/readwrite/model/HistoryData.go index 0bef77ed8d..a817b73d26 100644 --- a/plc4go/protocols/opcua/readwrite/model/HistoryData.go +++ b/plc4go/protocols/opcua/readwrite/model/HistoryData.go @@ -218,7 +218,7 @@ func (m *_HistoryData) deepCopy() *_HistoryData { return nil } _HistoryDataCopy := &_HistoryData{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.NoOfDataValues, utils.DeepCopySlice[DataValue, DataValue](m.DataValues), } diff --git a/plc4go/protocols/opcua/readwrite/model/HistoryEvent.go b/plc4go/protocols/opcua/readwrite/model/HistoryEvent.go index 87478504c5..60b826e34d 100644 --- a/plc4go/protocols/opcua/readwrite/model/HistoryEvent.go +++ b/plc4go/protocols/opcua/readwrite/model/HistoryEvent.go @@ -218,7 +218,7 @@ func (m *_HistoryEvent) deepCopy() *_HistoryEvent { return nil } _HistoryEventCopy := &_HistoryEvent{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.NoOfEvents, utils.DeepCopySlice[ExtensionObjectDefinition, ExtensionObjectDefinition](m.Events), } diff --git a/plc4go/protocols/opcua/readwrite/model/HistoryEventFieldList.go b/plc4go/protocols/opcua/readwrite/model/HistoryEventFieldList.go index e79ca3a63b..abff9a52fa 100644 --- a/plc4go/protocols/opcua/readwrite/model/HistoryEventFieldList.go +++ b/plc4go/protocols/opcua/readwrite/model/HistoryEventFieldList.go @@ -218,7 +218,7 @@ func (m *_HistoryEventFieldList) deepCopy() *_HistoryEventFieldList { return nil } _HistoryEventFieldListCopy := &_HistoryEventFieldList{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.NoOfEventFields, utils.DeepCopySlice[Variant, Variant](m.EventFields), } diff --git a/plc4go/protocols/opcua/readwrite/model/HistoryReadDetails.go b/plc4go/protocols/opcua/readwrite/model/HistoryReadDetails.go index 42387e5221..bba11fc859 100644 --- a/plc4go/protocols/opcua/readwrite/model/HistoryReadDetails.go +++ b/plc4go/protocols/opcua/readwrite/model/HistoryReadDetails.go @@ -157,7 +157,7 @@ func (m *_HistoryReadDetails) deepCopy() *_HistoryReadDetails { return nil } _HistoryReadDetailsCopy := &_HistoryReadDetails{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), } m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition)._SubType = m return _HistoryReadDetailsCopy diff --git a/plc4go/protocols/opcua/readwrite/model/HistoryReadRequest.go b/plc4go/protocols/opcua/readwrite/model/HistoryReadRequest.go index 8b24317f9a..d3e202ad1b 100644 --- a/plc4go/protocols/opcua/readwrite/model/HistoryReadRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/HistoryReadRequest.go @@ -323,7 +323,7 @@ func (m *_HistoryReadRequest) deepCopy() *_HistoryReadRequest { return nil } _HistoryReadRequestCopy := &_HistoryReadRequest{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.RequestHeader.DeepCopy().(ExtensionObjectDefinition), m.HistoryReadDetails.DeepCopy().(ExtensionObject), m.TimestampsToReturn, diff --git a/plc4go/protocols/opcua/readwrite/model/HistoryReadResponse.go b/plc4go/protocols/opcua/readwrite/model/HistoryReadResponse.go index 03f39be8f9..61c7fe7b34 100644 --- a/plc4go/protocols/opcua/readwrite/model/HistoryReadResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/HistoryReadResponse.go @@ -291,7 +291,7 @@ func (m *_HistoryReadResponse) deepCopy() *_HistoryReadResponse { return nil } _HistoryReadResponseCopy := &_HistoryReadResponse{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.ResponseHeader.DeepCopy().(ExtensionObjectDefinition), m.NoOfResults, utils.DeepCopySlice[ExtensionObjectDefinition, ExtensionObjectDefinition](m.Results), diff --git a/plc4go/protocols/opcua/readwrite/model/HistoryReadResult.go b/plc4go/protocols/opcua/readwrite/model/HistoryReadResult.go index 2ee2cfc7f0..bb0c8e3c50 100644 --- a/plc4go/protocols/opcua/readwrite/model/HistoryReadResult.go +++ b/plc4go/protocols/opcua/readwrite/model/HistoryReadResult.go @@ -241,7 +241,7 @@ func (m *_HistoryReadResult) deepCopy() *_HistoryReadResult { return nil } _HistoryReadResultCopy := &_HistoryReadResult{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.StatusCode.DeepCopy().(StatusCode), m.ContinuationPoint.DeepCopy().(PascalByteString), m.HistoryData.DeepCopy().(ExtensionObject), diff --git a/plc4go/protocols/opcua/readwrite/model/HistoryReadValueId.go b/plc4go/protocols/opcua/readwrite/model/HistoryReadValueId.go index 56b63dafd1..d5734cb082 100644 --- a/plc4go/protocols/opcua/readwrite/model/HistoryReadValueId.go +++ b/plc4go/protocols/opcua/readwrite/model/HistoryReadValueId.go @@ -265,7 +265,7 @@ func (m *_HistoryReadValueId) deepCopy() *_HistoryReadValueId { return nil } _HistoryReadValueIdCopy := &_HistoryReadValueId{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.NodeId.DeepCopy().(NodeId), m.IndexRange.DeepCopy().(PascalString), m.DataEncoding.DeepCopy().(QualifiedName), diff --git a/plc4go/protocols/opcua/readwrite/model/HistoryUpdateDetails.go b/plc4go/protocols/opcua/readwrite/model/HistoryUpdateDetails.go index dceafc6d26..39936b6d2b 100644 --- a/plc4go/protocols/opcua/readwrite/model/HistoryUpdateDetails.go +++ b/plc4go/protocols/opcua/readwrite/model/HistoryUpdateDetails.go @@ -157,7 +157,7 @@ func (m *_HistoryUpdateDetails) deepCopy() *_HistoryUpdateDetails { return nil } _HistoryUpdateDetailsCopy := &_HistoryUpdateDetails{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), } m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition)._SubType = m return _HistoryUpdateDetailsCopy diff --git a/plc4go/protocols/opcua/readwrite/model/HistoryUpdateRequest.go b/plc4go/protocols/opcua/readwrite/model/HistoryUpdateRequest.go index 1e0abdbb62..20a2f322e3 100644 --- a/plc4go/protocols/opcua/readwrite/model/HistoryUpdateRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/HistoryUpdateRequest.go @@ -242,7 +242,7 @@ func (m *_HistoryUpdateRequest) deepCopy() *_HistoryUpdateRequest { return nil } _HistoryUpdateRequestCopy := &_HistoryUpdateRequest{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.RequestHeader.DeepCopy().(ExtensionObjectDefinition), m.NoOfHistoryUpdateDetails, utils.DeepCopySlice[ExtensionObject, ExtensionObject](m.HistoryUpdateDetails), diff --git a/plc4go/protocols/opcua/readwrite/model/HistoryUpdateResponse.go b/plc4go/protocols/opcua/readwrite/model/HistoryUpdateResponse.go index c87b878df2..ffa928d797 100644 --- a/plc4go/protocols/opcua/readwrite/model/HistoryUpdateResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/HistoryUpdateResponse.go @@ -291,7 +291,7 @@ func (m *_HistoryUpdateResponse) deepCopy() *_HistoryUpdateResponse { return nil } _HistoryUpdateResponseCopy := &_HistoryUpdateResponse{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.ResponseHeader.DeepCopy().(ExtensionObjectDefinition), m.NoOfResults, utils.DeepCopySlice[ExtensionObjectDefinition, ExtensionObjectDefinition](m.Results), diff --git a/plc4go/protocols/opcua/readwrite/model/HistoryUpdateResult.go b/plc4go/protocols/opcua/readwrite/model/HistoryUpdateResult.go index f0d9943b34..552352e398 100644 --- a/plc4go/protocols/opcua/readwrite/model/HistoryUpdateResult.go +++ b/plc4go/protocols/opcua/readwrite/model/HistoryUpdateResult.go @@ -291,7 +291,7 @@ func (m *_HistoryUpdateResult) deepCopy() *_HistoryUpdateResult { return nil } _HistoryUpdateResultCopy := &_HistoryUpdateResult{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.StatusCode.DeepCopy().(StatusCode), m.NoOfOperationResults, utils.DeepCopySlice[StatusCode, StatusCode](m.OperationResults), diff --git a/plc4go/protocols/opcua/readwrite/model/IdentityMappingRuleType.go b/plc4go/protocols/opcua/readwrite/model/IdentityMappingRuleType.go index abdff4b2a4..4360855a5a 100644 --- a/plc4go/protocols/opcua/readwrite/model/IdentityMappingRuleType.go +++ b/plc4go/protocols/opcua/readwrite/model/IdentityMappingRuleType.go @@ -214,7 +214,7 @@ func (m *_IdentityMappingRuleType) deepCopy() *_IdentityMappingRuleType { return nil } _IdentityMappingRuleTypeCopy := &_IdentityMappingRuleType{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.CriteriaType, m.Criteria.DeepCopy().(PascalString), } diff --git a/plc4go/protocols/opcua/readwrite/model/IssuedIdentityToken.go b/plc4go/protocols/opcua/readwrite/model/IssuedIdentityToken.go index e1582f4065..64213d7057 100644 --- a/plc4go/protocols/opcua/readwrite/model/IssuedIdentityToken.go +++ b/plc4go/protocols/opcua/readwrite/model/IssuedIdentityToken.go @@ -217,7 +217,7 @@ func (m *_IssuedIdentityToken) deepCopy() *_IssuedIdentityToken { return nil } _IssuedIdentityTokenCopy := &_IssuedIdentityToken{ - m.UserIdentityTokenDefinitionContract.DeepCopy().(UserIdentityTokenDefinitionContract), + m.UserIdentityTokenDefinitionContract.(*_UserIdentityTokenDefinition).deepCopy(), m.TokenData.DeepCopy().(PascalByteString), m.EncryptionAlgorithm.DeepCopy().(PascalString), } diff --git a/plc4go/protocols/opcua/readwrite/model/KeyValuePair.go b/plc4go/protocols/opcua/readwrite/model/KeyValuePair.go index 227ca0e332..9838751cf2 100644 --- a/plc4go/protocols/opcua/readwrite/model/KeyValuePair.go +++ b/plc4go/protocols/opcua/readwrite/model/KeyValuePair.go @@ -217,7 +217,7 @@ func (m *_KeyValuePair) deepCopy() *_KeyValuePair { return nil } _KeyValuePairCopy := &_KeyValuePair{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.Key.DeepCopy().(QualifiedName), m.Value.DeepCopy().(Variant), } diff --git a/plc4go/protocols/opcua/readwrite/model/LinearConversionDataType.go b/plc4go/protocols/opcua/readwrite/model/LinearConversionDataType.go index 4d0382a9c3..498e5af012 100644 --- a/plc4go/protocols/opcua/readwrite/model/LinearConversionDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/LinearConversionDataType.go @@ -253,7 +253,7 @@ func (m *_LinearConversionDataType) deepCopy() *_LinearConversionDataType { return nil } _LinearConversionDataTypeCopy := &_LinearConversionDataType{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.InitialAddend, m.Multiplicand, m.Divisor, diff --git a/plc4go/protocols/opcua/readwrite/model/MessagePDU.go b/plc4go/protocols/opcua/readwrite/model/MessagePDU.go index 1b4085ea0b..ce617f5ce6 100644 --- a/plc4go/protocols/opcua/readwrite/model/MessagePDU.go +++ b/plc4go/protocols/opcua/readwrite/model/MessagePDU.go @@ -47,7 +47,6 @@ type MessagePDU interface { // MessagePDUContract provides a set of functions which can be overwritten by a sub struct type MessagePDUContract interface { - utils.Copyable // GetChunk returns Chunk (property field) GetChunk() ChunkType // IsMessagePDU is a marker method to prevent unintentional type checks (interfaces of same signature) diff --git a/plc4go/protocols/opcua/readwrite/model/ModelChangeStructureDataType.go b/plc4go/protocols/opcua/readwrite/model/ModelChangeStructureDataType.go index d3ca166084..c2e2e03916 100644 --- a/plc4go/protocols/opcua/readwrite/model/ModelChangeStructureDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/ModelChangeStructureDataType.go @@ -238,7 +238,7 @@ func (m *_ModelChangeStructureDataType) deepCopy() *_ModelChangeStructureDataTyp return nil } _ModelChangeStructureDataTypeCopy := &_ModelChangeStructureDataType{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.Affected.DeepCopy().(NodeId), m.AffectedType.DeepCopy().(NodeId), m.Verb, diff --git a/plc4go/protocols/opcua/readwrite/model/ModificationInfo.go b/plc4go/protocols/opcua/readwrite/model/ModificationInfo.go index 84cd89324c..b7737ae727 100644 --- a/plc4go/protocols/opcua/readwrite/model/ModificationInfo.go +++ b/plc4go/protocols/opcua/readwrite/model/ModificationInfo.go @@ -235,7 +235,7 @@ func (m *_ModificationInfo) deepCopy() *_ModificationInfo { return nil } _ModificationInfoCopy := &_ModificationInfo{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.ModificationTime, m.UpdateType, m.UserName.DeepCopy().(PascalString), diff --git a/plc4go/protocols/opcua/readwrite/model/ModifyMonitoredItemsRequest.go b/plc4go/protocols/opcua/readwrite/model/ModifyMonitoredItemsRequest.go index 920da723c4..b3ec77323b 100644 --- a/plc4go/protocols/opcua/readwrite/model/ModifyMonitoredItemsRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/ModifyMonitoredItemsRequest.go @@ -284,7 +284,7 @@ func (m *_ModifyMonitoredItemsRequest) deepCopy() *_ModifyMonitoredItemsRequest return nil } _ModifyMonitoredItemsRequestCopy := &_ModifyMonitoredItemsRequest{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.RequestHeader.DeepCopy().(ExtensionObjectDefinition), m.SubscriptionId, m.TimestampsToReturn, diff --git a/plc4go/protocols/opcua/readwrite/model/ModifyMonitoredItemsResponse.go b/plc4go/protocols/opcua/readwrite/model/ModifyMonitoredItemsResponse.go index 4882da3c58..fddb9d1778 100644 --- a/plc4go/protocols/opcua/readwrite/model/ModifyMonitoredItemsResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/ModifyMonitoredItemsResponse.go @@ -291,7 +291,7 @@ func (m *_ModifyMonitoredItemsResponse) deepCopy() *_ModifyMonitoredItemsRespons return nil } _ModifyMonitoredItemsResponseCopy := &_ModifyMonitoredItemsResponse{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.ResponseHeader.DeepCopy().(ExtensionObjectDefinition), m.NoOfResults, utils.DeepCopySlice[ExtensionObjectDefinition, ExtensionObjectDefinition](m.Results), diff --git a/plc4go/protocols/opcua/readwrite/model/ModifySubscriptionRequest.go b/plc4go/protocols/opcua/readwrite/model/ModifySubscriptionRequest.go index 4cf5f9619a..ccd3ce3501 100644 --- a/plc4go/protocols/opcua/readwrite/model/ModifySubscriptionRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/ModifySubscriptionRequest.go @@ -319,7 +319,7 @@ func (m *_ModifySubscriptionRequest) deepCopy() *_ModifySubscriptionRequest { return nil } _ModifySubscriptionRequestCopy := &_ModifySubscriptionRequest{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.RequestHeader.DeepCopy().(ExtensionObjectDefinition), m.SubscriptionId, m.RequestedPublishingInterval, diff --git a/plc4go/protocols/opcua/readwrite/model/ModifySubscriptionResponse.go b/plc4go/protocols/opcua/readwrite/model/ModifySubscriptionResponse.go index 4acf2d163a..f78b50cd33 100644 --- a/plc4go/protocols/opcua/readwrite/model/ModifySubscriptionResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/ModifySubscriptionResponse.go @@ -256,7 +256,7 @@ func (m *_ModifySubscriptionResponse) deepCopy() *_ModifySubscriptionResponse { return nil } _ModifySubscriptionResponseCopy := &_ModifySubscriptionResponse{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.ResponseHeader.DeepCopy().(ExtensionObjectDefinition), m.RevisedPublishingInterval, m.RevisedLifetimeCount, diff --git a/plc4go/protocols/opcua/readwrite/model/MonitoredItemCreateRequest.go b/plc4go/protocols/opcua/readwrite/model/MonitoredItemCreateRequest.go index 7e91c94c32..4cf6690ea3 100644 --- a/plc4go/protocols/opcua/readwrite/model/MonitoredItemCreateRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/MonitoredItemCreateRequest.go @@ -238,7 +238,7 @@ func (m *_MonitoredItemCreateRequest) deepCopy() *_MonitoredItemCreateRequest { return nil } _MonitoredItemCreateRequestCopy := &_MonitoredItemCreateRequest{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.ItemToMonitor.DeepCopy().(ExtensionObjectDefinition), m.MonitoringMode, m.RequestedParameters.DeepCopy().(ExtensionObjectDefinition), diff --git a/plc4go/protocols/opcua/readwrite/model/MonitoredItemCreateResult.go b/plc4go/protocols/opcua/readwrite/model/MonitoredItemCreateResult.go index 0e09f7a625..ea84efb4f5 100644 --- a/plc4go/protocols/opcua/readwrite/model/MonitoredItemCreateResult.go +++ b/plc4go/protocols/opcua/readwrite/model/MonitoredItemCreateResult.go @@ -280,7 +280,7 @@ func (m *_MonitoredItemCreateResult) deepCopy() *_MonitoredItemCreateResult { return nil } _MonitoredItemCreateResultCopy := &_MonitoredItemCreateResult{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.StatusCode.DeepCopy().(StatusCode), m.MonitoredItemId, m.RevisedSamplingInterval, diff --git a/plc4go/protocols/opcua/readwrite/model/MonitoredItemModifyRequest.go b/plc4go/protocols/opcua/readwrite/model/MonitoredItemModifyRequest.go index ad1d2b2939..3ec9d9fa76 100644 --- a/plc4go/protocols/opcua/readwrite/model/MonitoredItemModifyRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/MonitoredItemModifyRequest.go @@ -214,7 +214,7 @@ func (m *_MonitoredItemModifyRequest) deepCopy() *_MonitoredItemModifyRequest { return nil } _MonitoredItemModifyRequestCopy := &_MonitoredItemModifyRequest{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.MonitoredItemId, m.RequestedParameters.DeepCopy().(ExtensionObjectDefinition), } diff --git a/plc4go/protocols/opcua/readwrite/model/MonitoredItemModifyResult.go b/plc4go/protocols/opcua/readwrite/model/MonitoredItemModifyResult.go index affddb04af..b5829713c9 100644 --- a/plc4go/protocols/opcua/readwrite/model/MonitoredItemModifyResult.go +++ b/plc4go/protocols/opcua/readwrite/model/MonitoredItemModifyResult.go @@ -259,7 +259,7 @@ func (m *_MonitoredItemModifyResult) deepCopy() *_MonitoredItemModifyResult { return nil } _MonitoredItemModifyResultCopy := &_MonitoredItemModifyResult{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.StatusCode.DeepCopy().(StatusCode), m.RevisedSamplingInterval, m.RevisedQueueSize, diff --git a/plc4go/protocols/opcua/readwrite/model/MonitoredItemNotification.go b/plc4go/protocols/opcua/readwrite/model/MonitoredItemNotification.go index 797c43373d..53a9f4622b 100644 --- a/plc4go/protocols/opcua/readwrite/model/MonitoredItemNotification.go +++ b/plc4go/protocols/opcua/readwrite/model/MonitoredItemNotification.go @@ -214,7 +214,7 @@ func (m *_MonitoredItemNotification) deepCopy() *_MonitoredItemNotification { return nil } _MonitoredItemNotificationCopy := &_MonitoredItemNotification{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.ClientHandle, m.Value.DeepCopy().(DataValue), } diff --git a/plc4go/protocols/opcua/readwrite/model/MonitoringFilter.go b/plc4go/protocols/opcua/readwrite/model/MonitoringFilter.go index ef9ae84552..89de5278ff 100644 --- a/plc4go/protocols/opcua/readwrite/model/MonitoringFilter.go +++ b/plc4go/protocols/opcua/readwrite/model/MonitoringFilter.go @@ -157,7 +157,7 @@ func (m *_MonitoringFilter) deepCopy() *_MonitoringFilter { return nil } _MonitoringFilterCopy := &_MonitoringFilter{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), } m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition)._SubType = m return _MonitoringFilterCopy diff --git a/plc4go/protocols/opcua/readwrite/model/MonitoringFilterResult.go b/plc4go/protocols/opcua/readwrite/model/MonitoringFilterResult.go index 24ccb36cf3..2f3a797dd1 100644 --- a/plc4go/protocols/opcua/readwrite/model/MonitoringFilterResult.go +++ b/plc4go/protocols/opcua/readwrite/model/MonitoringFilterResult.go @@ -157,7 +157,7 @@ func (m *_MonitoringFilterResult) deepCopy() *_MonitoringFilterResult { return nil } _MonitoringFilterResultCopy := &_MonitoringFilterResult{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), } m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition)._SubType = m return _MonitoringFilterResultCopy diff --git a/plc4go/protocols/opcua/readwrite/model/MonitoringParameters.go b/plc4go/protocols/opcua/readwrite/model/MonitoringParameters.go index afbb2fda15..7ffa528815 100644 --- a/plc4go/protocols/opcua/readwrite/model/MonitoringParameters.go +++ b/plc4go/protocols/opcua/readwrite/model/MonitoringParameters.go @@ -292,7 +292,7 @@ func (m *_MonitoringParameters) deepCopy() *_MonitoringParameters { return nil } _MonitoringParametersCopy := &_MonitoringParameters{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.ClientHandle, m.SamplingInterval, m.Filter.DeepCopy().(ExtensionObject), diff --git a/plc4go/protocols/opcua/readwrite/model/NetworkAddressDataType.go b/plc4go/protocols/opcua/readwrite/model/NetworkAddressDataType.go index 5400bafe35..82d8498349 100644 --- a/plc4go/protocols/opcua/readwrite/model/NetworkAddressDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/NetworkAddressDataType.go @@ -193,7 +193,7 @@ func (m *_NetworkAddressDataType) deepCopy() *_NetworkAddressDataType { return nil } _NetworkAddressDataTypeCopy := &_NetworkAddressDataType{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.NetworkInterface.DeepCopy().(PascalString), } m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition)._SubType = m diff --git a/plc4go/protocols/opcua/readwrite/model/NetworkGroupDataType.go b/plc4go/protocols/opcua/readwrite/model/NetworkGroupDataType.go index 04c92fa1ef..1e389de786 100644 --- a/plc4go/protocols/opcua/readwrite/model/NetworkGroupDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/NetworkGroupDataType.go @@ -242,7 +242,7 @@ func (m *_NetworkGroupDataType) deepCopy() *_NetworkGroupDataType { return nil } _NetworkGroupDataTypeCopy := &_NetworkGroupDataType{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.ServerUri.DeepCopy().(PascalString), m.NoOfNetworkPaths, utils.DeepCopySlice[ExtensionObjectDefinition, ExtensionObjectDefinition](m.NetworkPaths), diff --git a/plc4go/protocols/opcua/readwrite/model/NodeAttributes.go b/plc4go/protocols/opcua/readwrite/model/NodeAttributes.go index c0a4649ca2..f830776324 100644 --- a/plc4go/protocols/opcua/readwrite/model/NodeAttributes.go +++ b/plc4go/protocols/opcua/readwrite/model/NodeAttributes.go @@ -280,7 +280,7 @@ func (m *_NodeAttributes) deepCopy() *_NodeAttributes { return nil } _NodeAttributesCopy := &_NodeAttributes{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.SpecifiedAttributes, m.DisplayName.DeepCopy().(LocalizedText), m.Description.DeepCopy().(LocalizedText), diff --git a/plc4go/protocols/opcua/readwrite/model/NodeIdByteString.go b/plc4go/protocols/opcua/readwrite/model/NodeIdByteString.go index 5acebbc136..4869b7ccb5 100644 --- a/plc4go/protocols/opcua/readwrite/model/NodeIdByteString.go +++ b/plc4go/protocols/opcua/readwrite/model/NodeIdByteString.go @@ -245,7 +245,7 @@ func (m *_NodeIdByteString) deepCopy() *_NodeIdByteString { return nil } _NodeIdByteStringCopy := &_NodeIdByteString{ - m.NodeIdTypeDefinitionContract.DeepCopy().(NodeIdTypeDefinitionContract), + m.NodeIdTypeDefinitionContract.(*_NodeIdTypeDefinition).deepCopy(), m.NamespaceIndex, m.Id.DeepCopy().(PascalByteString), } diff --git a/plc4go/protocols/opcua/readwrite/model/NodeIdFourByte.go b/plc4go/protocols/opcua/readwrite/model/NodeIdFourByte.go index 927f9e8230..3249638fa0 100644 --- a/plc4go/protocols/opcua/readwrite/model/NodeIdFourByte.go +++ b/plc4go/protocols/opcua/readwrite/model/NodeIdFourByte.go @@ -242,7 +242,7 @@ func (m *_NodeIdFourByte) deepCopy() *_NodeIdFourByte { return nil } _NodeIdFourByteCopy := &_NodeIdFourByte{ - m.NodeIdTypeDefinitionContract.DeepCopy().(NodeIdTypeDefinitionContract), + m.NodeIdTypeDefinitionContract.(*_NodeIdTypeDefinition).deepCopy(), m.NamespaceIndex, m.Id, } diff --git a/plc4go/protocols/opcua/readwrite/model/NodeIdGuid.go b/plc4go/protocols/opcua/readwrite/model/NodeIdGuid.go index 95f087849b..ac276dfa10 100644 --- a/plc4go/protocols/opcua/readwrite/model/NodeIdGuid.go +++ b/plc4go/protocols/opcua/readwrite/model/NodeIdGuid.go @@ -244,7 +244,7 @@ func (m *_NodeIdGuid) deepCopy() *_NodeIdGuid { return nil } _NodeIdGuidCopy := &_NodeIdGuid{ - m.NodeIdTypeDefinitionContract.DeepCopy().(NodeIdTypeDefinitionContract), + m.NodeIdTypeDefinitionContract.(*_NodeIdTypeDefinition).deepCopy(), m.NamespaceIndex, utils.DeepCopySlice[byte, byte](m.Id), } diff --git a/plc4go/protocols/opcua/readwrite/model/NodeIdNumeric.go b/plc4go/protocols/opcua/readwrite/model/NodeIdNumeric.go index 81ed7696be..845119d103 100644 --- a/plc4go/protocols/opcua/readwrite/model/NodeIdNumeric.go +++ b/plc4go/protocols/opcua/readwrite/model/NodeIdNumeric.go @@ -242,7 +242,7 @@ func (m *_NodeIdNumeric) deepCopy() *_NodeIdNumeric { return nil } _NodeIdNumericCopy := &_NodeIdNumeric{ - m.NodeIdTypeDefinitionContract.DeepCopy().(NodeIdTypeDefinitionContract), + m.NodeIdTypeDefinitionContract.(*_NodeIdTypeDefinition).deepCopy(), m.NamespaceIndex, m.Id, } diff --git a/plc4go/protocols/opcua/readwrite/model/NodeIdString.go b/plc4go/protocols/opcua/readwrite/model/NodeIdString.go index fc34687dcc..b53a59373e 100644 --- a/plc4go/protocols/opcua/readwrite/model/NodeIdString.go +++ b/plc4go/protocols/opcua/readwrite/model/NodeIdString.go @@ -245,7 +245,7 @@ func (m *_NodeIdString) deepCopy() *_NodeIdString { return nil } _NodeIdStringCopy := &_NodeIdString{ - m.NodeIdTypeDefinitionContract.DeepCopy().(NodeIdTypeDefinitionContract), + m.NodeIdTypeDefinitionContract.(*_NodeIdTypeDefinition).deepCopy(), m.NamespaceIndex, m.Id.DeepCopy().(PascalString), } diff --git a/plc4go/protocols/opcua/readwrite/model/NodeIdTwoByte.go b/plc4go/protocols/opcua/readwrite/model/NodeIdTwoByte.go index 3c07586560..798e448438 100644 --- a/plc4go/protocols/opcua/readwrite/model/NodeIdTwoByte.go +++ b/plc4go/protocols/opcua/readwrite/model/NodeIdTwoByte.go @@ -221,7 +221,7 @@ func (m *_NodeIdTwoByte) deepCopy() *_NodeIdTwoByte { return nil } _NodeIdTwoByteCopy := &_NodeIdTwoByte{ - m.NodeIdTypeDefinitionContract.DeepCopy().(NodeIdTypeDefinitionContract), + m.NodeIdTypeDefinitionContract.(*_NodeIdTypeDefinition).deepCopy(), m.Id, } m.NodeIdTypeDefinitionContract.(*_NodeIdTypeDefinition)._SubType = m diff --git a/plc4go/protocols/opcua/readwrite/model/NodeIdTypeDefinition.go b/plc4go/protocols/opcua/readwrite/model/NodeIdTypeDefinition.go index efb4d473cd..d5b7a814ae 100644 --- a/plc4go/protocols/opcua/readwrite/model/NodeIdTypeDefinition.go +++ b/plc4go/protocols/opcua/readwrite/model/NodeIdTypeDefinition.go @@ -47,7 +47,6 @@ type NodeIdTypeDefinition interface { // NodeIdTypeDefinitionContract provides a set of functions which can be overwritten by a sub struct type NodeIdTypeDefinitionContract interface { - utils.Copyable // GetIdentifier returns Identifier (abstract field) GetIdentifier() string // IsNodeIdTypeDefinition is a marker method to prevent unintentional type checks (interfaces of same signature) diff --git a/plc4go/protocols/opcua/readwrite/model/NodeReference.go b/plc4go/protocols/opcua/readwrite/model/NodeReference.go index 1d1aae4856..7d1aeb5852 100644 --- a/plc4go/protocols/opcua/readwrite/model/NodeReference.go +++ b/plc4go/protocols/opcua/readwrite/model/NodeReference.go @@ -302,7 +302,7 @@ func (m *_NodeReference) deepCopy() *_NodeReference { return nil } _NodeReferenceCopy := &_NodeReference{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.NodeId.DeepCopy().(NodeId), m.ReferenceTypeId.DeepCopy().(NodeId), m.IsForward, diff --git a/plc4go/protocols/opcua/readwrite/model/NodeTypeDescription.go b/plc4go/protocols/opcua/readwrite/model/NodeTypeDescription.go index b5994f7080..eacc3669c0 100644 --- a/plc4go/protocols/opcua/readwrite/model/NodeTypeDescription.go +++ b/plc4go/protocols/opcua/readwrite/model/NodeTypeDescription.go @@ -278,7 +278,7 @@ func (m *_NodeTypeDescription) deepCopy() *_NodeTypeDescription { return nil } _NodeTypeDescriptionCopy := &_NodeTypeDescription{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.TypeDefinitionNode.DeepCopy().(ExpandedNodeId), m.IncludeSubTypes, m.NoOfDataToReturn, diff --git a/plc4go/protocols/opcua/readwrite/model/NotificationData.go b/plc4go/protocols/opcua/readwrite/model/NotificationData.go index 97d475b9ae..8792d0f6a5 100644 --- a/plc4go/protocols/opcua/readwrite/model/NotificationData.go +++ b/plc4go/protocols/opcua/readwrite/model/NotificationData.go @@ -157,7 +157,7 @@ func (m *_NotificationData) deepCopy() *_NotificationData { return nil } _NotificationDataCopy := &_NotificationData{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), } m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition)._SubType = m return _NotificationDataCopy diff --git a/plc4go/protocols/opcua/readwrite/model/NotificationMessage.go b/plc4go/protocols/opcua/readwrite/model/NotificationMessage.go index cd4548f903..bfbf456566 100644 --- a/plc4go/protocols/opcua/readwrite/model/NotificationMessage.go +++ b/plc4go/protocols/opcua/readwrite/model/NotificationMessage.go @@ -260,7 +260,7 @@ func (m *_NotificationMessage) deepCopy() *_NotificationMessage { return nil } _NotificationMessageCopy := &_NotificationMessage{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.SequenceNumber, m.PublishTime, m.NoOfNotificationData, diff --git a/plc4go/protocols/opcua/readwrite/model/NullExtension.go b/plc4go/protocols/opcua/readwrite/model/NullExtension.go index eac0d6882d..14b675b174 100644 --- a/plc4go/protocols/opcua/readwrite/model/NullExtension.go +++ b/plc4go/protocols/opcua/readwrite/model/NullExtension.go @@ -157,7 +157,7 @@ func (m *_NullExtension) deepCopy() *_NullExtension { return nil } _NullExtensionCopy := &_NullExtension{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), } m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition)._SubType = m return _NullExtensionCopy diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaAcknowledgeResponse.go b/plc4go/protocols/opcua/readwrite/model/OpcuaAcknowledgeResponse.go index ff0257fa40..86272ab7f5 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaAcknowledgeResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaAcknowledgeResponse.go @@ -218,7 +218,7 @@ func (m *_OpcuaAcknowledgeResponse) deepCopy() *_OpcuaAcknowledgeResponse { return nil } _OpcuaAcknowledgeResponseCopy := &_OpcuaAcknowledgeResponse{ - m.MessagePDUContract.DeepCopy().(MessagePDUContract), + m.MessagePDUContract.(*_MessagePDU).deepCopy(), m.Version, m.Limits.DeepCopy().(OpcuaProtocolLimits), } diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaCloseRequest.go b/plc4go/protocols/opcua/readwrite/model/OpcuaCloseRequest.go index 54bc5dfb76..561979f96e 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaCloseRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaCloseRequest.go @@ -221,7 +221,7 @@ func (m *_OpcuaCloseRequest) deepCopy() *_OpcuaCloseRequest { return nil } _OpcuaCloseRequestCopy := &_OpcuaCloseRequest{ - m.MessagePDUContract.DeepCopy().(MessagePDUContract), + m.MessagePDUContract.(*_MessagePDU).deepCopy(), m.SecurityHeader.DeepCopy().(SecurityHeader), m.Message.DeepCopy().(Payload), } diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaHelloRequest.go b/plc4go/protocols/opcua/readwrite/model/OpcuaHelloRequest.go index a48c579d3e..baf4ee8f39 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaHelloRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaHelloRequest.go @@ -242,7 +242,7 @@ func (m *_OpcuaHelloRequest) deepCopy() *_OpcuaHelloRequest { return nil } _OpcuaHelloRequestCopy := &_OpcuaHelloRequest{ - m.MessagePDUContract.DeepCopy().(MessagePDUContract), + m.MessagePDUContract.(*_MessagePDU).deepCopy(), m.Version, m.Limits.DeepCopy().(OpcuaProtocolLimits), m.Endpoint.DeepCopy().(PascalString), diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaMessageError.go b/plc4go/protocols/opcua/readwrite/model/OpcuaMessageError.go index db1045a028..195d42a036 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaMessageError.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaMessageError.go @@ -218,7 +218,7 @@ func (m *_OpcuaMessageError) deepCopy() *_OpcuaMessageError { return nil } _OpcuaMessageErrorCopy := &_OpcuaMessageError{ - m.MessagePDUContract.DeepCopy().(MessagePDUContract), + m.MessagePDUContract.(*_MessagePDU).deepCopy(), m.Error, m.Reason.DeepCopy().(PascalString), } diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaMessageRequest.go b/plc4go/protocols/opcua/readwrite/model/OpcuaMessageRequest.go index 9875b77f5d..15774242b5 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaMessageRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaMessageRequest.go @@ -234,7 +234,7 @@ func (m *_OpcuaMessageRequest) deepCopy() *_OpcuaMessageRequest { return nil } _OpcuaMessageRequestCopy := &_OpcuaMessageRequest{ - m.MessagePDUContract.DeepCopy().(MessagePDUContract), + m.MessagePDUContract.(*_MessagePDU).deepCopy(), m.SecurityHeader.DeepCopy().(SecurityHeader), m.Message.DeepCopy().(Payload), m.TotalLength, diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaMessageResponse.go b/plc4go/protocols/opcua/readwrite/model/OpcuaMessageResponse.go index 8ed0529a1d..c5ac8a6c83 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaMessageResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaMessageResponse.go @@ -234,7 +234,7 @@ func (m *_OpcuaMessageResponse) deepCopy() *_OpcuaMessageResponse { return nil } _OpcuaMessageResponseCopy := &_OpcuaMessageResponse{ - m.MessagePDUContract.DeepCopy().(MessagePDUContract), + m.MessagePDUContract.(*_MessagePDU).deepCopy(), m.SecurityHeader.DeepCopy().(SecurityHeader), m.Message.DeepCopy().(Payload), m.TotalLength, diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaOpenRequest.go b/plc4go/protocols/opcua/readwrite/model/OpcuaOpenRequest.go index e33e197e50..643196abae 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaOpenRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaOpenRequest.go @@ -234,7 +234,7 @@ func (m *_OpcuaOpenRequest) deepCopy() *_OpcuaOpenRequest { return nil } _OpcuaOpenRequestCopy := &_OpcuaOpenRequest{ - m.MessagePDUContract.DeepCopy().(MessagePDUContract), + m.MessagePDUContract.(*_MessagePDU).deepCopy(), m.OpenRequest.DeepCopy().(OpenChannelMessage), m.Message.DeepCopy().(Payload), m.TotalLength, diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaOpenResponse.go b/plc4go/protocols/opcua/readwrite/model/OpcuaOpenResponse.go index 3be8b385e4..9eae839761 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaOpenResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaOpenResponse.go @@ -234,7 +234,7 @@ func (m *_OpcuaOpenResponse) deepCopy() *_OpcuaOpenResponse { return nil } _OpcuaOpenResponseCopy := &_OpcuaOpenResponse{ - m.MessagePDUContract.DeepCopy().(MessagePDUContract), + m.MessagePDUContract.(*_MessagePDU).deepCopy(), m.OpenResponse.DeepCopy().(OpenChannelMessage), m.Message.DeepCopy().(Payload), m.TotalLength, diff --git a/plc4go/protocols/opcua/readwrite/model/OpcuaVector.go b/plc4go/protocols/opcua/readwrite/model/OpcuaVector.go index 9973d0cea8..9356b59f9c 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpcuaVector.go +++ b/plc4go/protocols/opcua/readwrite/model/OpcuaVector.go @@ -157,7 +157,7 @@ func (m *_OpcuaVector) deepCopy() *_OpcuaVector { return nil } _OpcuaVectorCopy := &_OpcuaVector{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), } m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition)._SubType = m return _OpcuaVectorCopy diff --git a/plc4go/protocols/opcua/readwrite/model/OpenChannelMessage.go b/plc4go/protocols/opcua/readwrite/model/OpenChannelMessage.go index 5930955fa1..f1b043ed6d 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpenChannelMessage.go +++ b/plc4go/protocols/opcua/readwrite/model/OpenChannelMessage.go @@ -45,7 +45,6 @@ type OpenChannelMessage interface { // OpenChannelMessageContract provides a set of functions which can be overwritten by a sub struct type OpenChannelMessageContract interface { - utils.Copyable // IsOpenChannelMessage is a marker method to prevent unintentional type checks (interfaces of same signature) IsOpenChannelMessage() } diff --git a/plc4go/protocols/opcua/readwrite/model/OpenChannelMessageRequest.go b/plc4go/protocols/opcua/readwrite/model/OpenChannelMessageRequest.go index 9e81f3d051..ea7509ef02 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpenChannelMessageRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/OpenChannelMessageRequest.go @@ -262,7 +262,7 @@ func (m *_OpenChannelMessageRequest) deepCopy() *_OpenChannelMessageRequest { return nil } _OpenChannelMessageRequestCopy := &_OpenChannelMessageRequest{ - m.OpenChannelMessageContract.DeepCopy().(OpenChannelMessageContract), + m.OpenChannelMessageContract.(*_OpenChannelMessage).deepCopy(), m.SecureChannelId, m.Endpoint.DeepCopy().(PascalString), m.SenderCertificate.DeepCopy().(PascalByteString), diff --git a/plc4go/protocols/opcua/readwrite/model/OpenChannelMessageResponse.go b/plc4go/protocols/opcua/readwrite/model/OpenChannelMessageResponse.go index 6c56a6f159..1f984247c2 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpenChannelMessageResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/OpenChannelMessageResponse.go @@ -262,7 +262,7 @@ func (m *_OpenChannelMessageResponse) deepCopy() *_OpenChannelMessageResponse { return nil } _OpenChannelMessageResponseCopy := &_OpenChannelMessageResponse{ - m.OpenChannelMessageContract.DeepCopy().(OpenChannelMessageContract), + m.OpenChannelMessageContract.(*_OpenChannelMessage).deepCopy(), m.SecureChannelId, m.SecurityPolicyUri.DeepCopy().(PascalString), m.SenderCertificate.DeepCopy().(PascalByteString), diff --git a/plc4go/protocols/opcua/readwrite/model/OpenSecureChannelRequest.go b/plc4go/protocols/opcua/readwrite/model/OpenSecureChannelRequest.go index 062f6a7ce9..8e2e09e313 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpenSecureChannelRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/OpenSecureChannelRequest.go @@ -301,7 +301,7 @@ func (m *_OpenSecureChannelRequest) deepCopy() *_OpenSecureChannelRequest { return nil } _OpenSecureChannelRequestCopy := &_OpenSecureChannelRequest{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.RequestHeader.DeepCopy().(ExtensionObjectDefinition), m.ClientProtocolVersion, m.RequestType, diff --git a/plc4go/protocols/opcua/readwrite/model/OpenSecureChannelResponse.go b/plc4go/protocols/opcua/readwrite/model/OpenSecureChannelResponse.go index d2f56bcc94..0ac4576db1 100644 --- a/plc4go/protocols/opcua/readwrite/model/OpenSecureChannelResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/OpenSecureChannelResponse.go @@ -262,7 +262,7 @@ func (m *_OpenSecureChannelResponse) deepCopy() *_OpenSecureChannelResponse { return nil } _OpenSecureChannelResponseCopy := &_OpenSecureChannelResponse{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.ResponseHeader.DeepCopy().(ExtensionObjectDefinition), m.ServerProtocolVersion, m.SecurityToken.DeepCopy().(ExtensionObjectDefinition), diff --git a/plc4go/protocols/opcua/readwrite/model/OptionSet.go b/plc4go/protocols/opcua/readwrite/model/OptionSet.go index 0748247ae7..b54f4ee176 100644 --- a/plc4go/protocols/opcua/readwrite/model/OptionSet.go +++ b/plc4go/protocols/opcua/readwrite/model/OptionSet.go @@ -217,7 +217,7 @@ func (m *_OptionSet) deepCopy() *_OptionSet { return nil } _OptionSetCopy := &_OptionSet{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.Value.DeepCopy().(PascalByteString), m.ValidBits.DeepCopy().(PascalByteString), } diff --git a/plc4go/protocols/opcua/readwrite/model/Orientation.go b/plc4go/protocols/opcua/readwrite/model/Orientation.go index 6823c5e499..33953181ed 100644 --- a/plc4go/protocols/opcua/readwrite/model/Orientation.go +++ b/plc4go/protocols/opcua/readwrite/model/Orientation.go @@ -157,7 +157,7 @@ func (m *_Orientation) deepCopy() *_Orientation { return nil } _OrientationCopy := &_Orientation{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), } m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition)._SubType = m return _OrientationCopy diff --git a/plc4go/protocols/opcua/readwrite/model/ParsingResult.go b/plc4go/protocols/opcua/readwrite/model/ParsingResult.go index bd61ccdcc6..a288574e17 100644 --- a/plc4go/protocols/opcua/readwrite/model/ParsingResult.go +++ b/plc4go/protocols/opcua/readwrite/model/ParsingResult.go @@ -291,7 +291,7 @@ func (m *_ParsingResult) deepCopy() *_ParsingResult { return nil } _ParsingResultCopy := &_ParsingResult{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.StatusCode.DeepCopy().(StatusCode), m.NoOfDataStatusCodes, utils.DeepCopySlice[StatusCode, StatusCode](m.DataStatusCodes), diff --git a/plc4go/protocols/opcua/readwrite/model/Payload.go b/plc4go/protocols/opcua/readwrite/model/Payload.go index 760d174fd4..47ea9f302c 100644 --- a/plc4go/protocols/opcua/readwrite/model/Payload.go +++ b/plc4go/protocols/opcua/readwrite/model/Payload.go @@ -47,7 +47,6 @@ type Payload interface { // PayloadContract provides a set of functions which can be overwritten by a sub struct type PayloadContract interface { - utils.Copyable // GetSequenceHeader returns SequenceHeader (property field) GetSequenceHeader() SequenceHeader // GetByteCount() returns a parser argument diff --git a/plc4go/protocols/opcua/readwrite/model/PortableQualifiedName.go b/plc4go/protocols/opcua/readwrite/model/PortableQualifiedName.go index 3da25c5d2f..06437fdbee 100644 --- a/plc4go/protocols/opcua/readwrite/model/PortableQualifiedName.go +++ b/plc4go/protocols/opcua/readwrite/model/PortableQualifiedName.go @@ -217,7 +217,7 @@ func (m *_PortableQualifiedName) deepCopy() *_PortableQualifiedName { return nil } _PortableQualifiedNameCopy := &_PortableQualifiedName{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.NamespaceUri.DeepCopy().(PascalString), m.Name.DeepCopy().(PascalString), } diff --git a/plc4go/protocols/opcua/readwrite/model/PriorityMappingEntryType.go b/plc4go/protocols/opcua/readwrite/model/PriorityMappingEntryType.go index b67ed4f11f..e0255531aa 100644 --- a/plc4go/protocols/opcua/readwrite/model/PriorityMappingEntryType.go +++ b/plc4go/protocols/opcua/readwrite/model/PriorityMappingEntryType.go @@ -259,7 +259,7 @@ func (m *_PriorityMappingEntryType) deepCopy() *_PriorityMappingEntryType { return nil } _PriorityMappingEntryTypeCopy := &_PriorityMappingEntryType{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.MappingUri.DeepCopy().(PascalString), m.PriorityLabel.DeepCopy().(PascalString), m.PriorityValue_PCP, diff --git a/plc4go/protocols/opcua/readwrite/model/ProgramDiagnostic2DataType.go b/plc4go/protocols/opcua/readwrite/model/ProgramDiagnostic2DataType.go index 4c8bc3b479..007fd6e0d2 100644 --- a/plc4go/protocols/opcua/readwrite/model/ProgramDiagnostic2DataType.go +++ b/plc4go/protocols/opcua/readwrite/model/ProgramDiagnostic2DataType.go @@ -548,7 +548,7 @@ func (m *_ProgramDiagnostic2DataType) deepCopy() *_ProgramDiagnostic2DataType { return nil } _ProgramDiagnostic2DataTypeCopy := &_ProgramDiagnostic2DataType{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.CreateSessionId.DeepCopy().(NodeId), m.CreateClientName.DeepCopy().(PascalString), m.InvocationCreationTime, diff --git a/plc4go/protocols/opcua/readwrite/model/ProgramDiagnosticDataType.go b/plc4go/protocols/opcua/readwrite/model/ProgramDiagnosticDataType.go index d6288a486a..3ca1c489d7 100644 --- a/plc4go/protocols/opcua/readwrite/model/ProgramDiagnosticDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/ProgramDiagnosticDataType.go @@ -450,7 +450,7 @@ func (m *_ProgramDiagnosticDataType) deepCopy() *_ProgramDiagnosticDataType { return nil } _ProgramDiagnosticDataTypeCopy := &_ProgramDiagnosticDataType{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.CreateSessionId.DeepCopy().(NodeId), m.CreateClientName.DeepCopy().(PascalString), m.InvocationCreationTime, diff --git a/plc4go/protocols/opcua/readwrite/model/PubSubConfigurationDataType.go b/plc4go/protocols/opcua/readwrite/model/PubSubConfigurationDataType.go index a52710a737..92992c0057 100644 --- a/plc4go/protocols/opcua/readwrite/model/PubSubConfigurationDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/PubSubConfigurationDataType.go @@ -303,7 +303,7 @@ func (m *_PubSubConfigurationDataType) deepCopy() *_PubSubConfigurationDataType return nil } _PubSubConfigurationDataTypeCopy := &_PubSubConfigurationDataType{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.NoOfPublishedDataSets, utils.DeepCopySlice[ExtensionObjectDefinition, ExtensionObjectDefinition](m.PublishedDataSets), m.NoOfConnections, diff --git a/plc4go/protocols/opcua/readwrite/model/PubSubConfigurationRefDataType.go b/plc4go/protocols/opcua/readwrite/model/PubSubConfigurationRefDataType.go index adedbbfeb5..935884f9bd 100644 --- a/plc4go/protocols/opcua/readwrite/model/PubSubConfigurationRefDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/PubSubConfigurationRefDataType.go @@ -253,7 +253,7 @@ func (m *_PubSubConfigurationRefDataType) deepCopy() *_PubSubConfigurationRefDat return nil } _PubSubConfigurationRefDataTypeCopy := &_PubSubConfigurationRefDataType{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.ConfigurationMask, m.ElementIndex, m.ConnectionIndex, diff --git a/plc4go/protocols/opcua/readwrite/model/PubSubConnectionDataType.go b/plc4go/protocols/opcua/readwrite/model/PubSubConnectionDataType.go index 6f1a3c277f..5054cfbb8b 100644 --- a/plc4go/protocols/opcua/readwrite/model/PubSubConnectionDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/PubSubConnectionDataType.go @@ -472,7 +472,7 @@ func (m *_PubSubConnectionDataType) deepCopy() *_PubSubConnectionDataType { return nil } _PubSubConnectionDataTypeCopy := &_PubSubConnectionDataType{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.Name.DeepCopy().(PascalString), m.Enabled, m.PublisherId.DeepCopy().(Variant), diff --git a/plc4go/protocols/opcua/readwrite/model/PubSubGroupDataType.go b/plc4go/protocols/opcua/readwrite/model/PubSubGroupDataType.go index 83a81dd243..93e19fb3fb 100644 --- a/plc4go/protocols/opcua/readwrite/model/PubSubGroupDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/PubSubGroupDataType.go @@ -393,7 +393,7 @@ func (m *_PubSubGroupDataType) deepCopy() *_PubSubGroupDataType { return nil } _PubSubGroupDataTypeCopy := &_PubSubGroupDataType{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.Name.DeepCopy().(PascalString), m.Enabled, m.SecurityMode, diff --git a/plc4go/protocols/opcua/readwrite/model/PubSubKeyPushTargetDataType.go b/plc4go/protocols/opcua/readwrite/model/PubSubKeyPushTargetDataType.go index 533389524a..5502d9f423 100644 --- a/plc4go/protocols/opcua/readwrite/model/PubSubKeyPushTargetDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/PubSubKeyPushTargetDataType.go @@ -454,7 +454,7 @@ func (m *_PubSubKeyPushTargetDataType) deepCopy() *_PubSubKeyPushTargetDataType return nil } _PubSubKeyPushTargetDataTypeCopy := &_PubSubKeyPushTargetDataType{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.ApplicationUri.DeepCopy().(PascalString), m.NoOfPushTargetFolder, utils.DeepCopySlice[PascalString, PascalString](m.PushTargetFolder), diff --git a/plc4go/protocols/opcua/readwrite/model/PublishRequest.go b/plc4go/protocols/opcua/readwrite/model/PublishRequest.go index 46d4371dd2..e3fe1f0d61 100644 --- a/plc4go/protocols/opcua/readwrite/model/PublishRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/PublishRequest.go @@ -242,7 +242,7 @@ func (m *_PublishRequest) deepCopy() *_PublishRequest { return nil } _PublishRequestCopy := &_PublishRequest{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.RequestHeader.DeepCopy().(ExtensionObjectDefinition), m.NoOfSubscriptionAcknowledgements, utils.DeepCopySlice[ExtensionObjectDefinition, ExtensionObjectDefinition](m.SubscriptionAcknowledgements), diff --git a/plc4go/protocols/opcua/readwrite/model/PublishResponse.go b/plc4go/protocols/opcua/readwrite/model/PublishResponse.go index 7f787a1016..a8b7155032 100644 --- a/plc4go/protocols/opcua/readwrite/model/PublishResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/PublishResponse.go @@ -416,7 +416,7 @@ func (m *_PublishResponse) deepCopy() *_PublishResponse { return nil } _PublishResponseCopy := &_PublishResponse{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.ResponseHeader.DeepCopy().(ExtensionObjectDefinition), m.SubscriptionId, m.NoOfAvailableSequenceNumbers, diff --git a/plc4go/protocols/opcua/readwrite/model/PublishedDataSetSourceDataType.go b/plc4go/protocols/opcua/readwrite/model/PublishedDataSetSourceDataType.go index 7bde9d7289..926775f59f 100644 --- a/plc4go/protocols/opcua/readwrite/model/PublishedDataSetSourceDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/PublishedDataSetSourceDataType.go @@ -157,7 +157,7 @@ func (m *_PublishedDataSetSourceDataType) deepCopy() *_PublishedDataSetSourceDat return nil } _PublishedDataSetSourceDataTypeCopy := &_PublishedDataSetSourceDataType{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), } m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition)._SubType = m return _PublishedDataSetSourceDataTypeCopy diff --git a/plc4go/protocols/opcua/readwrite/model/PublishedVariableDataType.go b/plc4go/protocols/opcua/readwrite/model/PublishedVariableDataType.go index 7ada7026e2..08dfc232ed 100644 --- a/plc4go/protocols/opcua/readwrite/model/PublishedVariableDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/PublishedVariableDataType.go @@ -374,7 +374,7 @@ func (m *_PublishedVariableDataType) deepCopy() *_PublishedVariableDataType { return nil } _PublishedVariableDataTypeCopy := &_PublishedVariableDataType{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.PublishedVariable.DeepCopy().(NodeId), m.AttributeId, m.SamplingIntervalHint, diff --git a/plc4go/protocols/opcua/readwrite/model/QosDataType.go b/plc4go/protocols/opcua/readwrite/model/QosDataType.go index 8e58ed009a..9ba5ab1ab8 100644 --- a/plc4go/protocols/opcua/readwrite/model/QosDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/QosDataType.go @@ -157,7 +157,7 @@ func (m *_QosDataType) deepCopy() *_QosDataType { return nil } _QosDataTypeCopy := &_QosDataType{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), } m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition)._SubType = m return _QosDataTypeCopy diff --git a/plc4go/protocols/opcua/readwrite/model/QuantityDimension.go b/plc4go/protocols/opcua/readwrite/model/QuantityDimension.go index 1f6a6a0b9d..a6f8f3f053 100644 --- a/plc4go/protocols/opcua/readwrite/model/QuantityDimension.go +++ b/plc4go/protocols/opcua/readwrite/model/QuantityDimension.go @@ -337,7 +337,7 @@ func (m *_QuantityDimension) deepCopy() *_QuantityDimension { return nil } _QuantityDimensionCopy := &_QuantityDimension{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.MassExponent, m.LengthExponent, m.TimeExponent, diff --git a/plc4go/protocols/opcua/readwrite/model/QueryDataDescription.go b/plc4go/protocols/opcua/readwrite/model/QueryDataDescription.go index 6b3031c8a1..81fcfa0b9b 100644 --- a/plc4go/protocols/opcua/readwrite/model/QueryDataDescription.go +++ b/plc4go/protocols/opcua/readwrite/model/QueryDataDescription.go @@ -238,7 +238,7 @@ func (m *_QueryDataDescription) deepCopy() *_QueryDataDescription { return nil } _QueryDataDescriptionCopy := &_QueryDataDescription{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.RelativePath.DeepCopy().(ExtensionObjectDefinition), m.AttributeId, m.IndexRange.DeepCopy().(PascalString), diff --git a/plc4go/protocols/opcua/readwrite/model/QueryDataSet.go b/plc4go/protocols/opcua/readwrite/model/QueryDataSet.go index 3152fe341e..ea94ae8c34 100644 --- a/plc4go/protocols/opcua/readwrite/model/QueryDataSet.go +++ b/plc4go/protocols/opcua/readwrite/model/QueryDataSet.go @@ -266,7 +266,7 @@ func (m *_QueryDataSet) deepCopy() *_QueryDataSet { return nil } _QueryDataSetCopy := &_QueryDataSet{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.NodeId.DeepCopy().(ExpandedNodeId), m.TypeDefinitionNode.DeepCopy().(ExpandedNodeId), m.NoOfValues, diff --git a/plc4go/protocols/opcua/readwrite/model/QueryFirstRequest.go b/plc4go/protocols/opcua/readwrite/model/QueryFirstRequest.go index 9cd790ce01..4a4124be8c 100644 --- a/plc4go/protocols/opcua/readwrite/model/QueryFirstRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/QueryFirstRequest.go @@ -332,7 +332,7 @@ func (m *_QueryFirstRequest) deepCopy() *_QueryFirstRequest { return nil } _QueryFirstRequestCopy := &_QueryFirstRequest{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.RequestHeader.DeepCopy().(ExtensionObjectDefinition), m.View.DeepCopy().(ExtensionObjectDefinition), m.NoOfNodeTypes, diff --git a/plc4go/protocols/opcua/readwrite/model/QueryFirstResponse.go b/plc4go/protocols/opcua/readwrite/model/QueryFirstResponse.go index 3bec4fb9ca..97b17f5f17 100644 --- a/plc4go/protocols/opcua/readwrite/model/QueryFirstResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/QueryFirstResponse.go @@ -388,7 +388,7 @@ func (m *_QueryFirstResponse) deepCopy() *_QueryFirstResponse { return nil } _QueryFirstResponseCopy := &_QueryFirstResponse{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.ResponseHeader.DeepCopy().(ExtensionObjectDefinition), m.NoOfQueryDataSets, utils.DeepCopySlice[ExtensionObjectDefinition, ExtensionObjectDefinition](m.QueryDataSets), diff --git a/plc4go/protocols/opcua/readwrite/model/QueryNextRequest.go b/plc4go/protocols/opcua/readwrite/model/QueryNextRequest.go index 956264ca49..135cbf93fe 100644 --- a/plc4go/protocols/opcua/readwrite/model/QueryNextRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/QueryNextRequest.go @@ -253,7 +253,7 @@ func (m *_QueryNextRequest) deepCopy() *_QueryNextRequest { return nil } _QueryNextRequestCopy := &_QueryNextRequest{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.RequestHeader.DeepCopy().(ExtensionObjectDefinition), m.ReleaseContinuationPoint, m.ContinuationPoint.DeepCopy().(PascalByteString), diff --git a/plc4go/protocols/opcua/readwrite/model/QueryNextResponse.go b/plc4go/protocols/opcua/readwrite/model/QueryNextResponse.go index 99f5f39bfb..0a4948521c 100644 --- a/plc4go/protocols/opcua/readwrite/model/QueryNextResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/QueryNextResponse.go @@ -266,7 +266,7 @@ func (m *_QueryNextResponse) deepCopy() *_QueryNextResponse { return nil } _QueryNextResponseCopy := &_QueryNextResponse{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.ResponseHeader.DeepCopy().(ExtensionObjectDefinition), m.NoOfQueryDataSets, utils.DeepCopySlice[ExtensionObjectDefinition, ExtensionObjectDefinition](m.QueryDataSets), diff --git a/plc4go/protocols/opcua/readwrite/model/Range.go b/plc4go/protocols/opcua/readwrite/model/Range.go index a2236b57c6..13699bbbef 100644 --- a/plc4go/protocols/opcua/readwrite/model/Range.go +++ b/plc4go/protocols/opcua/readwrite/model/Range.go @@ -211,7 +211,7 @@ func (m *_Range) deepCopy() *_Range { return nil } _RangeCopy := &_Range{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.Low, m.High, } diff --git a/plc4go/protocols/opcua/readwrite/model/RationalNumber.go b/plc4go/protocols/opcua/readwrite/model/RationalNumber.go index a25003dceb..d28e941810 100644 --- a/plc4go/protocols/opcua/readwrite/model/RationalNumber.go +++ b/plc4go/protocols/opcua/readwrite/model/RationalNumber.go @@ -211,7 +211,7 @@ func (m *_RationalNumber) deepCopy() *_RationalNumber { return nil } _RationalNumberCopy := &_RationalNumber{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.Numerator, m.Denominator, } diff --git a/plc4go/protocols/opcua/readwrite/model/ReadRequest.go b/plc4go/protocols/opcua/readwrite/model/ReadRequest.go index e7983428b5..c5d35e4b0a 100644 --- a/plc4go/protocols/opcua/readwrite/model/ReadRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/ReadRequest.go @@ -284,7 +284,7 @@ func (m *_ReadRequest) deepCopy() *_ReadRequest { return nil } _ReadRequestCopy := &_ReadRequest{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.RequestHeader.DeepCopy().(ExtensionObjectDefinition), m.MaxAge, m.TimestampsToReturn, diff --git a/plc4go/protocols/opcua/readwrite/model/ReadResponse.go b/plc4go/protocols/opcua/readwrite/model/ReadResponse.go index 81e28ec36a..fa8fc98574 100644 --- a/plc4go/protocols/opcua/readwrite/model/ReadResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/ReadResponse.go @@ -291,7 +291,7 @@ func (m *_ReadResponse) deepCopy() *_ReadResponse { return nil } _ReadResponseCopy := &_ReadResponse{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.ResponseHeader.DeepCopy().(ExtensionObjectDefinition), m.NoOfResults, utils.DeepCopySlice[DataValue, DataValue](m.Results), diff --git a/plc4go/protocols/opcua/readwrite/model/ReadValueId.go b/plc4go/protocols/opcua/readwrite/model/ReadValueId.go index d3ade35221..4bd0988de5 100644 --- a/plc4go/protocols/opcua/readwrite/model/ReadValueId.go +++ b/plc4go/protocols/opcua/readwrite/model/ReadValueId.go @@ -262,7 +262,7 @@ func (m *_ReadValueId) deepCopy() *_ReadValueId { return nil } _ReadValueIdCopy := &_ReadValueId{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.NodeId.DeepCopy().(NodeId), m.AttributeId, m.IndexRange.DeepCopy().(PascalString), diff --git a/plc4go/protocols/opcua/readwrite/model/ReaderGroupMessageDataType.go b/plc4go/protocols/opcua/readwrite/model/ReaderGroupMessageDataType.go index b9e7052028..c645953ae9 100644 --- a/plc4go/protocols/opcua/readwrite/model/ReaderGroupMessageDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/ReaderGroupMessageDataType.go @@ -157,7 +157,7 @@ func (m *_ReaderGroupMessageDataType) deepCopy() *_ReaderGroupMessageDataType { return nil } _ReaderGroupMessageDataTypeCopy := &_ReaderGroupMessageDataType{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), } m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition)._SubType = m return _ReaderGroupMessageDataTypeCopy diff --git a/plc4go/protocols/opcua/readwrite/model/ReaderGroupTransportDataType.go b/plc4go/protocols/opcua/readwrite/model/ReaderGroupTransportDataType.go index f1c6704af1..10fe32740f 100644 --- a/plc4go/protocols/opcua/readwrite/model/ReaderGroupTransportDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/ReaderGroupTransportDataType.go @@ -157,7 +157,7 @@ func (m *_ReaderGroupTransportDataType) deepCopy() *_ReaderGroupTransportDataTyp return nil } _ReaderGroupTransportDataTypeCopy := &_ReaderGroupTransportDataType{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), } m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition)._SubType = m return _ReaderGroupTransportDataTypeCopy diff --git a/plc4go/protocols/opcua/readwrite/model/RedundantServerDataType.go b/plc4go/protocols/opcua/readwrite/model/RedundantServerDataType.go index 9b11e99d86..fbabcfc5d0 100644 --- a/plc4go/protocols/opcua/readwrite/model/RedundantServerDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/RedundantServerDataType.go @@ -235,7 +235,7 @@ func (m *_RedundantServerDataType) deepCopy() *_RedundantServerDataType { return nil } _RedundantServerDataTypeCopy := &_RedundantServerDataType{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.ServerId.DeepCopy().(PascalString), m.ServiceLevel, m.ServerState, diff --git a/plc4go/protocols/opcua/readwrite/model/ReferenceDescription.go b/plc4go/protocols/opcua/readwrite/model/ReferenceDescription.go index d4ac390612..ff46eb25de 100644 --- a/plc4go/protocols/opcua/readwrite/model/ReferenceDescription.go +++ b/plc4go/protocols/opcua/readwrite/model/ReferenceDescription.go @@ -346,7 +346,7 @@ func (m *_ReferenceDescription) deepCopy() *_ReferenceDescription { return nil } _ReferenceDescriptionCopy := &_ReferenceDescription{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.ReferenceTypeId.DeepCopy().(NodeId), m.IsForward, m.NodeId.DeepCopy().(ExpandedNodeId), diff --git a/plc4go/protocols/opcua/readwrite/model/ReferenceDescriptionDataType.go b/plc4go/protocols/opcua/readwrite/model/ReferenceDescriptionDataType.go index 0c20c9417a..a16e56da90 100644 --- a/plc4go/protocols/opcua/readwrite/model/ReferenceDescriptionDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/ReferenceDescriptionDataType.go @@ -277,7 +277,7 @@ func (m *_ReferenceDescriptionDataType) deepCopy() *_ReferenceDescriptionDataTyp return nil } _ReferenceDescriptionDataTypeCopy := &_ReferenceDescriptionDataType{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.SourceNode.DeepCopy().(NodeId), m.ReferenceType.DeepCopy().(NodeId), m.IsForward, diff --git a/plc4go/protocols/opcua/readwrite/model/ReferenceListEntryDataType.go b/plc4go/protocols/opcua/readwrite/model/ReferenceListEntryDataType.go index 08c906bb98..c759adfd4d 100644 --- a/plc4go/protocols/opcua/readwrite/model/ReferenceListEntryDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/ReferenceListEntryDataType.go @@ -253,7 +253,7 @@ func (m *_ReferenceListEntryDataType) deepCopy() *_ReferenceListEntryDataType { return nil } _ReferenceListEntryDataTypeCopy := &_ReferenceListEntryDataType{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.ReferenceType.DeepCopy().(NodeId), m.IsForward, m.TargetNode.DeepCopy().(ExpandedNodeId), diff --git a/plc4go/protocols/opcua/readwrite/model/RegisterNodesRequest.go b/plc4go/protocols/opcua/readwrite/model/RegisterNodesRequest.go index 37f64a89de..3259484e4f 100644 --- a/plc4go/protocols/opcua/readwrite/model/RegisterNodesRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/RegisterNodesRequest.go @@ -242,7 +242,7 @@ func (m *_RegisterNodesRequest) deepCopy() *_RegisterNodesRequest { return nil } _RegisterNodesRequestCopy := &_RegisterNodesRequest{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.RequestHeader.DeepCopy().(ExtensionObjectDefinition), m.NoOfNodesToRegister, utils.DeepCopySlice[NodeId, NodeId](m.NodesToRegister), diff --git a/plc4go/protocols/opcua/readwrite/model/RegisterNodesResponse.go b/plc4go/protocols/opcua/readwrite/model/RegisterNodesResponse.go index f9065a67e1..775355d9d4 100644 --- a/plc4go/protocols/opcua/readwrite/model/RegisterNodesResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/RegisterNodesResponse.go @@ -242,7 +242,7 @@ func (m *_RegisterNodesResponse) deepCopy() *_RegisterNodesResponse { return nil } _RegisterNodesResponseCopy := &_RegisterNodesResponse{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.ResponseHeader.DeepCopy().(ExtensionObjectDefinition), m.NoOfRegisteredNodeIds, utils.DeepCopySlice[NodeId, NodeId](m.RegisteredNodeIds), diff --git a/plc4go/protocols/opcua/readwrite/model/RegisterServer2Request.go b/plc4go/protocols/opcua/readwrite/model/RegisterServer2Request.go index 0701aea793..cb0d1c2a68 100644 --- a/plc4go/protocols/opcua/readwrite/model/RegisterServer2Request.go +++ b/plc4go/protocols/opcua/readwrite/model/RegisterServer2Request.go @@ -266,7 +266,7 @@ func (m *_RegisterServer2Request) deepCopy() *_RegisterServer2Request { return nil } _RegisterServer2RequestCopy := &_RegisterServer2Request{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.RequestHeader.DeepCopy().(ExtensionObjectDefinition), m.Server.DeepCopy().(ExtensionObjectDefinition), m.NoOfDiscoveryConfiguration, diff --git a/plc4go/protocols/opcua/readwrite/model/RegisterServer2Response.go b/plc4go/protocols/opcua/readwrite/model/RegisterServer2Response.go index ae1d9e6911..79d7b273fe 100644 --- a/plc4go/protocols/opcua/readwrite/model/RegisterServer2Response.go +++ b/plc4go/protocols/opcua/readwrite/model/RegisterServer2Response.go @@ -291,7 +291,7 @@ func (m *_RegisterServer2Response) deepCopy() *_RegisterServer2Response { return nil } _RegisterServer2ResponseCopy := &_RegisterServer2Response{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.ResponseHeader.DeepCopy().(ExtensionObjectDefinition), m.NoOfConfigurationResults, utils.DeepCopySlice[StatusCode, StatusCode](m.ConfigurationResults), diff --git a/plc4go/protocols/opcua/readwrite/model/RegisterServerRequest.go b/plc4go/protocols/opcua/readwrite/model/RegisterServerRequest.go index 6fb472af71..c69eee21fa 100644 --- a/plc4go/protocols/opcua/readwrite/model/RegisterServerRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/RegisterServerRequest.go @@ -217,7 +217,7 @@ func (m *_RegisterServerRequest) deepCopy() *_RegisterServerRequest { return nil } _RegisterServerRequestCopy := &_RegisterServerRequest{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.RequestHeader.DeepCopy().(ExtensionObjectDefinition), m.Server.DeepCopy().(ExtensionObjectDefinition), } diff --git a/plc4go/protocols/opcua/readwrite/model/RegisterServerResponse.go b/plc4go/protocols/opcua/readwrite/model/RegisterServerResponse.go index b3f67c6ab9..29743aa3d7 100644 --- a/plc4go/protocols/opcua/readwrite/model/RegisterServerResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/RegisterServerResponse.go @@ -193,7 +193,7 @@ func (m *_RegisterServerResponse) deepCopy() *_RegisterServerResponse { return nil } _RegisterServerResponseCopy := &_RegisterServerResponse{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.ResponseHeader.DeepCopy().(ExtensionObjectDefinition), } m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition)._SubType = m diff --git a/plc4go/protocols/opcua/readwrite/model/RegisteredServer.go b/plc4go/protocols/opcua/readwrite/model/RegisteredServer.go index 0291c81b3f..dd196d86b0 100644 --- a/plc4go/protocols/opcua/readwrite/model/RegisteredServer.go +++ b/plc4go/protocols/opcua/readwrite/model/RegisteredServer.go @@ -420,7 +420,7 @@ func (m *_RegisteredServer) deepCopy() *_RegisteredServer { return nil } _RegisteredServerCopy := &_RegisteredServer{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.ServerUri.DeepCopy().(PascalString), m.ProductUri.DeepCopy().(PascalString), m.NoOfServerNames, diff --git a/plc4go/protocols/opcua/readwrite/model/RelativePath.go b/plc4go/protocols/opcua/readwrite/model/RelativePath.go index 83dbf8d455..305c842bc5 100644 --- a/plc4go/protocols/opcua/readwrite/model/RelativePath.go +++ b/plc4go/protocols/opcua/readwrite/model/RelativePath.go @@ -218,7 +218,7 @@ func (m *_RelativePath) deepCopy() *_RelativePath { return nil } _RelativePathCopy := &_RelativePath{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.NoOfElements, utils.DeepCopySlice[ExtensionObjectDefinition, ExtensionObjectDefinition](m.Elements), } diff --git a/plc4go/protocols/opcua/readwrite/model/RelativePathElement.go b/plc4go/protocols/opcua/readwrite/model/RelativePathElement.go index f7752b69b9..d0c712d51d 100644 --- a/plc4go/protocols/opcua/readwrite/model/RelativePathElement.go +++ b/plc4go/protocols/opcua/readwrite/model/RelativePathElement.go @@ -274,7 +274,7 @@ func (m *_RelativePathElement) deepCopy() *_RelativePathElement { return nil } _RelativePathElementCopy := &_RelativePathElement{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.ReferenceTypeId.DeepCopy().(NodeId), m.IncludeSubtypes, m.IsInverse, diff --git a/plc4go/protocols/opcua/readwrite/model/RepublishRequest.go b/plc4go/protocols/opcua/readwrite/model/RepublishRequest.go index 940736d742..0628d5b4e4 100644 --- a/plc4go/protocols/opcua/readwrite/model/RepublishRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/RepublishRequest.go @@ -235,7 +235,7 @@ func (m *_RepublishRequest) deepCopy() *_RepublishRequest { return nil } _RepublishRequestCopy := &_RepublishRequest{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.RequestHeader.DeepCopy().(ExtensionObjectDefinition), m.SubscriptionId, m.RetransmitSequenceNumber, diff --git a/plc4go/protocols/opcua/readwrite/model/RepublishResponse.go b/plc4go/protocols/opcua/readwrite/model/RepublishResponse.go index a82dc28970..4908878c41 100644 --- a/plc4go/protocols/opcua/readwrite/model/RepublishResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/RepublishResponse.go @@ -217,7 +217,7 @@ func (m *_RepublishResponse) deepCopy() *_RepublishResponse { return nil } _RepublishResponseCopy := &_RepublishResponse{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.ResponseHeader.DeepCopy().(ExtensionObjectDefinition), m.NotificationMessage.DeepCopy().(ExtensionObjectDefinition), } diff --git a/plc4go/protocols/opcua/readwrite/model/RequestHeader.go b/plc4go/protocols/opcua/readwrite/model/RequestHeader.go index 4667de555c..b4eb3c6d89 100644 --- a/plc4go/protocols/opcua/readwrite/model/RequestHeader.go +++ b/plc4go/protocols/opcua/readwrite/model/RequestHeader.go @@ -325,7 +325,7 @@ func (m *_RequestHeader) deepCopy() *_RequestHeader { return nil } _RequestHeaderCopy := &_RequestHeader{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.AuthenticationToken.DeepCopy().(NodeId), m.Timestamp, m.RequestHandle, diff --git a/plc4go/protocols/opcua/readwrite/model/ResponseHeader.go b/plc4go/protocols/opcua/readwrite/model/ResponseHeader.go index aca86fc42a..cb7d4e118a 100644 --- a/plc4go/protocols/opcua/readwrite/model/ResponseHeader.go +++ b/plc4go/protocols/opcua/readwrite/model/ResponseHeader.go @@ -332,7 +332,7 @@ func (m *_ResponseHeader) deepCopy() *_ResponseHeader { return nil } _ResponseHeaderCopy := &_ResponseHeader{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.Timestamp, m.RequestHandle, m.ServiceResult.DeepCopy().(StatusCode), diff --git a/plc4go/protocols/opcua/readwrite/model/RolePermissionType.go b/plc4go/protocols/opcua/readwrite/model/RolePermissionType.go index 79fe992f95..4bc3eb3376 100644 --- a/plc4go/protocols/opcua/readwrite/model/RolePermissionType.go +++ b/plc4go/protocols/opcua/readwrite/model/RolePermissionType.go @@ -214,7 +214,7 @@ func (m *_RolePermissionType) deepCopy() *_RolePermissionType { return nil } _RolePermissionTypeCopy := &_RolePermissionType{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.RoleId.DeepCopy().(NodeId), m.Permissions, } diff --git a/plc4go/protocols/opcua/readwrite/model/SamplingIntervalDiagnosticsDataType.go b/plc4go/protocols/opcua/readwrite/model/SamplingIntervalDiagnosticsDataType.go index a5a9ef43e7..53b824838d 100644 --- a/plc4go/protocols/opcua/readwrite/model/SamplingIntervalDiagnosticsDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/SamplingIntervalDiagnosticsDataType.go @@ -253,7 +253,7 @@ func (m *_SamplingIntervalDiagnosticsDataType) deepCopy() *_SamplingIntervalDiag return nil } _SamplingIntervalDiagnosticsDataTypeCopy := &_SamplingIntervalDiagnosticsDataType{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.SamplingInterval, m.MonitoredItemCount, m.MaxMonitoredItemCount, diff --git a/plc4go/protocols/opcua/readwrite/model/SecurityGroupDataType.go b/plc4go/protocols/opcua/readwrite/model/SecurityGroupDataType.go index d6f3f83d1e..3efb2be10f 100644 --- a/plc4go/protocols/opcua/readwrite/model/SecurityGroupDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/SecurityGroupDataType.go @@ -451,7 +451,7 @@ func (m *_SecurityGroupDataType) deepCopy() *_SecurityGroupDataType { return nil } _SecurityGroupDataTypeCopy := &_SecurityGroupDataType{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.Name.DeepCopy().(PascalString), m.NoOfSecurityGroupFolder, utils.DeepCopySlice[PascalString, PascalString](m.SecurityGroupFolder), diff --git a/plc4go/protocols/opcua/readwrite/model/SemanticChangeStructureDataType.go b/plc4go/protocols/opcua/readwrite/model/SemanticChangeStructureDataType.go index 5ff0e9cb63..fbed3d4a93 100644 --- a/plc4go/protocols/opcua/readwrite/model/SemanticChangeStructureDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/SemanticChangeStructureDataType.go @@ -217,7 +217,7 @@ func (m *_SemanticChangeStructureDataType) deepCopy() *_SemanticChangeStructureD return nil } _SemanticChangeStructureDataTypeCopy := &_SemanticChangeStructureDataType{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.Affected.DeepCopy().(NodeId), m.AffectedType.DeepCopy().(NodeId), } diff --git a/plc4go/protocols/opcua/readwrite/model/ServerDiagnosticsSummaryDataType.go b/plc4go/protocols/opcua/readwrite/model/ServerDiagnosticsSummaryDataType.go index 46737cab53..1f1287407a 100644 --- a/plc4go/protocols/opcua/readwrite/model/ServerDiagnosticsSummaryDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/ServerDiagnosticsSummaryDataType.go @@ -421,7 +421,7 @@ func (m *_ServerDiagnosticsSummaryDataType) deepCopy() *_ServerDiagnosticsSummar return nil } _ServerDiagnosticsSummaryDataTypeCopy := &_ServerDiagnosticsSummaryDataType{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.ServerViewCount, m.CurrentSessionCount, m.CumulatedSessionCount, diff --git a/plc4go/protocols/opcua/readwrite/model/ServerOnNetwork.go b/plc4go/protocols/opcua/readwrite/model/ServerOnNetwork.go index b4e3282f1c..7604b226ac 100644 --- a/plc4go/protocols/opcua/readwrite/model/ServerOnNetwork.go +++ b/plc4go/protocols/opcua/readwrite/model/ServerOnNetwork.go @@ -287,7 +287,7 @@ func (m *_ServerOnNetwork) deepCopy() *_ServerOnNetwork { return nil } _ServerOnNetworkCopy := &_ServerOnNetwork{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.RecordId, m.ServerName.DeepCopy().(PascalString), m.DiscoveryUrl.DeepCopy().(PascalString), diff --git a/plc4go/protocols/opcua/readwrite/model/ServerStatusDataType.go b/plc4go/protocols/opcua/readwrite/model/ServerStatusDataType.go index 76fc29de0f..541239c9b3 100644 --- a/plc4go/protocols/opcua/readwrite/model/ServerStatusDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/ServerStatusDataType.go @@ -301,7 +301,7 @@ func (m *_ServerStatusDataType) deepCopy() *_ServerStatusDataType { return nil } _ServerStatusDataTypeCopy := &_ServerStatusDataType{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.StartTime, m.CurrentTime, m.State, diff --git a/plc4go/protocols/opcua/readwrite/model/ServiceCounterDataType.go b/plc4go/protocols/opcua/readwrite/model/ServiceCounterDataType.go index cf0b442e2a..f3e03bdd1f 100644 --- a/plc4go/protocols/opcua/readwrite/model/ServiceCounterDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/ServiceCounterDataType.go @@ -211,7 +211,7 @@ func (m *_ServiceCounterDataType) deepCopy() *_ServiceCounterDataType { return nil } _ServiceCounterDataTypeCopy := &_ServiceCounterDataType{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.TotalCount, m.ErrorCount, } diff --git a/plc4go/protocols/opcua/readwrite/model/ServiceFault.go b/plc4go/protocols/opcua/readwrite/model/ServiceFault.go index 574879e723..87611e36f2 100644 --- a/plc4go/protocols/opcua/readwrite/model/ServiceFault.go +++ b/plc4go/protocols/opcua/readwrite/model/ServiceFault.go @@ -193,7 +193,7 @@ func (m *_ServiceFault) deepCopy() *_ServiceFault { return nil } _ServiceFaultCopy := &_ServiceFault{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.ResponseHeader.DeepCopy().(ExtensionObjectDefinition), } m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition)._SubType = m diff --git a/plc4go/protocols/opcua/readwrite/model/SessionDiagnosticsDataType.go b/plc4go/protocols/opcua/readwrite/model/SessionDiagnosticsDataType.go index c4aea65acf..7342b4b98e 100644 --- a/plc4go/protocols/opcua/readwrite/model/SessionDiagnosticsDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/SessionDiagnosticsDataType.go @@ -1202,7 +1202,7 @@ func (m *_SessionDiagnosticsDataType) deepCopy() *_SessionDiagnosticsDataType { return nil } _SessionDiagnosticsDataTypeCopy := &_SessionDiagnosticsDataType{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.SessionId.DeepCopy().(NodeId), m.SessionName.DeepCopy().(PascalString), m.ClientDescription.DeepCopy().(ExtensionObjectDefinition), diff --git a/plc4go/protocols/opcua/readwrite/model/SessionSecurityDiagnosticsDataType.go b/plc4go/protocols/opcua/readwrite/model/SessionSecurityDiagnosticsDataType.go index 167c68d3ac..63924ba9ec 100644 --- a/plc4go/protocols/opcua/readwrite/model/SessionSecurityDiagnosticsDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/SessionSecurityDiagnosticsDataType.go @@ -407,7 +407,7 @@ func (m *_SessionSecurityDiagnosticsDataType) deepCopy() *_SessionSecurityDiagno return nil } _SessionSecurityDiagnosticsDataTypeCopy := &_SessionSecurityDiagnosticsDataType{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.SessionId.DeepCopy().(NodeId), m.ClientUserIdOfSession.DeepCopy().(PascalString), m.NoOfClientUserIdHistory, diff --git a/plc4go/protocols/opcua/readwrite/model/SessionlessInvokeRequestType.go b/plc4go/protocols/opcua/readwrite/model/SessionlessInvokeRequestType.go index 5b0bad8e39..d7195285a8 100644 --- a/plc4go/protocols/opcua/readwrite/model/SessionlessInvokeRequestType.go +++ b/plc4go/protocols/opcua/readwrite/model/SessionlessInvokeRequestType.go @@ -358,7 +358,7 @@ func (m *_SessionlessInvokeRequestType) deepCopy() *_SessionlessInvokeRequestTyp return nil } _SessionlessInvokeRequestTypeCopy := &_SessionlessInvokeRequestType{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.UrisVersion, m.NoOfNamespaceUris, utils.DeepCopySlice[PascalString, PascalString](m.NamespaceUris), diff --git a/plc4go/protocols/opcua/readwrite/model/SessionlessInvokeResponseType.go b/plc4go/protocols/opcua/readwrite/model/SessionlessInvokeResponseType.go index 6de118a7ed..90d94e4327 100644 --- a/plc4go/protocols/opcua/readwrite/model/SessionlessInvokeResponseType.go +++ b/plc4go/protocols/opcua/readwrite/model/SessionlessInvokeResponseType.go @@ -288,7 +288,7 @@ func (m *_SessionlessInvokeResponseType) deepCopy() *_SessionlessInvokeResponseT return nil } _SessionlessInvokeResponseTypeCopy := &_SessionlessInvokeResponseType{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.NoOfNamespaceUris, utils.DeepCopySlice[PascalString, PascalString](m.NamespaceUris), m.NoOfServerUris, diff --git a/plc4go/protocols/opcua/readwrite/model/SetMonitoringModeRequest.go b/plc4go/protocols/opcua/readwrite/model/SetMonitoringModeRequest.go index 2c3b76c902..e2b95a9890 100644 --- a/plc4go/protocols/opcua/readwrite/model/SetMonitoringModeRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/SetMonitoringModeRequest.go @@ -279,7 +279,7 @@ func (m *_SetMonitoringModeRequest) deepCopy() *_SetMonitoringModeRequest { return nil } _SetMonitoringModeRequestCopy := &_SetMonitoringModeRequest{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.RequestHeader.DeepCopy().(ExtensionObjectDefinition), m.SubscriptionId, m.MonitoringMode, diff --git a/plc4go/protocols/opcua/readwrite/model/SetMonitoringModeResponse.go b/plc4go/protocols/opcua/readwrite/model/SetMonitoringModeResponse.go index 36f66bd50e..247562125b 100644 --- a/plc4go/protocols/opcua/readwrite/model/SetMonitoringModeResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/SetMonitoringModeResponse.go @@ -291,7 +291,7 @@ func (m *_SetMonitoringModeResponse) deepCopy() *_SetMonitoringModeResponse { return nil } _SetMonitoringModeResponseCopy := &_SetMonitoringModeResponse{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.ResponseHeader.DeepCopy().(ExtensionObjectDefinition), m.NoOfResults, utils.DeepCopySlice[StatusCode, StatusCode](m.Results), diff --git a/plc4go/protocols/opcua/readwrite/model/SetPublishingModeRequest.go b/plc4go/protocols/opcua/readwrite/model/SetPublishingModeRequest.go index 5d1300e339..5afbe65b60 100644 --- a/plc4go/protocols/opcua/readwrite/model/SetPublishingModeRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/SetPublishingModeRequest.go @@ -273,7 +273,7 @@ func (m *_SetPublishingModeRequest) deepCopy() *_SetPublishingModeRequest { return nil } _SetPublishingModeRequestCopy := &_SetPublishingModeRequest{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.RequestHeader.DeepCopy().(ExtensionObjectDefinition), m.PublishingEnabled, m.NoOfSubscriptionIds, diff --git a/plc4go/protocols/opcua/readwrite/model/SetPublishingModeResponse.go b/plc4go/protocols/opcua/readwrite/model/SetPublishingModeResponse.go index e772b74022..9b28f303cb 100644 --- a/plc4go/protocols/opcua/readwrite/model/SetPublishingModeResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/SetPublishingModeResponse.go @@ -291,7 +291,7 @@ func (m *_SetPublishingModeResponse) deepCopy() *_SetPublishingModeResponse { return nil } _SetPublishingModeResponseCopy := &_SetPublishingModeResponse{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.ResponseHeader.DeepCopy().(ExtensionObjectDefinition), m.NoOfResults, utils.DeepCopySlice[StatusCode, StatusCode](m.Results), diff --git a/plc4go/protocols/opcua/readwrite/model/SetTriggeringRequest.go b/plc4go/protocols/opcua/readwrite/model/SetTriggeringRequest.go index d017ee0975..1dbdb8961a 100644 --- a/plc4go/protocols/opcua/readwrite/model/SetTriggeringRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/SetTriggeringRequest.go @@ -323,7 +323,7 @@ func (m *_SetTriggeringRequest) deepCopy() *_SetTriggeringRequest { return nil } _SetTriggeringRequestCopy := &_SetTriggeringRequest{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.RequestHeader.DeepCopy().(ExtensionObjectDefinition), m.SubscriptionId, m.TriggeringItemId, diff --git a/plc4go/protocols/opcua/readwrite/model/SetTriggeringResponse.go b/plc4go/protocols/opcua/readwrite/model/SetTriggeringResponse.go index 0c277b8805..805905dbd2 100644 --- a/plc4go/protocols/opcua/readwrite/model/SetTriggeringResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/SetTriggeringResponse.go @@ -389,7 +389,7 @@ func (m *_SetTriggeringResponse) deepCopy() *_SetTriggeringResponse { return nil } _SetTriggeringResponseCopy := &_SetTriggeringResponse{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.ResponseHeader.DeepCopy().(ExtensionObjectDefinition), m.NoOfAddResults, utils.DeepCopySlice[StatusCode, StatusCode](m.AddResults), diff --git a/plc4go/protocols/opcua/readwrite/model/SignatureData.go b/plc4go/protocols/opcua/readwrite/model/SignatureData.go index 39d37e8b28..2ff7a7b5f3 100644 --- a/plc4go/protocols/opcua/readwrite/model/SignatureData.go +++ b/plc4go/protocols/opcua/readwrite/model/SignatureData.go @@ -217,7 +217,7 @@ func (m *_SignatureData) deepCopy() *_SignatureData { return nil } _SignatureDataCopy := &_SignatureData{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.Algorithm.DeepCopy().(PascalString), m.Signature.DeepCopy().(PascalByteString), } diff --git a/plc4go/protocols/opcua/readwrite/model/SignedSoftwareCertificate.go b/plc4go/protocols/opcua/readwrite/model/SignedSoftwareCertificate.go index b15f02ccc0..e9dc9e6420 100644 --- a/plc4go/protocols/opcua/readwrite/model/SignedSoftwareCertificate.go +++ b/plc4go/protocols/opcua/readwrite/model/SignedSoftwareCertificate.go @@ -217,7 +217,7 @@ func (m *_SignedSoftwareCertificate) deepCopy() *_SignedSoftwareCertificate { return nil } _SignedSoftwareCertificateCopy := &_SignedSoftwareCertificate{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.CertificateData.DeepCopy().(PascalByteString), m.Signature.DeepCopy().(PascalByteString), } diff --git a/plc4go/protocols/opcua/readwrite/model/StatusChangeNotification.go b/plc4go/protocols/opcua/readwrite/model/StatusChangeNotification.go index 981174d3b4..21e7ae04de 100644 --- a/plc4go/protocols/opcua/readwrite/model/StatusChangeNotification.go +++ b/plc4go/protocols/opcua/readwrite/model/StatusChangeNotification.go @@ -230,7 +230,7 @@ func (m *_StatusChangeNotification) deepCopy() *_StatusChangeNotification { return nil } _StatusChangeNotificationCopy := &_StatusChangeNotification{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.Status.DeepCopy().(StatusCode), m.DiagnosticInfo.DeepCopy().(DiagnosticInfo), } diff --git a/plc4go/protocols/opcua/readwrite/model/StatusResult.go b/plc4go/protocols/opcua/readwrite/model/StatusResult.go index a8a75c5ffa..63aee4eab9 100644 --- a/plc4go/protocols/opcua/readwrite/model/StatusResult.go +++ b/plc4go/protocols/opcua/readwrite/model/StatusResult.go @@ -217,7 +217,7 @@ func (m *_StatusResult) deepCopy() *_StatusResult { return nil } _StatusResultCopy := &_StatusResult{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.StatusCode.DeepCopy().(StatusCode), m.DiagnosticInfo.DeepCopy().(DiagnosticInfo), } diff --git a/plc4go/protocols/opcua/readwrite/model/StructureField.go b/plc4go/protocols/opcua/readwrite/model/StructureField.go index 8e7a4aa5ff..8e689f6f88 100644 --- a/plc4go/protocols/opcua/readwrite/model/StructureField.go +++ b/plc4go/protocols/opcua/readwrite/model/StructureField.go @@ -363,7 +363,7 @@ func (m *_StructureField) deepCopy() *_StructureField { return nil } _StructureFieldCopy := &_StructureField{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.Name.DeepCopy().(PascalString), m.Description.DeepCopy().(LocalizedText), m.DataType.DeepCopy().(NodeId), diff --git a/plc4go/protocols/opcua/readwrite/model/SubscribedDataSetDataType.go b/plc4go/protocols/opcua/readwrite/model/SubscribedDataSetDataType.go index eac2175446..07281cf388 100644 --- a/plc4go/protocols/opcua/readwrite/model/SubscribedDataSetDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/SubscribedDataSetDataType.go @@ -157,7 +157,7 @@ func (m *_SubscribedDataSetDataType) deepCopy() *_SubscribedDataSetDataType { return nil } _SubscribedDataSetDataTypeCopy := &_SubscribedDataSetDataType{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), } m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition)._SubType = m return _SubscribedDataSetDataTypeCopy diff --git a/plc4go/protocols/opcua/readwrite/model/SubscriptionAcknowledgement.go b/plc4go/protocols/opcua/readwrite/model/SubscriptionAcknowledgement.go index 01209250ea..5a72d3ab5c 100644 --- a/plc4go/protocols/opcua/readwrite/model/SubscriptionAcknowledgement.go +++ b/plc4go/protocols/opcua/readwrite/model/SubscriptionAcknowledgement.go @@ -211,7 +211,7 @@ func (m *_SubscriptionAcknowledgement) deepCopy() *_SubscriptionAcknowledgement return nil } _SubscriptionAcknowledgementCopy := &_SubscriptionAcknowledgement{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.SubscriptionId, m.SequenceNumber, } diff --git a/plc4go/protocols/opcua/readwrite/model/SubscriptionDiagnosticsDataType.go b/plc4go/protocols/opcua/readwrite/model/SubscriptionDiagnosticsDataType.go index f8a4f4688e..adcef6c52a 100644 --- a/plc4go/protocols/opcua/readwrite/model/SubscriptionDiagnosticsDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/SubscriptionDiagnosticsDataType.go @@ -838,7 +838,7 @@ func (m *_SubscriptionDiagnosticsDataType) deepCopy() *_SubscriptionDiagnosticsD return nil } _SubscriptionDiagnosticsDataTypeCopy := &_SubscriptionDiagnosticsDataType{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.SessionId.DeepCopy().(NodeId), m.SubscriptionId, m.Priority, diff --git a/plc4go/protocols/opcua/readwrite/model/TimeZoneDataType.go b/plc4go/protocols/opcua/readwrite/model/TimeZoneDataType.go index a0ddc1de42..632263cc45 100644 --- a/plc4go/protocols/opcua/readwrite/model/TimeZoneDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/TimeZoneDataType.go @@ -226,7 +226,7 @@ func (m *_TimeZoneDataType) deepCopy() *_TimeZoneDataType { return nil } _TimeZoneDataTypeCopy := &_TimeZoneDataType{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.Offset, m.DaylightSavingInOffset, m.reservedField0, diff --git a/plc4go/protocols/opcua/readwrite/model/TransactionErrorType.go b/plc4go/protocols/opcua/readwrite/model/TransactionErrorType.go index 9ae3545131..495b702507 100644 --- a/plc4go/protocols/opcua/readwrite/model/TransactionErrorType.go +++ b/plc4go/protocols/opcua/readwrite/model/TransactionErrorType.go @@ -241,7 +241,7 @@ func (m *_TransactionErrorType) deepCopy() *_TransactionErrorType { return nil } _TransactionErrorTypeCopy := &_TransactionErrorType{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.TargetId.DeepCopy().(NodeId), m.Error.DeepCopy().(StatusCode), m.Message.DeepCopy().(LocalizedText), diff --git a/plc4go/protocols/opcua/readwrite/model/TransferResult.go b/plc4go/protocols/opcua/readwrite/model/TransferResult.go index a4474331b0..5336810bbd 100644 --- a/plc4go/protocols/opcua/readwrite/model/TransferResult.go +++ b/plc4go/protocols/opcua/readwrite/model/TransferResult.go @@ -237,7 +237,7 @@ func (m *_TransferResult) deepCopy() *_TransferResult { return nil } _TransferResultCopy := &_TransferResult{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.StatusCode.DeepCopy().(StatusCode), m.NoOfAvailableSequenceNumbers, utils.DeepCopySlice[uint32, uint32](m.AvailableSequenceNumbers), diff --git a/plc4go/protocols/opcua/readwrite/model/TransferSubscriptionsRequest.go b/plc4go/protocols/opcua/readwrite/model/TransferSubscriptionsRequest.go index 2ae3320076..85cece4a0d 100644 --- a/plc4go/protocols/opcua/readwrite/model/TransferSubscriptionsRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/TransferSubscriptionsRequest.go @@ -273,7 +273,7 @@ func (m *_TransferSubscriptionsRequest) deepCopy() *_TransferSubscriptionsReques return nil } _TransferSubscriptionsRequestCopy := &_TransferSubscriptionsRequest{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.RequestHeader.DeepCopy().(ExtensionObjectDefinition), m.NoOfSubscriptionIds, utils.DeepCopySlice[uint32, uint32](m.SubscriptionIds), diff --git a/plc4go/protocols/opcua/readwrite/model/TransferSubscriptionsResponse.go b/plc4go/protocols/opcua/readwrite/model/TransferSubscriptionsResponse.go index 1a852fe565..6562ebbd9e 100644 --- a/plc4go/protocols/opcua/readwrite/model/TransferSubscriptionsResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/TransferSubscriptionsResponse.go @@ -291,7 +291,7 @@ func (m *_TransferSubscriptionsResponse) deepCopy() *_TransferSubscriptionsRespo return nil } _TransferSubscriptionsResponseCopy := &_TransferSubscriptionsResponse{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.ResponseHeader.DeepCopy().(ExtensionObjectDefinition), m.NoOfResults, utils.DeepCopySlice[ExtensionObjectDefinition, ExtensionObjectDefinition](m.Results), diff --git a/plc4go/protocols/opcua/readwrite/model/TranslateBrowsePathsToNodeIdsRequest.go b/plc4go/protocols/opcua/readwrite/model/TranslateBrowsePathsToNodeIdsRequest.go index f7e457e7c4..b4b6e60679 100644 --- a/plc4go/protocols/opcua/readwrite/model/TranslateBrowsePathsToNodeIdsRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/TranslateBrowsePathsToNodeIdsRequest.go @@ -242,7 +242,7 @@ func (m *_TranslateBrowsePathsToNodeIdsRequest) deepCopy() *_TranslateBrowsePath return nil } _TranslateBrowsePathsToNodeIdsRequestCopy := &_TranslateBrowsePathsToNodeIdsRequest{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.RequestHeader.DeepCopy().(ExtensionObjectDefinition), m.NoOfBrowsePaths, utils.DeepCopySlice[ExtensionObjectDefinition, ExtensionObjectDefinition](m.BrowsePaths), diff --git a/plc4go/protocols/opcua/readwrite/model/TranslateBrowsePathsToNodeIdsResponse.go b/plc4go/protocols/opcua/readwrite/model/TranslateBrowsePathsToNodeIdsResponse.go index 2794f49ea4..d744470dd5 100644 --- a/plc4go/protocols/opcua/readwrite/model/TranslateBrowsePathsToNodeIdsResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/TranslateBrowsePathsToNodeIdsResponse.go @@ -291,7 +291,7 @@ func (m *_TranslateBrowsePathsToNodeIdsResponse) deepCopy() *_TranslateBrowsePat return nil } _TranslateBrowsePathsToNodeIdsResponseCopy := &_TranslateBrowsePathsToNodeIdsResponse{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.ResponseHeader.DeepCopy().(ExtensionObjectDefinition), m.NoOfResults, utils.DeepCopySlice[ExtensionObjectDefinition, ExtensionObjectDefinition](m.Results), diff --git a/plc4go/protocols/opcua/readwrite/model/TrustListDataType.go b/plc4go/protocols/opcua/readwrite/model/TrustListDataType.go index ffdb9cdf06..ef9062df81 100644 --- a/plc4go/protocols/opcua/readwrite/model/TrustListDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/TrustListDataType.go @@ -386,7 +386,7 @@ func (m *_TrustListDataType) deepCopy() *_TrustListDataType { return nil } _TrustListDataTypeCopy := &_TrustListDataType{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.SpecifiedLists, m.NoOfTrustedCertificates, utils.DeepCopySlice[PascalByteString, PascalByteString](m.TrustedCertificates), diff --git a/plc4go/protocols/opcua/readwrite/model/Union.go b/plc4go/protocols/opcua/readwrite/model/Union.go index 99081026d1..fa3a4b14b2 100644 --- a/plc4go/protocols/opcua/readwrite/model/Union.go +++ b/plc4go/protocols/opcua/readwrite/model/Union.go @@ -157,7 +157,7 @@ func (m *_Union) deepCopy() *_Union { return nil } _UnionCopy := &_Union{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), } m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition)._SubType = m return _UnionCopy diff --git a/plc4go/protocols/opcua/readwrite/model/UnregisterNodesRequest.go b/plc4go/protocols/opcua/readwrite/model/UnregisterNodesRequest.go index 204785ecf8..312abbe014 100644 --- a/plc4go/protocols/opcua/readwrite/model/UnregisterNodesRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/UnregisterNodesRequest.go @@ -242,7 +242,7 @@ func (m *_UnregisterNodesRequest) deepCopy() *_UnregisterNodesRequest { return nil } _UnregisterNodesRequestCopy := &_UnregisterNodesRequest{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.RequestHeader.DeepCopy().(ExtensionObjectDefinition), m.NoOfNodesToUnregister, utils.DeepCopySlice[NodeId, NodeId](m.NodesToUnregister), diff --git a/plc4go/protocols/opcua/readwrite/model/UnregisterNodesResponse.go b/plc4go/protocols/opcua/readwrite/model/UnregisterNodesResponse.go index 261573ef58..8f2fd2292a 100644 --- a/plc4go/protocols/opcua/readwrite/model/UnregisterNodesResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/UnregisterNodesResponse.go @@ -193,7 +193,7 @@ func (m *_UnregisterNodesResponse) deepCopy() *_UnregisterNodesResponse { return nil } _UnregisterNodesResponseCopy := &_UnregisterNodesResponse{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.ResponseHeader.DeepCopy().(ExtensionObjectDefinition), } m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition)._SubType = m diff --git a/plc4go/protocols/opcua/readwrite/model/UnsignedRationalNumber.go b/plc4go/protocols/opcua/readwrite/model/UnsignedRationalNumber.go index cc2c635d40..536d6f8481 100644 --- a/plc4go/protocols/opcua/readwrite/model/UnsignedRationalNumber.go +++ b/plc4go/protocols/opcua/readwrite/model/UnsignedRationalNumber.go @@ -211,7 +211,7 @@ func (m *_UnsignedRationalNumber) deepCopy() *_UnsignedRationalNumber { return nil } _UnsignedRationalNumberCopy := &_UnsignedRationalNumber{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.Numerator, m.Denominator, } diff --git a/plc4go/protocols/opcua/readwrite/model/UserIdentityToken.go b/plc4go/protocols/opcua/readwrite/model/UserIdentityToken.go index b06b30e425..60d964fe11 100644 --- a/plc4go/protocols/opcua/readwrite/model/UserIdentityToken.go +++ b/plc4go/protocols/opcua/readwrite/model/UserIdentityToken.go @@ -230,7 +230,7 @@ func (m *_UserIdentityToken) deepCopy() *_UserIdentityToken { return nil } _UserIdentityTokenCopy := &_UserIdentityToken{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.PolicyId.DeepCopy().(PascalString), m.UserIdentityTokenDefinition.DeepCopy().(UserIdentityTokenDefinition), } diff --git a/plc4go/protocols/opcua/readwrite/model/UserIdentityTokenDefinition.go b/plc4go/protocols/opcua/readwrite/model/UserIdentityTokenDefinition.go index d355c739f0..506b3f401c 100644 --- a/plc4go/protocols/opcua/readwrite/model/UserIdentityTokenDefinition.go +++ b/plc4go/protocols/opcua/readwrite/model/UserIdentityTokenDefinition.go @@ -45,7 +45,6 @@ type UserIdentityTokenDefinition interface { // UserIdentityTokenDefinitionContract provides a set of functions which can be overwritten by a sub struct type UserIdentityTokenDefinitionContract interface { - utils.Copyable // IsUserIdentityTokenDefinition is a marker method to prevent unintentional type checks (interfaces of same signature) IsUserIdentityTokenDefinition() } diff --git a/plc4go/protocols/opcua/readwrite/model/UserManagementDataType.go b/plc4go/protocols/opcua/readwrite/model/UserManagementDataType.go index 9bfebefe6f..d4ee585ce6 100644 --- a/plc4go/protocols/opcua/readwrite/model/UserManagementDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/UserManagementDataType.go @@ -238,7 +238,7 @@ func (m *_UserManagementDataType) deepCopy() *_UserManagementDataType { return nil } _UserManagementDataTypeCopy := &_UserManagementDataType{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.UserName.DeepCopy().(PascalString), m.UserConfiguration, m.Description.DeepCopy().(PascalString), diff --git a/plc4go/protocols/opcua/readwrite/model/UserNameIdentityToken.go b/plc4go/protocols/opcua/readwrite/model/UserNameIdentityToken.go index b297b85cad..c3db7820fc 100644 --- a/plc4go/protocols/opcua/readwrite/model/UserNameIdentityToken.go +++ b/plc4go/protocols/opcua/readwrite/model/UserNameIdentityToken.go @@ -241,7 +241,7 @@ func (m *_UserNameIdentityToken) deepCopy() *_UserNameIdentityToken { return nil } _UserNameIdentityTokenCopy := &_UserNameIdentityToken{ - m.UserIdentityTokenDefinitionContract.DeepCopy().(UserIdentityTokenDefinitionContract), + m.UserIdentityTokenDefinitionContract.(*_UserIdentityTokenDefinition).deepCopy(), m.UserName.DeepCopy().(PascalString), m.Password.DeepCopy().(PascalByteString), m.EncryptionAlgorithm.DeepCopy().(PascalString), diff --git a/plc4go/protocols/opcua/readwrite/model/UserTokenPolicy.go b/plc4go/protocols/opcua/readwrite/model/UserTokenPolicy.go index 5f7818ae2d..86f477f21b 100644 --- a/plc4go/protocols/opcua/readwrite/model/UserTokenPolicy.go +++ b/plc4go/protocols/opcua/readwrite/model/UserTokenPolicy.go @@ -286,7 +286,7 @@ func (m *_UserTokenPolicy) deepCopy() *_UserTokenPolicy { return nil } _UserTokenPolicyCopy := &_UserTokenPolicy{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.PolicyId.DeepCopy().(PascalString), m.TokenType, m.IssuedTokenType.DeepCopy().(PascalString), diff --git a/plc4go/protocols/opcua/readwrite/model/Variant.go b/plc4go/protocols/opcua/readwrite/model/Variant.go index fd43b47be3..ed70df04f4 100644 --- a/plc4go/protocols/opcua/readwrite/model/Variant.go +++ b/plc4go/protocols/opcua/readwrite/model/Variant.go @@ -47,7 +47,6 @@ type Variant interface { // VariantContract provides a set of functions which can be overwritten by a sub struct type VariantContract interface { - utils.Copyable // GetArrayLengthSpecified returns ArrayLengthSpecified (property field) GetArrayLengthSpecified() bool // GetArrayDimensionsSpecified returns ArrayDimensionsSpecified (property field) diff --git a/plc4go/protocols/opcua/readwrite/model/VariantBoolean.go b/plc4go/protocols/opcua/readwrite/model/VariantBoolean.go index 34cd88f587..059d3fc76a 100644 --- a/plc4go/protocols/opcua/readwrite/model/VariantBoolean.go +++ b/plc4go/protocols/opcua/readwrite/model/VariantBoolean.go @@ -216,7 +216,7 @@ func (m *_VariantBoolean) deepCopy() *_VariantBoolean { return nil } _VariantBooleanCopy := &_VariantBoolean{ - m.VariantContract.DeepCopy().(VariantContract), + m.VariantContract.(*_Variant).deepCopy(), utils.CopyPtr[int32](m.ArrayLength), utils.DeepCopySlice[byte, byte](m.Value), } diff --git a/plc4go/protocols/opcua/readwrite/model/VariantByte.go b/plc4go/protocols/opcua/readwrite/model/VariantByte.go index 762bc22658..280c2e8e9d 100644 --- a/plc4go/protocols/opcua/readwrite/model/VariantByte.go +++ b/plc4go/protocols/opcua/readwrite/model/VariantByte.go @@ -216,7 +216,7 @@ func (m *_VariantByte) deepCopy() *_VariantByte { return nil } _VariantByteCopy := &_VariantByte{ - m.VariantContract.DeepCopy().(VariantContract), + m.VariantContract.(*_Variant).deepCopy(), utils.CopyPtr[int32](m.ArrayLength), utils.DeepCopySlice[uint8, uint8](m.Value), } diff --git a/plc4go/protocols/opcua/readwrite/model/VariantByteString.go b/plc4go/protocols/opcua/readwrite/model/VariantByteString.go index ab11c3eb56..5f5cea53a4 100644 --- a/plc4go/protocols/opcua/readwrite/model/VariantByteString.go +++ b/plc4go/protocols/opcua/readwrite/model/VariantByteString.go @@ -221,7 +221,7 @@ func (m *_VariantByteString) deepCopy() *_VariantByteString { return nil } _VariantByteStringCopy := &_VariantByteString{ - m.VariantContract.DeepCopy().(VariantContract), + m.VariantContract.(*_Variant).deepCopy(), utils.CopyPtr[int32](m.ArrayLength), utils.DeepCopySlice[ByteStringArray, ByteStringArray](m.Value), } diff --git a/plc4go/protocols/opcua/readwrite/model/VariantDataValue.go b/plc4go/protocols/opcua/readwrite/model/VariantDataValue.go index 2e9f6bc19a..e5f6640f25 100644 --- a/plc4go/protocols/opcua/readwrite/model/VariantDataValue.go +++ b/plc4go/protocols/opcua/readwrite/model/VariantDataValue.go @@ -221,7 +221,7 @@ func (m *_VariantDataValue) deepCopy() *_VariantDataValue { return nil } _VariantDataValueCopy := &_VariantDataValue{ - m.VariantContract.DeepCopy().(VariantContract), + m.VariantContract.(*_Variant).deepCopy(), utils.CopyPtr[int32](m.ArrayLength), utils.DeepCopySlice[DataValue, DataValue](m.Value), } diff --git a/plc4go/protocols/opcua/readwrite/model/VariantDateTime.go b/plc4go/protocols/opcua/readwrite/model/VariantDateTime.go index cfe46e3503..df155f51cd 100644 --- a/plc4go/protocols/opcua/readwrite/model/VariantDateTime.go +++ b/plc4go/protocols/opcua/readwrite/model/VariantDateTime.go @@ -216,7 +216,7 @@ func (m *_VariantDateTime) deepCopy() *_VariantDateTime { return nil } _VariantDateTimeCopy := &_VariantDateTime{ - m.VariantContract.DeepCopy().(VariantContract), + m.VariantContract.(*_Variant).deepCopy(), utils.CopyPtr[int32](m.ArrayLength), utils.DeepCopySlice[int64, int64](m.Value), } diff --git a/plc4go/protocols/opcua/readwrite/model/VariantDiagnosticInfo.go b/plc4go/protocols/opcua/readwrite/model/VariantDiagnosticInfo.go index c50c6bf7fe..d1d9e7bfc8 100644 --- a/plc4go/protocols/opcua/readwrite/model/VariantDiagnosticInfo.go +++ b/plc4go/protocols/opcua/readwrite/model/VariantDiagnosticInfo.go @@ -221,7 +221,7 @@ func (m *_VariantDiagnosticInfo) deepCopy() *_VariantDiagnosticInfo { return nil } _VariantDiagnosticInfoCopy := &_VariantDiagnosticInfo{ - m.VariantContract.DeepCopy().(VariantContract), + m.VariantContract.(*_Variant).deepCopy(), utils.CopyPtr[int32](m.ArrayLength), utils.DeepCopySlice[DiagnosticInfo, DiagnosticInfo](m.Value), } diff --git a/plc4go/protocols/opcua/readwrite/model/VariantDouble.go b/plc4go/protocols/opcua/readwrite/model/VariantDouble.go index 39713caee4..ad49177b00 100644 --- a/plc4go/protocols/opcua/readwrite/model/VariantDouble.go +++ b/plc4go/protocols/opcua/readwrite/model/VariantDouble.go @@ -216,7 +216,7 @@ func (m *_VariantDouble) deepCopy() *_VariantDouble { return nil } _VariantDoubleCopy := &_VariantDouble{ - m.VariantContract.DeepCopy().(VariantContract), + m.VariantContract.(*_Variant).deepCopy(), utils.CopyPtr[int32](m.ArrayLength), utils.DeepCopySlice[float64, float64](m.Value), } diff --git a/plc4go/protocols/opcua/readwrite/model/VariantExpandedNodeId.go b/plc4go/protocols/opcua/readwrite/model/VariantExpandedNodeId.go index cb98377f6b..c008f505d9 100644 --- a/plc4go/protocols/opcua/readwrite/model/VariantExpandedNodeId.go +++ b/plc4go/protocols/opcua/readwrite/model/VariantExpandedNodeId.go @@ -221,7 +221,7 @@ func (m *_VariantExpandedNodeId) deepCopy() *_VariantExpandedNodeId { return nil } _VariantExpandedNodeIdCopy := &_VariantExpandedNodeId{ - m.VariantContract.DeepCopy().(VariantContract), + m.VariantContract.(*_Variant).deepCopy(), utils.CopyPtr[int32](m.ArrayLength), utils.DeepCopySlice[ExpandedNodeId, ExpandedNodeId](m.Value), } diff --git a/plc4go/protocols/opcua/readwrite/model/VariantExtensionObject.go b/plc4go/protocols/opcua/readwrite/model/VariantExtensionObject.go index 0ab47b9f90..fc768514b2 100644 --- a/plc4go/protocols/opcua/readwrite/model/VariantExtensionObject.go +++ b/plc4go/protocols/opcua/readwrite/model/VariantExtensionObject.go @@ -221,7 +221,7 @@ func (m *_VariantExtensionObject) deepCopy() *_VariantExtensionObject { return nil } _VariantExtensionObjectCopy := &_VariantExtensionObject{ - m.VariantContract.DeepCopy().(VariantContract), + m.VariantContract.(*_Variant).deepCopy(), utils.CopyPtr[int32](m.ArrayLength), utils.DeepCopySlice[ExtensionObject, ExtensionObject](m.Value), } diff --git a/plc4go/protocols/opcua/readwrite/model/VariantFloat.go b/plc4go/protocols/opcua/readwrite/model/VariantFloat.go index 5acf453f94..cfc8842b8c 100644 --- a/plc4go/protocols/opcua/readwrite/model/VariantFloat.go +++ b/plc4go/protocols/opcua/readwrite/model/VariantFloat.go @@ -216,7 +216,7 @@ func (m *_VariantFloat) deepCopy() *_VariantFloat { return nil } _VariantFloatCopy := &_VariantFloat{ - m.VariantContract.DeepCopy().(VariantContract), + m.VariantContract.(*_Variant).deepCopy(), utils.CopyPtr[int32](m.ArrayLength), utils.DeepCopySlice[float32, float32](m.Value), } diff --git a/plc4go/protocols/opcua/readwrite/model/VariantGuid.go b/plc4go/protocols/opcua/readwrite/model/VariantGuid.go index 721c7bc6ec..9c2f2c0014 100644 --- a/plc4go/protocols/opcua/readwrite/model/VariantGuid.go +++ b/plc4go/protocols/opcua/readwrite/model/VariantGuid.go @@ -221,7 +221,7 @@ func (m *_VariantGuid) deepCopy() *_VariantGuid { return nil } _VariantGuidCopy := &_VariantGuid{ - m.VariantContract.DeepCopy().(VariantContract), + m.VariantContract.(*_Variant).deepCopy(), utils.CopyPtr[int32](m.ArrayLength), utils.DeepCopySlice[GuidValue, GuidValue](m.Value), } diff --git a/plc4go/protocols/opcua/readwrite/model/VariantInt16.go b/plc4go/protocols/opcua/readwrite/model/VariantInt16.go index 034aa4e066..6e7a46fe17 100644 --- a/plc4go/protocols/opcua/readwrite/model/VariantInt16.go +++ b/plc4go/protocols/opcua/readwrite/model/VariantInt16.go @@ -216,7 +216,7 @@ func (m *_VariantInt16) deepCopy() *_VariantInt16 { return nil } _VariantInt16Copy := &_VariantInt16{ - m.VariantContract.DeepCopy().(VariantContract), + m.VariantContract.(*_Variant).deepCopy(), utils.CopyPtr[int32](m.ArrayLength), utils.DeepCopySlice[int16, int16](m.Value), } diff --git a/plc4go/protocols/opcua/readwrite/model/VariantInt32.go b/plc4go/protocols/opcua/readwrite/model/VariantInt32.go index d398f1ab47..110bdb7f66 100644 --- a/plc4go/protocols/opcua/readwrite/model/VariantInt32.go +++ b/plc4go/protocols/opcua/readwrite/model/VariantInt32.go @@ -216,7 +216,7 @@ func (m *_VariantInt32) deepCopy() *_VariantInt32 { return nil } _VariantInt32Copy := &_VariantInt32{ - m.VariantContract.DeepCopy().(VariantContract), + m.VariantContract.(*_Variant).deepCopy(), utils.CopyPtr[int32](m.ArrayLength), utils.DeepCopySlice[int32, int32](m.Value), } diff --git a/plc4go/protocols/opcua/readwrite/model/VariantInt64.go b/plc4go/protocols/opcua/readwrite/model/VariantInt64.go index 51161aa1f4..bd2490de18 100644 --- a/plc4go/protocols/opcua/readwrite/model/VariantInt64.go +++ b/plc4go/protocols/opcua/readwrite/model/VariantInt64.go @@ -216,7 +216,7 @@ func (m *_VariantInt64) deepCopy() *_VariantInt64 { return nil } _VariantInt64Copy := &_VariantInt64{ - m.VariantContract.DeepCopy().(VariantContract), + m.VariantContract.(*_Variant).deepCopy(), utils.CopyPtr[int32](m.ArrayLength), utils.DeepCopySlice[int64, int64](m.Value), } diff --git a/plc4go/protocols/opcua/readwrite/model/VariantLocalizedText.go b/plc4go/protocols/opcua/readwrite/model/VariantLocalizedText.go index d3fb397620..56775efa7c 100644 --- a/plc4go/protocols/opcua/readwrite/model/VariantLocalizedText.go +++ b/plc4go/protocols/opcua/readwrite/model/VariantLocalizedText.go @@ -221,7 +221,7 @@ func (m *_VariantLocalizedText) deepCopy() *_VariantLocalizedText { return nil } _VariantLocalizedTextCopy := &_VariantLocalizedText{ - m.VariantContract.DeepCopy().(VariantContract), + m.VariantContract.(*_Variant).deepCopy(), utils.CopyPtr[int32](m.ArrayLength), utils.DeepCopySlice[LocalizedText, LocalizedText](m.Value), } diff --git a/plc4go/protocols/opcua/readwrite/model/VariantNodeId.go b/plc4go/protocols/opcua/readwrite/model/VariantNodeId.go index c0a8d8cab2..3e58596290 100644 --- a/plc4go/protocols/opcua/readwrite/model/VariantNodeId.go +++ b/plc4go/protocols/opcua/readwrite/model/VariantNodeId.go @@ -221,7 +221,7 @@ func (m *_VariantNodeId) deepCopy() *_VariantNodeId { return nil } _VariantNodeIdCopy := &_VariantNodeId{ - m.VariantContract.DeepCopy().(VariantContract), + m.VariantContract.(*_Variant).deepCopy(), utils.CopyPtr[int32](m.ArrayLength), utils.DeepCopySlice[NodeId, NodeId](m.Value), } diff --git a/plc4go/protocols/opcua/readwrite/model/VariantNull.go b/plc4go/protocols/opcua/readwrite/model/VariantNull.go index 758ac9e189..ad3c9c0952 100644 --- a/plc4go/protocols/opcua/readwrite/model/VariantNull.go +++ b/plc4go/protocols/opcua/readwrite/model/VariantNull.go @@ -157,7 +157,7 @@ func (m *_VariantNull) deepCopy() *_VariantNull { return nil } _VariantNullCopy := &_VariantNull{ - m.VariantContract.DeepCopy().(VariantContract), + m.VariantContract.(*_Variant).deepCopy(), } m.VariantContract.(*_Variant)._SubType = m return _VariantNullCopy diff --git a/plc4go/protocols/opcua/readwrite/model/VariantQualifiedName.go b/plc4go/protocols/opcua/readwrite/model/VariantQualifiedName.go index 849958f52d..0ee11e1443 100644 --- a/plc4go/protocols/opcua/readwrite/model/VariantQualifiedName.go +++ b/plc4go/protocols/opcua/readwrite/model/VariantQualifiedName.go @@ -221,7 +221,7 @@ func (m *_VariantQualifiedName) deepCopy() *_VariantQualifiedName { return nil } _VariantQualifiedNameCopy := &_VariantQualifiedName{ - m.VariantContract.DeepCopy().(VariantContract), + m.VariantContract.(*_Variant).deepCopy(), utils.CopyPtr[int32](m.ArrayLength), utils.DeepCopySlice[QualifiedName, QualifiedName](m.Value), } diff --git a/plc4go/protocols/opcua/readwrite/model/VariantSByte.go b/plc4go/protocols/opcua/readwrite/model/VariantSByte.go index 628c826389..2d4d1f28b8 100644 --- a/plc4go/protocols/opcua/readwrite/model/VariantSByte.go +++ b/plc4go/protocols/opcua/readwrite/model/VariantSByte.go @@ -216,7 +216,7 @@ func (m *_VariantSByte) deepCopy() *_VariantSByte { return nil } _VariantSByteCopy := &_VariantSByte{ - m.VariantContract.DeepCopy().(VariantContract), + m.VariantContract.(*_Variant).deepCopy(), utils.CopyPtr[int32](m.ArrayLength), utils.DeepCopySlice[byte, byte](m.Value), } diff --git a/plc4go/protocols/opcua/readwrite/model/VariantStatusCode.go b/plc4go/protocols/opcua/readwrite/model/VariantStatusCode.go index e79af8068a..cc22e76fed 100644 --- a/plc4go/protocols/opcua/readwrite/model/VariantStatusCode.go +++ b/plc4go/protocols/opcua/readwrite/model/VariantStatusCode.go @@ -221,7 +221,7 @@ func (m *_VariantStatusCode) deepCopy() *_VariantStatusCode { return nil } _VariantStatusCodeCopy := &_VariantStatusCode{ - m.VariantContract.DeepCopy().(VariantContract), + m.VariantContract.(*_Variant).deepCopy(), utils.CopyPtr[int32](m.ArrayLength), utils.DeepCopySlice[StatusCode, StatusCode](m.Value), } diff --git a/plc4go/protocols/opcua/readwrite/model/VariantString.go b/plc4go/protocols/opcua/readwrite/model/VariantString.go index e9bde27941..9904315ebd 100644 --- a/plc4go/protocols/opcua/readwrite/model/VariantString.go +++ b/plc4go/protocols/opcua/readwrite/model/VariantString.go @@ -221,7 +221,7 @@ func (m *_VariantString) deepCopy() *_VariantString { return nil } _VariantStringCopy := &_VariantString{ - m.VariantContract.DeepCopy().(VariantContract), + m.VariantContract.(*_Variant).deepCopy(), utils.CopyPtr[int32](m.ArrayLength), utils.DeepCopySlice[PascalString, PascalString](m.Value), } diff --git a/plc4go/protocols/opcua/readwrite/model/VariantUInt16.go b/plc4go/protocols/opcua/readwrite/model/VariantUInt16.go index 4948562c89..92633a8437 100644 --- a/plc4go/protocols/opcua/readwrite/model/VariantUInt16.go +++ b/plc4go/protocols/opcua/readwrite/model/VariantUInt16.go @@ -216,7 +216,7 @@ func (m *_VariantUInt16) deepCopy() *_VariantUInt16 { return nil } _VariantUInt16Copy := &_VariantUInt16{ - m.VariantContract.DeepCopy().(VariantContract), + m.VariantContract.(*_Variant).deepCopy(), utils.CopyPtr[int32](m.ArrayLength), utils.DeepCopySlice[uint16, uint16](m.Value), } diff --git a/plc4go/protocols/opcua/readwrite/model/VariantUInt32.go b/plc4go/protocols/opcua/readwrite/model/VariantUInt32.go index 9392ede959..ae3b4b589a 100644 --- a/plc4go/protocols/opcua/readwrite/model/VariantUInt32.go +++ b/plc4go/protocols/opcua/readwrite/model/VariantUInt32.go @@ -216,7 +216,7 @@ func (m *_VariantUInt32) deepCopy() *_VariantUInt32 { return nil } _VariantUInt32Copy := &_VariantUInt32{ - m.VariantContract.DeepCopy().(VariantContract), + m.VariantContract.(*_Variant).deepCopy(), utils.CopyPtr[int32](m.ArrayLength), utils.DeepCopySlice[uint32, uint32](m.Value), } diff --git a/plc4go/protocols/opcua/readwrite/model/VariantUInt64.go b/plc4go/protocols/opcua/readwrite/model/VariantUInt64.go index e2bb00c521..a81e4155b1 100644 --- a/plc4go/protocols/opcua/readwrite/model/VariantUInt64.go +++ b/plc4go/protocols/opcua/readwrite/model/VariantUInt64.go @@ -216,7 +216,7 @@ func (m *_VariantUInt64) deepCopy() *_VariantUInt64 { return nil } _VariantUInt64Copy := &_VariantUInt64{ - m.VariantContract.DeepCopy().(VariantContract), + m.VariantContract.(*_Variant).deepCopy(), utils.CopyPtr[int32](m.ArrayLength), utils.DeepCopySlice[uint64, uint64](m.Value), } diff --git a/plc4go/protocols/opcua/readwrite/model/VariantVariant.go b/plc4go/protocols/opcua/readwrite/model/VariantVariant.go index 610e725ce8..cb091ec2bc 100644 --- a/plc4go/protocols/opcua/readwrite/model/VariantVariant.go +++ b/plc4go/protocols/opcua/readwrite/model/VariantVariant.go @@ -221,7 +221,7 @@ func (m *_VariantVariant) deepCopy() *_VariantVariant { return nil } _VariantVariantCopy := &_VariantVariant{ - m.VariantContract.DeepCopy().(VariantContract), + m.VariantContract.(*_Variant).deepCopy(), utils.CopyPtr[int32](m.ArrayLength), utils.DeepCopySlice[Variant, Variant](m.Value), } diff --git a/plc4go/protocols/opcua/readwrite/model/VariantXmlElement.go b/plc4go/protocols/opcua/readwrite/model/VariantXmlElement.go index 4cb25f0fac..1fbe618a58 100644 --- a/plc4go/protocols/opcua/readwrite/model/VariantXmlElement.go +++ b/plc4go/protocols/opcua/readwrite/model/VariantXmlElement.go @@ -221,7 +221,7 @@ func (m *_VariantXmlElement) deepCopy() *_VariantXmlElement { return nil } _VariantXmlElementCopy := &_VariantXmlElement{ - m.VariantContract.DeepCopy().(VariantContract), + m.VariantContract.(*_Variant).deepCopy(), utils.CopyPtr[int32](m.ArrayLength), utils.DeepCopySlice[PascalString, PascalString](m.Value), } diff --git a/plc4go/protocols/opcua/readwrite/model/ViewDescription.go b/plc4go/protocols/opcua/readwrite/model/ViewDescription.go index a0e1724409..4e81e7c649 100644 --- a/plc4go/protocols/opcua/readwrite/model/ViewDescription.go +++ b/plc4go/protocols/opcua/readwrite/model/ViewDescription.go @@ -235,7 +235,7 @@ func (m *_ViewDescription) deepCopy() *_ViewDescription { return nil } _ViewDescriptionCopy := &_ViewDescription{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.ViewId.DeepCopy().(NodeId), m.Timestamp, m.ViewVersion, diff --git a/plc4go/protocols/opcua/readwrite/model/WriteRequest.go b/plc4go/protocols/opcua/readwrite/model/WriteRequest.go index 842bace44d..eace9fa852 100644 --- a/plc4go/protocols/opcua/readwrite/model/WriteRequest.go +++ b/plc4go/protocols/opcua/readwrite/model/WriteRequest.go @@ -242,7 +242,7 @@ func (m *_WriteRequest) deepCopy() *_WriteRequest { return nil } _WriteRequestCopy := &_WriteRequest{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.RequestHeader.DeepCopy().(ExtensionObjectDefinition), m.NoOfNodesToWrite, utils.DeepCopySlice[ExtensionObjectDefinition, ExtensionObjectDefinition](m.NodesToWrite), diff --git a/plc4go/protocols/opcua/readwrite/model/WriteResponse.go b/plc4go/protocols/opcua/readwrite/model/WriteResponse.go index 79d18af242..06c1edb159 100644 --- a/plc4go/protocols/opcua/readwrite/model/WriteResponse.go +++ b/plc4go/protocols/opcua/readwrite/model/WriteResponse.go @@ -291,7 +291,7 @@ func (m *_WriteResponse) deepCopy() *_WriteResponse { return nil } _WriteResponseCopy := &_WriteResponse{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.ResponseHeader.DeepCopy().(ExtensionObjectDefinition), m.NoOfResults, utils.DeepCopySlice[StatusCode, StatusCode](m.Results), diff --git a/plc4go/protocols/opcua/readwrite/model/WriteValue.go b/plc4go/protocols/opcua/readwrite/model/WriteValue.go index 315378840b..02a2d56523 100644 --- a/plc4go/protocols/opcua/readwrite/model/WriteValue.go +++ b/plc4go/protocols/opcua/readwrite/model/WriteValue.go @@ -262,7 +262,7 @@ func (m *_WriteValue) deepCopy() *_WriteValue { return nil } _WriteValueCopy := &_WriteValue{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.NodeId.DeepCopy().(NodeId), m.AttributeId, m.IndexRange.DeepCopy().(PascalString), diff --git a/plc4go/protocols/opcua/readwrite/model/WriterGroupMessageDataType.go b/plc4go/protocols/opcua/readwrite/model/WriterGroupMessageDataType.go index ec35a54e3c..ffb508fe85 100644 --- a/plc4go/protocols/opcua/readwrite/model/WriterGroupMessageDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/WriterGroupMessageDataType.go @@ -157,7 +157,7 @@ func (m *_WriterGroupMessageDataType) deepCopy() *_WriterGroupMessageDataType { return nil } _WriterGroupMessageDataTypeCopy := &_WriterGroupMessageDataType{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), } m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition)._SubType = m return _WriterGroupMessageDataTypeCopy diff --git a/plc4go/protocols/opcua/readwrite/model/WriterGroupTransportDataType.go b/plc4go/protocols/opcua/readwrite/model/WriterGroupTransportDataType.go index 9b888601a3..3e067f0d4c 100644 --- a/plc4go/protocols/opcua/readwrite/model/WriterGroupTransportDataType.go +++ b/plc4go/protocols/opcua/readwrite/model/WriterGroupTransportDataType.go @@ -157,7 +157,7 @@ func (m *_WriterGroupTransportDataType) deepCopy() *_WriterGroupTransportDataTyp return nil } _WriterGroupTransportDataTypeCopy := &_WriterGroupTransportDataType{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), } m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition)._SubType = m return _WriterGroupTransportDataTypeCopy diff --git a/plc4go/protocols/opcua/readwrite/model/X509IdentityToken.go b/plc4go/protocols/opcua/readwrite/model/X509IdentityToken.go index 85cdd3479b..af202fb6f2 100644 --- a/plc4go/protocols/opcua/readwrite/model/X509IdentityToken.go +++ b/plc4go/protocols/opcua/readwrite/model/X509IdentityToken.go @@ -193,7 +193,7 @@ func (m *_X509IdentityToken) deepCopy() *_X509IdentityToken { return nil } _X509IdentityTokenCopy := &_X509IdentityToken{ - m.UserIdentityTokenDefinitionContract.DeepCopy().(UserIdentityTokenDefinitionContract), + m.UserIdentityTokenDefinitionContract.(*_UserIdentityTokenDefinition).deepCopy(), m.CertificateData.DeepCopy().(PascalByteString), } m.UserIdentityTokenDefinitionContract.(*_UserIdentityTokenDefinition)._SubType = m diff --git a/plc4go/protocols/opcua/readwrite/model/XVType.go b/plc4go/protocols/opcua/readwrite/model/XVType.go index 7c12a2d7cd..f242ac4868 100644 --- a/plc4go/protocols/opcua/readwrite/model/XVType.go +++ b/plc4go/protocols/opcua/readwrite/model/XVType.go @@ -211,7 +211,7 @@ func (m *_XVType) deepCopy() *_XVType { return nil } _XVTypeCopy := &_XVType{ - m.ExtensionObjectDefinitionContract.DeepCopy().(ExtensionObjectDefinitionContract), + m.ExtensionObjectDefinitionContract.(*_ExtensionObjectDefinition).deepCopy(), m.X, m.Value, } diff --git a/plc4go/protocols/s7/readwrite/model/COTPPacket.go b/plc4go/protocols/s7/readwrite/model/COTPPacket.go index 643555e6e8..f2b4615d89 100644 --- a/plc4go/protocols/s7/readwrite/model/COTPPacket.go +++ b/plc4go/protocols/s7/readwrite/model/COTPPacket.go @@ -47,7 +47,6 @@ type COTPPacket interface { // COTPPacketContract provides a set of functions which can be overwritten by a sub struct type COTPPacketContract interface { - utils.Copyable // GetParameters returns Parameters (property field) GetParameters() []COTPParameter // GetPayload returns Payload (property field) diff --git a/plc4go/protocols/s7/readwrite/model/COTPPacketConnectionRequest.go b/plc4go/protocols/s7/readwrite/model/COTPPacketConnectionRequest.go index 6bc65641fa..ac97939557 100644 --- a/plc4go/protocols/s7/readwrite/model/COTPPacketConnectionRequest.go +++ b/plc4go/protocols/s7/readwrite/model/COTPPacketConnectionRequest.go @@ -232,7 +232,7 @@ func (m *_COTPPacketConnectionRequest) deepCopy() *_COTPPacketConnectionRequest return nil } _COTPPacketConnectionRequestCopy := &_COTPPacketConnectionRequest{ - m.COTPPacketContract.DeepCopy().(COTPPacketContract), + m.COTPPacketContract.(*_COTPPacket).deepCopy(), m.DestinationReference, m.SourceReference, m.ProtocolClass, diff --git a/plc4go/protocols/s7/readwrite/model/COTPPacketConnectionResponse.go b/plc4go/protocols/s7/readwrite/model/COTPPacketConnectionResponse.go index 742b103cfa..f48716e56e 100644 --- a/plc4go/protocols/s7/readwrite/model/COTPPacketConnectionResponse.go +++ b/plc4go/protocols/s7/readwrite/model/COTPPacketConnectionResponse.go @@ -232,7 +232,7 @@ func (m *_COTPPacketConnectionResponse) deepCopy() *_COTPPacketConnectionRespons return nil } _COTPPacketConnectionResponseCopy := &_COTPPacketConnectionResponse{ - m.COTPPacketContract.DeepCopy().(COTPPacketContract), + m.COTPPacketContract.(*_COTPPacket).deepCopy(), m.DestinationReference, m.SourceReference, m.ProtocolClass, diff --git a/plc4go/protocols/s7/readwrite/model/COTPPacketData.go b/plc4go/protocols/s7/readwrite/model/COTPPacketData.go index 0f659394d7..97adebcf18 100644 --- a/plc4go/protocols/s7/readwrite/model/COTPPacketData.go +++ b/plc4go/protocols/s7/readwrite/model/COTPPacketData.go @@ -211,7 +211,7 @@ func (m *_COTPPacketData) deepCopy() *_COTPPacketData { return nil } _COTPPacketDataCopy := &_COTPPacketData{ - m.COTPPacketContract.DeepCopy().(COTPPacketContract), + m.COTPPacketContract.(*_COTPPacket).deepCopy(), m.Eot, m.TpduRef, } diff --git a/plc4go/protocols/s7/readwrite/model/COTPPacketDisconnectRequest.go b/plc4go/protocols/s7/readwrite/model/COTPPacketDisconnectRequest.go index 5253fe7482..af97e38259 100644 --- a/plc4go/protocols/s7/readwrite/model/COTPPacketDisconnectRequest.go +++ b/plc4go/protocols/s7/readwrite/model/COTPPacketDisconnectRequest.go @@ -232,7 +232,7 @@ func (m *_COTPPacketDisconnectRequest) deepCopy() *_COTPPacketDisconnectRequest return nil } _COTPPacketDisconnectRequestCopy := &_COTPPacketDisconnectRequest{ - m.COTPPacketContract.DeepCopy().(COTPPacketContract), + m.COTPPacketContract.(*_COTPPacket).deepCopy(), m.DestinationReference, m.SourceReference, m.ProtocolClass, diff --git a/plc4go/protocols/s7/readwrite/model/COTPPacketDisconnectResponse.go b/plc4go/protocols/s7/readwrite/model/COTPPacketDisconnectResponse.go index c6044b8ac1..7b62f42c9c 100644 --- a/plc4go/protocols/s7/readwrite/model/COTPPacketDisconnectResponse.go +++ b/plc4go/protocols/s7/readwrite/model/COTPPacketDisconnectResponse.go @@ -211,7 +211,7 @@ func (m *_COTPPacketDisconnectResponse) deepCopy() *_COTPPacketDisconnectRespons return nil } _COTPPacketDisconnectResponseCopy := &_COTPPacketDisconnectResponse{ - m.COTPPacketContract.DeepCopy().(COTPPacketContract), + m.COTPPacketContract.(*_COTPPacket).deepCopy(), m.DestinationReference, m.SourceReference, } diff --git a/plc4go/protocols/s7/readwrite/model/COTPPacketTpduError.go b/plc4go/protocols/s7/readwrite/model/COTPPacketTpduError.go index 02d8b1b298..284ea7a28f 100644 --- a/plc4go/protocols/s7/readwrite/model/COTPPacketTpduError.go +++ b/plc4go/protocols/s7/readwrite/model/COTPPacketTpduError.go @@ -211,7 +211,7 @@ func (m *_COTPPacketTpduError) deepCopy() *_COTPPacketTpduError { return nil } _COTPPacketTpduErrorCopy := &_COTPPacketTpduError{ - m.COTPPacketContract.DeepCopy().(COTPPacketContract), + m.COTPPacketContract.(*_COTPPacket).deepCopy(), m.DestinationReference, m.RejectCause, } diff --git a/plc4go/protocols/s7/readwrite/model/COTPParameter.go b/plc4go/protocols/s7/readwrite/model/COTPParameter.go index ad832adc21..6bf32354c7 100644 --- a/plc4go/protocols/s7/readwrite/model/COTPParameter.go +++ b/plc4go/protocols/s7/readwrite/model/COTPParameter.go @@ -47,7 +47,6 @@ type COTPParameter interface { // COTPParameterContract provides a set of functions which can be overwritten by a sub struct type COTPParameterContract interface { - utils.Copyable // GetRest() returns a parser argument GetRest() uint8 // IsCOTPParameter is a marker method to prevent unintentional type checks (interfaces of same signature) diff --git a/plc4go/protocols/s7/readwrite/model/COTPParameterCalledTsap.go b/plc4go/protocols/s7/readwrite/model/COTPParameterCalledTsap.go index dbe4716966..2f15e6104d 100644 --- a/plc4go/protocols/s7/readwrite/model/COTPParameterCalledTsap.go +++ b/plc4go/protocols/s7/readwrite/model/COTPParameterCalledTsap.go @@ -190,7 +190,7 @@ func (m *_COTPParameterCalledTsap) deepCopy() *_COTPParameterCalledTsap { return nil } _COTPParameterCalledTsapCopy := &_COTPParameterCalledTsap{ - m.COTPParameterContract.DeepCopy().(COTPParameterContract), + m.COTPParameterContract.(*_COTPParameter).deepCopy(), m.TsapId, } m.COTPParameterContract.(*_COTPParameter)._SubType = m diff --git a/plc4go/protocols/s7/readwrite/model/COTPParameterCallingTsap.go b/plc4go/protocols/s7/readwrite/model/COTPParameterCallingTsap.go index 247c9b70ba..308b66655a 100644 --- a/plc4go/protocols/s7/readwrite/model/COTPParameterCallingTsap.go +++ b/plc4go/protocols/s7/readwrite/model/COTPParameterCallingTsap.go @@ -190,7 +190,7 @@ func (m *_COTPParameterCallingTsap) deepCopy() *_COTPParameterCallingTsap { return nil } _COTPParameterCallingTsapCopy := &_COTPParameterCallingTsap{ - m.COTPParameterContract.DeepCopy().(COTPParameterContract), + m.COTPParameterContract.(*_COTPParameter).deepCopy(), m.TsapId, } m.COTPParameterContract.(*_COTPParameter)._SubType = m diff --git a/plc4go/protocols/s7/readwrite/model/COTPParameterChecksum.go b/plc4go/protocols/s7/readwrite/model/COTPParameterChecksum.go index a8dc84b79d..3b26754653 100644 --- a/plc4go/protocols/s7/readwrite/model/COTPParameterChecksum.go +++ b/plc4go/protocols/s7/readwrite/model/COTPParameterChecksum.go @@ -190,7 +190,7 @@ func (m *_COTPParameterChecksum) deepCopy() *_COTPParameterChecksum { return nil } _COTPParameterChecksumCopy := &_COTPParameterChecksum{ - m.COTPParameterContract.DeepCopy().(COTPParameterContract), + m.COTPParameterContract.(*_COTPParameter).deepCopy(), m.Crc, } m.COTPParameterContract.(*_COTPParameter)._SubType = m diff --git a/plc4go/protocols/s7/readwrite/model/COTPParameterDisconnectAdditionalInformation.go b/plc4go/protocols/s7/readwrite/model/COTPParameterDisconnectAdditionalInformation.go index 7a69d24207..f486016b02 100644 --- a/plc4go/protocols/s7/readwrite/model/COTPParameterDisconnectAdditionalInformation.go +++ b/plc4go/protocols/s7/readwrite/model/COTPParameterDisconnectAdditionalInformation.go @@ -193,7 +193,7 @@ func (m *_COTPParameterDisconnectAdditionalInformation) deepCopy() *_COTPParamet return nil } _COTPParameterDisconnectAdditionalInformationCopy := &_COTPParameterDisconnectAdditionalInformation{ - m.COTPParameterContract.DeepCopy().(COTPParameterContract), + m.COTPParameterContract.(*_COTPParameter).deepCopy(), utils.DeepCopySlice[byte, byte](m.Data), } m.COTPParameterContract.(*_COTPParameter)._SubType = m diff --git a/plc4go/protocols/s7/readwrite/model/COTPParameterTpduSize.go b/plc4go/protocols/s7/readwrite/model/COTPParameterTpduSize.go index 975f5d9667..c9c34f5802 100644 --- a/plc4go/protocols/s7/readwrite/model/COTPParameterTpduSize.go +++ b/plc4go/protocols/s7/readwrite/model/COTPParameterTpduSize.go @@ -190,7 +190,7 @@ func (m *_COTPParameterTpduSize) deepCopy() *_COTPParameterTpduSize { return nil } _COTPParameterTpduSizeCopy := &_COTPParameterTpduSize{ - m.COTPParameterContract.DeepCopy().(COTPParameterContract), + m.COTPParameterContract.(*_COTPParameter).deepCopy(), m.TpduSize, } m.COTPParameterContract.(*_COTPParameter)._SubType = m diff --git a/plc4go/protocols/s7/readwrite/model/CycServiceItemAnyType.go b/plc4go/protocols/s7/readwrite/model/CycServiceItemAnyType.go index 64f8e52692..40d3e644ad 100644 --- a/plc4go/protocols/s7/readwrite/model/CycServiceItemAnyType.go +++ b/plc4go/protocols/s7/readwrite/model/CycServiceItemAnyType.go @@ -270,7 +270,7 @@ func (m *_CycServiceItemAnyType) deepCopy() *_CycServiceItemAnyType { return nil } _CycServiceItemAnyTypeCopy := &_CycServiceItemAnyType{ - m.CycServiceItemTypeContract.DeepCopy().(CycServiceItemTypeContract), + m.CycServiceItemTypeContract.(*_CycServiceItemType).deepCopy(), m.TransportSize, m.Length, m.DbNumber, diff --git a/plc4go/protocols/s7/readwrite/model/CycServiceItemDbReadType.go b/plc4go/protocols/s7/readwrite/model/CycServiceItemDbReadType.go index ba5cb35124..59fd26f0d7 100644 --- a/plc4go/protocols/s7/readwrite/model/CycServiceItemDbReadType.go +++ b/plc4go/protocols/s7/readwrite/model/CycServiceItemDbReadType.go @@ -214,7 +214,7 @@ func (m *_CycServiceItemDbReadType) deepCopy() *_CycServiceItemDbReadType { return nil } _CycServiceItemDbReadTypeCopy := &_CycServiceItemDbReadType{ - m.CycServiceItemTypeContract.DeepCopy().(CycServiceItemTypeContract), + m.CycServiceItemTypeContract.(*_CycServiceItemType).deepCopy(), m.NumberOfAreas, utils.DeepCopySlice[SubItem, SubItem](m.Items), } diff --git a/plc4go/protocols/s7/readwrite/model/CycServiceItemType.go b/plc4go/protocols/s7/readwrite/model/CycServiceItemType.go index d93c93266f..70bb6fb54f 100644 --- a/plc4go/protocols/s7/readwrite/model/CycServiceItemType.go +++ b/plc4go/protocols/s7/readwrite/model/CycServiceItemType.go @@ -50,7 +50,6 @@ type CycServiceItemType interface { // CycServiceItemTypeContract provides a set of functions which can be overwritten by a sub struct type CycServiceItemTypeContract interface { - utils.Copyable // GetByteLength returns ByteLength (property field) GetByteLength() uint8 // GetSyntaxId returns SyntaxId (property field) diff --git a/plc4go/protocols/s7/readwrite/model/S7Address.go b/plc4go/protocols/s7/readwrite/model/S7Address.go index 3850e94c55..859d825042 100644 --- a/plc4go/protocols/s7/readwrite/model/S7Address.go +++ b/plc4go/protocols/s7/readwrite/model/S7Address.go @@ -47,7 +47,6 @@ type S7Address interface { // S7AddressContract provides a set of functions which can be overwritten by a sub struct type S7AddressContract interface { - utils.Copyable // IsS7Address is a marker method to prevent unintentional type checks (interfaces of same signature) IsS7Address() } diff --git a/plc4go/protocols/s7/readwrite/model/S7AddressAny.go b/plc4go/protocols/s7/readwrite/model/S7AddressAny.go index 7e80c5b14c..37d9f2c0cc 100644 --- a/plc4go/protocols/s7/readwrite/model/S7AddressAny.go +++ b/plc4go/protocols/s7/readwrite/model/S7AddressAny.go @@ -310,7 +310,7 @@ func (m *_S7AddressAny) deepCopy() *_S7AddressAny { return nil } _S7AddressAnyCopy := &_S7AddressAny{ - m.S7AddressContract.DeepCopy().(S7AddressContract), + m.S7AddressContract.(*_S7Address).deepCopy(), m.TransportSize, m.NumberOfElements, m.DbNumber, diff --git a/plc4go/protocols/s7/readwrite/model/S7DataAlarmMessage.go b/plc4go/protocols/s7/readwrite/model/S7DataAlarmMessage.go index 2305dd91a9..11858abca0 100644 --- a/plc4go/protocols/s7/readwrite/model/S7DataAlarmMessage.go +++ b/plc4go/protocols/s7/readwrite/model/S7DataAlarmMessage.go @@ -51,7 +51,6 @@ type S7DataAlarmMessage interface { // S7DataAlarmMessageContract provides a set of functions which can be overwritten by a sub struct type S7DataAlarmMessageContract interface { - utils.Copyable // IsS7DataAlarmMessage is a marker method to prevent unintentional type checks (interfaces of same signature) IsS7DataAlarmMessage() } diff --git a/plc4go/protocols/s7/readwrite/model/S7Message.go b/plc4go/protocols/s7/readwrite/model/S7Message.go index ecc8912834..5fa5fcf128 100644 --- a/plc4go/protocols/s7/readwrite/model/S7Message.go +++ b/plc4go/protocols/s7/readwrite/model/S7Message.go @@ -50,7 +50,6 @@ type S7Message interface { // S7MessageContract provides a set of functions which can be overwritten by a sub struct type S7MessageContract interface { - utils.Copyable // GetTpduReference returns TpduReference (property field) GetTpduReference() uint16 // GetParameter returns Parameter (property field) diff --git a/plc4go/protocols/s7/readwrite/model/S7MessageObjectRequest.go b/plc4go/protocols/s7/readwrite/model/S7MessageObjectRequest.go index 32523252c9..6a0360dcd5 100644 --- a/plc4go/protocols/s7/readwrite/model/S7MessageObjectRequest.go +++ b/plc4go/protocols/s7/readwrite/model/S7MessageObjectRequest.go @@ -308,7 +308,7 @@ func (m *_S7MessageObjectRequest) deepCopy() *_S7MessageObjectRequest { return nil } _S7MessageObjectRequestCopy := &_S7MessageObjectRequest{ - m.S7DataAlarmMessageContract.DeepCopy().(S7DataAlarmMessageContract), + m.S7DataAlarmMessageContract.(*_S7DataAlarmMessage).deepCopy(), m.SyntaxId, m.QueryType, m.AlarmType, diff --git a/plc4go/protocols/s7/readwrite/model/S7MessageObjectResponse.go b/plc4go/protocols/s7/readwrite/model/S7MessageObjectResponse.go index 38b5d1411c..49fbdca4cd 100644 --- a/plc4go/protocols/s7/readwrite/model/S7MessageObjectResponse.go +++ b/plc4go/protocols/s7/readwrite/model/S7MessageObjectResponse.go @@ -226,7 +226,7 @@ func (m *_S7MessageObjectResponse) deepCopy() *_S7MessageObjectResponse { return nil } _S7MessageObjectResponseCopy := &_S7MessageObjectResponse{ - m.S7DataAlarmMessageContract.DeepCopy().(S7DataAlarmMessageContract), + m.S7DataAlarmMessageContract.(*_S7DataAlarmMessage).deepCopy(), m.ReturnCode, m.TransportSize, m.reservedField0, diff --git a/plc4go/protocols/s7/readwrite/model/S7MessageRequest.go b/plc4go/protocols/s7/readwrite/model/S7MessageRequest.go index f50293379a..1cc81481a5 100644 --- a/plc4go/protocols/s7/readwrite/model/S7MessageRequest.go +++ b/plc4go/protocols/s7/readwrite/model/S7MessageRequest.go @@ -157,7 +157,7 @@ func (m *_S7MessageRequest) deepCopy() *_S7MessageRequest { return nil } _S7MessageRequestCopy := &_S7MessageRequest{ - m.S7MessageContract.DeepCopy().(S7MessageContract), + m.S7MessageContract.(*_S7Message).deepCopy(), } m.S7MessageContract.(*_S7Message)._SubType = m return _S7MessageRequestCopy diff --git a/plc4go/protocols/s7/readwrite/model/S7MessageResponse.go b/plc4go/protocols/s7/readwrite/model/S7MessageResponse.go index 4978cb97f5..a2baaba686 100644 --- a/plc4go/protocols/s7/readwrite/model/S7MessageResponse.go +++ b/plc4go/protocols/s7/readwrite/model/S7MessageResponse.go @@ -211,7 +211,7 @@ func (m *_S7MessageResponse) deepCopy() *_S7MessageResponse { return nil } _S7MessageResponseCopy := &_S7MessageResponse{ - m.S7MessageContract.DeepCopy().(S7MessageContract), + m.S7MessageContract.(*_S7Message).deepCopy(), m.ErrorClass, m.ErrorCode, } diff --git a/plc4go/protocols/s7/readwrite/model/S7MessageResponseData.go b/plc4go/protocols/s7/readwrite/model/S7MessageResponseData.go index c533930f33..0a4e1f4546 100644 --- a/plc4go/protocols/s7/readwrite/model/S7MessageResponseData.go +++ b/plc4go/protocols/s7/readwrite/model/S7MessageResponseData.go @@ -211,7 +211,7 @@ func (m *_S7MessageResponseData) deepCopy() *_S7MessageResponseData { return nil } _S7MessageResponseDataCopy := &_S7MessageResponseData{ - m.S7MessageContract.DeepCopy().(S7MessageContract), + m.S7MessageContract.(*_S7Message).deepCopy(), m.ErrorClass, m.ErrorCode, } diff --git a/plc4go/protocols/s7/readwrite/model/S7MessageUserData.go b/plc4go/protocols/s7/readwrite/model/S7MessageUserData.go index 16ce5a3fce..15abc45f69 100644 --- a/plc4go/protocols/s7/readwrite/model/S7MessageUserData.go +++ b/plc4go/protocols/s7/readwrite/model/S7MessageUserData.go @@ -157,7 +157,7 @@ func (m *_S7MessageUserData) deepCopy() *_S7MessageUserData { return nil } _S7MessageUserDataCopy := &_S7MessageUserData{ - m.S7MessageContract.DeepCopy().(S7MessageContract), + m.S7MessageContract.(*_S7Message).deepCopy(), } m.S7MessageContract.(*_S7Message)._SubType = m return _S7MessageUserDataCopy diff --git a/plc4go/protocols/s7/readwrite/model/S7Parameter.go b/plc4go/protocols/s7/readwrite/model/S7Parameter.go index ddef96e07f..e899093323 100644 --- a/plc4go/protocols/s7/readwrite/model/S7Parameter.go +++ b/plc4go/protocols/s7/readwrite/model/S7Parameter.go @@ -47,7 +47,6 @@ type S7Parameter interface { // S7ParameterContract provides a set of functions which can be overwritten by a sub struct type S7ParameterContract interface { - utils.Copyable // IsS7Parameter is a marker method to prevent unintentional type checks (interfaces of same signature) IsS7Parameter() } diff --git a/plc4go/protocols/s7/readwrite/model/S7ParameterModeTransition.go b/plc4go/protocols/s7/readwrite/model/S7ParameterModeTransition.go index de060ef749..2a2b90c5c4 100644 --- a/plc4go/protocols/s7/readwrite/model/S7ParameterModeTransition.go +++ b/plc4go/protocols/s7/readwrite/model/S7ParameterModeTransition.go @@ -306,7 +306,7 @@ func (m *_S7ParameterModeTransition) deepCopy() *_S7ParameterModeTransition { return nil } _S7ParameterModeTransitionCopy := &_S7ParameterModeTransition{ - m.S7ParameterContract.DeepCopy().(S7ParameterContract), + m.S7ParameterContract.(*_S7Parameter).deepCopy(), m.Method, m.CpuFunctionType, m.CpuFunctionGroup, diff --git a/plc4go/protocols/s7/readwrite/model/S7ParameterReadVarRequest.go b/plc4go/protocols/s7/readwrite/model/S7ParameterReadVarRequest.go index 3b4fa66025..0e18cefdb4 100644 --- a/plc4go/protocols/s7/readwrite/model/S7ParameterReadVarRequest.go +++ b/plc4go/protocols/s7/readwrite/model/S7ParameterReadVarRequest.go @@ -214,7 +214,7 @@ func (m *_S7ParameterReadVarRequest) deepCopy() *_S7ParameterReadVarRequest { return nil } _S7ParameterReadVarRequestCopy := &_S7ParameterReadVarRequest{ - m.S7ParameterContract.DeepCopy().(S7ParameterContract), + m.S7ParameterContract.(*_S7Parameter).deepCopy(), utils.DeepCopySlice[S7VarRequestParameterItem, S7VarRequestParameterItem](m.Items), } m.S7ParameterContract.(*_S7Parameter)._SubType = m diff --git a/plc4go/protocols/s7/readwrite/model/S7ParameterReadVarResponse.go b/plc4go/protocols/s7/readwrite/model/S7ParameterReadVarResponse.go index d55b08d36a..b6d47350c1 100644 --- a/plc4go/protocols/s7/readwrite/model/S7ParameterReadVarResponse.go +++ b/plc4go/protocols/s7/readwrite/model/S7ParameterReadVarResponse.go @@ -194,7 +194,7 @@ func (m *_S7ParameterReadVarResponse) deepCopy() *_S7ParameterReadVarResponse { return nil } _S7ParameterReadVarResponseCopy := &_S7ParameterReadVarResponse{ - m.S7ParameterContract.DeepCopy().(S7ParameterContract), + m.S7ParameterContract.(*_S7Parameter).deepCopy(), m.NumItems, } m.S7ParameterContract.(*_S7Parameter)._SubType = m diff --git a/plc4go/protocols/s7/readwrite/model/S7ParameterSetupCommunication.go b/plc4go/protocols/s7/readwrite/model/S7ParameterSetupCommunication.go index 71390de0de..d4e85dc960 100644 --- a/plc4go/protocols/s7/readwrite/model/S7ParameterSetupCommunication.go +++ b/plc4go/protocols/s7/readwrite/model/S7ParameterSetupCommunication.go @@ -251,7 +251,7 @@ func (m *_S7ParameterSetupCommunication) deepCopy() *_S7ParameterSetupCommunicat return nil } _S7ParameterSetupCommunicationCopy := &_S7ParameterSetupCommunication{ - m.S7ParameterContract.DeepCopy().(S7ParameterContract), + m.S7ParameterContract.(*_S7Parameter).deepCopy(), m.MaxAmqCaller, m.MaxAmqCallee, m.PduLength, diff --git a/plc4go/protocols/s7/readwrite/model/S7ParameterUserData.go b/plc4go/protocols/s7/readwrite/model/S7ParameterUserData.go index ba9a3f39c9..f0da59c20f 100644 --- a/plc4go/protocols/s7/readwrite/model/S7ParameterUserData.go +++ b/plc4go/protocols/s7/readwrite/model/S7ParameterUserData.go @@ -214,7 +214,7 @@ func (m *_S7ParameterUserData) deepCopy() *_S7ParameterUserData { return nil } _S7ParameterUserDataCopy := &_S7ParameterUserData{ - m.S7ParameterContract.DeepCopy().(S7ParameterContract), + m.S7ParameterContract.(*_S7Parameter).deepCopy(), utils.DeepCopySlice[S7ParameterUserDataItem, S7ParameterUserDataItem](m.Items), } m.S7ParameterContract.(*_S7Parameter)._SubType = m diff --git a/plc4go/protocols/s7/readwrite/model/S7ParameterUserDataItem.go b/plc4go/protocols/s7/readwrite/model/S7ParameterUserDataItem.go index 42fbff9b07..fc17a0b413 100644 --- a/plc4go/protocols/s7/readwrite/model/S7ParameterUserDataItem.go +++ b/plc4go/protocols/s7/readwrite/model/S7ParameterUserDataItem.go @@ -47,7 +47,6 @@ type S7ParameterUserDataItem interface { // S7ParameterUserDataItemContract provides a set of functions which can be overwritten by a sub struct type S7ParameterUserDataItemContract interface { - utils.Copyable // IsS7ParameterUserDataItem is a marker method to prevent unintentional type checks (interfaces of same signature) IsS7ParameterUserDataItem() } diff --git a/plc4go/protocols/s7/readwrite/model/S7ParameterUserDataItemCPUFunctions.go b/plc4go/protocols/s7/readwrite/model/S7ParameterUserDataItemCPUFunctions.go index ef7effec88..36656a81f6 100644 --- a/plc4go/protocols/s7/readwrite/model/S7ParameterUserDataItemCPUFunctions.go +++ b/plc4go/protocols/s7/readwrite/model/S7ParameterUserDataItemCPUFunctions.go @@ -359,7 +359,7 @@ func (m *_S7ParameterUserDataItemCPUFunctions) deepCopy() *_S7ParameterUserDataI return nil } _S7ParameterUserDataItemCPUFunctionsCopy := &_S7ParameterUserDataItemCPUFunctions{ - m.S7ParameterUserDataItemContract.DeepCopy().(S7ParameterUserDataItemContract), + m.S7ParameterUserDataItemContract.(*_S7ParameterUserDataItem).deepCopy(), m.Method, m.CpuFunctionType, m.CpuFunctionGroup, diff --git a/plc4go/protocols/s7/readwrite/model/S7ParameterWriteVarRequest.go b/plc4go/protocols/s7/readwrite/model/S7ParameterWriteVarRequest.go index 48497df33b..87a4c2100c 100644 --- a/plc4go/protocols/s7/readwrite/model/S7ParameterWriteVarRequest.go +++ b/plc4go/protocols/s7/readwrite/model/S7ParameterWriteVarRequest.go @@ -214,7 +214,7 @@ func (m *_S7ParameterWriteVarRequest) deepCopy() *_S7ParameterWriteVarRequest { return nil } _S7ParameterWriteVarRequestCopy := &_S7ParameterWriteVarRequest{ - m.S7ParameterContract.DeepCopy().(S7ParameterContract), + m.S7ParameterContract.(*_S7Parameter).deepCopy(), utils.DeepCopySlice[S7VarRequestParameterItem, S7VarRequestParameterItem](m.Items), } m.S7ParameterContract.(*_S7Parameter)._SubType = m diff --git a/plc4go/protocols/s7/readwrite/model/S7ParameterWriteVarResponse.go b/plc4go/protocols/s7/readwrite/model/S7ParameterWriteVarResponse.go index 8f77bd60ad..a9f069b2c2 100644 --- a/plc4go/protocols/s7/readwrite/model/S7ParameterWriteVarResponse.go +++ b/plc4go/protocols/s7/readwrite/model/S7ParameterWriteVarResponse.go @@ -194,7 +194,7 @@ func (m *_S7ParameterWriteVarResponse) deepCopy() *_S7ParameterWriteVarResponse return nil } _S7ParameterWriteVarResponseCopy := &_S7ParameterWriteVarResponse{ - m.S7ParameterContract.DeepCopy().(S7ParameterContract), + m.S7ParameterContract.(*_S7Parameter).deepCopy(), m.NumItems, } m.S7ParameterContract.(*_S7Parameter)._SubType = m diff --git a/plc4go/protocols/s7/readwrite/model/S7Payload.go b/plc4go/protocols/s7/readwrite/model/S7Payload.go index 8d7847cec9..79ad22b042 100644 --- a/plc4go/protocols/s7/readwrite/model/S7Payload.go +++ b/plc4go/protocols/s7/readwrite/model/S7Payload.go @@ -45,7 +45,6 @@ type S7Payload interface { // S7PayloadContract provides a set of functions which can be overwritten by a sub struct type S7PayloadContract interface { - utils.Copyable // GetParameter() returns a parser argument GetParameter() S7Parameter // IsS7Payload is a marker method to prevent unintentional type checks (interfaces of same signature) diff --git a/plc4go/protocols/s7/readwrite/model/S7PayloadAlarm8.go b/plc4go/protocols/s7/readwrite/model/S7PayloadAlarm8.go index 238ea00a4d..5c74cbcfe3 100644 --- a/plc4go/protocols/s7/readwrite/model/S7PayloadAlarm8.go +++ b/plc4go/protocols/s7/readwrite/model/S7PayloadAlarm8.go @@ -201,7 +201,7 @@ func (m *_S7PayloadAlarm8) deepCopy() *_S7PayloadAlarm8 { return nil } _S7PayloadAlarm8Copy := &_S7PayloadAlarm8{ - m.S7PayloadUserDataItemContract.DeepCopy().(S7PayloadUserDataItemContract), + m.S7PayloadUserDataItemContract.(*_S7PayloadUserDataItem).deepCopy(), m.AlarmMessage.DeepCopy().(AlarmMessagePushType), } m.S7PayloadUserDataItemContract.(*_S7PayloadUserDataItem)._SubType = m diff --git a/plc4go/protocols/s7/readwrite/model/S7PayloadAlarmAckInd.go b/plc4go/protocols/s7/readwrite/model/S7PayloadAlarmAckInd.go index 1d8b9940c5..46fb8cfee8 100644 --- a/plc4go/protocols/s7/readwrite/model/S7PayloadAlarmAckInd.go +++ b/plc4go/protocols/s7/readwrite/model/S7PayloadAlarmAckInd.go @@ -201,7 +201,7 @@ func (m *_S7PayloadAlarmAckInd) deepCopy() *_S7PayloadAlarmAckInd { return nil } _S7PayloadAlarmAckIndCopy := &_S7PayloadAlarmAckInd{ - m.S7PayloadUserDataItemContract.DeepCopy().(S7PayloadUserDataItemContract), + m.S7PayloadUserDataItemContract.(*_S7PayloadUserDataItem).deepCopy(), m.AlarmMessage.DeepCopy().(AlarmMessageAckPushType), } m.S7PayloadUserDataItemContract.(*_S7PayloadUserDataItem)._SubType = m diff --git a/plc4go/protocols/s7/readwrite/model/S7PayloadAlarmS.go b/plc4go/protocols/s7/readwrite/model/S7PayloadAlarmS.go index e45542bc79..8f2bf49c64 100644 --- a/plc4go/protocols/s7/readwrite/model/S7PayloadAlarmS.go +++ b/plc4go/protocols/s7/readwrite/model/S7PayloadAlarmS.go @@ -201,7 +201,7 @@ func (m *_S7PayloadAlarmS) deepCopy() *_S7PayloadAlarmS { return nil } _S7PayloadAlarmSCopy := &_S7PayloadAlarmS{ - m.S7PayloadUserDataItemContract.DeepCopy().(S7PayloadUserDataItemContract), + m.S7PayloadUserDataItemContract.(*_S7PayloadUserDataItem).deepCopy(), m.AlarmMessage.DeepCopy().(AlarmMessagePushType), } m.S7PayloadUserDataItemContract.(*_S7PayloadUserDataItem)._SubType = m diff --git a/plc4go/protocols/s7/readwrite/model/S7PayloadAlarmSC.go b/plc4go/protocols/s7/readwrite/model/S7PayloadAlarmSC.go index cb56939184..6c9916c49d 100644 --- a/plc4go/protocols/s7/readwrite/model/S7PayloadAlarmSC.go +++ b/plc4go/protocols/s7/readwrite/model/S7PayloadAlarmSC.go @@ -201,7 +201,7 @@ func (m *_S7PayloadAlarmSC) deepCopy() *_S7PayloadAlarmSC { return nil } _S7PayloadAlarmSCCopy := &_S7PayloadAlarmSC{ - m.S7PayloadUserDataItemContract.DeepCopy().(S7PayloadUserDataItemContract), + m.S7PayloadUserDataItemContract.(*_S7PayloadUserDataItem).deepCopy(), m.AlarmMessage.DeepCopy().(AlarmMessagePushType), } m.S7PayloadUserDataItemContract.(*_S7PayloadUserDataItem)._SubType = m diff --git a/plc4go/protocols/s7/readwrite/model/S7PayloadAlarmSQ.go b/plc4go/protocols/s7/readwrite/model/S7PayloadAlarmSQ.go index ca65918b4e..4cb5f172e8 100644 --- a/plc4go/protocols/s7/readwrite/model/S7PayloadAlarmSQ.go +++ b/plc4go/protocols/s7/readwrite/model/S7PayloadAlarmSQ.go @@ -201,7 +201,7 @@ func (m *_S7PayloadAlarmSQ) deepCopy() *_S7PayloadAlarmSQ { return nil } _S7PayloadAlarmSQCopy := &_S7PayloadAlarmSQ{ - m.S7PayloadUserDataItemContract.DeepCopy().(S7PayloadUserDataItemContract), + m.S7PayloadUserDataItemContract.(*_S7PayloadUserDataItem).deepCopy(), m.AlarmMessage.DeepCopy().(AlarmMessagePushType), } m.S7PayloadUserDataItemContract.(*_S7PayloadUserDataItem)._SubType = m diff --git a/plc4go/protocols/s7/readwrite/model/S7PayloadDiagnosticMessage.go b/plc4go/protocols/s7/readwrite/model/S7PayloadDiagnosticMessage.go index 48f7ffb08c..7a6599c6ab 100644 --- a/plc4go/protocols/s7/readwrite/model/S7PayloadDiagnosticMessage.go +++ b/plc4go/protocols/s7/readwrite/model/S7PayloadDiagnosticMessage.go @@ -327,7 +327,7 @@ func (m *_S7PayloadDiagnosticMessage) deepCopy() *_S7PayloadDiagnosticMessage { return nil } _S7PayloadDiagnosticMessageCopy := &_S7PayloadDiagnosticMessage{ - m.S7PayloadUserDataItemContract.DeepCopy().(S7PayloadUserDataItemContract), + m.S7PayloadUserDataItemContract.(*_S7PayloadUserDataItem).deepCopy(), m.EventId, m.PriorityClass, m.ObNumber, diff --git a/plc4go/protocols/s7/readwrite/model/S7PayloadNotify.go b/plc4go/protocols/s7/readwrite/model/S7PayloadNotify.go index 91467fd134..0d06a75a5d 100644 --- a/plc4go/protocols/s7/readwrite/model/S7PayloadNotify.go +++ b/plc4go/protocols/s7/readwrite/model/S7PayloadNotify.go @@ -201,7 +201,7 @@ func (m *_S7PayloadNotify) deepCopy() *_S7PayloadNotify { return nil } _S7PayloadNotifyCopy := &_S7PayloadNotify{ - m.S7PayloadUserDataItemContract.DeepCopy().(S7PayloadUserDataItemContract), + m.S7PayloadUserDataItemContract.(*_S7PayloadUserDataItem).deepCopy(), m.AlarmMessage.DeepCopy().(AlarmMessagePushType), } m.S7PayloadUserDataItemContract.(*_S7PayloadUserDataItem)._SubType = m diff --git a/plc4go/protocols/s7/readwrite/model/S7PayloadNotify8.go b/plc4go/protocols/s7/readwrite/model/S7PayloadNotify8.go index f0fbc98c27..60e7380c86 100644 --- a/plc4go/protocols/s7/readwrite/model/S7PayloadNotify8.go +++ b/plc4go/protocols/s7/readwrite/model/S7PayloadNotify8.go @@ -201,7 +201,7 @@ func (m *_S7PayloadNotify8) deepCopy() *_S7PayloadNotify8 { return nil } _S7PayloadNotify8Copy := &_S7PayloadNotify8{ - m.S7PayloadUserDataItemContract.DeepCopy().(S7PayloadUserDataItemContract), + m.S7PayloadUserDataItemContract.(*_S7PayloadUserDataItem).deepCopy(), m.AlarmMessage.DeepCopy().(AlarmMessagePushType), } m.S7PayloadUserDataItemContract.(*_S7PayloadUserDataItem)._SubType = m diff --git a/plc4go/protocols/s7/readwrite/model/S7PayloadReadVarResponse.go b/plc4go/protocols/s7/readwrite/model/S7PayloadReadVarResponse.go index b871effae2..26ae143a18 100644 --- a/plc4go/protocols/s7/readwrite/model/S7PayloadReadVarResponse.go +++ b/plc4go/protocols/s7/readwrite/model/S7PayloadReadVarResponse.go @@ -201,7 +201,7 @@ func (m *_S7PayloadReadVarResponse) deepCopy() *_S7PayloadReadVarResponse { return nil } _S7PayloadReadVarResponseCopy := &_S7PayloadReadVarResponse{ - m.S7PayloadContract.DeepCopy().(S7PayloadContract), + m.S7PayloadContract.(*_S7Payload).deepCopy(), utils.DeepCopySlice[S7VarPayloadDataItem, S7VarPayloadDataItem](m.Items), } m.S7PayloadContract.(*_S7Payload)._SubType = m diff --git a/plc4go/protocols/s7/readwrite/model/S7PayloadUserData.go b/plc4go/protocols/s7/readwrite/model/S7PayloadUserData.go index 109d12fe8a..77c2ba754f 100644 --- a/plc4go/protocols/s7/readwrite/model/S7PayloadUserData.go +++ b/plc4go/protocols/s7/readwrite/model/S7PayloadUserData.go @@ -201,7 +201,7 @@ func (m *_S7PayloadUserData) deepCopy() *_S7PayloadUserData { return nil } _S7PayloadUserDataCopy := &_S7PayloadUserData{ - m.S7PayloadContract.DeepCopy().(S7PayloadContract), + m.S7PayloadContract.(*_S7Payload).deepCopy(), utils.DeepCopySlice[S7PayloadUserDataItem, S7PayloadUserDataItem](m.Items), } m.S7PayloadContract.(*_S7Payload)._SubType = m diff --git a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItem.go b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItem.go index 5e5984ed43..5796cdb3b4 100644 --- a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItem.go +++ b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItem.go @@ -47,7 +47,6 @@ type S7PayloadUserDataItem interface { // S7PayloadUserDataItemContract provides a set of functions which can be overwritten by a sub struct type S7PayloadUserDataItemContract interface { - utils.Copyable // GetReturnCode returns ReturnCode (property field) GetReturnCode() DataTransportErrorCode // GetTransportSize returns TransportSize (property field) diff --git a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemClkFRequest.go b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemClkFRequest.go index f0b028e05c..f2394d63b6 100644 --- a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemClkFRequest.go +++ b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemClkFRequest.go @@ -165,7 +165,7 @@ func (m *_S7PayloadUserDataItemClkFRequest) deepCopy() *_S7PayloadUserDataItemCl return nil } _S7PayloadUserDataItemClkFRequestCopy := &_S7PayloadUserDataItemClkFRequest{ - m.S7PayloadUserDataItemContract.DeepCopy().(S7PayloadUserDataItemContract), + m.S7PayloadUserDataItemContract.(*_S7PayloadUserDataItem).deepCopy(), } m.S7PayloadUserDataItemContract.(*_S7PayloadUserDataItem)._SubType = m return _S7PayloadUserDataItemClkFRequestCopy diff --git a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemClkFResponse.go b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemClkFResponse.go index 33fbb61081..9c70b32d23 100644 --- a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemClkFResponse.go +++ b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemClkFResponse.go @@ -243,7 +243,7 @@ func (m *_S7PayloadUserDataItemClkFResponse) deepCopy() *_S7PayloadUserDataItemC return nil } _S7PayloadUserDataItemClkFResponseCopy := &_S7PayloadUserDataItemClkFResponse{ - m.S7PayloadUserDataItemContract.DeepCopy().(S7PayloadUserDataItemContract), + m.S7PayloadUserDataItemContract.(*_S7PayloadUserDataItem).deepCopy(), m.Res, m.Year1, m.TimeStamp.DeepCopy().(DateAndTime), diff --git a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemClkRequest.go b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemClkRequest.go index 680abbbc3d..7a6b0bbdfc 100644 --- a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemClkRequest.go +++ b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemClkRequest.go @@ -165,7 +165,7 @@ func (m *_S7PayloadUserDataItemClkRequest) deepCopy() *_S7PayloadUserDataItemClk return nil } _S7PayloadUserDataItemClkRequestCopy := &_S7PayloadUserDataItemClkRequest{ - m.S7PayloadUserDataItemContract.DeepCopy().(S7PayloadUserDataItemContract), + m.S7PayloadUserDataItemContract.(*_S7PayloadUserDataItem).deepCopy(), } m.S7PayloadUserDataItemContract.(*_S7PayloadUserDataItem)._SubType = m return _S7PayloadUserDataItemClkRequestCopy diff --git a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemClkResponse.go b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemClkResponse.go index 908403cb92..34d32b936b 100644 --- a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemClkResponse.go +++ b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemClkResponse.go @@ -243,7 +243,7 @@ func (m *_S7PayloadUserDataItemClkResponse) deepCopy() *_S7PayloadUserDataItemCl return nil } _S7PayloadUserDataItemClkResponseCopy := &_S7PayloadUserDataItemClkResponse{ - m.S7PayloadUserDataItemContract.DeepCopy().(S7PayloadUserDataItemContract), + m.S7PayloadUserDataItemContract.(*_S7PayloadUserDataItem).deepCopy(), m.Res, m.Year1, m.TimeStamp.DeepCopy().(DateAndTime), diff --git a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemClkSetRequest.go b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemClkSetRequest.go index 54414f4292..af78e650e3 100644 --- a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemClkSetRequest.go +++ b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemClkSetRequest.go @@ -230,7 +230,7 @@ func (m *_S7PayloadUserDataItemClkSetRequest) deepCopy() *_S7PayloadUserDataItem return nil } _S7PayloadUserDataItemClkSetRequestCopy := &_S7PayloadUserDataItemClkSetRequest{ - m.S7PayloadUserDataItemContract.DeepCopy().(S7PayloadUserDataItemContract), + m.S7PayloadUserDataItemContract.(*_S7PayloadUserDataItem).deepCopy(), m.TimeStamp.DeepCopy().(DateAndTime), m.reservedField0, m.reservedField1, diff --git a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemClkSetResponse.go b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemClkSetResponse.go index b5be670af5..a1b5a216b9 100644 --- a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemClkSetResponse.go +++ b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemClkSetResponse.go @@ -165,7 +165,7 @@ func (m *_S7PayloadUserDataItemClkSetResponse) deepCopy() *_S7PayloadUserDataIte return nil } _S7PayloadUserDataItemClkSetResponseCopy := &_S7PayloadUserDataItemClkSetResponse{ - m.S7PayloadUserDataItemContract.DeepCopy().(S7PayloadUserDataItemContract), + m.S7PayloadUserDataItemContract.(*_S7PayloadUserDataItem).deepCopy(), } m.S7PayloadUserDataItemContract.(*_S7PayloadUserDataItem)._SubType = m return _S7PayloadUserDataItemClkSetResponseCopy diff --git a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionAlarmAckErrorResponse.go b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionAlarmAckErrorResponse.go index b981404727..6c6648e115 100644 --- a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionAlarmAckErrorResponse.go +++ b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionAlarmAckErrorResponse.go @@ -166,7 +166,7 @@ func (m *_S7PayloadUserDataItemCpuFunctionAlarmAckErrorResponse) deepCopy() *_S7 return nil } _S7PayloadUserDataItemCpuFunctionAlarmAckErrorResponseCopy := &_S7PayloadUserDataItemCpuFunctionAlarmAckErrorResponse{ - m.S7PayloadUserDataItemContract.DeepCopy().(S7PayloadUserDataItemContract), + m.S7PayloadUserDataItemContract.(*_S7PayloadUserDataItem).deepCopy(), } m.S7PayloadUserDataItemContract.(*_S7PayloadUserDataItem)._SubType = m return _S7PayloadUserDataItemCpuFunctionAlarmAckErrorResponseCopy diff --git a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionAlarmAckRequest.go b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionAlarmAckRequest.go index 185aeaf355..3e95876156 100644 --- a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionAlarmAckRequest.go +++ b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionAlarmAckRequest.go @@ -248,7 +248,7 @@ func (m *_S7PayloadUserDataItemCpuFunctionAlarmAckRequest) deepCopy() *_S7Payloa return nil } _S7PayloadUserDataItemCpuFunctionAlarmAckRequestCopy := &_S7PayloadUserDataItemCpuFunctionAlarmAckRequest{ - m.S7PayloadUserDataItemContract.DeepCopy().(S7PayloadUserDataItemContract), + m.S7PayloadUserDataItemContract.(*_S7PayloadUserDataItem).deepCopy(), utils.DeepCopySlice[AlarmMessageObjectAckType, AlarmMessageObjectAckType](m.MessageObjects), } m.S7PayloadUserDataItemContract.(*_S7PayloadUserDataItem)._SubType = m diff --git a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionAlarmAckResponse.go b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionAlarmAckResponse.go index 42fda18b01..29cd87d199 100644 --- a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionAlarmAckResponse.go +++ b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionAlarmAckResponse.go @@ -235,7 +235,7 @@ func (m *_S7PayloadUserDataItemCpuFunctionAlarmAckResponse) deepCopy() *_S7Paylo return nil } _S7PayloadUserDataItemCpuFunctionAlarmAckResponseCopy := &_S7PayloadUserDataItemCpuFunctionAlarmAckResponse{ - m.S7PayloadUserDataItemContract.DeepCopy().(S7PayloadUserDataItemContract), + m.S7PayloadUserDataItemContract.(*_S7PayloadUserDataItem).deepCopy(), m.FunctionId, utils.DeepCopySlice[uint8, uint8](m.MessageObjects), } diff --git a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionAlarmQueryRequest.go b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionAlarmQueryRequest.go index 868783a197..978af667d3 100644 --- a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionAlarmQueryRequest.go +++ b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionAlarmQueryRequest.go @@ -353,7 +353,7 @@ func (m *_S7PayloadUserDataItemCpuFunctionAlarmQueryRequest) deepCopy() *_S7Payl return nil } _S7PayloadUserDataItemCpuFunctionAlarmQueryRequestCopy := &_S7PayloadUserDataItemCpuFunctionAlarmQueryRequest{ - m.S7PayloadUserDataItemContract.DeepCopy().(S7PayloadUserDataItemContract), + m.S7PayloadUserDataItemContract.(*_S7PayloadUserDataItem).deepCopy(), m.SyntaxId, m.QueryType, m.AlarmType, diff --git a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionAlarmQueryResponse.go b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionAlarmQueryResponse.go index 9ebf3e935b..afb6233e1c 100644 --- a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionAlarmQueryResponse.go +++ b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionAlarmQueryResponse.go @@ -201,7 +201,7 @@ func (m *_S7PayloadUserDataItemCpuFunctionAlarmQueryResponse) deepCopy() *_S7Pay return nil } _S7PayloadUserDataItemCpuFunctionAlarmQueryResponseCopy := &_S7PayloadUserDataItemCpuFunctionAlarmQueryResponse{ - m.S7PayloadUserDataItemContract.DeepCopy().(S7PayloadUserDataItemContract), + m.S7PayloadUserDataItemContract.(*_S7PayloadUserDataItem).deepCopy(), utils.DeepCopySlice[byte, byte](m.Items), } m.S7PayloadUserDataItemContract.(*_S7PayloadUserDataItem)._SubType = m diff --git a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionMsgSubscriptionAlarmResponse.go b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionMsgSubscriptionAlarmResponse.go index 0ec6d2f9b5..083057afc9 100644 --- a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionMsgSubscriptionAlarmResponse.go +++ b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionMsgSubscriptionAlarmResponse.go @@ -283,7 +283,7 @@ func (m *_S7PayloadUserDataItemCpuFunctionMsgSubscriptionAlarmResponse) deepCopy return nil } _S7PayloadUserDataItemCpuFunctionMsgSubscriptionAlarmResponseCopy := &_S7PayloadUserDataItemCpuFunctionMsgSubscriptionAlarmResponse{ - m.S7PayloadUserDataItemContract.DeepCopy().(S7PayloadUserDataItemContract), + m.S7PayloadUserDataItemContract.(*_S7PayloadUserDataItem).deepCopy(), m.Result, m.Reserved01, m.AlarmType, diff --git a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionMsgSubscriptionRequest.go b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionMsgSubscriptionRequest.go index 0e585428c7..47c6dcb1d8 100644 --- a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionMsgSubscriptionRequest.go +++ b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionMsgSubscriptionRequest.go @@ -283,7 +283,7 @@ func (m *_S7PayloadUserDataItemCpuFunctionMsgSubscriptionRequest) deepCopy() *_S return nil } _S7PayloadUserDataItemCpuFunctionMsgSubscriptionRequestCopy := &_S7PayloadUserDataItemCpuFunctionMsgSubscriptionRequest{ - m.S7PayloadUserDataItemContract.DeepCopy().(S7PayloadUserDataItemContract), + m.S7PayloadUserDataItemContract.(*_S7PayloadUserDataItem).deepCopy(), m.Subscription, m.MagicKey, utils.CopyPtr[AlarmStateType](m.Alarmtype), diff --git a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionMsgSubscriptionResponse.go b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionMsgSubscriptionResponse.go index e45aea4ac0..6f7808e3cf 100644 --- a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionMsgSubscriptionResponse.go +++ b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionMsgSubscriptionResponse.go @@ -166,7 +166,7 @@ func (m *_S7PayloadUserDataItemCpuFunctionMsgSubscriptionResponse) deepCopy() *_ return nil } _S7PayloadUserDataItemCpuFunctionMsgSubscriptionResponseCopy := &_S7PayloadUserDataItemCpuFunctionMsgSubscriptionResponse{ - m.S7PayloadUserDataItemContract.DeepCopy().(S7PayloadUserDataItemContract), + m.S7PayloadUserDataItemContract.(*_S7PayloadUserDataItem).deepCopy(), } m.S7PayloadUserDataItemContract.(*_S7PayloadUserDataItem)._SubType = m return _S7PayloadUserDataItemCpuFunctionMsgSubscriptionResponseCopy diff --git a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionMsgSubscriptionSysResponse.go b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionMsgSubscriptionSysResponse.go index 1c35bebb56..8c14f6f336 100644 --- a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionMsgSubscriptionSysResponse.go +++ b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionMsgSubscriptionSysResponse.go @@ -220,7 +220,7 @@ func (m *_S7PayloadUserDataItemCpuFunctionMsgSubscriptionSysResponse) deepCopy() return nil } _S7PayloadUserDataItemCpuFunctionMsgSubscriptionSysResponseCopy := &_S7PayloadUserDataItemCpuFunctionMsgSubscriptionSysResponse{ - m.S7PayloadUserDataItemContract.DeepCopy().(S7PayloadUserDataItemContract), + m.S7PayloadUserDataItemContract.(*_S7PayloadUserDataItem).deepCopy(), m.Result, m.Reserved01, } diff --git a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionReadSzlNoDataRequest.go b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionReadSzlNoDataRequest.go index b32b4cf657..cf4e9cd0fe 100644 --- a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionReadSzlNoDataRequest.go +++ b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionReadSzlNoDataRequest.go @@ -166,7 +166,7 @@ func (m *_S7PayloadUserDataItemCpuFunctionReadSzlNoDataRequest) deepCopy() *_S7P return nil } _S7PayloadUserDataItemCpuFunctionReadSzlNoDataRequestCopy := &_S7PayloadUserDataItemCpuFunctionReadSzlNoDataRequest{ - m.S7PayloadUserDataItemContract.DeepCopy().(S7PayloadUserDataItemContract), + m.S7PayloadUserDataItemContract.(*_S7PayloadUserDataItem).deepCopy(), } m.S7PayloadUserDataItemContract.(*_S7PayloadUserDataItem)._SubType = m return _S7PayloadUserDataItemCpuFunctionReadSzlNoDataRequestCopy diff --git a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionReadSzlRequest.go b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionReadSzlRequest.go index d9b7c865f6..7bc20c0b2e 100644 --- a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionReadSzlRequest.go +++ b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionReadSzlRequest.go @@ -223,7 +223,7 @@ func (m *_S7PayloadUserDataItemCpuFunctionReadSzlRequest) deepCopy() *_S7Payload return nil } _S7PayloadUserDataItemCpuFunctionReadSzlRequestCopy := &_S7PayloadUserDataItemCpuFunctionReadSzlRequest{ - m.S7PayloadUserDataItemContract.DeepCopy().(S7PayloadUserDataItemContract), + m.S7PayloadUserDataItemContract.(*_S7PayloadUserDataItem).deepCopy(), m.SzlId.DeepCopy().(SzlId), m.SzlIndex, } diff --git a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionReadSzlResponse.go b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionReadSzlResponse.go index 0ae1392b2a..9c1791ad57 100644 --- a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionReadSzlResponse.go +++ b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCpuFunctionReadSzlResponse.go @@ -201,7 +201,7 @@ func (m *_S7PayloadUserDataItemCpuFunctionReadSzlResponse) deepCopy() *_S7Payloa return nil } _S7PayloadUserDataItemCpuFunctionReadSzlResponseCopy := &_S7PayloadUserDataItemCpuFunctionReadSzlResponse{ - m.S7PayloadUserDataItemContract.DeepCopy().(S7PayloadUserDataItemContract), + m.S7PayloadUserDataItemContract.(*_S7PayloadUserDataItem).deepCopy(), utils.DeepCopySlice[byte, byte](m.Items), } m.S7PayloadUserDataItemContract.(*_S7PayloadUserDataItem)._SubType = m diff --git a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCyclicServicesChangeDrivenPush.go b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCyclicServicesChangeDrivenPush.go index 1f5f0e92e7..0a86a1c1b4 100644 --- a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCyclicServicesChangeDrivenPush.go +++ b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCyclicServicesChangeDrivenPush.go @@ -227,7 +227,7 @@ func (m *_S7PayloadUserDataItemCyclicServicesChangeDrivenPush) deepCopy() *_S7Pa return nil } _S7PayloadUserDataItemCyclicServicesChangeDrivenPushCopy := &_S7PayloadUserDataItemCyclicServicesChangeDrivenPush{ - m.S7PayloadUserDataItemContract.DeepCopy().(S7PayloadUserDataItemContract), + m.S7PayloadUserDataItemContract.(*_S7PayloadUserDataItem).deepCopy(), m.ItemsCount, utils.DeepCopySlice[AssociatedQueryValueType, AssociatedQueryValueType](m.Items), } diff --git a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCyclicServicesChangeDrivenSubscribeResponse.go b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCyclicServicesChangeDrivenSubscribeResponse.go index b8c1ce705f..1bc05fc05a 100644 --- a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCyclicServicesChangeDrivenSubscribeResponse.go +++ b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCyclicServicesChangeDrivenSubscribeResponse.go @@ -227,7 +227,7 @@ func (m *_S7PayloadUserDataItemCyclicServicesChangeDrivenSubscribeResponse) deep return nil } _S7PayloadUserDataItemCyclicServicesChangeDrivenSubscribeResponseCopy := &_S7PayloadUserDataItemCyclicServicesChangeDrivenSubscribeResponse{ - m.S7PayloadUserDataItemContract.DeepCopy().(S7PayloadUserDataItemContract), + m.S7PayloadUserDataItemContract.(*_S7PayloadUserDataItem).deepCopy(), m.ItemsCount, utils.DeepCopySlice[AssociatedQueryValueType, AssociatedQueryValueType](m.Items), } diff --git a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCyclicServicesErrorResponse.go b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCyclicServicesErrorResponse.go index f0c5269561..6dcbe758a3 100644 --- a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCyclicServicesErrorResponse.go +++ b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCyclicServicesErrorResponse.go @@ -166,7 +166,7 @@ func (m *_S7PayloadUserDataItemCyclicServicesErrorResponse) deepCopy() *_S7Paylo return nil } _S7PayloadUserDataItemCyclicServicesErrorResponseCopy := &_S7PayloadUserDataItemCyclicServicesErrorResponse{ - m.S7PayloadUserDataItemContract.DeepCopy().(S7PayloadUserDataItemContract), + m.S7PayloadUserDataItemContract.(*_S7PayloadUserDataItem).deepCopy(), } m.S7PayloadUserDataItemContract.(*_S7PayloadUserDataItem)._SubType = m return _S7PayloadUserDataItemCyclicServicesErrorResponseCopy diff --git a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCyclicServicesPush.go b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCyclicServicesPush.go index 39bff6c982..078f2ea62e 100644 --- a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCyclicServicesPush.go +++ b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCyclicServicesPush.go @@ -226,7 +226,7 @@ func (m *_S7PayloadUserDataItemCyclicServicesPush) deepCopy() *_S7PayloadUserDat return nil } _S7PayloadUserDataItemCyclicServicesPushCopy := &_S7PayloadUserDataItemCyclicServicesPush{ - m.S7PayloadUserDataItemContract.DeepCopy().(S7PayloadUserDataItemContract), + m.S7PayloadUserDataItemContract.(*_S7PayloadUserDataItem).deepCopy(), m.ItemsCount, utils.DeepCopySlice[AssociatedValueType, AssociatedValueType](m.Items), } diff --git a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCyclicServicesSubscribeRequest.go b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCyclicServicesSubscribeRequest.go index 570d96e40b..6878a64ddd 100644 --- a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCyclicServicesSubscribeRequest.go +++ b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCyclicServicesSubscribeRequest.go @@ -269,7 +269,7 @@ func (m *_S7PayloadUserDataItemCyclicServicesSubscribeRequest) deepCopy() *_S7Pa return nil } _S7PayloadUserDataItemCyclicServicesSubscribeRequestCopy := &_S7PayloadUserDataItemCyclicServicesSubscribeRequest{ - m.S7PayloadUserDataItemContract.DeepCopy().(S7PayloadUserDataItemContract), + m.S7PayloadUserDataItemContract.(*_S7PayloadUserDataItem).deepCopy(), m.ItemsCount, m.TimeBase, m.TimeFactor, diff --git a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCyclicServicesSubscribeResponse.go b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCyclicServicesSubscribeResponse.go index ea909b94a7..b919aac6d8 100644 --- a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCyclicServicesSubscribeResponse.go +++ b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCyclicServicesSubscribeResponse.go @@ -227,7 +227,7 @@ func (m *_S7PayloadUserDataItemCyclicServicesSubscribeResponse) deepCopy() *_S7P return nil } _S7PayloadUserDataItemCyclicServicesSubscribeResponseCopy := &_S7PayloadUserDataItemCyclicServicesSubscribeResponse{ - m.S7PayloadUserDataItemContract.DeepCopy().(S7PayloadUserDataItemContract), + m.S7PayloadUserDataItemContract.(*_S7PayloadUserDataItem).deepCopy(), m.ItemsCount, utils.DeepCopySlice[AssociatedValueType, AssociatedValueType](m.Items), } diff --git a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCyclicServicesUnsubscribeRequest.go b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCyclicServicesUnsubscribeRequest.go index cd0b12976a..c1655ca417 100644 --- a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCyclicServicesUnsubscribeRequest.go +++ b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCyclicServicesUnsubscribeRequest.go @@ -220,7 +220,7 @@ func (m *_S7PayloadUserDataItemCyclicServicesUnsubscribeRequest) deepCopy() *_S7 return nil } _S7PayloadUserDataItemCyclicServicesUnsubscribeRequestCopy := &_S7PayloadUserDataItemCyclicServicesUnsubscribeRequest{ - m.S7PayloadUserDataItemContract.DeepCopy().(S7PayloadUserDataItemContract), + m.S7PayloadUserDataItemContract.(*_S7PayloadUserDataItem).deepCopy(), m.Function, m.JobId, } diff --git a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCyclicServicesUnsubscribeResponse.go b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCyclicServicesUnsubscribeResponse.go index c6a9a8fb00..e326bc5975 100644 --- a/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCyclicServicesUnsubscribeResponse.go +++ b/plc4go/protocols/s7/readwrite/model/S7PayloadUserDataItemCyclicServicesUnsubscribeResponse.go @@ -166,7 +166,7 @@ func (m *_S7PayloadUserDataItemCyclicServicesUnsubscribeResponse) deepCopy() *_S return nil } _S7PayloadUserDataItemCyclicServicesUnsubscribeResponseCopy := &_S7PayloadUserDataItemCyclicServicesUnsubscribeResponse{ - m.S7PayloadUserDataItemContract.DeepCopy().(S7PayloadUserDataItemContract), + m.S7PayloadUserDataItemContract.(*_S7PayloadUserDataItem).deepCopy(), } m.S7PayloadUserDataItemContract.(*_S7PayloadUserDataItem)._SubType = m return _S7PayloadUserDataItemCyclicServicesUnsubscribeResponseCopy diff --git a/plc4go/protocols/s7/readwrite/model/S7PayloadWriteVarRequest.go b/plc4go/protocols/s7/readwrite/model/S7PayloadWriteVarRequest.go index e19a8356c2..e4e6bb729d 100644 --- a/plc4go/protocols/s7/readwrite/model/S7PayloadWriteVarRequest.go +++ b/plc4go/protocols/s7/readwrite/model/S7PayloadWriteVarRequest.go @@ -201,7 +201,7 @@ func (m *_S7PayloadWriteVarRequest) deepCopy() *_S7PayloadWriteVarRequest { return nil } _S7PayloadWriteVarRequestCopy := &_S7PayloadWriteVarRequest{ - m.S7PayloadContract.DeepCopy().(S7PayloadContract), + m.S7PayloadContract.(*_S7Payload).deepCopy(), utils.DeepCopySlice[S7VarPayloadDataItem, S7VarPayloadDataItem](m.Items), } m.S7PayloadContract.(*_S7Payload)._SubType = m diff --git a/plc4go/protocols/s7/readwrite/model/S7PayloadWriteVarResponse.go b/plc4go/protocols/s7/readwrite/model/S7PayloadWriteVarResponse.go index ab669d9ed5..6aa926173f 100644 --- a/plc4go/protocols/s7/readwrite/model/S7PayloadWriteVarResponse.go +++ b/plc4go/protocols/s7/readwrite/model/S7PayloadWriteVarResponse.go @@ -201,7 +201,7 @@ func (m *_S7PayloadWriteVarResponse) deepCopy() *_S7PayloadWriteVarResponse { return nil } _S7PayloadWriteVarResponseCopy := &_S7PayloadWriteVarResponse{ - m.S7PayloadContract.DeepCopy().(S7PayloadContract), + m.S7PayloadContract.(*_S7Payload).deepCopy(), utils.DeepCopySlice[S7VarPayloadStatusItem, S7VarPayloadStatusItem](m.Items), } m.S7PayloadContract.(*_S7Payload)._SubType = m diff --git a/plc4go/protocols/s7/readwrite/model/S7VarRequestParameterItem.go b/plc4go/protocols/s7/readwrite/model/S7VarRequestParameterItem.go index 22dbdc4e3c..a726147351 100644 --- a/plc4go/protocols/s7/readwrite/model/S7VarRequestParameterItem.go +++ b/plc4go/protocols/s7/readwrite/model/S7VarRequestParameterItem.go @@ -47,7 +47,6 @@ type S7VarRequestParameterItem interface { // S7VarRequestParameterItemContract provides a set of functions which can be overwritten by a sub struct type S7VarRequestParameterItemContract interface { - utils.Copyable // IsS7VarRequestParameterItem is a marker method to prevent unintentional type checks (interfaces of same signature) IsS7VarRequestParameterItem() } diff --git a/plc4go/protocols/s7/readwrite/model/S7VarRequestParameterItemAddress.go b/plc4go/protocols/s7/readwrite/model/S7VarRequestParameterItemAddress.go index 95297acf54..329e45daad 100644 --- a/plc4go/protocols/s7/readwrite/model/S7VarRequestParameterItemAddress.go +++ b/plc4go/protocols/s7/readwrite/model/S7VarRequestParameterItemAddress.go @@ -206,7 +206,7 @@ func (m *_S7VarRequestParameterItemAddress) deepCopy() *_S7VarRequestParameterIt return nil } _S7VarRequestParameterItemAddressCopy := &_S7VarRequestParameterItemAddress{ - m.S7VarRequestParameterItemContract.DeepCopy().(S7VarRequestParameterItemContract), + m.S7VarRequestParameterItemContract.(*_S7VarRequestParameterItem).deepCopy(), m.Address.DeepCopy().(S7Address), } m.S7VarRequestParameterItemContract.(*_S7VarRequestParameterItem)._SubType = m