def METHOD_NAME(
    self,
) -> ModbusPDUGetComEventLogResponse:
    modbus_pdu_get_com_event_log_response: ModbusPDUGetComEventLogResponse = (
        ModbusPDUGetComEventLogResponse(
            self.status, self.event_count, self.message_count, self.events
        )
    )
    return modbus_pdu_get_com_event_log_response